:root {
  --bg: #fafaf9;
  --surface: #f4f4f1;
  --surface-2: #ecebe6;
  --ink: #0c0a09;
  --ink-soft: #3f3b37;
  --ink-mute: #78716c;
  --rule: #e7e5e1;
  --rule-strong: #cfcdc7;
  --accent: #d97757;
  --accent-deep: #b5573b;
  --accent-soft: #fdf0e8;
  --green: #2f7a4a;
  --sans: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; letter-spacing: 0; }
button { min-height: 48px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
section { border-top: 1px solid var(--rule); padding: 112px 0; }
section.flush { border-top: 0; padding-top: 64px; }
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  section { padding: 76px 0; }
}

.nav {
  position: relative;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: saturate(140%) blur(10px);
}
.nav-inner {
  align-items: center;
  display: flex;
  height: 64px;
  justify-content: space-between;
}
.brand {
  align-items: center;
  display: flex;
  font-size: 18px;
  font-weight: 500;
  gap: 10px;
}
.brand-logo-link {
  height: 46px;
  overflow: hidden;
}
.brand-logo {
  display: block;
  height: 46px;
  width: auto;
}
.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 7px;
  color: var(--bg);
  display: inline-flex;
  font-size: 14px;
  font-weight: 500;
  height: 26px;
  justify-content: center;
  position: relative;
  width: 26px;
}
.brand-mark::after {
  background: var(--accent);
  border: 2px solid var(--bg);
  border-radius: 999px;
  bottom: -3px;
  content: "";
  height: 8px;
  position: absolute;
  right: -3px;
  width: 8px;
}
.nav-links {
  color: var(--ink-soft);
  display: flex;
  font-size: 14px;
  gap: 32px;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta,
.btn,
.wl-submit,
.price-btn {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 500;
  justify-content: center;
}
.nav-cta {
  background: var(--ink);
  color: var(--bg);
  padding: 9px 16px;
}
@media (max-width: 820px) { .nav-links { display: none; } }

.btn {
  border: 1px solid transparent;
  cursor: pointer;
  gap: 8px;
  padding: 14px 22px;
}
.btn-accent,
.wl-submit {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #fff;
}
.btn-accent:hover,
.wl-submit:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--rule-strong);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--surface); }

.eyebrow {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--ink-soft);
  display: inline-flex;
  font-size: 12px;
  font-weight: 500;
  gap: 8px;
  padding: 0;
}
.dot {
  background: var(--accent);
  border-radius: 999px;
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 15%, transparent);
  height: 6px;
  width: 6px;
}

