:root {
  --ink: #f7f4ec;
  --muted: #b7bdcc;
  --faint: #858da1;
  --night: #070a14;
  --panel: rgba(15, 21, 43, 0.88);
  --panel-soft: rgba(22, 30, 57, 0.7);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --gold: #f6b62f;
  --gold-strong: #ffc348;
  --teal: #31d1c8;
  --danger: #ffb7ad;
  --success: #8ce0bf;
  --radius: 18px;
  --radius-small: 12px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  --sans: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  background:
    linear-gradient(rgba(4, 7, 17, 0.42), rgba(4, 7, 17, 0.78)),
    url("10066.png") center / cover fixed,
    var(--night);
  -webkit-font-smoothing: antialiased;
}

button, input, textarea { font: inherit; }
button, label { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.ambient {
  position: fixed;
  z-index: -1;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.18;
  pointer-events: none;
}
.ambient-one { top: -16rem; left: -12rem; background: #3a4fc7; }
.ambient-two { right: -18rem; bottom: -20rem; background: #9b5a16; }

.shell {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: max(24px, env(safe-area-inset-top)) 0 max(28px, env(safe-area-inset-bottom));
}

.brand-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.brand-lockup strong { display: block; font-size: 1.05rem; letter-spacing: 0.01em; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(246, 182, 47, 0.7);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 182, 47, 0.25), transparent 62%);
}
.brand-mark span,
.brand-mark span::before,
.brand-mark span::after {
  display: block;
  width: 18px;
  height: 18px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  content: "";
}
.brand-mark span::before { transform: scale(0.62); }
.brand-mark span::after { transform: translateY(-18px) scale(0.25); background: var(--gold); }
.eyebrow,
.section-kicker,
.free-label,
.progress-meta,
.character-count {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.eyebrow { display: block; margin-bottom: 2px; color: var(--gold); font-size: 0.72rem; }
.free-label {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.67rem;
  white-space: nowrap;
}

.console {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(155deg, rgba(20, 28, 56, 0.96), rgba(8, 12, 26, 0.94));
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
.progress-wrap { padding: 22px 28px 0; }
.progress-meta { display: flex; justify-content: space-between; color: var(--faint); font-size: 0.68rem; }
.progress-track { height: 4px; margin-top: 10px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,0.08); }
.progress-track span { display: block; width: 25%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--teal)); transition: width 260ms ease; }

.panel { display: none; padding: clamp(30px, 6vw, 68px); animation: enter 300ms ease both; }
.panel.active { display: block; }
@keyframes enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.section-kicker { margin: 0 0 12px; color: var(--gold); font-size: 0.75rem; font-weight: 600; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 780px; margin-bottom: 20px; font-size: clamp(2.2rem, 5.6vw, 4.8rem); line-height: 0.98; letter-spacing: -0.055em; }
h2 { max-width: 760px; margin-bottom: 12px; font-size: clamp(1.65rem, 3.4vw, 2.65rem); line-height: 1.08; letter-spacing: -0.035em; }
h3 { margin-bottom: 8px; font-size: 1.1rem; }
.lead { max-width: 720px; margin-bottom: 30px; color: var(--muted); font-size: clamp(1rem, 2vw, 1.2rem); }
.helper { margin-bottom: 24px; color: var(--muted); }

.orientation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 32px 0; }
.orientation-grid article { min-height: 168px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-small); background: rgba(255,255,255,0.025); }
.orientation-grid article > span { color: var(--gold); font-family: var(--mono); font-size: 0.75rem; }
.orientation-grid h2 { margin: 14px 0 8px; font-size: 1.15rem; letter-spacing: -0.02em; }
.orientation-grid p { margin: 0; color: var(--muted); font-size: 0.93rem; }


.method-explainer {
  margin: 30px 0 10px;
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid rgba(246, 182, 47, 0.22);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(38, 50, 113, 0.22), rgba(246, 182, 47, 0.045));
}
.method-explainer__head h2 {
  max-width: 700px;
  margin-bottom: 20px;
  font-size: clamp(1.35rem, 3vw, 2rem);
}
.method-definition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.method-definition-card {
  min-height: 190px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.025);
}
.method-definition-card > span,
.sensory-card > span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.method-definition-card h3 {
  margin-bottom: 10px;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}
