:root {
  --ink: #070b0a;
  --ink-soft: #0e1512;
  --panel: #121a17;
  --cream: #f2f1eb;
  --paper: #faf9f5;
  --muted: #9fa8a3;
  --line: rgba(255, 255, 255, 0.13);
  --line-dark: rgba(7, 11, 10, 0.14);
  --signal: #57d4af;
  --signal-deep: #39b994;
  --signal-pale: #d8faef;
  --display: "Montserrat", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: #fff;
  font-family: var(--body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
button, input, a { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  background: var(--signal);
  color: var(--ink);
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 700;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 48px), var(--max));
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.brand span, .footer-brand span {
  font: 600 18px/1 var(--display);
  letter-spacing: 0.38em;
}
.site-header nav { display: flex; align-items: center; gap: 30px; }
.site-header nav a { color: #cbd2ce; font-size: 14px; font-weight: 600; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: #fff; }
.site-header .nav-cta {
  padding: 12px 16px;
  color: #fff;
  border: 1px solid rgba(87, 212, 175, 0.45);
  border-radius: 999px;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 860px;
  padding: 175px max(24px, calc((100vw - var(--max)) / 2)) 92px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 50px;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(255,255,255,0.018), transparent 35%),
    radial-gradient(circle at 78% 44%, rgba(87, 212, 175, 0.08), transparent 32%),
    var(--ink);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.34;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to right, transparent, #000 50%, #000);
}
.ambient { position: absolute; z-index: -1; border-radius: 50%; filter: blur(80px); opacity: .14; }
.ambient-one { width: 380px; height: 380px; background: var(--signal); right: -180px; top: 180px; }
.ambient-two { width: 300px; height: 300px; background: #1d7e62; left: -220px; bottom: -80px; }

.eyebrow {
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--signal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow span { width: 28px; height: 1px; background: currentColor; }
.eyebrow.dark { color: #178666; }
.hero h1 {
  max-width: 740px;
  margin: 0;
  font: 600 clamp(45px, 5.4vw, 79px)/1.04 var(--display);
  letter-spacing: -.055em;
}
.hero h1 em { color: var(--signal); font-style: normal; font-weight: 500; }
.hero-lead {
  max-width: 640px;
  margin: 28px 0 34px;
  color: #b7c0bb;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }
.button {
  min-height: 52px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .option:focus-visible, .text-button:focus-visible, a:focus-visible { outline: 3px solid rgba(87, 212, 175, .42); outline-offset: 3px; }
.button-primary { background: var(--signal); color: var(--ink); }
.button-primary:hover { background: #6fe3c1; }
.button-primary:disabled { opacity: .32; cursor: not-allowed; transform: none; }
.button-ghost { background: transparent; color: inherit; border-color: var(--line); }
.text-link { color: #dce2df; font-weight: 600; font-size: 14px; }
.text-link span { color: var(--signal); margin-left: 5px; }
.hero-proof {
  margin-top: 44px;
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 23px;
  border-top: 1px solid var(--line);
  color: #929d97;
  font-size: 12px;
}
.hero-proof span { display: flex; align-items: center; gap: 8px; }
.hero-proof i { width: 5px; height: 5px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 10px var(--signal); }

.signal-visual { align-self: stretch; min-height: 525px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.radar { position: relative; width: min(36vw, 440px); aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line); }
.radar::before, .radar::after { content: ""; position: absolute; background: rgba(255,255,255,.08); }
.radar::before { width: 1px; height: 100%; left: 50%; top: 0; }
.radar::after { width: 100%; height: 1px; left: 0; top: 50%; }
.ring { position: absolute; border: 1px solid rgba(87,212,175,.22); border-radius: 50%; inset: 10%; }
.ring-two { inset: 24%; }
.ring-three { inset: 39%; }
.radar-line {
  position: absolute;
  width: 50%; height: 50%; left: 50%; top: 0;
  transform-origin: bottom left;
  background: conic-gradient(from 270deg at 0 100%, rgba(87,212,175,.25), transparent 26%);
  animation: scan 8s linear infinite;
}
.radar-core {
  position: absolute; z-index: 3; inset: 42%; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--signal); color: var(--ink);
  box-shadow: 0 0 0 12px rgba(87,212,175,.09), 0 0 45px rgba(87,212,175,.28);
}
.radar-core span { font: 600 28px/1 var(--display); }
.signal-point { position: absolute; z-index: 4; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 18px var(--signal); }
.point-one { left: 24%; top: 31%; }
.point-two { right: 15%; top: 44%; width: 6px; height: 6px; }
.point-three { left: 42%; bottom: 14%; width: 5px; height: 5px; }
.signal-caption { width: min(36vw, 440px); margin-top: 24px; padding-top: 18px; display: flex; gap: 18px; border-top: 1px solid var(--line); }
.signal-caption span { color: var(--signal); font: 600 12px var(--display); }
.signal-caption p { margin: 0; color: #8e9993; font-size: 13px; line-height: 1.5; }
.signal-caption strong { color: #fff; }
@keyframes scan { to { transform: rotate(360deg); } }

.services {
  padding: 110px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--cream);
  color: var(--ink);
}
.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: end; margin-bottom: 54px; }
.section-heading h2, .diagnostic-intro h2 { margin: 0; font: 600 clamp(34px, 4vw, 57px)/1.08 var(--display); letter-spacing: -.045em; }
.section-heading > p { margin: 0; color: #56605b; line-height: 1.75; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-dark); }
.service-card { min-height: 350px; padding: 28px; position: relative; display: flex; flex-direction: column; border-right: 1px solid var(--line-dark); background: rgba(255,255,255,.36); }
.service-card:last-child { border-right: 0; }
.service-card.featured { color: #fff; background: var(--ink-soft); }
.card-index { position: absolute; top: 24px; right: 24px; color: #88908c; font-size: 11px; }
.service-icon { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; color: #178666; font-size: 24px; }
.featured .service-icon { color: var(--signal); }
.service-card h3 { margin: auto 0 16px; font: 600 21px/1.25 var(--display); letter-spacing: -.02em; }
.service-card p { min-height: 72px; margin: 0 0 22px; color: #626b67; font-size: 14px; line-height: 1.7; }
.featured p { color: #aab4af; }
.card-tag { width: fit-content; padding: 7px 10px; border-radius: 2px; background: rgba(7,11,10,.06); color: #4f5b55; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.featured .card-tag { color: var(--signal); background: rgba(87,212,175,.1); }
.method { margin-top: 40px; padding: 30px 0 0; display: grid; grid-template-columns: .45fr 1.55fr; align-items: center; border-top: 1px solid var(--line-dark); }
.method > p { margin: 0; font-weight: 700; }
.method ol { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.method li { position: relative; display: flex; align-items: center; gap: 10px; }
.method li:not(:last-child)::after { content: "→"; position: absolute; right: 18px; color: #9aa19d; }
.method li span { color: #178666; font-size: 11px; }
.method li strong { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }

.diagnostic-section {
  padding: 120px max(24px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 90px;
  background:
    radial-gradient(circle at 10% 80%, rgba(87,212,175,.09), transparent 24%),
    var(--ink);
}
.diagnostic-intro { position: sticky; top: 70px; align-self: start; }
.diagnostic-intro h2 { color: #fff; }
.diagnostic-intro > p:not(.eyebrow) { max-width: 430px; margin: 26px 0 38px; color: #99a49e; line-height: 1.75; }
.diagnostic-notes { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.diagnostic-notes span { padding: 14px 0; border-bottom: 1px solid var(--line); color: #c3cbc7; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.diagnostic-card { min-height: 670px; padding: clamp(28px, 4vw, 52px); background: #f4f3ee; color: var(--ink); border-radius: 2px; box-shadow: 0 35px 80px rgba(0,0,0,.22); }
.progress-head { display: flex; justify-content: space-between; color: #66706b; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.progress-track { height: 2px; margin: 12px 0 42px; overflow: hidden; background: #d9dcd8; }
.progress-track span { display: block; width: 33%; height: 100%; background: #148563; transition: width .35s ease; }
.diagnostic-step { display: none; margin: 0; padding: 0; border: 0; }
.diagnostic-step.active { display: block; animation: enter .25s ease both; }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } }
.diagnostic-step legend { max-width: 560px; padding: 0; font: 600 clamp(26px, 3vw, 38px)/1.18 var(--display); letter-spacing: -.035em; }
.step-help { margin: 12px 0 28px; color: #68716d; font-size: 13px; }
.option-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.actor-grid .option:last-child { grid-column: 1 / -1; }
.option {
  min-height: 78px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid #d5d8d4;
  border-radius: 3px;
  background: rgba(255,255,255,.5);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.option:hover { border-color: #8b9690; transform: translateY(-1px); }
.option.selected { border-color: #198866; background: #e5f7f0; }
.option-mark { flex: 0 0 38px; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #bdc4c0; border-radius: 50%; color: #65706b; font: 600 12px var(--display); }
.selected .option-mark { border-color: #198866; background: #198866; color: #fff; }
.option strong { display: block; font-size: 13px; line-height: 1.3; }
.option small { display: block; margin-top: 5px; color: #737c78; font-size: 10px; }
.compact .option { min-height: 64px; }
.check { flex: 0 0 18px; width: 18px; height: 18px; border: 1px solid #aeb6b2; border-radius: 2px; }
.selected .check { background: #198866; border-color: #198866; box-shadow: inset 0 0 0 4px #e5f7f0; }
.form-status { min-height: 20px; margin-top: 14px; color: #a24c36; font-size: 12px; }
.form-actions { margin-top: 24px; display: flex; justify-content: flex-end; gap: 10px; }
.diagnostic-card .button-ghost { color: var(--ink); border-color: #cbd0cd; }
.hidden { display: none !important; }

.result-view { animation: enter .35s ease both; }
.result-kicker { display: flex; align-items: center; gap: 9px; color: #137c5d; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.result-kicker span { width: 22px; height: 1px; background: currentColor; }
.result-view > h3 { margin: 20px 0 13px; font: 600 clamp(30px, 3.2vw, 44px)/1.08 var(--display); letter-spacing: -.04em; }
#result-title:focus { outline: none; }
.result-lead { max-width: 610px; margin: 0 0 27px; color: #5f6964; line-height: 1.65; }
.result-context { padding: 14px 0; display: flex; justify-content: space-between; border-top: 1px solid #d4d8d5; border-bottom: 1px solid #d4d8d5; font-size: 12px; }
.result-context span { color: #77817c; }
.result-context strong { color: #147b5d; text-align: right; }
.result-rationale { margin-top: 18px; padding: 14px 16px; background: #e9ebe7; border-left: 3px solid var(--signal); }
.result-rationale span { color: #137c5d; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.result-rationale p { margin: 7px 0 0; color: #46514c; font-size: 13px; line-height: 1.6; }
.result-block { margin-top: 27px; }
.result-block > p:first-child, .result-recommendation span { margin: 0 0 8px; color: #72807a; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.result-block h4 { margin: 0 0 10px; font: 600 21px/1.2 var(--display); }
.result-block > p:last-child { margin: 0; color: #58625d; font-size: 14px; line-height: 1.65; }
.result-secondary { margin-top: 22px; padding: 17px 18px; border: 1px solid #d4d8d5; background: #f5f6f3; }
.result-secondary h4 { font-size: 18px; }
.steps-block ol { margin: 12px 0 0; padding: 0; list-style: none; counter-reset: steps; display: grid; gap: 8px; }
.steps-block li { counter-increment: steps; padding: 11px 13px; display: grid; grid-template-columns: 25px 1fr; gap: 8px; background: #e9ebe7; color: #37423d; font-size: 13px; line-height: 1.45; }
.steps-block li::before { content: "0" counter(steps); color: #137c5d; font-weight: 800; font-size: 10px; padding-top: 2px; }
.result-recommendation { margin-top: 24px; padding: 16px 18px; display: flex; justify-content: space-between; gap: 18px; background: var(--ink-soft); color: #fff; }
.result-recommendation span { color: var(--signal); margin: 0; }
.result-recommendation strong { font-size: 13px; text-align: right; }
.result-disclaimer { margin: 18px 0 0; color: #7a827e; font-size: 10px; line-height: 1.5; }
.result-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.text-button { border: 0; background: transparent; color: #53605a; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.contact-form { margin-top: 30px; padding: 24px; border: 1px solid #ced4d0; background: #fff; }
.contact-heading { margin-bottom: 20px; }
.contact-heading p { margin: 0 0 7px; color: #137c5d; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-heading h4 { margin: 0 0 8px; font: 600 22px/1.2 var(--display); letter-spacing: -.025em; }
.contact-heading span { color: #66706b; font-size: 13px; line-height: 1.55; }
.contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-fields label { display: flex; flex-direction: column; gap: 7px; }
.contact-fields label > span { color: #4f5a55; font-size: 11px; font-weight: 700; }
.contact-fields input, .contact-fields textarea {
  width: 100%;
  min-height: 45px;
  padding: 11px 12px;
  border: 1px solid #cbd1cd;
  border-radius: 2px;
  background: #fafaf8;
  color: var(--ink);
  font: 14px/1.45 var(--body);
}
.contact-fields textarea { min-height: 86px; resize: vertical; }
.contact-fields input:focus, .contact-fields textarea:focus { outline: 3px solid rgba(87, 212, 175, .28); border-color: #198866; }
.contact-message { grid-column: 1 / -1; }
.contact-honey { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.contact-privacy { margin: 14px 0 18px; color: #76807b; font-size: 10px; line-height: 1.45; }
.contact-submit { width: 100%; }
.submission-success { padding: 35px 0; animation: enter .35s ease both; }
.submission-success h3 { margin: 20px 0 12px; font: 600 clamp(30px, 3.2vw, 44px)/1.08 var(--display); letter-spacing: -.04em; }
.submission-success h3:focus { outline: none; }
.submission-success > p { max-width: 560px; margin: 0 0 28px; color: #5f6964; line-height: 1.65; }
.diagnostic-card.sent .progress-head, .diagnostic-card.sent .progress-track { display: none; }

footer {
  padding: 28px max(24px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
  border-top: 1px solid var(--line);
  color: #77827c;
  background: #050706;
  font-size: 10px;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.footer-brand img { width: 34px; height: 34px; border-radius: 50%; }
.footer-brand span { color: #fff; font-size: 13px; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 150px; }
  .hero-copy { max-width: 760px; }
  .signal-visual { min-height: auto; padding: 35px 0 10px; }
  .radar, .signal-caption { width: min(72vw, 430px); }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .section-heading > p { max-width: 650px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(2) { border-right: 0; }
  .service-card:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
  .method { grid-template-columns: 1fr; gap: 24px; }
  .diagnostic-section { grid-template-columns: 1fr; gap: 48px; }
  .diagnostic-intro { position: static; }
  .diagnostic-notes { max-width: 530px; flex-direction: row; gap: 16px; border: 0; }
  .diagnostic-notes span { border: 0; }
  footer { grid-template-columns: 1fr 1fr; }
  footer p:last-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .site-header { width: calc(100% - 32px); min-height: 75px; }
  .brand img { width: 38px; height: 38px; }
  .brand span { font-size: 14px; }
  .site-header nav > a:first-child { display: none; }
  .site-header .nav-cta { padding: 9px 11px; font-size: 11px; }
  .hero { padding: 125px 20px 72px; gap: 25px; }
  .hero h1 { font-size: clamp(40px, 12.7vw, 57px); }
  .hero h1 br { display: none; }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 18px; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { text-align: center; }
  .hero-proof { flex-direction: column; gap: 11px; }
  .signal-visual { padding-top: 15px; }
  .radar { width: min(88vw, 360px); }
  .signal-caption { width: min(88vw, 360px); }
  .services, .diagnostic-section { padding: 78px 20px; }
  .section-heading h2, .diagnostic-intro h2 { font-size: 37px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 290px; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .service-card:last-child { border-bottom: 0; }
  .method ol { grid-template-columns: 1fr 1fr; gap: 18px 6px; }
  .method li:not(:last-child)::after { display: none; }
  .diagnostic-notes { display: none; }
  .diagnostic-card { min-height: 0; padding: 27px 18px; }
  .progress-track { margin-bottom: 30px; }
  .option-grid { grid-template-columns: 1fr; }
  .actor-grid .option:last-child { grid-column: auto; }
  .option { min-height: 68px; }
  .form-actions { justify-content: stretch; }
  .form-actions .button { flex: 1; padding-left: 14px; padding-right: 14px; }
  .result-recommendation { flex-direction: column; }
  .result-recommendation strong { text-align: left; }
  .result-actions { flex-direction: column; }
  .result-actions .button { width: 100%; }
  .contact-form { padding: 20px 16px; }
  .contact-fields { grid-template-columns: 1fr; }
  .contact-message { grid-column: auto; }
  footer { grid-template-columns: 1fr; text-align: left; }
  footer p:last-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