.hero { padding: 88px 0 80px; }
.hero-grid {
  align-items: center;
  display: grid;
  gap: 80px;
  grid-template-columns: 1.05fr 1fr;
}
.hero-copy { display: grid; gap: 22px; }
.hero-h {
  color: var(--ink);
  font-size: clamp(48px, 7vw, 86px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0;
  text-wrap: balance;
}
.hero-sub {
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.45;
  margin: 0;
  max-width: 610px;
  text-wrap: pretty;
}
.hero-ctas {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-meta {
  color: var(--ink-mute);
  font-size: 13px;
  margin: 0;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}

.hero-question,
.assessment-card,
.result-panel,
.guide-card,
.why-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 18px;
  box-shadow: 0 30px 60px -34px rgba(20,16,12,.18), 0 4px 12px -8px rgba(20,16,12,.1);
}
.hero-question { padding: 28px; }
.hero-question-head {
  align-items: center;
  border-bottom: 1px solid var(--rule);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding-bottom: 18px;
}
.badge {
  background: color-mix(in oklab, var(--green) 12%, transparent);
  border-radius: 999px;
  color: var(--green);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
}
.hero-question-kicker {
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 11px;
}
.hero-question-title {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.024em;
  line-height: 1.08;
  margin: 20px 0 6px;
}
.hero-question-sub,
.hero-question-meta {
  color: var(--ink-soft);
  font-size: 14px;
  margin: 0 0 18px;
}
.hero-question-meta {
  border-top: 1px dashed var(--rule);
  color: var(--ink-mute);
  margin: 16px 0 0;
  padding-top: 16px;
}
.hero-answer-list { display: grid; gap: 8px; }
.hero-answer {
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 12px;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  font-size: 14px;
  font-weight: 500;
  gap: 12px;
  justify-content: space-between;
  min-height: 0;
  padding: 13px 14px;
  text-align: left;
}
.hero-answer::after { color: var(--accent); content: "→"; }
.hero-answer:hover,
.hero-answer:focus {
  background: var(--accent-soft);
  border-color: var(--accent);
  outline: none;
}

.strip {
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
  border-top: 1px solid var(--rule);
  padding: 28px 0;
}
.strip-inner {
  align-items: center;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.strip-label {
  color: var(--ink-mute);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.strip-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 12px;
  padding: 5px 10px;
}
.chip.accent { background: var(--bg); border-color: var(--rule); color: var(--ink-soft); }

.sec-head {
  display: grid;
  gap: 16px;
  margin-bottom: 56px;
  max-width: 760px;
}
.sec-tag {
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .02em;
}
h2 {
  color: var(--ink);
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}
h3 { color: var(--ink); font-size: 20px; font-weight: 500; line-height: 1.2; margin: 0; }
.sec-lead,
.why-card p,
.guide-card p,
.paid-panel p,
.fine-print,
#result-copy,
.helper {
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}
.sec-lead { font-size: 18px; max-width: 620px; }
.why-grid,
.guide-grid,
.guide-carousel {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}
.guide-grid { grid-template-columns: repeat(2, 1fr); }
.guide-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 2px 2px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.guide-carousel .guide-card {
  flex: 0 0 calc((100% - 16px) / 2);
  scroll-snap-align: start;
}
.why-card,
.guide-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 210px;
  padding: 28px;
}
.num,
.guide-kicker {
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 11px;
}
.card-mark {
  align-items: center;
  display: flex;
  gap: 10px;
}
.card-icon {
  align-items: center;
  background: var(--accent-soft);
  border: 1px solid color-mix(in oklab, var(--accent) 30%, var(--rule));
  border-radius: 999px;
  color: var(--accent-deep);
  display: inline-flex;
  font-size: 13px;
  font-weight: 500;
  height: 30px;
  justify-content: center;
  width: 30px;
}
.guide-kicker {
  color: var(--accent);
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.guide-card:hover { border-color: var(--accent); }
@media (max-width: 820px) {
  .why-grid,
  .guide-grid { grid-template-columns: 1fr; }
  .guide-carousel .guide-card { flex-basis: min(86vw, 360px); }
}

.wl-section { display: none; border-top: 0; padding-top: 64px; padding-bottom: 64px; }
.waitlist {
  background: var(--ink);
  border-radius: 24px;
  color: var(--bg);
  overflow: hidden;
  padding: 64px;
  position: relative;
}
.waitlist .eyebrow {
  background: color-mix(in oklab, var(--bg) 8%, transparent);
  border-color: color-mix(in oklab, var(--bg) 18%, transparent);
  color: color-mix(in oklab, var(--bg) 75%, transparent);
}
.waitlist h2 { color: var(--bg); margin-top: 16px; max-width: 680px; }
.waitlist-lead {
  color: color-mix(in oklab, var(--bg) 78%, transparent);
  font-size: 17px;
  margin: 14px 0 0;
  max-width: 560px;
}
.wl-form {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr auto;
  margin-top: 32px;
  max-width: 780px;
}
.wl-input,
.wl-select {
  background: color-mix(in oklab, var(--bg) 8%, transparent);
  border: 1px solid color-mix(in oklab, var(--bg) 18%, transparent);
  border-radius: 12px;
  color: var(--bg);
  font-size: 14px;
  outline: none;
  padding: 14px 16px;
}
.wl-input::placeholder { color: color-mix(in oklab, var(--bg) 45%, transparent); }
.wl-select option { background: var(--bg); color: var(--ink); }
.wl-success {
  border: 1px solid color-mix(in oklab, var(--bg) 22%, transparent);
  border-radius: 12px;
  color: color-mix(in oklab, var(--bg) 85%, transparent);
  display: none;
  font-size: 14px;
  margin-top: 22px;
  padding: 18px 20px;
}
.wl-success.show { display: block; }
@media (max-width: 720px) {
  .waitlist { border-radius: 18px; padding: 36px 24px; }
  .wl-form { grid-template-columns: 1fr; }
}

.assessment-shell {
  display: none;
  margin: 0 auto;
  max-width: 1040px;
  padding: 64px 32px;
}
.assessment-shell.active { display: block; }
.assessment-card,
.result-panel { display: grid; gap: 28px; padding: 46px; border-radius: 42px; }
.assessment-brand {
  align-items: center;
  display: flex;
}
.assessment-brand .brand-logo { height: 38px; }
.result-top {
  align-items: center;
  display: flex;
}
.result-top .brand-logo { height: 38px; }
.result-copy-block {
  display: grid;
  gap: 14px;
}
.result-copy-block h2 {
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: -0.025em;
  line-height: 1.04;
  max-width: 900px;
}
.result-copy-block h2 span {
  color: var(--accent);
}
.result-copy-block p {
  color: var(--ink-mute);
  font-size: 18px;
  line-height: 1.45;
  max-width: 760px;
}
.progress-wrap { display: grid; gap: 10px; }
.progress-copy {
  color: var(--ink-mute);
  display: flex;
  font-family: var(--mono);
  font-size: 11px;
  justify-content: space-between;
}
.progress-track {
  background: var(--surface-2);
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}
#progress-bar {
  background: var(--accent);
  border-radius: inherit;
  height: 100%;
  transition: width .18s ease;
  width: 0;
}
#intake-form,
#question-host { display: grid; gap: 18px; }
#question-host h1 {
  color: var(--ink);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}
