:root {
  --navy-950: #02132e;
  --navy-900: #041c42;
  --navy-800: #0a2c5d;
  --navy-700: #174574;
  --emerald-600: #0b9066;
  --emerald-500: #15b07c;
  --emerald-100: #dff7ee;
  --surface: #f6f9fc;
  --paper: #ffffff;
  --ink: #10233c;
  --muted: #52657c;
  --line: #d9e3ee;
  --warm: #f1eadf;
  --shadow: 0 24px 70px rgba(4, 28, 66, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 8% 8%, rgba(21, 176, 124, 0.09), transparent 25rem),
    radial-gradient(circle at 92% 18%, rgba(4, 28, 66, 0.08), transparent 28rem);
  content: "";
  pointer-events: none;
}

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

a {
  color: var(--navy-800);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--emerald-600);
}

button,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--emerald-500);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--navy-900);
  box-shadow: var(--shadow);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.status-bar {
  background: var(--navy-950);
  color: #dfeaf7;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-align: center;
}

.status-bar .container {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #53dca8;
  box-shadow: 0 0 0 4px rgba(83, 220, 168, 0.14);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(217, 227, 238, 0.9);
  background: rgba(246, 249, 252, 0.94);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  min-height: 82px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
}

.brand-link {
  display: inline-flex;
  width: 220px;
  align-items: center;
}

.primary-nav {
  justify-self: end;
}

.primary-nav ul {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.primary-nav a {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.primary-nav a[aria-current="page"],
.primary-nav a:hover {
  color: var(--emerald-600);
}

.language-switcher {
  position: relative;
}

.language-switcher summary {
  display: flex;
  min-height: 42px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  align-items: center;
  gap: 7px;
  background: var(--paper);
  color: var(--navy-900);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 700;
  list-style: none;
}

.language-switcher summary::-webkit-details-marker {
  display: none;
}

.language-switcher summary::after {
  content: "▾";
  font-size: 0.72rem;
}

.language-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 260px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: var(--shadow);
  font-size: 0.84rem;
}

.language-panel strong,
.language-panel span {
  display: block;
}

.language-panel span {
  margin-top: 6px;
  color: var(--muted);
}

.language-panel a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--emerald-600);
  font-weight: 750;
}

.language-options {
  display: flex;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 10px;
}

.language-options a {
  margin-top: 0;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--navy-900);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  content: "";
}

.hero {
  overflow: hidden;
  padding: 88px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(46px, 8vw, 100px);
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 18px;
  align-items: center;
  gap: 9px;
  color: var(--emerald-600);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  background: currentColor;
  content: "";
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--navy-900);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 650;
  line-height: 1.1;
  text-wrap: balance;
}

h1 {
  max-width: 790px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 6.4vw, 5.7rem);
  letter-spacing: -0.045em;
}

