/* Marketing site, address check and legal pages. Builds on core.css.
   The one loud element is the hero: a real project schedule on a plan sheet with redline callouts.
   Everything else is quiet, left aligned and ruled like a drawing set. */
:root { --redline: #c4302b; --sheetline: #bcc7d2; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --redline: #ff8a80; --sheetline: #33414f; } }
:root[data-theme="dark"] { --redline: #ff8a80; --sheetline: #33414f; }

.site { padding-inline: 16px; }
.site-inner { max-width: 1120px; margin: 0 auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; padding-block: 14px 10px; border-bottom: 2px solid var(--ink); }
.nav nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; font-size: 14px; font-weight: 600; }
.nav nav a { color: var(--ink-2); text-decoration: none; }
.nav nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.nav .btn { min-height: 38px; }
@media (max-width: 640px) { .nav nav .hide-sm { display: none; } }

/* Hero */
.hero { display: grid; gap: 26px; padding-block: 42px 28px; }
.hero h1 { font-family: var(--f-display); font-weight: 700; font-size: clamp(40px, 7.2vw, 86px); line-height: 0.94; letter-spacing: -0.005em; max-width: 13ch; }
.hero .lede { font-size: clamp(17px, 2vw, 20px); line-height: 1.5; color: var(--ink-2); max-width: 58ch; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hero .fine { font-size: 13px; color: var(--ink-3); }

.sheet { position: relative; background: var(--sheet); border: 1.5px solid var(--ink); border-radius: 2px; padding: 18px 18px 0; box-shadow: 6px 6px 0 var(--sheetline); }
.sheet::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--sheetline); pointer-events: none; }
.sheet .tl { position: relative; }
.sheet-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0; margin: 14px -18px 0; border-top: 1.5px solid var(--ink); }
.redlines { list-style: none; margin: 0; padding: 12px 18px; display: grid; gap: 6px; font-size: 14px; }
.redlines li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; align-items: start; }
.bubble { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.8px solid var(--redline); color: var(--redline); font-weight: 700; font-size: 12px; font-family: var(--f-body); }
.titleblk { border-left: 1.5px solid var(--ink); display: grid; grid-template-columns: auto auto; font-size: 11.5px; min-width: 230px; }
.titleblk div { padding: 6px 10px; border-bottom: 1px solid var(--sheetline); }
.titleblk div:nth-child(odd) { color: var(--ink-3); border-right: 1px solid var(--sheetline); }
.titleblk div:nth-last-child(-n+2) { border-bottom: 0; }
.titleblk .v { font-weight: 600; color: var(--ink); }
@media (max-width: 720px) { .sheet-foot { grid-template-columns: 1fr; } .titleblk { border-left: 0; border-top: 1px solid var(--sheetline); } }
.rl-bubble circle { fill: var(--sheet); stroke: var(--redline); stroke-width: 1.8; }
.rl-bubble text { fill: var(--redline); font: 700 12px var(--f-body); }
.rl-lead { stroke: var(--redline); stroke-width: 1.4; fill: none; }

/* Sections */
.band { padding-block: 48px; border-top: 1px solid var(--rule); display: grid; gap: 22px; }
.band > h2, .band .h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(30px, 4.4vw, 48px); line-height: 1; max-width: 22ch; }
.band .intro { color: var(--ink-2); max-width: 62ch; font-size: 17px; }
.stat-line { display: grid; gap: 6px; }
.stat-line .big { font-family: var(--f-display); font-weight: 700; font-size: clamp(54px, 10vw, 120px); line-height: 0.9; color: var(--crit); font-variant-numeric: tabular-nums; }
.stat-line p { font-size: 18px; max-width: 46ch; }
.facts-grid { display: grid; gap: 18px 36px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.fact { display: grid; gap: 4px; border-top: 3px solid var(--ink); padding-top: 10px; }
.fact b { font-family: var(--f-display); font-size: 30px; line-height: 1; }
.src { font-size: 12px; color: var(--ink-3); }
.src a { color: var(--ink-3); }

.steps-row { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: s; }
.steps-row li { counter-increment: s; display: grid; gap: 6px; padding-left: 46px; position: relative; }
.steps-row li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; display: grid; place-items: center; border: 2px solid var(--ink); font-family: var(--f-display); font-weight: 700; font-size: 18px; }
.steps-row h3 { font-size: 17px; }
.steps-row p { color: var(--ink-2); }

