:root {
  --navy: #0C1D3A;
  --gold: #C89B4A;
  --cream: #F6F1E6;
  --white: #FFFFFF;
  --ink: #23262B;
  --mist: #DDE4E8;
  --muted: #66707C;
  --line: rgba(12, 29, 58, 0.14);
  --shadow: 0 24px 70px rgba(12, 29, 58, 0.12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, Aptos, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid rgba(200, 155, 74, 0.7);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -10rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--navy);
  color: var(--white);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 98px;
  padding: 0.42rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(12, 29, 58, 0.08);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0;
  color: var(--navy);
}

.brand img {
  width: auto;
  height: clamp(85px, 6.2vw, 90px);
}

.footer-brand img {
  width: clamp(64px, 7vw, 86px);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.7rem);
  color: var(--navy);
  font-size: 0.93rem;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  padding-block: 0.35rem;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
}

.language-switch .active {
  color: var(--navy);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--navy);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 0;
  background: var(--cream);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 72%) minmax(300px, 28%);
  align-items: stretch;
  gap: 0;
  width: 100%;
}

.hero-copy {
  width: 100%;
  min-width: 0;
  padding: clamp(3.4rem, 6.4vw, 5.8rem) clamp(1rem, 5vw, 5rem) clamp(3.5rem, 6vw, 4.5rem);
  background: var(--white);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2 {
  color: var(--navy);
  font-family: var(--serif);
  font-weight: 500;
  line-height: 0.98;
}

h1 {
  max-width: 980px;
  margin-bottom: 1.45rem;
  font-size: clamp(3.6rem, 6.5vw, 6.45rem);
  overflow-wrap: normal;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.35rem, 5.4vw, 5.25rem);
  overflow-wrap: break-word;
}

h3 {
  color: var(--navy);
  font-size: 1.15rem;
  line-height: 1.3;
}

.lead {
  max-width: 700px;
  margin-bottom: 1rem;
  color: var(--ink);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.45;
  overflow-wrap: break-word;
}

.hero-brand-line {
  margin: -0.55rem 0 1.25rem;
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(2.1rem, 3.8vw, 3.8rem);
  line-height: 1.05;
}

.clarifier {
  margin-bottom: clamp(2rem, 3vw, 2.5rem);
  color: var(--navy);
  font-weight: 800;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.78rem 1.15rem;
  border: 1px solid var(--navy);
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button.primary {
  background: var(--navy);
  color: var(--white);
}

.button.primary:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy);
}

.button.secondary {
  background: transparent;
  color: var(--navy);
}

.button.secondary:hover {
  background: var(--navy);
  color: var(--white);
}

.hero-brand-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(3rem, 5vw, 5rem) clamp(1.5rem, 4vw, 4rem);
  background: var(--cream);
}

.hero-brand-logo img {
  width: min(230px, 100%);
  height: auto;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--navy);
  color: var(--white);
}

.signal-strip div {
  min-height: 128px;
  padding: clamp(1.2rem, 2vw, 2rem);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.signal-strip strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--gold);
  font-size: clamp(0.68rem, 0.85vw, 0.8rem);
  letter-spacing: 0;
  text-transform: uppercase;
}

.signal-strip span {
  display: block;
  max-width: 18rem;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.85rem);
  line-height: 1.08;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 4rem);
}

.section-heading {
  max-width: 950px;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-heading.narrow {
  max-width: 780px;
}

.section-heading > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.18rem;
}

.cards.three,
.cards.four {
  display: grid;
  gap: 1rem;
}

.cards.three {
  grid-template-columns: repeat(3, 1fr);
}

.cards.four {
  grid-template-columns: repeat(4, 1fr);
}

.card,
.example {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.card {
  padding: clamp(1.35rem, 3vw, 2rem);
}

.card.featured {
  border-color: rgba(200, 155, 74, 0.6);
  background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
  box-shadow: var(--shadow);
}

.card-label,
.example span {
  display: block;
  margin-bottom: 1rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.section-note {
  margin: 1.5rem 0 0;
  color: var(--muted);
}

.definition {
  background: var(--cream);
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.example {
  padding: clamp(1.25rem, 3vw, 1.8rem);
  background: rgba(255, 255, 255, 0.78);
}

.infographic {
  max-width: 1120px;
  margin: clamp(2rem, 5vw, 4rem) auto 0;
}

.infographic.wide {
  max-width: 1120px;
  margin: clamp(2rem, 5vw, 4rem) auto clamp(2rem, 5vw, 4rem);
}

.infographic img {
  width: 100%;
  height: auto;
}

.dark {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
}

.dark h2,
.dark h3 {
  color: var(--white);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: clamp(2rem, 8vw, 7rem);
  max-width: 1180px;
  margin: 0 auto;
}

.prose {
  max-width: 680px;
  font-size: 1.08rem;
}

.visual-split {
  align-items: center;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
}

.why-copy {
  max-width: 680px;
}

.why-copy p:not(.eyebrow) {
  font-size: 1.08rem;
}

.editorial-visual {
  margin: 0;
}

.editorial-visual img {
  width: 100%;
  height: auto;
  max-height: 520px;
  border-radius: 8px;
  object-fit: cover;
}

.editorial-visual figcaption {
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.76rem;
}

.editorial-visual figcaption a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.statement {
  display: grid;
  gap: 0.3rem;
  max-width: 1180px;
  margin: clamp(3rem, 7vw, 6rem) auto 0;
  padding-top: clamp(2rem, 4vw, 3.5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 6rem);
  line-height: 0.98;
}

.statement strong {
  margin-top: 0.5rem;
  color: var(--gold);
  font-family: var(--sans);
  font-size: clamp(1rem, 2vw, 1.45rem);
  line-height: 1.25;
}

.idea {
  background: var(--white);
}

.story-teaser,
.story-page {
  background: var(--white);
}

.story-hero {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 4rem) clamp(3rem, 6vw, 5rem);
  background: linear-gradient(90deg, var(--white) 0%, var(--white) 68%, var(--cream) 68%, var(--cream) 100%);
}

.story-hero-inner {
  max-width: 920px;
  margin: 0 auto;
}

.story-hero p:not(.eyebrow) {
  max-width: 720px;
  color: var(--ink);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  line-height: 1.5;
}

.story-content {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 4vw, 4rem);
}

.story-section {
  padding: clamp(2.4rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--line);
}

.story-section:first-child {
  border-top: 0;
  padding-top: 0;
}

.story-section h2 {
  max-width: 760px;
  font-size: clamp(2.1rem, 4.8vw, 4.1rem);
}

.story-section p {
  max-width: 720px;
  color: var(--ink);
  font-size: 1.08rem;
}

.story-statement,
.story-question {
  max-width: 820px;
  margin: clamp(2rem, 4vw, 3rem) 0;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border-left: 3px solid var(--gold);
  background: var(--cream);
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 3.45rem);
  line-height: 1.05;
}