.subpage-hero h1 {
  max-width: 900px;
  font-size: clamp(2.7rem, 5.5vw, 4.8rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.03em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.45rem;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 710px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  margin-top: 34px;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 750;
  text-decoration: none;
}

.button-primary {
  background: var(--navy-900);
  color: #fff;
  box-shadow: 0 12px 30px rgba(4, 28, 66, 0.2);
}

.button-primary:hover {
  background: var(--emerald-600);
  color: #fff;
}

.button-secondary {
  border-color: var(--line);
  background: var(--paper);
  color: var(--navy-900);
}

.hero-note {
  display: flex;
  max-width: 690px;
  margin-top: 28px;
  align-items: flex-start;
  gap: 11px;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-note::before {
  display: block;
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--emerald-500);
  content: "";
  flex: 0 0 auto;
}

.coach-panel {
  position: relative;
  min-height: 500px;
  padding: 28px;
  border: 1px solid rgba(217, 227, 238, 0.9);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.coach-panel::before {
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(21, 176, 124, 0.2);
  border-radius: 20px;
  content: "";
  pointer-events: none;
}

.panel-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-mark {
  width: 82px;
  height: 82px;
}

.panel-label {
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--emerald-100);
  color: #087650;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reasoning-stack {
  position: relative;
  display: grid;
  margin-top: 34px;
  gap: 13px;
}

.reasoning-card {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fbfdff;
}

.reasoning-card:nth-child(2) {
  margin-left: 30px;
  border-color: rgba(21, 176, 124, 0.5);
  background: #f1fbf7;
}

.reasoning-card:nth-child(3) {
  margin-left: 60px;
}

.reasoning-kicker {
  display: block;
  color: var(--emerald-600);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.reasoning-card strong {
  display: block;
  margin-top: 4px;
  color: var(--navy-900);
}

.reasoning-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.section {
  padding: 92px 0;
}

.section-tight {
  padding: 64px 0;
}

.section-dark {
  background: var(--navy-900);
  color: #dfeaf7;
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-dark .eyebrow {
  color: #53dca8;
}

.section-warm {
  background: var(--warm);
}

.section-head {
  display: grid;
  margin-bottom: 44px;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 60px;
  align-items: end;
}

.section-head p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 1.07rem;
}

.section-dark .section-head p {
  color: #b9c9db;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.card-number {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-bottom: 42px;
  border-radius: 50%;
  place-items: center;
  background: var(--navy-900);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.workflow {
  display: grid;
  counter-reset: workflow;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.workflow-step {
  position: relative;
  min-height: 255px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  counter-increment: workflow;
}

.workflow-step::before {
  display: block;
  margin-bottom: 56px;
  color: #53dca8;
  content: "0" counter(workflow);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.workflow-step p {
  margin: 0;
  color: #b9c9db;
  font-size: 0.91rem;
}

.feature-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.feature-panel {
  padding: clamp(30px, 5vw, 54px);
  border-radius: var(--radius-lg);
}

.feature-panel:first-child {
  background: var(--navy-900);
  color: #dfeaf7;
}

.feature-panel:first-child h3 {
  color: #fff;
}

.feature-panel:last-child {
  border: 1px solid var(--line);
  background: var(--paper);
}

.feature-panel p {
  margin: 0;
}

.feature-tag {
  display: inline-block;
  margin-bottom: 72px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(21, 176, 124, 0.15);
  color: var(--emerald-500);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-panel:last-child .feature-tag {
  background: var(--emerald-100);
  color: var(--emerald-600);
}

.principles-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 8vw, 100px);
  align-items: start;
}

.principle-list {
  display: grid;
  gap: 14px;
}

.principle {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

.principle strong {
  display: block;
  color: var(--navy-900);
}

.principle span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.audience-card {
  min-height: 310px;
  padding: 38px;
  border-radius: var(--radius-lg);
}

.audience-card:first-child {
  background: var(--emerald-500);
  color: #022b20;
}

.audience-card:first-child h3 {
  color: #022b20;
}

.audience-card:last-child {
  background: var(--navy-900);
  color: #dfeaf7;
}

.audience-card:last-child h3 {
  color: #fff;
}

.audience-card ul {
  margin: 28px 0 0;
  padding-left: 20px;
}

.status-callout {
  display: grid;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.status-callout h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.status-callout p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
}

.status-seal {
  display: grid;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(21, 176, 124, 0.45);
  border-radius: 50%;
  place-items: center;
  background: var(--emerald-100);
  color: var(--emerald-600);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.subpage-hero {
  padding: 80px 0 56px;
}

.subpage-hero p:not(.eyebrow) {
  max-width: 790px;
  margin: 0;
  color: var(--muted);
  font-size: 1.14rem;
}

.content-shell {
  display: grid;
  padding-bottom: 96px;
  grid-template-columns: minmax(210px, 0.3fr) minmax(0, 0.7fr);
  gap: clamp(40px, 8vw, 100px);
  align-items: start;
}

.content-aside {
  position: sticky;
  top: 120px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  color: var(--muted);
  font-size: 0.86rem;
}

.content-aside strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy-900);
}

.prose {
  max-width: 790px;
}

.prose h2 {
  margin-top: 56px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: clamp(1.8rem, 3.2vw, 2.55rem);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 34px;
}

.prose p,
.prose li {
  color: #314861;
}

.prose li + li {
  margin-top: 8px;
}

.prose .notice {
  margin: 30px 0;
  padding: 20px 22px;
  border-left: 4px solid var(--emerald-500);
  border-radius: 0 12px 12px 0;
  background: var(--emerald-100);
}

.prose .notice strong {
  color: var(--navy-900);
}

.info-table {
  width: 100%;
  margin: 26px 0;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.info-table th,
.info-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.info-table th {
  color: var(--navy-900);
}

.site-footer {
  padding: 64px 0 34px;
  background: var(--navy-950);
  color: #aabdd3;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 60px;
}

.footer-brand img {
  width: 210px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #fff;
}

.footer-brand p {
  max-width: 430px;
  margin: 20px 0 0;
  font-size: 0.9rem;
}

.footer-links h2 {
  margin-bottom: 16px;
  color: #fff;
  font-family: inherit;
  font-size: 0.8rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-links ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 9px;
}

.footer-links a {
  color: #c8d6e5;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.78rem;
}

.footer-bottom p {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .brand-link {
    width: 190px;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 20px;
    left: 20px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .primary-nav[data-open="true"] {
    display: block;
  }

  .primary-nav ul {
    align-items: stretch;
    flex-direction: column;
    gap: 2px;
  }

  .primary-nav a {
    display: block;
    padding: 10px;
  }

  .language-switcher {
    grid-column: 3;
    grid-row: 1;
    margin-right: 54px;
  }

  .menu-toggle {
    grid-column: 3;
    grid-row: 1;
  }

  .hero-grid,
  .section-head,
  .principles-grid,
  .content-shell {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 54px;
  }

  .hero-copy {
    max-width: 800px;
  }

  .coach-panel {
    min-height: auto;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-step:last-child {
    grid-column: span 2;
    min-height: 210px;
  }

  .content-aside {
    position: static;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .status-bar .container {
    min-height: 42px;
  }

  .header-inner {
    min-height: 72px;
    gap: 12px;
  }

  .brand-link {
    width: 152px;
  }

  .language-switcher summary {
    min-height: 40px;
    padding: 6px 9px;
  }

  .language-switcher summary span {
    display: none;
  }

  .language-switcher {
    margin-right: 50px;
  }

  .hero,
  .subpage-hero {
    padding-top: 56px;
  }

  .hero {
    padding-bottom: 54px;
  }

  h1 {
    font-size: clamp(2.65rem, 14vw, 4rem);
  }

  .section {
    padding: 68px 0;
  }

  .section-head {
    margin-bottom: 30px;
    gap: 8px;
  }

  .card-grid,
  .workflow,
  .feature-split,
  .audience-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .workflow-step,
  .workflow-step:last-child {
    min-height: auto;
    grid-column: auto;
  }

  .workflow-step::before,
  .feature-tag {
    margin-bottom: 30px;
  }

  .reasoning-card:nth-child(2),
  .reasoning-card:nth-child(3) {
    margin-left: 0;
  }

  .status-callout {
    grid-template-columns: 1fr;
  }

  .status-seal {
    width: 98px;
    height: 98px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
