/* ==========================================================================
   The Trade Pack - shared system layer (every page)
   Loaded after site.css on every page. Holds:
   1. Self-hosted fonts (OFL, see /fonts/OFL-*.txt)
   2. Shared primitives: focus, skip link, links, card glow, reading progress
   3. Inner-page system, scoped to html.sys (every page except the homepage)
   Rule: nothing is hidden by CSS alone. Motion start states are set by
   system.js at runtime, or under html.sys-anim, which a head script removes
   if system.js has not started within 2.5s.
   ========================================================================== */

/* ---------- 1. fonts ---------- */
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/instrument-serif-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('/fonts/instrument-serif-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/fonts/inter-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- 2. shared primitives ---------- */
html.dark { --amber: #FFA45C; --ease-out: cubic-bezier(0.16, 1, 0.3, 1); }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 100; background: #fff; color: #0B1626; padding: 12px 18px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 12px; color: #0B1626; }
html.dark .skip-link, html.dark .skip-link:hover { color: #0B1626; }
html.dark a:focus-visible, html.dark button:focus-visible, html.dark summary:focus-visible, html.dark [tabindex]:focus-visible, html.dark .btn:focus-visible,
html.dark input:focus-visible, html.dark select:focus-visible, html.dark textarea:focus-visible {
  outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 10px; }
.spot { position: relative; isolation: isolate; }
.spot::before { content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(232,100,10,0.12), transparent 62%);
  opacity: 0; transition: opacity .35s ease; }
.spot:hover::before { opacity: 1; }
.btn.magnetic.is-mag:hover { transform: none; }
[data-count] { font-variant-numeric: tabular-nums; }
/* reading progress, added to the header by system.js on reading pages */
.sys-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.sys-progress span { display: block; height: 100%; background: var(--orange); transform-origin: left center; transform: scaleX(0); }

/* ==========================================================================
   3. INNER PAGES (html.sys)
   ========================================================================== */
html.sys body { font-size: 17px; }
html.sys h1, html.sys h2 { text-wrap: balance; }
html.sys .eyebrow { font-size: 12px; letter-spacing: 0.14em; margin-bottom: 22px; }
html.sys .lede { color: var(--text-2); }
html.sys .btn-primary { transition: background .18s ease, box-shadow .25s var(--ease-out), transform .25s var(--ease-out); }
html.sys .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(232,100,10,0.65); }
html.sys .btn { min-height: 44px; }
html.sys .nav-links .btn { min-height: 44px; }
html.sys main:focus { outline: none; }

/* intro guard: hidden only while system.js is confirmed running */
html.sys-anim [data-intro] { opacity: 0; }

/* ---------- page heroes ---------- */
html.sys .sys-hero { padding: clamp(64px, 9vw, 128px) 0 clamp(40px, 5vw, 72px); }
html.sys .sys-hero h1 { font-size: clamp(44px, 6.2vw, 92px); line-height: 0.98; letter-spacing: -0.028em; max-width: 14ch; margin-bottom: 26px; font-weight: 400; }
html.sys .sys-hero .lede, html.sys .sys-hero > .container > p { font-size: clamp(18px, 1.6vw, 21px); max-width: 56ch; color: var(--text-2); }
html.sys .sys-hero h1 em { font-style: italic; color: var(--orange); }

/* ---------- guides and legal: reading layout ---------- */
html.sys .breadcrumb { padding-top: 36px; font-size: 13.5px; }
html.sys .breadcrumb a { text-decoration: none; }
html.sys .breadcrumb a:hover { color: var(--orange); }
html.sys .article-head { padding: 28px 24px 12px; }
html.sys .article-head .cat { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .12em; margin-bottom: 22px; padding: 6px 12px 6px 10px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--amber); }
html.sys .article-head .cat::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px rgba(232,100,10,0.2); }
html.sys .article-head h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.025em; margin-bottom: 22px; font-weight: 400; }
html.sys .article-head > p:not(.meta) { font-size: clamp(18px, 1.6vw, 21px) !important; line-height: 1.55; color: var(--text-2) !important; }
html.sys .article-head .meta { font-size: 13.5px; color: var(--mute); display: flex; gap: 10px; align-items: center; }
html.sys .article-head .meta::before { content: ''; width: 22px; height: 1px; background: var(--line-2); }
html.sys .article-head + .container-narrow img { border-radius: 18px !important; box-shadow: 0 40px 80px -40px rgba(0,0,0,0.9); margin-top: 18px !important; }

