:root {
  --ink: #102c31;
  --deep: #092f35;
  --teal: #0f6264;
  --mint: #a7d9cc;
  --pale: #edf6f1;
  --cream: #f7f3ea;
  --paper: #fffdf8;
  --orange: #e57942;
  --muted: #63777a;
  --line: rgba(16, 44, 49, 0.14);
  --shadow: 0 24px 70px rgba(6, 38, 43, 0.14);
  --radius: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button, textarea { font: inherit; }

a { color: inherit; }

.skip-link {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 99;
  background: #fff;
  padding: 10px 16px;
  border-radius: 10px;
}

.skip-link:focus { top: 12px; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.brand em { color: var(--orange); font-style: normal; }

.brand-mark { width: 34px; height: 34px; }
.brand-mark svg { width: 100%; fill: none; stroke: var(--teal); stroke-width: 2; }
.brand-mark svg circle:last-child { fill: var(--orange); stroke: none; }

nav { display: flex; gap: 30px; margin-left: auto; }
nav a { color: #3d5659; font-size: 14px; font-weight: 650; text-decoration: none; }
nav a:hover { color: var(--orange); }

.language-switch { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.language-switch button { min-width: 42px; height: 30px; padding: 0 10px; border: 0; border-radius: 999px; color: var(--muted); background: transparent; cursor: pointer; font-size: 12px; font-weight: 800; }
.language-switch button.is-active { color: #fff; background: var(--teal); }

.section { padding-inline: max(24px, calc((100vw - 1180px) / 2)); }

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 78px;
  align-content: center;
  position: relative;
  padding-top: 70px;
  padding-bottom: 132px;
  overflow: hidden;
  background:
    radial-gradient(circle at 7% 78%, rgba(167,217,204,.25) 0 1px, transparent 2px) 0 0/18px 18px,
    linear-gradient(135deg, #fffdf8 0%, #f8f5ed 62%, #eff6f2 100%);
}

.hero::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(15,98,100,.11);
  border-radius: 50%;
  top: -220px;
  right: 7%;
  box-shadow: 0 0 0 46px rgba(15,98,100,.035), 0 0 0 92px rgba(15,98,100,.025);
}

.hero-copy, .position-card { position: relative; z-index: 1; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.eyebrow span { width: 26px; height: 2px; background: var(--orange); }
.eyebrow-light { color: var(--mint); }

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

h1, .section-heading h2, .confidence-copy > h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -2.8px;
}

h1 { max-width: 640px; margin: 22px 0 22px; font-size: clamp(52px, 6vw, 84px); line-height: .97; }
h1 i { color: var(--orange); font-weight: 500; }

.hero-lead { max-width: 610px; color: #4f6669; font-size: 18px; line-height: 1.75; }

.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 34px; }

.button {
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 23px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button:focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid rgba(229,121,66,.45); outline-offset: 3px; }
.button-primary { color: white; background: var(--orange); box-shadow: 0 12px 25px rgba(229,121,66,.24); }
.button-primary:hover { background: #d96831; }
.button-dark { color: #fff; background: var(--deep); }
.button-small { min-height: 40px; padding: 0 18px; font-size: 13px; }
.button-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.button-light { width: 100%; background: #fff; color: var(--deep); }

.text-link { color: var(--teal); font-size: 14px; font-weight: 800; text-underline-offset: 5px; }

.hero-points { display: flex; flex-wrap: wrap; gap: 19px; margin: 30px 0 0; padding: 0; list-style: none; color: #52676a; font-size: 12px; font-weight: 700; }
.hero-points span { color: var(--teal); margin-right: 4px; }

.position-card {
  align-self: center;
  padding: 38px;
  border-radius: var(--radius);
  color: white;
  background: var(--deep);
  box-shadow: var(--shadow);
}

.position-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 100% 0, rgba(167,217,204,.2), transparent 40%);
  pointer-events: none;
}

.card-kicker { color: var(--mint); font-size: 11px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; }
.position-card h2 { max-width: 430px; margin: 10px 0 34px; font-family: Georgia, serif; font-size: 30px; line-height: 1.2; font-weight: 500; letter-spacing: -.6px; }

.path-line { display: grid; grid-template-columns: 18px 1fr 24px 1fr 18px; align-items: center; }
.path-dot { aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(255,255,255,.6); }
.path-dot-active { background: var(--orange); border: 7px solid #fff; box-shadow: 0 0 0 6px rgba(229,121,66,.28); }
.path-stroke { height: 1px; background: rgba(255,255,255,.38); }

.path-labels { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 10px; margin-top: 16px; text-align: center; }
.path-labels div:first-child { text-align: left; }
.path-labels div:last-child { text-align: right; }
.path-labels b, .path-labels small { display: block; }
.path-labels b { font-size: 12px; }
.path-labels small { margin-top: 4px; color: rgba(255,255,255,.52); font-size: 10px; line-height: 1.35; }
.path-labels .active b { color: #ffd0b8; }

.position-note { display: grid; grid-template-columns: 28px 1fr; gap: 12px; margin-top: 32px; padding: 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: rgba(255,255,255,.055); }
.position-note span { color: var(--orange); font-size: 21px; }
.position-note p { margin: 0; color: rgba(255,255,255,.68); font-size: 11px; line-height: 1.6; }
.position-note b { color: #fff; }

.trust-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  min-height: 84px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-inline: max(24px, calc((100vw - 1180px) / 2));
  color: #fff;
  background: var(--teal);
}

.trust-strip div { display: flex; align-items: center; justify-content: center; gap: 14px; border-right: 1px solid rgba(255,255,255,.15); }
.trust-strip div:first-child { border-left: 1px solid rgba(255,255,255,.15); }
.trust-strip b { color: var(--mint); font-family: Georgia, serif; font-size: 18px; }
.trust-strip span { font-size: 12px; font-weight: 800; letter-spacing: .2px; }

.pathway-section { padding-top: 110px; padding-bottom: 110px; color: #fff; background: var(--deep); }
.section-heading.centered { max-width: 650px; margin: 0 auto 44px; text-align: center; }
.section-heading .eyebrow { justify-content: center; }
.section-heading h2 { margin: 16px 0 12px; font-size: clamp(40px, 5vw, 60px); line-height: 1.05; }
.section-heading p { color: rgba(255,255,255,.62); }

.pathway-shell { max-width: 880px; margin: auto; }
.progress { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; max-width: 590px; margin: 0 auto 24px; }
.progress-item { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.35); font-size: 11px; letter-spacing: .4px; text-transform: uppercase; }
.progress-item span { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.progress-item.is-active { color: #fff; }
.progress-item.is-active span { color: #fff; background: var(--orange); border-color: var(--orange); }
.progress-rule { height: 1px; margin: 0 14px; background: rgba(255,255,255,.15); }

.question-panel { min-height: 390px; padding: 42px; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); background: rgba(255,255,255,.055); }
.step-label { margin-bottom: 9px; color: var(--mint); font-size: 10px; font-weight: 900; letter-spacing: 1.6px; }
.step h3 { margin-bottom: 26px; font-family: Georgia, serif; font-size: 27px; font-weight: 500; }

.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.choice, .situation-choice {
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 15px;
  color: white;
  background: rgba(255,255,255,.04);
  cursor: pointer;
  text-align: left;
  transition: border .2s, background .2s, transform .2s;
}
.choice { min-height: 110px; padding: 19px; }
.choice:hover, .situation-choice:hover { transform: translateY(-2px); border-color: var(--mint); background: rgba(167,217,204,.09); }
.choice strong { display: block; margin-bottom: 7px; font-size: 15px; }
.choice small, .situation-choice small { color: rgba(255,255,255,.56); }
.choice .choice-symbol { float: right; color: var(--orange); font-size: 21px; }

.choice-list { display: grid; gap: 10px; }
.situation-choice { width: 100%; min-height: 64px; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; padding: 13px 16px; }
.situation-choice > span:first-child { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: var(--mint); background: rgba(167,217,204,.1); font-weight: 900; }
.situation-choice strong { display: block; font-size: 13px; }
.situation-choice .arrow { color: var(--orange); }

.back-button { margin-bottom: 18px; padding: 0; border: 0; color: var(--mint); background: transparent; cursor: pointer; font-weight: 750; }

.result-topline { display: flex; align-items: center; gap: 12px; }
.result-topline p { margin: 0; color: var(--mint); font-size: 10px; font-weight: 900; letter-spacing: 1.5px; }
.result-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: var(--orange); font-weight: 900; }
.result-step h3 { margin: 18px 0 9px; font-size: 34px; }
.result-summary { max-width: 700px; color: rgba(255,255,255,.67); }
.result-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.result-columns div { padding: 18px; border-radius: 14px; background: rgba(0,0,0,.13); }
.result-columns h4 { margin: 0 0 6px; color: var(--mint); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }
.result-columns p { margin: 0; color: rgba(255,255,255,.75); font-size: 13px; }
.result-actions { display: flex; gap: 12px; }
.result-step .button-ghost { color: #fff; border-color: rgba(255,255,255,.2); }
.privacy-line { margin: 14px 0 0; color: rgba(255,255,255,.45); font-size: 11px; }

.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 70px; }
.service-card { position: relative; min-height: 275px; padding: 25px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 19px; background: rgba(255,255,255,.035); transition: transform .2s, background .2s, border .2s; }
.service-card:hover, .service-card.is-highlighted { transform: translateY(-5px); border-color: rgba(167,217,204,.55); background: rgba(167,217,204,.08); }
.service-number { position: absolute; right: 18px; top: 14px; color: rgba(255,255,255,.12); font-family: Georgia, serif; font-size: 38px; }
.service-icon { width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: 32px; border-radius: 12px; color: var(--orange); background: rgba(229,121,66,.1); font-size: 20px; }
.service-card h3 { margin: 0 0 10px; font-family: Georgia, serif; font-size: 24px; font-weight: 500; }
.service-card p { color: rgba(255,255,255,.62); font-size: 13px; }
.service-card small { position: absolute; bottom: 22px; left: 25px; color: var(--mint); font-size: 10px; font-weight: 750; }

.confidence-section { padding-top: 110px; padding-bottom: 44px; background: var(--cream); }
.confidence-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 88px; align-items: start; }
.confidence-copy > h2 { margin: 18px 0; font-size: clamp(42px, 5vw, 60px); line-height: 1.03; }
.confidence-copy > p { max-width: 540px; color: var(--muted); }
.trust-cards { display: grid; gap: 12px; margin-top: 30px; }
.trust-cards > div { display: grid; grid-template-columns: 38px 1fr; column-gap: 10px; padding: 16px 0; border-top: 1px solid var(--line); }
.trust-cards span { grid-row: 1/3; color: var(--orange); font-family: Georgia, serif; font-size: 17px; }
.trust-cards b { font-size: 14px; }
.trust-cards p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }

.faq { padding: 34px; border-radius: var(--radius); background: var(--paper); box-shadow: 0 16px 50px rgba(16,44,49,.07); }
.faq h3 { margin-bottom: 18px; font-family: Georgia, serif; font-size: 26px; font-weight: 500; }
.faq details { border-top: 1px solid var(--line); }
.faq summary { padding: 17px 32px 17px 0; position: relative; cursor: pointer; list-style: none; font-size: 14px; font-weight: 800; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 3px; color: var(--orange); font-size: 20px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 28px 17px 0; color: var(--muted); font-size: 12px; }

.contact-card { display: grid; grid-template-columns: 1.25fr .75fr; gap: 60px; align-items: center; margin-top: 84px; padding: 46px; border-radius: var(--radius); color: white; background: var(--teal); }
.contact-card h2 { max-width: 600px; margin: 13px 0 10px; font-family: Georgia, serif; font-size: 36px; font-weight: 500; line-height: 1.08; }
.contact-card > div > p { margin: 0; color: rgba(255,255,255,.65); font-size: 13px; }
.contact-intent fieldset { margin: 0 0 16px; padding: 0; border: 0; }
.contact-intent legend { margin-bottom: 9px; color: rgba(255,255,255,.65); font-size: 11px; font-weight: 800; }
.intent-options { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.intent-options button { min-height: 38px; border: 1px solid rgba(255,255,255,.22); border-radius: 9px; color: #fff; background: rgba(255,255,255,.06); cursor: pointer; font-size: 11px; font-weight: 750; }
.intent-options button.is-selected { border-color: #fff; color: var(--deep); background: #fff; }
.contact-status { margin: 9px 0 0 !important; color: rgba(255,255,255,.48) !important; font-size: 10px !important; }

.responsible-note { display: grid; grid-template-columns: 190px 1fr; gap: 30px; margin-top: 34px; padding: 24px 4px 0; border-top: 1px solid var(--line); }
.responsible-note b { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }
.responsible-note p { color: #718083; font-size: 10px; line-height: 1.7; }

footer { min-height: 120px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 20px max(24px, calc((100vw - 1180px) / 2)); color: rgba(255,255,255,.6); background: var(--deep); }
.brand-footer { color: #fff; }
footer p { margin: 0; font-family: Georgia, serif; font-size: 15px; }
footer small { justify-self: end; font-size: 10px; }

dialog { width: min(600px, calc(100% - 32px)); border: 0; border-radius: 22px; padding: 32px; color: var(--ink); background: var(--paper); box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(2,24,28,.72); backdrop-filter: blur(4px); }
dialog h2 { margin-bottom: 8px; font-family: Georgia, serif; font-size: 30px; font-weight: 500; }
dialog > p:not(.step-label):not(.privacy-line) { color: var(--muted); font-size: 13px; }
.dialog-close { position: absolute; right: 18px; top: 15px; border: 0; color: var(--muted); background: transparent; cursor: pointer; font-size: 28px; }
textarea { width: 100%; resize: vertical; margin: 12px 0 15px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #fff; font-size: 13px; line-height: 1.55; }
.dialog-actions { display: flex; gap: 10px; }
dialog .privacy-line { color: var(--muted); }

[hidden] { display: none !important; }

@media (max-width: 900px) {
  nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 42px; padding-top: 58px; padding-bottom: 128px; }
  .hero-copy { max-width: 680px; }
  .position-card { max-width: 680px; }
  .services { grid-template-columns: 1fr 1fr; }
  .confidence-grid { grid-template-columns: 1fr; gap: 54px; }
  .contact-card { grid-template-columns: 1fr; gap: 32px; }
  footer { grid-template-columns: 1fr 1fr; }
  footer p { display: none; }
}

@media (max-width: 620px) {
  .site-header { width: calc(100% - 28px); height: 68px; }
  .site-header .button { min-height: 36px; padding: 0 14px; font-size: 11px; }
  .site-header > .button { display: none; }
  .language-switch { margin-left: auto; }
  .brand { font-size: 18px; }
  .brand-mark { width: 30px; height: 30px; }
  .section { padding-inline: 18px; }
  .hero { min-height: auto; padding-top: 48px; padding-bottom: 98px; }
  h1 { font-size: 49px; letter-spacing: -2.2px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .hero-points { flex-direction: column; gap: 7px; }
  .position-card { padding: 26px 20px; }
  .position-card h2 { font-size: 26px; }
  .path-labels { gap: 4px; }
  .path-labels b { font-size: 10px; }
  .path-labels small { font-size: 8px; }
  .trust-strip { min-height: 62px; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-inline: 0; }
  .trust-strip div { flex-direction: column; gap: 1px; text-align: center; }
  .trust-strip b { font-size: 13px; }
  .trust-strip span { font-size: 8px; line-height: 1.15; }
  .pathway-section, .confidence-section { padding-top: 76px; padding-bottom: 76px; }
  .section-heading h2 { font-size: 42px; }
  .progress { grid-template-columns: auto 1fr auto 1fr auto; }
  .progress-item { flex-direction: column; gap: 3px; font-size: 8px; text-align: center; }
  .progress-rule { margin: 0 7px; }
  .question-panel { min-height: 420px; padding: 26px 18px; }
  .step h3 { font-size: 23px; }
  .choice-grid { grid-template-columns: 1fr; }
  .choice { min-height: 86px; }
  .result-columns { grid-template-columns: 1fr; }
  .result-actions { align-items: stretch; flex-direction: column; }
  .services { grid-template-columns: 1fr; margin-top: 44px; }
  .service-card { min-height: 235px; }
  .contact-card { padding: 28px 21px; }
  .responsible-note { grid-template-columns: 1fr; gap: 8px; }
  footer { min-height: 100px; grid-template-columns: 1fr; text-align: center; }
  footer .brand { justify-self: center; }
  footer small { justify-self: center; }
  dialog { padding: 27px 20px; }
  .dialog-actions { flex-direction: column; }
}

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