.story-question {
  background: var(--navy);
  color: var(--white);
}

.brand-statement {
  margin: clamp(2rem, 4vw, 3rem) 0 0.5rem;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.95;
}

.story-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.medical-note {
  max-width: 720px;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.prelaunch {
  background: linear-gradient(90deg, var(--cream), var(--white));
}

.prelaunch-panel {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(12, 29, 58, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 60px rgba(12, 29, 58, 0.08);
}

.prelaunch-panel p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.business {
  background: var(--white);
}

.business-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: clamp(2rem, 7vw, 6rem);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4.5rem);
  border-radius: 8px;
  background: var(--cream);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1.2fr) auto;
  align-items: start;
  gap: 2rem;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 4vw, 4rem);
  border-top: 1px solid var(--line);
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
}

.site-footer .footer-brand,
.site-footer a {
  color: var(--white);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
}

.footer-contact {
  margin-top: 0.9rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.copyright {
  margin: 0;
  white-space: nowrap;
}

.site-footer.compact {
  grid-template-columns: 1fr auto;
}

.legal-header {
  min-height: 84px;
}

.legal-header .brand img {
  height: clamp(68px, 5vw, 76px);
}

.legal-header .site-nav {
  font-size: 0.9rem;
}

.legal-nav {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.legal-page {
  background: var(--cream);
}

.legal-hero,
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding-inline: clamp(1rem, 4vw, 4rem);
}

.legal-hero {
  padding-block: clamp(2.8rem, 6vw, 4.8rem) clamp(1.5rem, 3vw, 2.5rem);
}

.legal-hero h1 {
  font-size: clamp(3.5rem, 8vw, 7rem);
}

.legal-hero p:not(.eyebrow) {
  max-width: 680px;
  font-size: 1.15rem;
}

.legal-content {
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.legal-content h2 {
  margin-top: 2.4rem;
  font-family: var(--sans);
  font-size: 1.18rem;
  line-height: 1.25;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content a {
  color: var(--navy);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(200, 155, 74, 0.55);
  text-underline-offset: 0.18em;
}

.legal-content ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal-content strong {
  color: var(--navy);
}

.legal-notice {
  max-width: 720px;
  padding-left: 1rem;
  border-left: 2px solid var(--gold);
  color: var(--muted);
}

.ai-page .legal-content {
  max-width: 920px;
}

.ai-principle {
  display: grid;
  gap: 0.2rem;
  margin: 2rem 0;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.6);
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
}

@media (max-width: 1100px) {
  .hero {
    min-height: auto;
    background: var(--white);
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-brand-logo {
    display: none;
  }

  .split,
  .business-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .editorial-visual {
    max-width: 680px;
  }

  .signal-strip,
  .cards.three,
  .cards.four,
  .example-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 72px;
    padding-block: 0.35rem;
  }

  .brand img {
    height: clamp(58px, 15vw, 64px);
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    display: grid;
    gap: 0.2rem;
    padding: 1rem;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 24px 44px rgba(12, 29, 58, 0.12);
    transform: translateY(-120%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 200ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav a,
  .language-switch {
    padding: 0.72rem 0.2rem;
  }

  .legal-nav {
    position: static;
    display: flex;
    transform: none;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    padding: 0;
    border: 0;
  }

  .legal-header .brand img {
    height: 58px;
  }

  .hero {
    padding: 0;
  }

  .hero-copy {
    padding: 3rem 1.25rem 3.2rem;
  }

  .story-hero {
    background: var(--cream);
  }

  .story-content {
    padding-inline: 1rem;
  }

  .story-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.65rem, 10.8vw, 3.55rem);
    overflow-wrap: break-word;
  }

  html[lang="en"] h1 {
    font-size: clamp(2.1rem, 8.8vw, 3rem);
  }

  .hero-brand-line {
    font-size: clamp(1.75rem, 7.5vw, 2.45rem);
  }

  .lead {
    max-width: 100%;
    font-size: 1rem;
    overflow-wrap: anywhere;
  }

  .clarifier {
    max-width: 100%;
    font-size: 0.9rem;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .button {
    width: 100%;
  }

  h2 {
    font-size: clamp(2.1rem, 11vw, 3.35rem);
  }

  html[lang="en"] h2 {
    font-size: clamp(1.75rem, 7.7vw, 3rem);
  }

  .signal-strip,
  .cards.three,
  .cards.four,
  .example-grid {
    grid-template-columns: 1fr;
  }

  .signal-strip div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .section {
    padding-block: 3.5rem;
  }

  .business-panel,
  .prelaunch-panel {
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