.features { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); border-top: 1px solid var(--rule); }
.feature { display: grid; gap: 6px; padding: 18px 18px 18px 0; border-bottom: 1px solid var(--rule); }
.feature h3 { font-size: 18px; }
.feature p { color: var(--ink-2); max-width: 46ch; }
.feature .mini { margin-top: 6px; }

.who { display: grid; gap: 10px; }
.who-row { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); gap: 6px 24px; padding-block: 12px; border-bottom: 1px solid var(--rule); }
.who-row b { font-family: var(--f-display); font-size: 22px; font-weight: 600; }
.who-row p { color: var(--ink-2); }
@media (max-width: 600px) { .who-row { grid-template-columns: 1fr; } }

.checkform { display: flex; flex-wrap: wrap; gap: 8px; max-width: 620px; }
.checkform input { flex: 1 1 260px; min-width: 0; min-height: 50px; padding: 10px 14px; font-size: 17px; border: 1.5px solid var(--ink); border-radius: var(--r); background: var(--sheet); }

.pricing { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1.5px solid var(--ink); border-radius: 2px; background: var(--sheet); }
@media (max-width: 900px) { .pricing { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pricing { grid-template-columns: 1fr; } }
.tier { display: grid; gap: 10px; padding: 18px; border-right: 1px solid var(--rule); align-content: start; }
.tier:last-child { border-right: 0; }
@media (max-width: 900px) { .tier { border-bottom: 1px solid var(--rule); } }
.tier.pop { background: var(--accent-soft); box-shadow: inset 0 4px 0 var(--accent); }
.tier h3 { font-family: var(--f-display); font-size: 24px; }
.tier .price { font-family: var(--f-display); font-weight: 700; font-size: 44px; line-height: 1; }
.tier .price span { font-family: var(--f-body); font-size: 14px; font-weight: 500; color: var(--ink-2); }
.tier ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 14px; color: var(--ink-2); }
.tier .tag { font-size: 12px; font-weight: 700; color: var(--accent); }

.note-card { display: grid; gap: 12px; max-width: 760px; padding: 22px 24px; border-left: 4px solid var(--ink); background: var(--sheet); }
.note-card p { font-size: 17px; line-height: 1.6; }
.note-card .sig { font-weight: 600; font-size: 15px; }

.faq { display: grid; gap: 0; max-width: 820px; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); padding-block: 14px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style-position: outside; }
.faq details p { margin-top: 8px; color: var(--ink-2); max-width: 68ch; }

.final { padding-block: 56px; border-top: 2px solid var(--ink); display: grid; gap: 16px; }
.final h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(34px, 5vw, 58px); line-height: 0.98; max-width: 18ch; }

.sitefoot { border-top: 1.5px solid var(--ink); padding-block: 18px 40px; display: grid; gap: 10px; font-size: 13px; color: var(--ink-3); }
.sitefoot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.sitefoot a { color: var(--ink-2); }

/* Address check */
.check-results { display: grid; gap: 14px; }
.check-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.check-summary div { padding: 12px 14px; border: 1px solid var(--rule); border-top: 4px solid var(--rule); background: var(--sheet); border-radius: 6px; }
.check-summary b { display: block; font-family: var(--f-display); font-size: 36px; line-height: 1; }
.check-summary .c-dead { border-top-color: var(--crit); } .check-summary .c-dead b { color: var(--crit); }
.check-summary .c-active { border-top-color: var(--ok); }
.check-summary .c-review { border-top-color: var(--accent); }
.explain { padding: 16px 18px; border-left: 4px solid var(--crit); background: var(--sheet); display: grid; gap: 8px; }

/* Legal pages */
.legal .narrow { max-width: 760px; }
.legal h1 { font-family: var(--f-display); font-size: 40px; }
.legal h2 { font-size: 18px; margin-top: 18px; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.65; }
