:root {
  --bg: #fbfaf7;
  --text: #161616;
  --muted: #6b6b66;
  --line: #dedbd3;
  --soft: #f1efe8;
  --max: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(210, 229, 205, 0.36), transparent 34vw),
    radial-gradient(circle at 84% 36%, rgba(239, 218, 181, 0.34), transparent 32vw),
    radial-gradient(circle at 38% 88%, rgba(232, 203, 198, 0.28), transparent 34vw),
    linear-gradient(135deg, #fbfaf7 0%, #f7f3ec 54%, #fbfaf7 100%);
  color: var(--text);
  font-family: "Helvetica Neue", Arial, "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

a { color: inherit; text-decoration: none; }

.logo,
.site-footer p:first-child {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.language-toggle {
  position: fixed;
  top: clamp(18px, 3vw, 34px);
  right: clamp(18px, 3vw, 42px);
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: #ebe5da;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(56, 45, 32, 0.12);
}

.language-option {
  min-width: 42px;
  min-height: 34px;
  padding: 7px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #4a4035;
  cursor: pointer;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.language-option.is-active {
  background: #211d18;
  color: #fff;
  box-shadow: 0 4px 12px rgba(33, 29, 24, 0.2);
}

.language-option:focus-visible {
  outline: 2px solid #211d18;
  outline-offset: 3px;
}

.section-spacious,
.content-section,
.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 72px);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: clamp(120px, 16vw, 190px);
  text-align: center;
}

.hero-inner {
  max-width: 720px;
  transform: translateY(-2vh);
}

.eyebrow,
.section-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1 {
  margin-bottom: 0;
}

.hero-brand {
  margin-bottom: 28px;
  font-size: clamp(1.35rem, 2.2vw, 2.05rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.16em;
}

.hero-message {
  margin: 0 auto;
  max-width: 560px;
  color: #343431;
  font-size: clamp(0.98rem, 1.45vw, 1.22rem);
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.06em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  min-height: 52px;
  padding: 14px 28px;
  background: var(--text);
  color: var(--bg);
  border: 1px solid var(--text);
  border-radius: 999px;
  font-size: 0.9rem;
  transition: background 180ms ease, color 180ms ease;
}

.button:hover { background: transparent; color: var(--text); }

.content-section {
  display: grid;
  grid-template-columns: minmax(120px, 0.32fr) minmax(0, 1fr);
  gap: clamp(28px, 7vw, 104px);
  padding-block: clamp(88px, 12vw, 160px);
  border-top: 1px solid var(--line);
}

.section-body { max-width: 870px; }

.section-body h2 {
  margin-bottom: 28px;
  font-size: clamp(2rem, 4.2vw, 4.8rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.05em;
}

.section-body > p {
  max-width: 760px;
  color: #373733;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
}

.three-column {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 42px);
  margin-top: 56px;
}

.muted-grid article,
.benefits-list article {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

h3 {
  margin-bottom: 14px;
  font-size: 1.05rem;
  font-weight: 600;
}

article p,
.simple-list,
.company-list,
.disclaimer p { color: var(--muted); }

.keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
}

.keyword-list li {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #33332f;
  font-size: 0.88rem;
}

.benefits-list span {
  display: block;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
}

.simple-list {
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.simple-list li {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1rem, 1.8vw, 1.34rem);
}

.contact-section .button { margin-top: 26px; }

.contact-form {
  display: grid;
  gap: 26px;
  max-width: 720px;
  margin-top: 56px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.8;
}

.form-field {
  display: grid;
  gap: 10px;
}

.form-field label {
  color: #33332f;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.form-field span { color: var(--muted); }

.form-field input,
.form-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 14px 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  line-height: 1.6;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-field textarea {
  min-height: 180px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--text);
  box-shadow: 0 1px 0 var(--text);
}

.form-submit {
  justify-self: start;
  margin-top: 4px;
  cursor: pointer;
}

.compact-section { padding-block: clamp(64px, 9vw, 108px); }

.company-list { margin: 38px 0 0; }
.company-list div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 22px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.company-list div:last-child { border-bottom: 1px solid var(--line); }
dt { color: var(--text); font-weight: 600; }
dd { margin: 0; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

@media (max-width: 820px) {
  .hero { min-height: 100svh; }

  .content-section {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .three-column { grid-template-columns: 1fr; }

  .site-footer,
  .company-list div {
    grid-template-columns: 1fr;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 520px) {
  .language-toggle {
    top: 16px;
    right: 14px;
    transform: scale(0.92);
    transform-origin: top right;
  }
  .hero-brand { font-size: clamp(1.15rem, 6vw, 1.45rem); }
  .hero-message { font-size: clamp(0.9rem, 4vw, 1rem); }
  .section-body h2 { font-size: clamp(1.9rem, 10vw, 3rem); }
}
