/* Tanikhi public site. Colours meet WCAG 2.2 AA contrast; no external fonts. */
/* Colours and type come from tokens.css (shared with the team app). */
:root {
  --navy: var(--tk-navy); --navy-dk: var(--tk-navy-ink); --orange: var(--tk-orange); --amber-text: var(--tk-orange-text);
  --ink: var(--tk-ink); --muted: var(--tk-muted); --line: var(--tk-line); --soft: var(--tk-bg); --white: var(--tk-card);
  --good: var(--tk-good); --good-bg: var(--tk-good-bg); --fair: #7A4B00; --fair-bg: #FDF0D5; --poor: var(--tk-crit); --poor-bg: var(--tk-crit-bg);
  --radius: 14px; --wrap: 1160px;
  --font: var(--tk-font);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--white); }
img, svg { max-width: 100%; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--navy-dk); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
h1, h2, h3 { line-height: 1.15; color: var(--navy); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.small { font-size: .9rem; color: var(--muted); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; color: #fff; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px; border-radius: 10px; font: inherit; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-primary { background: var(--tk-action); color: #fff; }
.btn-primary:hover { background: var(--tk-action-hover); color: #fff; }
.btn-cta { background: var(--navy); color: #fff; min-height: 44px; padding: 8px 18px; font-size: .95rem; }
.btn-cta:hover { background: var(--navy-dk); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-block { width: 100%; font-size: 1.1rem; }

/* header */
.site-head { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 5; }
.head-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; min-height: 68px; padding-top: 8px; padding-bottom: 8px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; font-weight: 800; font-size: 1.4rem; min-height: 44px; }
.main-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; flex: 1; }
.main-nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 10px 0; }
.main-nav a:hover { color: var(--navy); text-decoration: underline; }
@media (max-width: 760px) { .main-nav { order: 3; flex-basis: 100%; gap: 4px 18px; } .site-head { position: static; } }

/* hero */
.hero { background: var(--soft); padding: 64px 0; }
.hero-row { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-copy { flex: 1 1 480px; min-width: 0; }
.eyebrow { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-text); margin-bottom: 12px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }
.quick { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 12px; }
.quick input { flex: 1 1 240px; }
input[type=text], input[type=email], input[type=tel], select { width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #8A97A4; border-radius: 10px; }
input:focus-visible, select:focus-visible { outline: 3px solid var(--orange); outline-offset: 1px; border-color: var(--navy); }
input[aria-invalid=true] { border-color: var(--poor); border-width: 2px; }
.hero-card { flex: 1 1 360px; min-width: 0; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: 0 10px 30px rgba(16,65,107,.08); display: grid; grid-template-columns: auto 1fr; gap: 20px 24px; align-items: center; }
.ring { width: 112px; height: 112px; border-radius: 50%; border: 12px solid var(--fair-bg); border-top-color: #C98A1B; border-right-color: #C98A1B; display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 800; color: var(--navy); }
.mini-score { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mini-score li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; font-weight: 600; font-size: .95rem; }
.hero-card figcaption { grid-column: 1 / -1; font-size: .85rem; color: var(--muted); }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.pill.good { background: var(--good-bg); color: var(--good); } .pill.fair { background: var(--fair-bg); color: var(--fair); }
.pill.poor, .pill.critical { background: var(--poor-bg); color: var(--poor); }

/* sections */
.band { padding: 72px 0; }
.band.alt { background: var(--soft); }
.sub { color: var(--muted); font-size: 1.1rem; margin-bottom: 28px; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.cards-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { margin: 0; color: var(--muted); }
.steps { counter-reset: s; }
.steps .card { counter-increment: s; }
.steps .card h3::before { content: counter(s); display: block; font-size: 2rem; font-weight: 800; color: var(--amber-text); margin-bottom: 6px; }
.split { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.split > * { flex: 1 1 400px; min-width: 0; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding: 8px 0 8px 32px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 14px; width: 14px; height: 8px; border-left: 3px solid var(--good); border-bottom: 3px solid var(--good); transform: rotate(-45deg); }
.note-box { background: var(--soft); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.note-box p { margin: 0; color: var(--muted); }

/* request form */
.request { background: var(--navy); color: #fff; }
.request h2 { color: #fff; }
.request-copy p { color: #E3ECF4; }
.request-copy a { color: #fff; font-weight: 700; }
.request-copy a:hover { color: #FFE2CF; }
.form-card { background: #fff; color: var(--ink); border-radius: 18px; padding: 28px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
.grid2 .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } .form-card { padding: 20px; } }
.field label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 6px; font-size: .95rem; }
.opt { font-weight: 400; color: var(--muted); }
.req-note { margin-bottom: 12px; }
.err-msg { color: var(--poor); font-size: .9rem; font-weight: 600; min-height: 1.4em; margin: 4px 0 6px; }
.err-msg:empty { min-height: .6em; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 10px 0 4px; }
.check input { width: 24px; height: 24px; margin: 3px 0 0; flex-shrink: 0; accent-color: var(--navy); }
.check label { font-size: .95rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-card .btn-block { margin: 16px 0 10px; }
.status-box { border-radius: 10px; padding: 14px 16px; margin-bottom: 16px; font-weight: 600; }
.status-box.ok { background: var(--good-bg); color: var(--good); }
.status-box.err { background: var(--poor-bg); color: var(--poor); }
.cf-turnstile { margin-top: 12px; }

/* FAQ */
.faq { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; background: #fff; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 20px; font-weight: 700; color: var(--navy); font-size: 1.08rem; list-style: none; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 12px; font-size: 1.5rem; font-weight: 400; }
.faq[open] summary::after { content: "–"; }
.faq p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* footer */
.site-foot { background: var(--navy-dk); color: #D6E2EE; padding: 36px 0; font-size: .95rem; }
.site-foot p { margin: 0 0 4px; overflow-wrap: anywhere; }
.site-foot a { overflow-wrap: anywhere; }
.site-foot a { color: #fff; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: flex-end; }
.foot-brand { font-weight: 800; font-size: 1.2rem; color: #fff; }
.foot-brand span { font-weight: 600; font-size: .95rem; color: #FFC9A6; margin-left: 4px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.foot-nav a { padding: 8px 0; }

/* legal pages */
.legal { padding-top: 48px; padding-bottom: 64px; }
.legal h2 { font-size: 1.4rem; margin-top: 1.8em; }
.legal .meta { color: var(--muted); }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: .95rem; display: block; overflow-x: auto; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal th { background: var(--soft); color: var(--navy); }
.legal li { margin-bottom: 6px; }

/* shared report page */
.share { padding-top: 40px; padding-bottom: 64px; max-width: 900px; }
.share section { margin-top: 40px; }
.share-meta { color: var(--muted); }
.expiry { background: var(--fair-bg); color: var(--fair); border-radius: 10px; padding: 12px 16px; font-weight: 600; }
.share-top { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; margin-top: 24px; }
.score-box { border-radius: 16px; padding: 18px 28px; text-align: center; border: 2px solid currentColor; }
.score-box.good { color: var(--good); background: var(--good-bg); } .score-box.fair { color: var(--fair); background: var(--fair-bg); } .score-box.poor { color: var(--poor); background: var(--poor-bg); }
.score-box p { margin: 0; font-weight: 700; }
.score-num { font-size: 3rem; line-height: 1; font-weight: 800; }
.score-num span { font-size: 1.1rem; }
.share-actions { flex: 1 1 280px; }
.table-wrap { overflow-x: auto; }
.share table { width: 100%; border-collapse: collapse; }
.share th, .share td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.share thead th { background: var(--soft); color: var(--navy); }
.share tbody th { font-weight: 700; color: var(--navy); }
.priorities { padding-left: 1.4em; }
.priorities li { margin-bottom: 18px; }
.priorities h3 { margin-bottom: 4px; }
.priorities p { margin: 0 0 4px; }
.speed-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.speed { border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.speed-score { font-size: 2rem; font-weight: 800; margin: 0 0 8px; }
.speed-score span { font-size: .95rem; font-weight: 600; margin-left: 6px; color: var(--muted); }
.speed-score.good { color: var(--good); } .speed-score.fair { color: var(--fair); } .speed-score.poor { color: var(--poor); }
.speed dl { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin: 0; font-size: .95rem; }
.speed dt { color: var(--muted); } .speed dd { margin: 0; font-weight: 700; }
.cautions { background: #FFF6EF; border: 2px solid #F3B58A; border-radius: var(--radius); padding: 24px; }
.cautions h2 { color: var(--amber-text); }
.cautions li { margin-bottom: 10px; }
mark { background: #FFE9A8; color: inherit; padding: 0 2px; border-radius: 3px; }
.share-contact .btn { margin: 0 8px 8px 0; }
.center-msg { padding: 80px 20px; text-align: center; }

@media print {
  .site-head, .site-foot, .skip, .share-actions .btn, .share-contact { display: none; }
  .share section { break-inside: avoid; }
}

/* plans */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 6px; position: relative; }
.plan .ticks { flex: 1; margin: 8px 0 12px; }
.plan .btn { align-self: flex-start; }
.plan-deep { border: 2px solid var(--navy); box-shadow: 0 10px 30px rgba(16,65,107,.10); }
.plan-flag { position: absolute; top: -13px; left: 24px; margin: 0; background: var(--navy); color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.price { font-size: 2rem; font-weight: 800; color: var(--navy); margin: 0; line-height: 1.2; }
.plan-sub { color: var(--muted); margin: 0; }
.mini-steps { color: #E3ECF4; padding-left: 1.3em; }
.mini-steps li { margin-bottom: 6px; }

/* tier choice in the form */
.tiers { border: 0; padding: 0; margin: 0 0 14px; }
.tiers legend { font-weight: 700; color: var(--navy); margin-bottom: 8px; padding: 0; }
.tier-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tier-opt { position: relative; }
.tier-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tier-opt label { display: flex; flex-direction: column; gap: 2px; border: 2px solid #8A97A4; border-radius: 12px; padding: 12px 14px 12px 44px; cursor: pointer; min-height: 64px; position: relative; }
.tier-opt label::before { content: ""; position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -11px; border: 2px solid var(--navy); border-radius: 50%; background: #fff; }
.tier-opt input:checked + label { border-color: var(--navy); background: #EEF4FA; }
.tier-opt input:checked + label::before { background: var(--navy); box-shadow: inset 0 0 0 4px #fff; }
.tier-opt input:focus-visible + label { outline: 3px solid var(--orange); outline-offset: 2px; }
.tier-opt label span { color: var(--muted); font-size: .9rem; }
@media (max-width: 420px) { .tier-opts { grid-template-columns: 1fr; } }

/* confirmation and thank-you pages */
.next-steps { text-align: left; max-width: 560px; margin: 16px auto 20px; padding-left: 1.3em; }
.next-steps li { margin-bottom: 8px; }
.done-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--good-bg); margin: 0 auto 18px; position: relative; }
.done-icon::after { content: ""; position: absolute; left: 24px; top: 20px; width: 24px; height: 13px; border-left: 5px solid var(--good); border-bottom: 5px solid var(--good); transform: rotate(-45deg); }
.center-msg form { margin: 20px 0; }

/* survey */
.survey { padding-top: 40px; padding-bottom: 64px; max-width: 760px; }
.survey .lead { margin-bottom: 24px; }
.survey-form .q { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin: 0 0 16px; background: #fff; }
.survey-form .q.has-err { border-color: var(--poor); border-width: 2px; }
.survey-form legend, .q-label { font-weight: 700; color: var(--navy); font-size: 1.05rem; padding: 0 4px; display: block; }
.q-hint { color: var(--muted); font-size: .9rem; margin: 2px 0 10px; }
.scale { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 6px; }
.scale-opt, .nps-opt { position: relative; }
.scale-opt input, .nps-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.scale-opt label { display: flex; flex-direction: column; align-items: center; gap: 2px; border: 2px solid #8A97A4; border-radius: 12px; padding: 10px 4px; cursor: pointer; min-height: 64px; justify-content: center; }
.scale-opt .n { font-size: 1.3rem; font-weight: 800; color: var(--navy); }
.scale-opt .t { font-size: .78rem; color: var(--muted); text-align: center; }
.nps { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 6px; margin-top: 6px; }
.nps-opt label { display: flex; align-items: center; justify-content: center; border: 2px solid #8A97A4; border-radius: 10px; min-height: 46px; font-weight: 800; color: var(--navy); cursor: pointer; }
.nps-ends { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); margin-top: 6px; }
.scale-opt input:checked + label, .nps-opt input:checked + label { background: var(--navy); border-color: var(--navy); }
.scale-opt input:checked + label .n, .scale-opt input:checked + label .t, .nps-opt input:checked + label { color: #fff; }
.scale-opt input:focus-visible + label, .nps-opt input:focus-visible + label { outline: 3px solid var(--orange); outline-offset: 2px; }
@media (max-width: 560px) { .nps { grid-template-columns: repeat(6, minmax(0, 1fr)); } .scale-opt .t { display: none; } .nps-ends { display: none; } }
.survey-form .checks { display: grid; gap: 2px; }
.survey-form textarea { width: 100%; margin-top: 8px; padding: 10px 14px; font: inherit; border: 1.5px solid #8A97A4; border-radius: 10px; resize: vertical; }
.survey-form textarea:focus-visible { outline: 3px solid var(--orange); outline-offset: 1px; }
.quote-as { margin: 8px 0 4px 34px; }
.quote-as label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 4px; }
.opt { font-weight: 400; color: var(--muted); font-size: .9rem; }

/* how it works */
.process { list-style: none; counter-reset: p; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.process li { counter-increment: p; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 18px 64px; position: relative; }
.process li::before { content: counter(p); position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.process h3, .process h2 { font-size: 1.1rem; margin: 4px 0 6px; }
.process p { margin: 0; color: var(--muted); }
.process-full { grid-template-columns: 1fr; }
.how .note-box { margin-top: 24px; }
.share-actions .btn { margin: 0 8px 8px 0; }
.cta-row { margin-top: 28px; }

/* safe areas (installed app, notched phones) and small-screen wrapping */
.site-head .wrap, .site-foot .wrap { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
body { padding-bottom: env(safe-area-inset-bottom); }
td, th { overflow-wrap: anywhere; }
/* 200% text and narrow screens: long words, emails and addresses wrap instead of pushing the page sideways */
p, li, dd, dt, h1, h2, h3, td, th, label, blockquote { overflow-wrap: anywhere; }

/* landing: extra sections (plain-English update) */
.band.tight { padding: 40px 0; }
.glance, .even3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 12px; margin: 0; }
.glance > div, .glossary > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; min-width: 0; }
.glance dt, .glossary dt { font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.glance dd, .glossary dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.example-q { color: var(--navy); }
.explain .card { display: flex; flex-direction: column; gap: 8px; }
.term-key { margin: 0; font-size: 1.6rem; font-weight: 800; color: var(--amber-text); line-height: 1; }
.term-key abbr { text-decoration: none; border: 0; }
.explain h3 { margin: 0; }
.seen { margin: 8px 0 0; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.seen dt { font-size: .85rem; font-weight: 700; color: var(--navy); }
.seen dd { margin: 0; color: var(--muted); }
.note-line { margin: 24px 0 0; color: var(--muted); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; color: var(--navy); max-width: 100%; }
.stack { display: grid; gap: 20px; }
.note-box h3 { margin-top: 0; }
.note-box .ticks li { color: var(--muted); }
.glossary { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 12px; margin: 0 0 24px; }
.dt-sub { font-weight: 600; color: var(--muted); }
.cta-row { margin: 0; }
@media (max-width: 560px) { .band { padding: 48px 0; } .band.tight { padding: 32px 0; } .term-key { font-size: 1.4rem; } }

/* shared report: scores by type */
.pillar-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.pillar-box { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: #fff; min-width: 0; }
.pillar-box h3 { font-size: 1.05rem; margin: 6px 0 4px; }
.pillar-box p { margin: 0 0 4px; color: var(--muted); }
.pillar-score { font-size: 2rem; font-weight: 800; margin: 0; line-height: 1.1; }
.pillar-score span { font-size: .95rem; font-weight: 600; margin-left: 4px; color: var(--muted); }
.pillar-score.good { color: var(--good); } .pillar-score.fair { color: var(--fair); } .pillar-score.poor { color: var(--poor); }

/* shared report: charts, pivot, AI check, fixes */
.charts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px 28px; align-items: start; margin: 12px 0; }
.chart-box { margin: 0; min-width: 0; }
.chart-box figcaption { font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.tk-chart { display: block; max-width: 460px; height: auto; }
table.pivot caption { caption-side: top; text-align: left; color: var(--muted); padding-bottom: 6px; font-size: .92rem; }
.pivot td { font-weight: 700; text-align: center; }
.heat-0 { color: var(--muted); } .heat-1 { background: #FBE9E1; } .heat-2 { background: #F6CDBA; } .heat-3 { background: #EFA78A; color: #3B0D08; } .heat-4 { background: #D9734F; color: #fff; }
.aiv-list { list-style: none; padding: 0; margin: 0; }
.aiv-list li { border-top: 1px solid var(--line); padding: 10px 0; }
.aiv-list p { margin: 0 0 4px; }
.aiv-q { font-weight: 700; color: var(--navy); }
strong.ok { color: var(--good); } strong.bad { color: var(--poor); }
.fix-steps { margin: 6px 0; padding-left: 1.3em; } .fix-steps li { margin: 3px 0; }
.fix-meta { font-weight: 600; color: var(--navy); font-size: .92rem; }
.issue-d summary { font-size: 1rem; }
.issue-body { padding: 0 20px 14px; }
.issue-body p { padding: 0; margin: 0 0 8px; }

.kw-gap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; margin: 12px 0; }
.kw-col { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; background: #fff; min-width: 0; }
.kw-col.have { border-top: 4px solid var(--navy); } .kw-col.add { border-top: 4px solid #B23A1E; }
.kw-col h4 { margin: 0 0 8px; color: var(--navy); font-size: 1.05rem; }
.kw-col ul { list-style: none; margin: 0; padding: 0; } .kw-col li { padding: 7px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; } .kw-col li:last-child { border-bottom: 0; }

.data-note { border: 1px solid var(--line); border-left: 5px solid var(--navy); background: var(--soft); border-radius: 12px; padding: 14px 18px; margin-top: 20px; }
.data-note h2 { font-size: 1.1rem; margin: 0 0 6px; }
.data-note p, .data-note li { color: var(--ink); }
.data-note ul { margin: 6px 0 0; padding-left: 1.2em; } .data-note li { margin: 4px 0; }
.share .data-note { margin-top: 20px; }

/* free vs deep comparison */
.compare-title { margin: 40px 0 12px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.table-scroll:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
table.compare { width: 100%; border-collapse: collapse; min-width: 280px; }
.compare th, .compare td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { background: var(--soft); color: var(--navy); }
.compare td { text-align: center; white-space: nowrap; font-weight: 700; color: var(--navy); width: 22%; }
.compare tbody th { font-weight: 600; color: var(--ink); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--good); font-size: 1.15rem; } .compare .no { color: var(--muted); }
.th-sub { font-weight: 600; font-size: .85rem; color: var(--muted); }
@media (max-width: 480px) { .compare th, .compare td { padding: 8px 10px; } .compare td { white-space: normal; min-width: 5.6em; } }
.compare td, .compare thead th { overflow-wrap: normal; word-break: normal; hyphens: none; }
@media (max-width: 400px) { .compare { font-size: .92rem; } .compare th, .compare td { padding: 7px 7px; } .compare td { min-width: 4.4em; } }
.price-text { font-size: 1.35rem; }

/* "What makes your report useful" — a distinct navy-tinted band, so it stands apart from the plain bands around it */
.get-band { background: #EEF3F8; }
.get-band .card { border-color: #D4E0EC; }
.get-band .card h3 { color: var(--navy); }

/* Land below the sticky header when jumping to a section (header is sticky only on wider screens) */
@media (min-width: 761px) { section[id] { scroll-margin-top: 84px; } }
/* Arrival animation on the request form when a "Get my free report" button brings you here:
   the card lifts and settles with a soft orange ripple ring, so it feels like a clear, inviting next step. */
.form-card { transition: box-shadow .4s ease, transform .4s ease; will-change: transform; }
.form-card.flash { animation: formArrive 1.25s cubic-bezier(.22, .68, .2, 1); }
@keyframes formArrive {
  0% { transform: translateY(12px); box-shadow: 0 8px 24px rgba(16, 65, 107, .10), 0 0 0 0 rgba(245, 128, 57, 0); }
  32% { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(16, 65, 107, .20), 0 0 0 6px rgba(245, 128, 57, .5); }
  66% { box-shadow: 0 13px 36px rgba(16, 65, 107, .14), 0 0 0 14px rgba(245, 128, 57, 0); }
  100% { transform: none; box-shadow: 0 8px 24px rgba(16, 65, 107, .10); }
}
/* The field you land in glows briefly so it's clear where to type */
.form-card.flash .field:first-child input { animation: fieldGlow 1.25s ease-out .1s; }
@keyframes fieldGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 128, 57, 0); }
  35% { box-shadow: 0 0 0 3px rgba(245, 128, 57, .4); }
}
@media (prefers-reduced-motion: reduce) { .form-card.flash, .form-card.flash .field:first-child input { animation: none; } }

/* ======================================================================
   Motion layer (inspired by animate-ui): scroll reveals, hover lift,
   button sheen, number count-up. Progressive enhancement:
   - .anim is set on <html> only for the landing and how-it-works pages.
   - Hidden state applies only when motion is allowed; reduced-motion users
     and no-JS users (via noanim.css) see everything immediately.
   ====================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .anim :is(.hero-copy > *, .hero-card, section > .wrap > h2, section > .wrap > .sub, .cards > li, .plan, .glance > div, .chips li, .process > li, .glossary > div, .faq, .compare, .note-box) {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1);
  }
  /* spring-like stagger within a group */
  .anim .reveal:nth-child(2) { transition-delay: .06s; }
  .anim .reveal:nth-child(3) { transition-delay: .12s; }
  .anim .reveal:nth-child(4) { transition-delay: .18s; }
  .anim .reveal:nth-child(5) { transition-delay: .24s; }
  .anim .reveal:nth-child(6) { transition-delay: .30s; }
  .anim .reveal:nth-child(7) { transition-delay: .36s; }
  .anim .reveal:nth-child(n+8) { transition-delay: .42s; }
  /* revealed, or focused by keyboard before it animates in */
  .anim .in,
  .anim :is(.hero-copy > *, .hero-card, .cards > li, .plan, .glance > div, .chips li, .process > li, .glossary > div, .faq, .compare, .note-box):focus-within {
    opacity: 1 !important;
    transform: none !important;
  }
}
/* Hover micro-interactions (pointer devices only, motion allowed) */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card, .plan, .pillar-box, .kw-col { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
  .card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(16, 65, 107, .12); border-color: #C9D6E2; }
  .plan:hover { transform: translateY(-5px); box-shadow: 0 20px 42px rgba(16, 65, 107, .16); }
  .btn { transition: transform .16s ease, box-shadow .22s ease, background .2s ease, color .2s ease; }
  .btn-primary:hover, .btn-cta:hover, .btn-ghost:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(16, 65, 107, .2); }
  .btn:active { transform: translateY(0); box-shadow: none; }
  /* sheen sweep across the primary call-to-action buttons on hover */
  .btn-primary, .btn-cta { position: relative; overflow: hidden; isolation: isolate; }
  .btn-primary::after, .btn-cta::after {
    content: ""; position: absolute; top: 0; left: -140%; width: 55%; height: 100%; z-index: -1;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .4), transparent);
    transform: skewX(-18deg); transition: left .7s ease; pointer-events: none;
  }
  .btn-primary:hover::after, .btn-cta:hover::after { left: 150%; }
}