html.sys .article-body { position: relative; font-size: 18px; line-height: 1.75; padding: 24px 24px 56px; color: var(--text-2); }
html.sys .article-body > p, html.sys .article-body > ul, html.sys .article-body > ol { max-width: 66ch; }
html.sys .article-body h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.08; letter-spacing: -0.02em; margin: 72px 0 18px; font-weight: 400; scroll-margin-top: 96px; }
html.sys .article-body h3 { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 19px; letter-spacing: -0.01em; margin: 36px 0 8px; color: var(--text); }
html.sys .article-body strong { color: var(--text); }
html.sys .article-body ul { list-style: none; margin-left: 0; padding-left: 0; }
html.sys .article-body ul li { position: relative; padding-left: 26px; }
html.sys .article-body ul li::before { content: ''; position: absolute; left: 4px; top: 0.72em; width: 8px; height: 2px; background: var(--orange); border-radius: 2px; }
html.sys .article-body ol { padding-left: 1.3em; }
html.sys .article-body ol li::marker { color: var(--orange); font-weight: 600; }
html.sys .article-body a { color: var(--amber); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
html.sys .article-body a:hover { color: #fff; }
html.sys .article-body a.btn { text-decoration: none; color: #fff; }

/* table of contents: inline card on smaller screens, sticky rail on wide ones */
html.sys .toc { background: var(--ink-2); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; margin: 8px 0 40px; }
html.sys .toc h3, html.sys .toc h4 { font-family: 'Inter', sans-serif; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 12px; }
html.sys .toc ol { list-style: none; counter-reset: toc; margin: 0; padding: 0; }
html.sys .toc li { counter-increment: toc; margin: 0; padding: 0; }
html.sys .toc li::before { display: none; }
html.sys .toc a { display: grid; grid-template-columns: 26px 1fr; gap: 6px; padding: 7px 8px; margin: 0 -8px; border-radius: 8px; color: var(--text-2); text-decoration: none; font-size: 14.5px; line-height: 1.4; font-weight: 500; transition: color .2s ease, background .2s ease; }
html.sys .toc a::before { content: counter(toc, decimal-leading-zero); font-family: 'Instrument Serif', Georgia, serif; font-style: italic; color: var(--orange); font-size: 15px; }
html.sys .toc a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
html.sys .toc a.is-active { color: var(--text); background: rgba(232,100,10,0.12); }
html.sys .toc-progress { display: none; }
@media (min-width: 1240px) {
  html.sys .g-rail { position: absolute; top: 24px; bottom: 56px; right: calc(100% + 8px); width: 236px; }
  html.sys .g-rail .toc { position: sticky; top: 104px; margin: 0; padding: 18px 18px 16px; background: transparent; border-color: transparent; border-left: 1px solid var(--line-2); border-radius: 0; }
  html.sys .g-rail .toc a { font-size: 13.5px; grid-template-columns: 24px 1fr; }
  html.sys .toc-progress { display: block; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; }
  html.sys .toc-progress span { display: block; width: 100%; height: 100%; background: var(--orange); transform-origin: top center; transform: scaleY(0); }
}

/* callouts, figures, tables, templates */
html.sys .callout { position: relative; background: linear-gradient(0deg, rgba(232,100,10,0.07), rgba(232,100,10,0.07)), var(--ink-2); border: 1px solid rgba(232,100,10,0.28); border-left: 3px solid var(--orange); border-radius: 14px; padding: 24px 28px; margin: 36px 0; }
html.sys .callout p { font-size: 17px; line-height: 1.65; color: var(--text) !important; }
html.sys .result-figure { text-align: center; margin: 36px 0; padding: 32px 24px; background: var(--ink-2); border: 1px solid var(--line-2); border-radius: 18px; max-width: none !important; }
html.sys .result-figure b { display: block; font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: clamp(48px, 7vw, 84px); line-height: 1; color: var(--text); letter-spacing: -0.03em; }
html.sys .result-figure span { display: block; margin-top: 10px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
html.sys .calc-table { width: 100%; border-collapse: collapse; margin: 28px 0 32px; font-size: 16px; font-variant-numeric: tabular-nums; background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
html.sys .calc-table th { text-align: left; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); font-weight: 700; padding: 14px 18px; border-bottom: 1px solid var(--line-2); }
html.sys .calc-table td { padding: 11px 18px; border-bottom: 1px solid var(--line); color: var(--text-2); }
html.sys .calc-table td:last-child, html.sys .calc-table th:last-child { text-align: right; white-space: nowrap; }
html.sys .calc-table tr.total td { border-bottom: 0; background: rgba(232,100,10,0.10); color: var(--text); font-weight: 600; }
html.sys .calc-table tr.total td:last-child { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 24px; color: var(--amber); }
html.sys .template-block { position: relative; background: #050B14; border: 1px solid var(--line-2); border-radius: 16px; padding: 56px 28px 28px; margin: 28px 0 36px;
  font-family: ui-monospace, 'SFMono-Regular', Consolas, 'Liberation Mono', monospace; font-size: 14px; line-height: 1.65; color: #D9E2EC; overflow-x: auto; }
html.sys .template-block.tb-pre { white-space: pre-wrap; }
html.sys .template-block::before { content: 'Template'; position: absolute; top: 18px; left: 28px; font-family: 'Inter', sans-serif; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
html.sys .tb-copy { position: absolute; top: 10px; right: 10px; font: 600 13px/1 'Inter', sans-serif; color: var(--text); background: var(--ink-3); border: 1px solid var(--line-2); border-radius: 10px; padding: 0 14px; min-height: 36px; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
html.sys .tb-copy:hover { border-color: var(--orange); }
html.sys .tb-copy.is-done { background: #2D7A4A; border-color: #2D7A4A; color: #fff; }
html.sys .cta-inline { position: relative; background: var(--ink-2); border: 1px solid var(--line-2); border-radius: 20px; padding: 36px 36px 34px; margin: 56px 0 24px; overflow: hidden; box-shadow: 0 40px 80px -50px rgba(0,0,0,0.9); }
html.sys .cta-inline::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--orange); }
html.sys .cta-inline h3 { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: clamp(26px, 2.8vw, 34px); line-height: 1.08; margin: 0 0 12px; color: var(--text); }
html.sys .cta-inline p { color: var(--text-2); font-size: 16.5px; max-width: 52ch; }

/* ---------- guides index ---------- */
html.sys .guides-list { padding: 8px 0 clamp(80px, 10vw, 128px); }
html.sys .guides-list .container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
html.sys .guides-list .container > a { border-radius: 20px; }
html.sys .guide-card { height: 100%; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 0; border-radius: 20px; overflow: hidden; background: var(--ink-2); border: 1px solid var(--line); box-shadow: none; transition: border-color .3s ease, transform .35s var(--ease-out); }
html.sys .guide-card:hover { transform: translateY(-4px); border-color: rgba(232,100,10,0.5); box-shadow: 0 40px 80px -50px rgba(0,0,0,0.9); }
html.sys .guide-card .g-thumb { aspect-ratio: 16 / 8; overflow: hidden; background: var(--ink-3); position: relative; }
html.sys .guide-card .g-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
html.sys .guide-card:hover .g-thumb img { transform: scale(1.04); }
html.sys .guide-card .g-thumb.is-type { display: flex; align-items: flex-end; padding: 24px; background: linear-gradient(135deg, #162741, #0B1626); }
html.sys .guide-card .g-thumb.is-type b { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: clamp(56px, 6vw, 88px); line-height: .9; color: var(--text); letter-spacing: -0.03em; }
html.sys .guide-card .g-thumb.is-type span { margin-left: 10px; font-size: 13px; color: var(--mute); letter-spacing: .12em; text-transform: uppercase; padding-bottom: 8px; }
html.sys .guide-card .g-text { padding: 24px 26px 26px; display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; align-items: end; flex: 1; }
html.sys .guide-card .g-text > div:first-child { align-self: start; }
html.sys .guide-card .cat { color: var(--amber); font-size: 11.5px; letter-spacing: .12em; }
html.sys .guide-card h3 { font-size: clamp(22px, 2.1vw, 28px); line-height: 1.12; margin-bottom: 10px; }
html.sys .guide-card p { color: var(--text-2); font-size: 15.5px; line-height: 1.55; }
html.sys .guide-card .arrow { width: 48px; height: 48px; transition: background .25s ease, border-color .25s ease, transform .35s var(--ease-out); }
html.sys .guide-card:hover .arrow { background: var(--orange); border-color: var(--orange); color: #fff; transform: translateX(4px); }
@media (max-width: 820px) { html.sys .guides-list .container { grid-template-columns: 1fr; } }

/* ---------- CTA bands (guides index, calculator, thank-you) ---------- */
html.sys .cta-strip, html.sys .upsell, html.sys .offer { padding: clamp(96px, 12vw, 152px) 0; position: relative; overflow: hidden; }
html.sys .cta-strip h2, html.sys .upsell h2, html.sys .offer h2 { font-size: clamp(36px, 5vw, 72px); line-height: 1.0; letter-spacing: -0.025em; max-width: 16ch; font-weight: 400; }
html.sys .cta-strip h2, html.sys .offer h2 { margin-left: auto; margin-right: auto; }
html.sys .cta-strip p, html.sys .upsell p, html.sys .offer p { font-size: 18px; color: var(--text-2); }
html.sys .cta-strip .btn, html.sys .upsell .btn, html.sys .offer .btn { padding: 17px 34px; font-size: 17px; margin-top: 12px; }
html.sys .band-pages { position: absolute; right: -40px; bottom: -80px; width: 380px; height: 300px; pointer-events: none; opacity: .9;
  -webkit-mask-image: linear-gradient(to top, transparent, #000 60%); mask-image: linear-gradient(to top, transparent, #000 60%); }
html.sys .band-pages img { position: absolute; width: 190px; height: auto; border-radius: 6px; background: #fff; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.9); }
html.sys .band-pages img:nth-child(1) { left: 0; top: 40px; transform: rotate(-8deg); opacity: .8; }
html.sys .band-pages img:nth-child(2) { left: 120px; top: 0; transform: rotate(4deg); }
@media (max-width: 1100px) { html.sys .band-pages { display: none; } }

/* ---------- free calculator (lead magnet) ---------- */
html.sys .calc-hero { padding: clamp(56px, 8vw, 112px) 0 clamp(64px, 8vw, 112px); }
html.sys .calc-hero .hero-split { gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (min-width: 901px) { html.sys .calc-hero .hero-split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); } }
html.sys .calc-hero h1 { font-size: clamp(42px, 5.4vw, 80px); line-height: 0.98; letter-spacing: -0.028em; margin-bottom: 24px; font-weight: 400; }
html.sys .calc-hero h1 em { font-style: italic; color: var(--orange); }
html.sys .calc-hero .benefit-list li { border-bottom: 1px solid var(--line); padding: 14px 0; color: var(--text-2); }
html.sys .calc-hero .benefit-list li:last-child { border-bottom: 0; }
html.sys .form-card.is-hero { position: relative; padding: 40px 38px 32px; border-radius: 24px; background: var(--ink-2); border: 1px solid rgba(232,100,10,0.45);
  box-shadow: 0 0 0 6px rgba(232,100,10,0.08), 0 60px 120px -50px rgba(0,0,0,0.95); }
html.sys .form-card.is-hero::after { content: 'Free'; position: absolute; top: -14px; left: 34px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
html.sys .form-card.is-hero h2 { font-size: clamp(30px, 3vw, 40px); line-height: 1.05; font-weight: 400; margin-bottom: 10px; }
html.sys .calc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 24px 0 0; border-top: 1px solid var(--line); }
html.sys .calc-stats div { padding: 18px 12px 0 0; }
html.sys .calc-stats b { display: block; font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 38px; line-height: 1; color: var(--text); }
html.sys .calc-stats span { display: block; font-size: 13px; color: var(--mute); margin-top: 6px; }
@media (min-width: 901px) { html.sys .form-card.is-hero { position: sticky; top: 100px; } }
html.sys .included { padding: clamp(88px, 11vw, 144px) 0; }
html.sys .included h2 { font-size: clamp(34px, 4vw, 58px); line-height: 1.02; letter-spacing: -0.02em; max-width: 16ch; font-weight: 400; }
html.sys .included-grid { gap: 20px; }
html.sys .included-card { border-radius: 20px; padding: 32px 30px; transition: border-color .3s ease, transform .35s var(--ease-out); }
html.sys .included-card:hover { transform: translateY(-4px); border-color: rgba(232,100,10,0.45); box-shadow: none; }
html.sys .included-card h3 { font-size: 26px; font-weight: 400; }
html.sys .included-card svg { color: var(--orange); }

/* MailerLite embed: its own CSS uses an ID selector with !important, so match it.
   If MailerLite ever changes the form ID these simply stop applying. */
html.sys #mlb2-38040464.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button {
  background-color: var(--orange) !important; color: #fff !important; border-radius: 12px !important; min-height: 52px !important;
  font-family: 'Inter', sans-serif !important; font-size: 16px !important; font-weight: 600 !important;
  box-shadow: 0 14px 34px -14px rgba(232,100,10,0.7) !important; transition: background-color .2s ease, transform .25s var(--ease-out) !important; }
html.sys #mlb2-38040464.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button:hover { background-color: var(--orange-dark) !important; }
html.sys #mlb2-38040464.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input {
  background-color: var(--ink) !important; color: var(--text) !important; border: 1px solid var(--line-2) !important; border-radius: 12px !important;
  min-height: 50px !important; font-family: 'Inter', sans-serif !important; font-size: 16px !important; padding: 12px 16px !important; }
html.sys #mlb2-38040464.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input:focus { border-color: var(--orange) !important; box-shadow: 0 0 0 4px rgba(232,100,10,0.18) !important; }
html.sys #mlb2-38040464.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input::placeholder { color: var(--mute) !important; }
html.sys #mlb2-38040464.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody label { color: var(--text-2) !important; font-family: 'Inter', sans-serif !important; }

/* ---------- contact ---------- */
html.sys .contact-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(40px, 6vw, 96px); }
html.sys .contact-form { padding: 36px; border-radius: 24px; background: var(--ink-2); border: 1px solid var(--line-2); box-shadow: 0 60px 120px -60px rgba(0,0,0,0.95); }
html.sys .contact-form label { font-size: 13.5px; letter-spacing: .02em; color: var(--text-2); }
html.sys .contact-form input, html.sys .contact-form select, html.sys .contact-form textarea { border-radius: 12px !important; min-height: 48px; transition: border-color .2s ease, box-shadow .2s ease; }
html.sys .contact-form input:focus, html.sys .contact-form select:focus, html.sys .contact-form textarea:focus { box-shadow: 0 0 0 4px rgba(232,100,10,0.18); }
html.sys .contact-form button { width: 100%; min-height: 52px; }
html.sys .info-block { margin: 0; padding: 22px 0; border-top: 1px solid var(--line); }
html.sys .info-block:first-child { border-top: 0; padding-top: 0; }
html.sys .info-block h3 { font-size: 24px; font-weight: 400; margin-bottom: 8px; }
html.sys .info-block a { font-size: 19px; }
@media (max-width: 820px) { html.sys .contact-grid { grid-template-columns: 1fr; } html.sys .contact-form { padding: 24px; } }

/* ---------- thank-you ---------- */
html.sys .hero-thanks { padding: clamp(80px, 11vw, 152px) 0 clamp(56px, 7vw, 96px); }
html.sys .hero-thanks h1 { font-size: clamp(42px, 6vw, 88px); line-height: 0.98; letter-spacing: -0.028em; max-width: 14ch; font-weight: 400; }
html.sys .thanks-icon { width: 88px; height: 88px; background: rgba(45,122,74,0.18); border: 1px solid rgba(126,211,160,0.4); box-shadow: 0 0 0 10px rgba(45,122,74,0.08); }
html.sys .thanks-icon svg { color: #7ED3A0; width: 40px; height: 40px; }
html.sys .next-steps { padding: clamp(80px, 10vw, 128px) 0; }
html.sys .next-steps h2 { font-size: clamp(32px, 4vw, 56px); line-height: 1.04; letter-spacing: -0.02em; max-width: 18ch; margin: 0 auto; font-weight: 400; }
html.sys .steps-grid { position: relative; gap: clamp(24px, 4vw, 56px); margin-top: 64px; }
html.sys .steps-grid .step { background: transparent; border: 0; padding: 0 8px; text-align: center; }
html.sys .steps-grid .step-num { display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 50%; background: var(--ink); border: 1px solid var(--line-2); font-style: italic; font-size: 30px; }
html.sys .steps-grid .step h3 { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 20px; }
html.sys .steps-grid .step p { max-width: 32ch; margin: 0 auto; }
html.sys .inbox-help { padding: clamp(64px, 8vw, 104px) 0; }
html.sys .inbox-help h3 { font-size: 30px; font-weight: 400; }
html.sys .inbox-help a { color: var(--amber); }
@media (max-width: 820px) { html.sys .steps-grid .step { text-align: left; display: grid; grid-template-columns: 72px 1fr; column-gap: 20px; } html.sys .steps-grid .step-num { grid-row: span 2; margin: 0; } html.sys .steps-grid .step p { margin: 0; } }

/* ---------- 404 ---------- */
html.sys .notfound-main { min-height: 72vh; }
html.sys .notfound-wrap { max-width: 900px; }
html.sys .nf-code { display: block; font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-size: clamp(120px, 22vw, 280px); line-height: .8; color: var(--orange); letter-spacing: -0.05em; margin: 0 0 24px -8px; }
html.sys .notfound-wrap h1 { font-size: clamp(40px, 5.6vw, 76px); letter-spacing: -0.025em; font-weight: 400; }
html.sys .link-list ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
html.sys .link-list li { border-bottom: 1px solid var(--line); padding: 0; }
html.sys .link-list a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; gap: 12px; }
html.sys .link-list a::after { content: '\2192'; color: var(--orange); transition: transform .25s var(--ease-out); }
html.sys .link-list a:hover::after { transform: translateX(4px); }
@media (max-width: 640px) { html.sys .link-list ul { grid-template-columns: 1fr; } }

/* ---------- legal (privacy, terms) ---------- */
html.sys .legal .article-head h1 { font-size: clamp(40px, 5.4vw, 72px); }
html.sys .legal .article-body h2 { font-size: clamp(26px, 2.6vw, 34px); margin-top: 56px; }

/* ---------- footer, header polish ---------- */
html.sys footer.site { padding-top: 72px; }
@media (min-width: 761px) and (max-width: 1040px) {
  html.dark .nav-links { gap: 16px; }
  html.dark .nav-links a:not(.btn) { font-size: 14px; white-space: nowrap; }
  html.dark .logo { white-space: nowrap; }
}

/* ---------- mobile rhythm ---------- */
@media (max-width: 760px) {
  html.sys .article-body { font-size: 17px; padding: 16px 20px 40px; }
  html.sys .article-body h2 { margin-top: 56px; }
  html.sys .cta-inline { padding: 28px 22px; }
  html.sys .template-block { padding: 52px 18px 20px; font-size: 13px; }
  html.sys .template-block.tb-pre { white-space: pre; }
  html.sys .calc-table { font-size: 14.5px; }
  html.sys .calc-table td, html.sys .calc-table th { padding: 10px 12px; }
  html.sys .form-card.is-hero { padding: 32px 22px 26px; }
  html.sys .calc-stats b { font-size: 30px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html.sys-anim [data-intro] { opacity: 1 !important; }
  html.sys *, html.sys *::before, html.sys *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* site.css gives these sections light-theme borders; keep them on the dark system */
html.sys .next-steps, html.sys .included, html.sys .inbox-help, html.sys .hero-thanks { border-color: var(--line); }

/* free calculator on phones: the form comes straight after the promise, the benefits follow */
@media (max-width: 900px) {
  html.sys .calc-hero .hero-split { display: flex; flex-direction: column; gap: 0; }
  html.sys .calc-hero .hero-split > div[data-intro] { display: contents; }
  html.sys .calc-hero .benefit-list { order: 3; margin-top: 32px; }
  html.sys .calc-hero .eyebrow { align-self: flex-start; }
  html.sys .calc-hero .form-card { order: 2; margin-top: 18px; }
}