.method-definition-card p,
.sensory-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.method-definition-card--sata {
  background: linear-gradient(145deg, rgba(79, 91, 202, 0.16), rgba(255, 255, 255, 0.02));
}
.method-definition-card--coda {
  background: linear-gradient(145deg, rgba(246, 182, 47, 0.12), rgba(255, 121, 25, 0.045));
}
.sensory-boundary,
.sensory-disclaimer {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--teal);
  color: var(--muted);
  background: rgba(49, 209, 200, 0.045);
  font-size: 0.86rem;
}

.sensory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.sensory-card {
  min-height: 210px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.025);
}
.sensory-card strong {
  display: block;
  margin-bottom: 8px;
  line-height: 1.35;
}
.sensory-card--sata {
  background: linear-gradient(145deg, rgba(79, 91, 202, 0.17), rgba(255, 255, 255, 0.02));
}
.sensory-card--coda {
  background: linear-gradient(145deg, rgba(246, 182, 47, 0.13), rgba(255, 121, 25, 0.04));
}
.sensory-card--framework {
  background: linear-gradient(145deg, rgba(49, 209, 200, 0.09), rgba(255, 255, 255, 0.02));
}

.trust-note { max-width: 800px; margin: 26px 0 30px; padding: 20px 22px; border-left: 3px solid var(--gold); background: rgba(246, 182, 47, 0.06); }
.trust-note strong { display: block; margin-bottom: 6px; }
.trust-note p { margin: 0; color: var(--muted); font-size: 0.93rem; }

fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
fieldset legend { margin-bottom: 12px; color: var(--muted); font-family: var(--mono); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.option-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 28px 0 0; }
.option-grid.single-column { grid-template-columns: 1fr; max-width: 620px; }
.split-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 30px; }
.stacked-options { display: grid; gap: 12px; }
.option { position: relative; display: flex; min-height: 66px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--panel-soft); cursor: pointer; transition: 180ms ease; }
.option:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.option:focus-within { outline: 3px solid rgba(49, 209, 200, 0.18); border-color: var(--teal); }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option span { display: flex; align-items: center; gap: 12px; width: 100%; }
.option span::before { flex: 0 0 auto; width: 18px; height: 18px; border: 1px solid rgba(255,255,255,0.46); border-radius: 50%; content: ""; box-shadow: inset 0 0 0 4px transparent; }
.option:has(input:checked) { border-color: rgba(49, 209, 200, 0.85); background: rgba(49, 209, 200, 0.09); }
.option:has(input:checked) span::before { border-color: var(--teal); background: var(--teal); box-shadow: inset 0 0 0 4px #111a34; }

.textarea-label { display: block; margin: 30px 0 10px; font-weight: 600; }
textarea { width: 100%; min-height: 118px; padding: 16px; resize: vertical; border: 1px solid var(--line); border-radius: var(--radius-small); outline: none; color: var(--ink); background: rgba(7, 11, 24, 0.72); }
textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(49, 209, 200, 0.14); }
textarea::placeholder { color: var(--faint); }
.character-count { margin-top: 7px; color: var(--faint); font-size: 0.64rem; text-align: right; }
.consent-row { display: flex; align-items: flex-start; gap: 12px; margin-top: 24px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-small); color: var(--muted); background: rgba(255,255,255,0.02); cursor: pointer; }
.consent-row input { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--teal); }

.actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 30px; }
.btn { min-height: 52px; padding: 13px 22px; border: 1px solid transparent; border-radius: 10px; font-family: var(--mono); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; cursor: pointer; transition: 180ms ease; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid rgba(49, 209, 200, 0.28); outline-offset: 2px; }
.btn-primary { color: #10131c; background: linear-gradient(135deg, var(--teal), #6ce2d7); }
.btn-primary:hover { box-shadow: 0 10px 28px rgba(49, 209, 200, 0.18); }
.btn-secondary { color: var(--ink); border-color: var(--line); background: rgba(255,255,255,0.03); }
.btn-gold { color: #11131b; background: linear-gradient(135deg, var(--gold), var(--gold-strong)); text-decoration: none; }
.btn-link { color: var(--muted); border-color: transparent; background: transparent; }
.error { min-height: 1.4em; margin: 16px 0 0; color: var(--danger); font-size: 0.9rem; }

#loading-panel { min-height: 480px; text-align: center; }
#loading-panel.active { display: grid; place-content: center; justify-items: center; }
.loading-mark { width: 58px; height: 58px; margin-bottom: 22px; border: 3px solid rgba(255,255,255,0.1); border-top-color: var(--gold); border-right-color: var(--teal); border-radius: 50%; animation: spin 900ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.report-head { display: grid; grid-template-columns: 1.5fr 0.7fr; gap: 24px; align-items: end; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.report-title { margin-bottom: 12px; }
.report-date { color: var(--faint); font-family: var(--mono); font-size: 0.72rem; text-align: right; text-transform: uppercase; letter-spacing: 0.1em; }
.pattern-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 11px; border: 1px solid rgba(246, 182, 47, 0.38); border-radius: 999px; color: var(--gold); background: rgba(246, 182, 47, 0.06); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.report-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0; }
.report-card { min-height: 150px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-small); background: rgba(255,255,255,0.025); }
.report-card span { display: block; margin-bottom: 12px; color: var(--faint); font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; }
.report-card strong { display: block; font-size: 1.08rem; line-height: 1.3; }
.report-section { margin-top: 28px; }
.report-section h3 { color: var(--gold); font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; }
.report-section p { max-width: 760px; margin-bottom: 0; color: var(--muted); }
.practice-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.practice-flow div { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-small); }
.practice-flow strong { display: block; margin-bottom: 5px; }
.practice-flow span { color: var(--muted); font-size: 0.9rem; }
.enrollment-card { margin-top: 34px; padding: clamp(22px, 4vw, 34px); border: 1px solid rgba(246, 182, 47, 0.32); border-radius: var(--radius); background: linear-gradient(135deg, rgba(246,182,47,0.09), rgba(255,255,255,0.02)); }
.enrollment-card h3 { margin-bottom: 8px; font-size: clamp(1.35rem, 3vw, 2rem); }
.enrollment-card p { max-width: 760px; color: var(--muted); }
.price-line { margin: 18px 0; color: var(--ink); font-size: 1.05rem; }
.price-line strong { color: var(--gold); font-size: 1.4rem; }
.campaign-note { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--faint); font-size: 0.82rem; }
.report-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }


.after-enrollment {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: rgba(7, 11, 24, 0.38);
}
.after-enrollment summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}
.after-enrollment summary::-webkit-details-marker { display: none; }
.after-enrollment summary::after {
  flex: 0 0 auto;
  color: var(--gold);
  content: "+";
  font-size: 1.15rem;
  line-height: 1;
}
.after-enrollment[open] summary::after { content: "−"; }
.after-enrollment summary:focus-visible {
  outline: 3px solid rgba(49, 209, 200, 0.24);
  outline-offset: 3px;
}
.after-enrollment__body {
  padding: 0 20px 22px;
  border-top: 1px solid var(--line);
}
.after-enrollment__intro {
  max-width: 760px;
  margin: 18px 0 20px;
  color: var(--muted);
}
.after-enrollment__steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: access-step;
}
.after-enrollment__steps li {
  position: relative;
  min-height: 126px;
  padding: 18px 18px 18px 54px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.025);
  counter-increment: access-step;
}
.after-enrollment__steps li::before {
  position: absolute;
  top: 18px;
  left: 18px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.72rem;
  content: counter(access-step, decimal-leading-zero);
}
.after-enrollment__steps strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}
.after-enrollment__steps span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.progress-standard {
  margin-top: 22px;
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid rgba(246, 182, 47, 0.3);
  border-radius: var(--radius-small);
  background: linear-gradient(145deg, rgba(246, 182, 47, 0.07), rgba(49, 209, 200, 0.035));
}
.progress-standard h4 {
  margin: 0 0 12px;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  letter-spacing: -0.025em;
}
.progress-standard p { color: var(--muted); }
.progress-standard p:last-child { margin-bottom: 0; }
.participant-control {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 3px solid var(--teal);
  color: var(--muted);
  background: rgba(49, 209, 200, 0.055);
  font-size: 0.88rem;
}

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 4px 0; color: var(--faint); font-size: 0.78rem; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px; }
.site-footer a { text-underline-offset: 3px; }
.site-footer a:hover { color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 760px) {
  body { background-attachment: scroll; background-position: 55% center; }
  .shell { width: min(100% - 20px, 980px); padding-top: max(14px, env(safe-area-inset-top)); }
  .brand-header { align-items: flex-start; }
  .brand-lockup strong { font-size: 0.93rem; }
  .brand-mark { width: 42px; height: 42px; }
  .free-label { display: none; }
  .console { border-radius: 18px; }
  .progress-wrap { padding: 18px 18px 0; }
  .panel { padding: 30px 20px; }
  h1 { font-size: clamp(2.35rem, 13vw, 3.6rem); }
  h2 { font-size: clamp(1.7rem, 8vw, 2.35rem); }
  .orientation-grid, .method-definition-grid, .option-grid, .split-grid, .report-head, .report-grid, .practice-flow, .sensory-grid { grid-template-columns: 1fr; }
  .after-enrollment__steps { grid-template-columns: 1fr; }
  .after-enrollment summary { padding-inline: 16px; }
  .after-enrollment__body { padding-inline: 16px; }
  .after-enrollment__steps li { min-height: 0; }
  .orientation-grid article { min-height: 0; }
  .report-date { text-align: left; }
  .actions { flex-direction: column-reverse; }
  .actions .btn, .report-actions .btn { width: 100%; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .site-footer nav { justify-content: flex-start; }
}

@media (max-width: 380px) {
  .panel { padding-inline: 16px; }
  .option { padding-inline: 14px; }
}

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

@media print {
  body { color: #111; background: #fff; }
  .ambient, .brand-header, .progress-wrap, .site-footer, .report-actions, .enrollment-card { display: none !important; }
  .shell { width: 100%; padding: 0; }
  .console { border: 0; box-shadow: none; background: #fff; }
  .panel { padding: 0; }
  .report-card, .practice-flow div, .sensory-card { break-inside: avoid; border-color: #bbb; background: #fff; }
  .report-card span, .report-section p, .practice-flow span { color: #444; }
}


/* v2.3 — shared bilingual audit engine */
.i18n-pending .shell { opacity: 0; }
.shell { transition: opacity 160ms ease; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.audit-language-switcher {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .09em;
}
.audit-language-switcher a { color: var(--faint); text-decoration: none; }
.audit-language-switcher a[aria-current="page"] { color: var(--gold); }
.product-descriptor {
  max-width: 780px;
  margin: -4px 0 18px;
  color: var(--teal);
  font-family: var(--mono);
  font-size: clamp(.72rem, 1.7vw, .88rem);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.noscript { max-width: 760px; margin: 2rem auto; padding: 1rem; color: #fff; background: #11182f; }

@media (max-width: 760px) {
  .brand-header { align-items: center; }
  .header-actions { margin-left: auto; }
  .free-label { display: none; }
  .audit-language-switcher { padding: 7px 9px; }
  .brand-lockup strong { max-width: 14ch; }
}

@media (max-width: 430px) {
  .shell { width: min(100% - 14px, 980px); }
  .brand-lockup { gap: 9px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-lockup strong { font-size: .78rem; }
  .eyebrow { font-size: .64rem; }
  .audit-language-switcher { gap: .32rem; padding: 6px 8px; font-size: .64rem; }
  .panel { padding-inline: 16px; }
  h1 { font-size: clamp(2.15rem, 11.4vw, 3.1rem); }
  h2 { font-size: clamp(1.55rem, 7.7vw, 2.1rem); }
}
