/* daltonkates.com — steel, ink and one signal yellow */
:root {
  --steel: #E8ECEF;
  --steel-2: #DCE2E7;
  --paper: #F5F7F9;
  --ink: #16202E;
  --slate: #4F5B6A;
  --panel: #1B2A3A;
  --panel-2: #24364A;
  --line: #C3CCD4;
  --signal: #F5C518;
  --signal-ink: #1A1400;
  --on-dark: #E8ECEF;
  --on-dark-quiet: #A9B6C4;
  --radius-lg: 18px;
  --radius: 10px;
  --wrap: 1120px;
  --font: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-optical-sizing: auto;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--steel);
  font-variant-numeric: tabular-nums;
}
img { max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.08; margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 700; max-width: 22ch; }
h3 { font-size: 21px; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--signal); color: var(--signal-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px;
  background: var(--signal); color: var(--signal-ink);
  font: 650 17px/1 var(--font);
  border: 2px solid var(--signal); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { background: #FFD43B; border-color: #FFD43B; }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: rgba(22,32,46,.06); border-color: currentColor; }
.section-dark .btn-ghost:hover { background: rgba(232,236,239,.08); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-text { background: none; border: 0; padding: 6px 0; font: 500 15px var(--font); color: var(--slate); text-decoration: underline; cursor: pointer; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(232,236,239,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 28px; min-height: 66px; }
.brand { font-weight: 750; font-size: 19px; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; letter-spacing: -0.01em; }
.brand-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 3px var(--panel); }
.site-head nav { display: flex; gap: 22px; margin-left: auto; }
.site-head nav a { text-decoration: none; font-size: 16px; color: var(--slate); }
.site-head nav a:hover { color: var(--ink); }

/* Hero */
.hero { padding: 52px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.kicker { font-size: 17px; font-weight: 600; color: var(--slate); margin-bottom: 18px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 66px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; max-width: 15ch; }
.lede { font-size: 20px; color: var(--slate); margin-top: 24px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.fine { font-size: 15px; color: var(--slate); margin-top: 14px; }

/* Calculator: the one loud thing */
.calc {
  background: var(--panel); color: var(--on-dark);
  border-radius: var(--radius-lg); padding: 30px 30px 22px;
  box-shadow: 0 30px 60px -30px rgba(27,42,58,.55);
}
.calc-title { font-size: 20px; font-weight: 650; margin-bottom: 18px; }
.calc .field { margin-bottom: 16px; }
.calc label { display: block; font-size: 15px; color: var(--on-dark-quiet); margin-bottom: 6px; }
.range-row { display: flex; align-items: center; gap: 14px; }
.range-row output { min-width: 64px; text-align: right; font-weight: 650; font-size: 18px; }
input[type=range] { -webkit-appearance: none; appearance: none; flex: 1; height: 6px; border-radius: 6px; background: var(--panel-2); outline-offset: 6px; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--signal); border: 3px solid var(--panel); box-shadow: 0 0 0 1px var(--signal); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--signal); border: 3px solid var(--panel); cursor: pointer; }
.calc-result { border-top: 1px solid var(--panel-2); margin-top: 8px; padding-top: 18px; margin-bottom: 18px; }
.calc-label { font-size: 15px; color: var(--on-dark-quiet); }
.calc-big { font-size: clamp(48px, 6vw, 68px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; color: var(--signal); margin: 2px 0 6px; }
.calc-sub { font-size: 16px; }
.calc-note { font-size: 16px; color: var(--on-dark-quiet); margin-top: 10px; }
.calc-note strong { color: var(--on-dark); }
.calc-foot { font-size: 13px; color: var(--on-dark-quiet); margin-top: 10px; text-align: center; }

/* Proof */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.proof-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 26px; padding-bottom: 26px; }
.proof p { font-size: 16px; color: var(--slate); }
.proof strong { display: block; font-size: 30px; color: var(--ink); font-weight: 750; letter-spacing: -0.02em; }

/* Sections */
.section { padding: 96px 0; }
.section-lede { font-size: 20px; color: var(--slate); margin-top: 16px; max-width: 36em; }
.section-dark { background: var(--panel); color: var(--on-dark); }
.section-dark .section-lede, .section-dark p { color: var(--on-dark-quiet); }
.section-dark h3 { color: var(--on-dark); }
.section-tint { background: var(--steel-2); }

/* Flagship */
.flagship { background: var(--paper); border-bottom: 1px solid var(--line); }
.ll-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.ll-why { font-size: 16px; color: var(--slate); margin-top: 20px; max-width: 34em; border-left: 3px solid var(--signal); padding-left: 14px; }
.ll-card { background: var(--panel); color: var(--on-dark); border-radius: var(--radius-lg); padding: 28px; }
.ll-card h3 { color: var(--on-dark); margin-bottom: 14px; }
.ll-card ul { margin: 0 0 20px; padding-left: 20px; }
.ll-card li { margin-bottom: 6px; font-size: 16px; }
.ll-price { font-size: 18px; color: var(--on-dark-quiet); }
.ll-price strong { font-size: 40px; color: var(--signal); letter-spacing: -0.03em; margin-right: 6px; }
.ll-founding { font-size: 15px; color: var(--on-dark-quiet); margin: 8px 0 12px; }
.ll-founding strong { color: var(--on-dark); }
.ll-guarantee { font-size: 15px; color: var(--on-dark); margin-bottom: 20px; }
@media (max-width: 980px) { .ll-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Three builds */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 48px; }
.trio article { border-top: 3px solid var(--ink); padding-top: 20px; }
.trio article p { margin-top: 12px; color: var(--slate); }
.trio .eg { font-size: 16px; color: var(--ink); }

/* Ledger of cases */
.ledger { list-style: none; padding: 0; margin: 44px 0 0; border-top: 1px solid var(--panel-2); }
.ledger li { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 32px; padding: 26px 0; border-bottom: 1px solid var(--panel-2); }
.ledger .l-who p { font-size: 15px; margin-top: 6px; }
.ledger .l-result p { color: var(--on-dark); font-weight: 550; }
.ledger a { color: var(--signal); }

/* Scorecard */
.score-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.quiz { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; min-height: 360px; }
.quiz-progress { height: 6px; background: var(--steel-2); border-radius: 6px; overflow: hidden; }
.quiz-progress span { display: block; height: 100%; width: 0; background: var(--ink); transition: width .25s ease; }
.quiz-count { font-size: 14px; color: var(--slate); margin: 14px 0 8px; }
.quiz fieldset { border: 0; padding: 0; margin: 0; }
.quiz legend { font-size: 23px; font-weight: 650; letter-spacing: -0.01em; line-height: 1.2; margin-bottom: 18px; padding: 0; }
.q-options { display: grid; gap: 10px; }
.q-options button {
  text-align: left; font: 500 17px/1.35 var(--font); color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; cursor: pointer;
}
.q-options button:hover { border-color: var(--ink); }
.quiz-nav { margin-top: 12px; min-height: 30px; }
.score-big { font-size: 76px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.score-big .of { font-size: 28px; color: var(--slate); font-weight: 600; letter-spacing: 0; }
.q-band { margin: 10px 0 22px; font-size: 18px; }
.quiz-result h3 { font-size: 18px; margin-bottom: 10px; }
.q-recs { margin: 0; padding-left: 22px; }
.q-recs li { margin-bottom: 10px; }
.q-recs strong { display: block; }
.q-recs span { color: var(--slate); font-size: 16px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--steel); font-weight: 700; margin-bottom: 16px; }
.steps p { color: var(--slate); margin-top: 10px; font-size: 17px; }
.steps-plain { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px 40px; }
.steps-plain li::before { content: none; }
.steps-plain li { border-top: 1px solid var(--line); padding-top: 18px; }

/* Ladder */
.ladder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; align-items: stretch; }
.rung { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.rung p { color: var(--slate); font-size: 16px; }
.rung .price { font-size: 30px; font-weight: 750; color: var(--ink); letter-spacing: -0.02em; }
.rung .price span { font-size: 15px; font-weight: 500; color: var(--slate); letter-spacing: 0; }
.rung ul { margin: 0 0 6px; padding-left: 18px; font-size: 15px; color: var(--ink); flex: 1; }
.rung li { margin-bottom: 6px; }
.rung-main { background: var(--panel); border-color: var(--panel); color: var(--on-dark); transform: translateY(-8px); box-shadow: 0 24px 48px -28px rgba(27,42,58,.7); }
.rung-main p, .rung-main .price span { color: var(--on-dark-quiet); }
.rung-main .price, .rung-main ul { color: var(--on-dark); }

.downsell { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border: 1.5px dashed var(--line); border-radius: var(--radius-lg); padding: 22px 26px; }
.downsell h3 { font-size: 19px; }
.downsell p { color: var(--slate); font-size: 16px; margin-top: 6px; max-width: 44em; }
@media (max-width: 720px) { .downsell { flex-direction: column; align-items: flex-start; } }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-size: 19px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 26px; font-weight: 400; color: var(--slate); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--slate); max-width: 38em; }

/* Apply */
.apply-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.apply-list { margin: 26px 0 0; padding-left: 20px; color: var(--on-dark); }
.apply-list li { margin-bottom: 8px; }
.apply-alt { margin-top: 24px; font-size: 16px; }
.apply-alt a { color: var(--signal); }
.apply { background: var(--panel-2); border-radius: var(--radius-lg); padding: 28px; }
.apply .field { margin-bottom: 16px; }
.apply label { display: block; font-size: 15px; color: var(--on-dark-quiet); margin-bottom: 6px; }
.apply input:not([type=checkbox]), .apply textarea, .apply select {
  width: 100%; font: 400 17px/1.4 var(--font); color: var(--ink);
  background: var(--paper); border: 1.5px solid transparent; border-radius: var(--radius); padding: 12px 14px;
}
.apply textarea { resize: vertical; }
.apply input:focus, .apply textarea:focus, .apply select:focus { border-color: var(--signal); outline: none; box-shadow: 0 0 0 3px rgba(245,197,24,.35); }
.apply [aria-invalid=true] { border-color: #FF8A80; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hp { position: absolute; left: -9999px; }
.form-msg { margin-top: 12px; font-size: 15px; color: var(--on-dark); min-height: 1.4em; }
.apply-done { background: var(--panel-2); border-radius: var(--radius-lg); padding: 32px; }
.apply-done h3 { font-size: 26px; margin-bottom: 12px; }
.apply-done p { margin-top: 10px; }
.apply-done a { color: var(--signal); }

/* Referral strip */
.refer { background: var(--paper); border-top: 1px solid var(--line); }
.refer-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 48px; padding-bottom: 48px; }
.refer h2 { font-size: clamp(24px, 3vw, 32px); }
.refer p { color: var(--slate); margin-top: 8px; max-width: 40em; }
@media (max-width: 720px) { .refer-row { flex-direction: column; align-items: flex-start; } }

/* Footer */
.site-foot { padding: 34px 0 96px; font-size: 15px; color: var(--slate); }
.foot-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-row a { margin-left: 16px; }

/* Mobile sticky CTA */
.sticky-cta { display: none; }

@media (max-width: 980px) {
  .hero-grid, .score-grid, .faq-wrap, .apply-grid { grid-template-columns: 1fr; gap: 36px; }
  .ladder { grid-template-columns: 1fr; max-width: 560px; }
  .rung-main { transform: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .ledger li { grid-template-columns: 1fr; gap: 8px; }
  .trio { grid-template-columns: 1fr; gap: 28px; }
  .proof-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .site-head nav { display: none; }
  .head-row { justify-content: space-between; }
  .hero { padding: 36px 0 48px; }
  .section { padding: 64px 0; }
  .calc { padding: 22px 20px 18px; }
  .ladder, .steps, .two, .three { grid-template-columns: 1fr; }
  .sticky-cta {
    display: flex; position: fixed; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 30; justify-content: center; align-items: center; min-height: 52px;
    background: var(--signal); color: var(--signal-ink); font-weight: 700; border-radius: 999px; text-decoration: none;
    box-shadow: 0 12px 30px -10px rgba(27,42,58,.6);
    transition: opacity .2s ease, transform .2s ease;
  }
  .sticky-cta.is-hidden { opacity: 0; transform: translateY(20px); pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