.choice-stack { display: grid; gap: 10px; }
.choice {
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  gap: 12px;
  min-height: 58px;
  padding: 14px 16px;
}
.choice:has(input:checked) {
  background: var(--accent-soft);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 12%, transparent);
}
.choice input { accent-color: var(--accent); flex: 0 0 auto; height: 18px; width: 18px; }
.choice span { color: var(--ink); font-size: 15px; font-weight: 500; line-height: 1.25; }
.field-label {
  display: grid;
  gap: 8px;
  max-width: 720px;
  width: 100%;
}
.field-label input,
.field-label select,
.field-label textarea {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 12px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.3;
  min-height: 68px;
  outline: none;
  padding: 18px 20px;
  width: 100%;
}
.field-label input:focus,
.field-label select:focus,
.field-label textarea:focus,
.choice:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.actions,
.download-row {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}
#continue,
#download-package,
#download-summary,
.assessment-card button:not(.help-dot) {
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--bg);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  min-height: 48px;
  padding: 13px 20px;
}
#continue.generate-assessment-button:not(.hidden) {
  border-radius: 18px;
  font-size: 18px;
  justify-content: center;
  margin-top: 8px;
  min-height: 68px;
  width: 100%;
}
.assessment-loading {
  align-items: center;
  display: grid;
  gap: 14px;
  justify-items: center;
  min-height: 430px;
  padding: 36px 12px;
  text-align: center;
}
.assessment-loading h1 {
  font-size: clamp(34px, 6vw, 58px);
  letter-spacing: 0;
  margin: 0;
}
.assessment-loading p {
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.55;
  margin: 0;
  max-width: 560px;
}
.assessment-loading-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 8px;
}
.assessment-loading-steps span {
  background: var(--accent-soft);
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 800;
  padding: 8px 12px;
}
button.secondary,
#download-summary {
  background: transparent;
  border-color: var(--rule-strong);
  color: var(--ink);
}
button:disabled {
  cursor: not-allowed;
  opacity: .42;
}
.icon-button {
  align-items: center;
  display: inline-flex;
  height: 48px;
  justify-content: center;
  padding: 0;
  width: 48px;
}
.unsupported-note,
.field-error {
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.45;
  padding: 14px 16px;
}
.unsupported-note {
  background: var(--accent-soft);
  border: 1px solid color-mix(in oklab, var(--accent) 28%, var(--rule));
  color: var(--accent-deep);
}
.field-error {
  background: #fff0ec;
  border: 1px solid #efb6a5;
  color: var(--accent-deep);
}
.annex-list { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.flag-list { display: grid; gap: 10px; }
.annex-card {
  align-items: start;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 150px;
  padding: 24px;
  box-shadow: 0 18px 36px -28px rgba(20,16,12,.2);
}
.annex-code {
  background: var(--accent-soft);
  border: 1px solid color-mix(in oklab, var(--accent) 30%, var(--rule));
  border-radius: 8px;
  color: var(--accent-deep);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  padding: 5px 10px;
  text-transform: uppercase;
}
.annex-body { display: grid; gap: 8px; }
.annex-body h3 { font-size: 18px; letter-spacing: -0.012em; }
.annex-because {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.45;
  margin: 0;
}
.annex-source {
  color: var(--accent-deep);
  display: inline-flex;
  font-size: 13px;
  font-weight: 500;
  margin-top: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.flag {
  border: 1px solid var(--rule);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.4;
  padding: 12px 14px;
}
.flag.ok { background: color-mix(in oklab, var(--green) 10%, #fff); color: var(--green); }
.flag.review,
.flag.blocked { background: var(--accent-soft); color: var(--accent-deep); }
.paid-panel {
  background: transparent;
  border: 0;
  border-radius: 0;
  display: grid;
  gap: 18px;
  padding: 24px 0 0;
}
#download-package {
  background: var(--ink);
  border-color: var(--ink);
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  justify-content: center;
  min-height: 58px;
  padding: 20px 20px 10px;
  white-space: nowrap;
  width: 100%;
}
#download-package:disabled {
  cursor: not-allowed;
  opacity: 1;
}
.coming-soon-button {
  overflow: hidden;
  position: relative;
}
.coming-soon-button .ribbon {
  background: var(--accent);
  border-radius: 999px;
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .05em;
  padding: 4px 8px;
  left: 50%;
  position: absolute;
  right: auto;
  text-transform: uppercase;
  top: 6px;
  transform: translateX(-50%);
}
#download-summary {
  background: transparent;
  border: 0;
  color: var(--ink-mute);
  font-size: 15px;
  min-height: 0;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.result-email-form {
  display: grid;
  gap: 10px;
}
.result-email-form label {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}
.result-email-row {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr auto;
}
.result-email-row input {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 12px;
  color: var(--ink);
  font-size: 14px;
  min-height: 48px;
  outline: none;
  padding: 13px 14px;
}
.result-email-row input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.result-email-row button {
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  min-height: 48px;
  padding: 13px 18px;
}
.paid-panel .wl-success {
  background: color-mix(in oklab, var(--green) 10%, #fff);
  border-color: color-mix(in oklab, var(--green) 18%, var(--rule));
  color: var(--green);
  margin-top: -4px;
}
.paywall-benefits {
  border-bottom: 1px solid var(--rule);
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 8px 0 0;
  padding: 0 0 28px;
}
.paywall-benefits li {
  align-items: start;
  color: var(--ink);
  display: grid;
  font-size: 15px;
  gap: 12px;
  grid-template-columns: 22px minmax(0, 1fr);
  line-height: 1.35;
}
.paywall-benefits li::before {
  align-items: center;
  background: var(--accent-soft);
  border-radius: 999px;
  color: var(--accent-deep);
  content: "✓";
  display: inline-flex;
  font-size: 14px;
  height: 20px;
  justify-content: center;
  margin-top: 2px;
  width: 20px;
}
.paywall-footer {
  align-items: center;
  color: var(--ink-mute);
  display: flex;
  flex-wrap: wrap;
  font-size: 15px;
  gap: 18px;
  justify-content: space-between;
}
.payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.payment-badges span {
  border: 1px solid var(--rule);
  border-radius: 8px;
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 12px;
  padding: 6px 10px;
  text-transform: uppercase;
}

.guide-main section {
  padding: 72px 0;
}
.guide-main .guide-hero {
  padding-top: 54px;
}
.breadcrumb {
  align-items: center;
  color: var(--ink-mute);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 8px;
  margin-bottom: 36px;
}
.breadcrumb a {
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.guide-meta {
  color: var(--ink-mute);
  font-size: 13px;
  margin: 0;
}
.guide-layout {
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1fr) 300px;
}
.guide-content {
  display: grid;
  gap: 34px;
  max-width: 780px;
}
.guide-content h2 {
  font-size: clamp(28px, 3vw, 38px);
  margin-top: 10px;
}
.guide-content p,
.guide-content li {
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.65;
}
.guide-content ul,
.guide-content ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 24px;
}
.answer-box,
.source-box,
.related-box,
.guide-aside {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 18px;
  box-shadow: 0 20px 44px -34px rgba(20,16,12,.18);
  padding: 24px;
}
.answer-box {
  background: var(--accent-soft);
  border-color: color-mix(in oklab, var(--accent) 28%, var(--rule));
}
.answer-box strong {
  color: var(--ink);
}
.guide-callout-title {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  margin: 0 0 8px;
  text-transform: uppercase;
}
.source-box,
.related-box,
.guide-aside {
  display: grid;
  gap: 12px;
}
.source-box a,
.related-box a,
.guide-aside a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq-list {
  display: grid;
  gap: 16px;
}
.faq-list details {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 18px 20px;
}
.faq-list summary {
  color: var(--ink);
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
}
.faq-list p {
  margin: 12px 0 0;
}
.guide-aside {
  align-self: start;
  position: sticky;
  top: 24px;
}
.guide-aside h2 {
  font-size: 24px;
}
.guide-aside p,
.guide-aside a {
  font-size: 15px;
}
@media (max-width: 900px) {
  .guide-layout { grid-template-columns: 1fr; }
  .guide-aside { position: static; }
}
@media (max-width: 720px) {
  .guide-main section { padding: 56px 0; }
  .guide-content p,
  .guide-content li { font-size: 16px; }
}

.help-dot {
  background: var(--accent-soft);
  border: 1px solid color-mix(in oklab, var(--accent) 32%, var(--rule));
  border-radius: 999px;
  color: var(--accent-deep);
  cursor: pointer;
  display: inline-grid;
  font-size: 12px;
  font-weight: 500;
  height: 22px;
  margin-left: 6px;
  min-height: 22px;
  padding: 0;
  place-items: center;
  width: 22px;
}
.help-modal { inset: 0; position: fixed; z-index: 80; }
.help-backdrop { background: rgba(12,10,9,.42); inset: 0; position: absolute; }
.help-sheet {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 18px;
  box-shadow: 0 -18px 44px rgba(20,16,12,.18);
  display: grid;
  gap: 14px;
  left: 50%;
  max-width: 460px;
  padding: 22px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100vw - 40px);
}
.help-sheet-header {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

footer {
  border-top: 1px solid var(--rule);
  color: var(--ink-mute);
  font-size: 12px;
  padding: 32px 0;
}
.foot-bottom {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

.declaration-builder {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: 292px minmax(0, 1fr);
  margin: 0 auto;
  max-width: 1240px;
  padding: 18px 0 40px;
  width: 100%;
}
.declaration-sidebar {
  background: color-mix(in oklab, #ffffff 94%, var(--accent-soft));
  border: 1px solid var(--rule);
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(20,16,12,.08);
  display: grid;
  gap: 18px;
  padding: 18px;
  position: sticky;
  top: 18px;
}
.builder-brand { align-items: center; display: flex; gap: 12px; }
.builder-mark {
  background: var(--accent);
  border-radius: 10px;
  color: #fff;
  display: grid;
  font-weight: 800;
  height: 38px;
  place-items: center;
  width: 38px;
}
.builder-brand strong,
.builder-brand span,
.toc-copy strong,
.toc-copy small { display: block; }
.builder-brand strong { color: var(--ink); font-size: 15px; }
.builder-brand span { color: var(--ink-mute); font-size: 12px; margin-top: 2px; }
.builder-toc { display: grid; gap: 8px; }
.toc-item {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  gap: 10px;
  grid-template-columns: 28px minmax(0,1fr) auto;
  padding: 10px;
  text-align: left;
  width: 100%;
}
.toc-item.active {
  background: #fff;
  border-color: var(--rule);
  box-shadow: 0 8px 22px rgba(20,16,12,.07);
}
.toc-number {
  background: var(--accent-soft);
  border-radius: 8px;
  color: var(--accent-deep);
  display: grid;
  font-size: 12px;
  font-weight: 700;
  height: 28px;
  place-items: center;
}
.toc-copy strong { font-size: 14px; line-height: 1.2; }
.toc-copy small { color: var(--ink-mute); font-size: 12px; line-height: 1.3; margin-top: 2px; }
.toc-status {
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  padding: 5px 7px;
  text-transform: uppercase;
}
.toc-status.ok { background: #e9f8ee; color: #176733; }
.toc-status.review { background: #fff2d9; color: #835600; }
.toc-status.error { background: #ffe4e4; color: #9b1c1c; }
.builder-validation-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 14px;
  display: grid;
  gap: 8px;
  padding: 14px;
}
.builder-validation-card strong { color: var(--ink); font-size: 14px; }
.builder-validation-card span { color: var(--ink-mute); font-size: 12px; }
.mini-progress {
  background: var(--accent-soft);
  border-radius: 999px;
  height: 6px;
  overflow: hidden;
}
.mini-progress span { background: var(--accent); display: block; height: 100%; }
.declaration-content { min-width: 0; }
.builder-step {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 24px;
  box-shadow: 0 22px 58px rgba(20,16,12,.08);
  display: grid;
  gap: 22px;
  padding: 30px;
}
.builder-step-head { display: grid; gap: 8px; }
.builder-eyebrow {
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}
.builder-step h1 { font-size: clamp(30px, 5vw, 48px); letter-spacing: 0; margin: 0; }
.builder-step-head p { color: var(--ink-soft); font-size: 17px; line-height: 1.55; margin: 0; max-width: 780px; }
.builder-form { display: grid; gap: 22px; }
.builder-grid { display: grid; gap: 16px; }
.builder-grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.builder-grid.four { grid-template-columns: repeat(4, minmax(0,1fr)); }
.builder-field { display: grid; gap: 7px; min-width: 0; }
.builder-field span { color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1.35; }
.builder-field em {
  color: var(--accent-deep);
  display: block;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  margin-top: 2px;
}
.builder-field input,
.builder-field select,
.builder-field textarea {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  padding: 12px 13px;
  width: 100%;
}
.builder-field textarea { min-height: 120px; resize: vertical; }
.builder-field.disabled { opacity: .55; }
.builder-field small,
.field-note,
.empty-note { color: var(--ink-mute); font-size: 13px; line-height: 1.5; margin: 0; }
.builder-repeat,
.activity-helper,
.uncertainty-card,
.builder-row-card,
.summary-card,
.xml-preview {
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 18px;
}
.builder-repeat-head,
.builder-row-head,
.activity-helper {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}
.builder-repeat h3,
.activity-helper h3,
.uncertainty-card h3,
.match-card h4 { letter-spacing: 0; margin: 0; }
.builder-row-card { background: color-mix(in oklab, #fff 96%, var(--accent-soft)); display: grid; gap: 14px; margin-top: 12px; }
.mini-button,
.builder-primary,
.builder-secondary {
  align-items: center;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0;
  min-height: 42px;
  padding: 11px 16px;
}
.mini-button,
.builder-secondary {
  background: #fff;
  border: 1px solid var(--rule);
  color: var(--ink);
}
.builder-primary {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #fff;
}
.mini-link {
  background: transparent;
  border: 0;
  color: var(--accent-deep);
  cursor: pointer;
  font-weight: 800;
  padding: 4px 0;
}
.builder-actions,
.download-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.builder-alert,
.prefill-notice {
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  padding: 14px 16px;
}
.builder-alert-list { display: grid; gap: 8px; }
.builder-alert.ok,
.prefill-notice { background: #eff9f4; border: 1px solid #ccebd9; color: #245f3b; }
.builder-alert.warning { background: #fff7e6; border: 1px solid #ffe0a6; color: #725100; }
.builder-alert.error { background: #fff0f0; border: 1px solid #ffc9c9; color: #8a1c1c; }
.builder-alert.strong { font-weight: 700; }
.builder-check { align-items: start; display: flex; gap: 10px; color: var(--ink); font-size: 15px; line-height: 1.5; }
.builder-check input { margin-top: 4px; }
.summary-grid,
.match-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0,1fr)); }
.summary-card span,
.match-confidence { color: var(--ink-mute); display: block; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.summary-card strong { display: block; font-size: 24px; margin-top: 6px; }
.summary-card p,
.activity-helper p,
.uncertainty-card p,
.match-card p { color: var(--ink-soft); line-height: 1.55; margin: 8px 0 0; }
.match-card { border: 1px solid var(--rule); border-radius: 16px; display: grid; gap: 12px; padding: 16px; }
.match-card a { color: var(--accent-deep); font-size: 13px; font-weight: 800; }
.xml-preview pre {
  background: #12100d;
  border-radius: 12px;
  color: #fff;
  max-height: 360px;
  overflow: auto;
  padding: 16px;
  white-space: pre-wrap;
}
.prefilled-declaration-step {
  margin: 0 auto;
  max-width: 1120px;
  padding: 18px 0 40px;
  width: 100%;
}
.prefilled-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 28px;
  box-shadow: 0 24px 64px rgba(20,16,12,.09);
  display: grid;
  gap: 28px;
  padding: 30px;
}
.declaration-stepper {
  background: color-mix(in oklab, #fff 92%, var(--accent-soft));
  border: 1px solid var(--rule);
  border-radius: 18px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 12px;
}
.declaration-stepper-item {
  align-items: center;
  border-radius: 14px;
  display: grid;
  gap: 10px;
  grid-template-columns: 34px minmax(0,1fr);
  padding: 12px;
}
.declaration-stepper-item span {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--ink-mute);
  display: grid;
  font-weight: 800;
  height: 34px;
  place-items: center;
  width: 34px;
}
.declaration-stepper-item strong,
.declaration-stepper-item small { display: block; line-height: 1.25; }
.declaration-stepper-item strong { color: var(--ink); font-size: 14px; }
.declaration-stepper-item small { color: var(--ink-mute); font-size: 12px; margin-top: 2px; }
.declaration-stepper-item.active { background: #fff; box-shadow: 0 8px 22px rgba(20,16,12,.07); }
.declaration-stepper-item.active span,
.declaration-stepper-item.completed span { background: var(--accent); border-color: var(--accent); color: #fff; }
.declaration-stepper-item.completed small { color: #176733; }
.declaration-stepper-item.locked { opacity: .62; }
.prefilled-head { display: grid; gap: 10px; max-width: 760px; }
.prefilled-head h1,
.prefilled-loading h1 { font-size: clamp(34px, 6vw, 58px); letter-spacing: 0; margin: 0; }
.prefilled-head p,
.prefilled-loading p { color: var(--ink-soft); font-size: 18px; line-height: 1.55; margin: 0; }
.prefilled-instructions {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0,1fr));
}
.prefilled-instructions article,
.prefilled-note {
  background: color-mix(in oklab, #fff 96%, var(--accent-soft));
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 18px;
}
.prefilled-instructions article span {
  color: var(--accent-deep);
  display: block;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 18px;
}
.prefilled-instructions h3,
.prefilled-note strong { color: var(--ink); display: block; font-size: 16px; letter-spacing: 0; margin: 0 0 8px; }
.prefilled-instructions p,
.prefilled-note p { color: var(--ink-soft); font-size: 14px; line-height: 1.55; margin: 0; }
.prefilled-upload {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
}
.prefilled-dropzone {
  align-items: center;
  background: #fff;
  border: 1.5px dashed color-mix(in oklab, var(--accent) 45%, var(--rule));
  border-radius: 20px;
  cursor: pointer;
  display: grid;
  gap: 8px;
  justify-items: center;
  min-height: 220px;
  padding: 26px;
  text-align: center;
}
.prefilled-dropzone.uploaded {
  background: #eff9f4;
  border-color: #83c69b;
}
.prefilled-dropzone input { position: absolute; opacity: 0; pointer-events: none; }
.prefilled-dropzone span { color: var(--ink-mute); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.prefilled-dropzone strong { color: var(--ink); font-size: 24px; line-height: 1.2; overflow-wrap: anywhere; }
.prefilled-dropzone small { color: var(--ink-soft); font-size: 14px; line-height: 1.45; max-width: 420px; }
.prefilled-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
.prefilled-loading {
  align-items: center;
  display: grid;
  gap: 14px;
  justify-items: center;
  min-height: 460px;
  padding: 36px;
  text-align: center;
}
.loading-ring {
  animation: builder-spin 1s linear infinite;
  border: 4px solid var(--accent-soft);
  border-top-color: var(--accent);
  border-radius: 999px;
  height: 58px;
  width: 58px;
}
@keyframes builder-spin { to { transform: rotate(360deg); } }
.hidden { display: none !important; }
.sr-only {
  border: 0;
  clip: rect(0,0,0,0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
@media (min-width: 760px) {
  .choice-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .assessment-shell { padding: 40px 20px; }
  .declaration-builder { grid-template-columns: 1fr; padding: 0 0 28px; }
  .prefilled-declaration-step { padding: 0 0 28px; }
  .prefilled-card { border-radius: 22px; padding: 22px; }
  .declaration-stepper,
  .prefilled-instructions,
  .prefilled-upload { grid-template-columns: 1fr; }
  .declaration-sidebar { position: static; }
  .builder-step { border-radius: 22px; padding: 22px; }
  .builder-grid.two,
  .builder-grid.four,
  .summary-grid,
  .match-grid { grid-template-columns: 1fr; }
  .toc-item { grid-template-columns: 28px minmax(0,1fr); }
  .toc-status { display: none; }
  .builder-repeat-head,
  .builder-row-head,
  .activity-helper,
  .builder-actions,
  .download-actions { align-items: stretch; flex-direction: column; }
  .assessment-card,
  .result-panel { border-radius: 24px; padding: 24px 22px; }
  .assessment-brand .brand-logo,
  .result-top .brand-logo { height: 30px; }
  .result-copy-block h2 { font-size: 34px; letter-spacing: -0.025em; }
  .result-copy-block p { font-size: 16px; }
  .annex-list { grid-template-columns: 1fr; }
  .annex-card { border-radius: 16px; min-height: 0; padding: 20px; }
  .annex-code { font-size: 12px; }
  .annex-body h3 { font-size: 18px; }
  .annex-because { font-size: 15px; }
  .actions,
  .download-row { display: grid; grid-template-columns: 1fr; }
  .icon-button { width: 100%; }
  #download-package { font-size: 14px; min-height: 58px; padding: 20px 12px 10px; }
  .coming-soon-button .ribbon {
    font-size: 9px;
    padding: 3px 6px;
  }
  .result-email-row { grid-template-columns: 1fr; }
  #download-summary { font-size: 15px; }
  .paywall-benefits li { font-size: 15px; gap: 10px; grid-template-columns: 20px minmax(0, 1fr); }
  .paywall-footer { align-items: flex-start; flex-direction: column; font-size: 15px; }
}
