/* Store audit pages (/audit/, implementation, access, thank-you) and the home page. From audit/site/site.css; header,
   footer, buttons, type scale and the sticky CTA now live in base.css. */
:root { --warn: var(--color-accent); }
mark { background: var(--color-accent); color: var(--color-on-accent); padding: 0 3px; border-radius: 2px; }
.stat, .tier .amt, ol.steps li::before { font-family: var(--font-display); font-weight: var(--weight-display); }
.hero h1 { font-size: clamp(2rem, 1.5rem + 1.9vw, 2.9rem); }
.lead { font-size: 20px; color: var(--muted); margin: 0 0 24px; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--color-primary); margin: 0 0 10px; }
.btn.ghost { color: var(--cta); border-color: var(--cta); }
.shot { width: 100%; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 10px 30px rgba(var(--shadow-rgb), 0.12); background: #fff; }
main section { border-top: 1px solid var(--line); }
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: center; padding-top: 56px; padding-bottom: 44px; }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; }
.ticks li { padding-left: 28px; position: relative; margin: 7px 0; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 12px; height: 7px; border-left: 3px solid var(--go);
                    border-bottom: 3px solid var(--go); transform: rotate(-45deg); }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--soft); border-radius: 10px; padding: 20px; }
.card b, .card h3 { display: block; font-size: 18px; margin-bottom: 6px; }
.finding { background: var(--bg); border: 1px solid var(--line); border-left: 5px solid var(--bad); border-radius: 8px; padding: 16px 18px; }
.finding .where { font-size: 14px; font-weight: 600; color: var(--muted); }
.finding p { margin: 6px 0 0; }
.finding .fix { color: var(--go); font-weight: 600; }
.stat { font-size: 36px; font-weight: 800; line-height: 1.1; }
.samples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.samples figure { margin: 0; } .samples figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
ol.steps { padding-left: 0; list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
ol.steps li { counter-increment: s; background: var(--soft); border-radius: 10px; padding: 18px; }
ol.steps li::before { content: counter(s); display: flex; width: 30px; height: 30px; border-radius: 50%; background: var(--ink);
                      color: var(--bg); font-weight: 700; align-items: center; justify-content: center; margin-bottom: 8px; }
.price { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: start; }
.tier { border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.tier.main { border: 2px solid var(--cta); box-shadow: 0 10px 30px rgba(var(--shadow-rgb), 0.10); }
.tier .amt { font-size: 40px; font-weight: 800; line-height: 1.1; margin: 6px 0 12px; }
.tier .amt small { font-size: 16px; color: var(--muted); font-weight: 600; }
.compare { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; }
.compare th { font-size: 14px; color: var(--muted); }
.compare td.us { background: var(--soft); font-weight: 600; border-left: 3px solid var(--color-primary); }
.table-scroll { overflow-x: auto; }
.guarantee { background: var(--soft); border-left: 5px solid var(--go); padding: 20px 24px; border-radius: 8px; font-size: 18px; }
.notfor { background: var(--soft); border-left: 5px solid var(--warn); padding: 16px 20px; border-radius: 8px; }
details { border-bottom: 1px solid var(--line); } summary { font-weight: 600; cursor: pointer; padding: 15px 0; min-height: 44px; }
details p { margin: 10px 0 0; }
.final { text-align: center; }

/* ---- annotated phone screenshot (red-pen callouts) ---- */
.annotated { margin: 0; display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: 22px; align-items: center; }
.phone-frame { position: relative; border: 8px solid var(--color-ink); border-radius: 30px; overflow: hidden; background: var(--bg);
               box-shadow: var(--shadow-lg); aspect-ratio: 390 / 900; }
.phone-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ring { position: absolute; background: url(/brand/pen-ring.svg) center / 100% 100% no-repeat; pointer-events: none;
        transform: rotate(-1.2deg); }
.ring.round { background-image: url(/brand/pen-circle.svg); }
.pin { position: absolute; width: 26px; height: 26px; border-radius: 50%; background: var(--color-primary); color: var(--color-on-primary);
       font: 700 14px/26px var(--font-display); text-align: center; box-shadow: var(--shadow-sm); }
.callouts { margin: 0 0 10px; padding: 0; list-style: none; counter-reset: c; }
.callouts li { counter-increment: c; position: relative; padding-left: 36px; margin: 0 0 12px; font-size: 16px; }
.callouts li::before { content: counter(c); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%;
                       background: var(--color-primary); color: var(--color-on-primary); font: 700 14px/26px var(--font-display); text-align: center; }
/* ---- proof strip ---- */
.proofstrip { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proofstrip .wrap { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; font-size: 15px; }
.proofstrip b { font-family: var(--font-display); }
/* ---- dark score reveal ---- */
section.dark { background: var(--color-ink); color: #F2F1EC; border-top: 0; }
section.dark .kicker { color: var(--color-accent); }
section.dark p { color: #D9D8D2; }
.score-reveal { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
section.dark .shot { border-color: #2B2F38; }
section.soft { background: var(--soft); }
section.soft .card { background: var(--bg); border: 1px solid var(--line); }
.card.check .where { display: block; font-size: 14px; font-weight: 600; color: var(--color-bad); }
.card.check .where.go { color: var(--color-go); margin-top: 6px; }
.card.check p { margin: 4px 0 8px; }
.ticks.crosses li::before { border: 0; transform: none; content: "×"; color: var(--color-bad); font-weight: 700; top: -1px; left: 6px; width: auto; height: auto; }
.tier.addon { margin-top: 18px; }
.tier.addon .amt { font-size: 30px; }
.season { background: var(--soft); border-radius: var(--radius-sm); padding: 8px 10px; }
@media (max-width: 860px) {
  .annotated { grid-template-columns: minmax(0, 220px) 1fr; gap: 16px; }
  .callouts li { font-size: 15px; }
  .score-reveal { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  .annotated { grid-template-columns: 1fr; }
  .phone-frame { max-width: 260px; margin: 0 auto; }
  .proofstrip .wrap { justify-content: flex-start; font-size: 14px; gap: 6px 18px; }
}
@media (max-width: 860px) {
  .lead { font-size: 18px; }
  .hero, .grid2, .grid3, .samples, .price { grid-template-columns: 1fr; } .hero { padding-top: 30px; gap: 34px; }
  ol.steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .compare thead, .compare tr:first-child { display: none; }
  .compare, .compare tbody, .compare tr, .compare td { display: block; width: 100%; }
  .compare tr { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 10px 12px; margin-bottom: 12px; }
  .compare td { border: 0; padding: 3px 0; }
  .compare td:first-child { font-family: var(--font-display); font-weight: 700; font-size: 17px; padding-bottom: 6px; }
  .compare td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); font-weight: 400; }
  .compare td.us { border-left: 3px solid var(--color-primary); padding-left: 8px; margin-top: 4px; }
}
@media (max-width: 480px) {
  ol.steps { grid-template-columns: 1fr; }
}

/* ---- revision 2 components ---- */
.finding { margin: 0; padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.finding .crop { position: relative; background: var(--soft); border-bottom: 1px solid var(--line); }
.finding .crop img { display: block; width: 100%; height: auto; }
.finding figcaption { padding: 16px 18px; }
.tier h3 { font-family: var(--font-body); font-size: 18px; font-weight: 600; margin: 0; }
ol.steps li h3 { font-size: 18px; margin: 0 0 4px; }
.scoreline { display: flex; align-items: baseline; gap: 14px; margin: 4px 0 12px; }
.bigscore { font: 700 96px/1 var(--font-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: #FFFFFF; }
.bigscore small { font-size: 32px; color: #A2A6AF; }
section.dark .fine { color: #A2A6AF; margin: 0; }
.btn.ghost.light { color: #FFFFFF; border-color: rgba(255,255,255,0.7); box-shadow: none; }
.btn.ghost.light:hover { background: rgba(255,255,255,0.08); }
.btn.ghost.light:focus-visible { box-shadow: 0 0 0 3px var(--color-ink), 0 0 0 5px #FFFFFF; }
.math { background: var(--soft); border-left: 4px solid var(--color-accent); padding: 12px 16px; border-radius: var(--radius-sm); margin: 0 0 22px; }
.math .fine { display: block; margin-top: 4px; }
.guarantee-short { font-size: 15px; background: var(--soft); border-left: 4px solid var(--color-go); padding: 10px 12px; border-radius: var(--radius-sm); margin: 14px 0 0; }
.amt, .stat, .bigscore { font-variant-numeric: tabular-nums; }
.inside { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 24px; }
.inside li { padding-left: 16px; border-left: 3px solid var(--color-primary); }
.compare th[scope=row] { font-weight: 600; color: var(--ink); font-size: 16px; }
.final .kicker { color: var(--color-primary); }
@media (max-width: 860px) { .inside { grid-template-columns: 1fr; } .bigscore { font-size: 72px; } }
@media (max-width: 600px) { .compare th[scope=row] { display: block; font-family: var(--font-display); font-size: 17px; padding: 0 0 6px; border: 0; } }
@media (forced-colors: active) { .ring { border: 2px solid CanvasText; background: none; } }
.demo { margin: 28px 0 0; display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: 22px; align-items: center; }
.demo video { width: 100%; height: auto; border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--soft); }
.btnrow { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 600px) { .demo { grid-template-columns: 1fr; } .demo video { max-width: 320px; } }

/* ---- next steps cross-sell (implementation page) ---- */
.next { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.next .card { background: var(--bg); border: 1px solid var(--line); display: flex; flex-direction: column; }
.next .card p { margin: 0 0 12px; }
.next .card a.more { margin-top: auto; font-weight: 600; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 860px) { .next { grid-template-columns: 1fr; } }
