/* marketing.css — the public surface: landing, score, blog, login.
   Builds on base.css. Light lab page, dark instrument panels wherever the
   product itself is on screen. Amber = data + the user's own position. */

/* ---------- hero ---------- */
.hero { position: relative; padding-top: 80px; padding-bottom: 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr); gap: 56px; align-items: center; }
.hero-grid > div { min-width: 0; }
.hero h1 { font-size: clamp(40px, 4.6vw, 66px); font-weight: 790; letter-spacing: -0.04em; line-height: 1.0; text-wrap: balance; }
.hero h1 .row { display: block; opacity: 0; transform: translateY(22px); animation: rise-in 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.hero h1 .row:nth-child(2) { animation-delay: 0.1s; }
.hero h1 em { font-style: normal; color: var(--ink); text-decoration: underline; text-decoration-color: var(--sig); text-decoration-thickness: 0.07em; text-underline-offset: 0.14em; }
@keyframes rise-in { to { opacity: 1; transform: none; } }
.hero .sub { margin: 24px 0 0; font-size: 18px; color: var(--muted); max-width: 54ch; opacity: 0; animation: rise-in 0.65s 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.hero .sub b { color: var(--ink); font-weight: 650; }
.hero-pad-sm { padding-bottom: 52px; }
.kicker { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--faint); text-transform: uppercase; margin-bottom: 16px; }

/* scan/start form */
.slot { margin-top: 36px; max-width: 620px; opacity: 0; animation: rise-in 0.65s 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.slot .lab, .notify .lab { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--faint); margin-bottom: 10px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.slot .lab b { color: var(--sig-deep); font-weight: 600; }
.slot form {
	display: flex; align-items: stretch; background: var(--surface);
	border: 1px solid var(--line2); border-radius: 12px; padding: 7px;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.slot form:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px var(--ink-ring); }
.slot input[type="text"] { flex: 1; background: transparent; border: 0; color: var(--ink); font: 500 18px/1 var(--mono); padding: 15px 16px; min-width: 0; }
.slot input[type="text"]::placeholder { color: var(--faint); }
.slot input[type="text"]:focus { outline: none; }
.slot button {
	background: var(--ink); color: #fff; border: 0; border-radius: 8px;
	font: 700 15.5px/1 var(--sans); padding: 0 28px; cursor: pointer; white-space: nowrap;
	transition: background 0.15s;
}
.slot button:hover { background: #000; }
.slot .fine { margin-top: 12px; font-size: 13.5px; color: var(--faint); line-height: 1.65; max-width: 62ch; }
.slot .fine b { color: var(--muted); font-weight: 600; }

.consent { font-size: 13px; color: var(--faint); display: flex; gap: 10px; align-items: flex-start; max-width: 56ch; margin-top: 12px; }
.consent input { margin-top: 4px; accent-color: var(--ink); width: 15px; height: 15px; flex: none; }

/* ---------- section scaffolding ---------- */
.sec-h2 { font-size: clamp(30px, 4vw, 50px); font-weight: 760; letter-spacing: -0.035em; line-height: 1.04; max-width: 24ch; text-wrap: balance; }
.sec-h2-gap { margin-bottom: 48px; }
.sec-sub { color: var(--muted); font-size: 17px; max-width: 60ch; margin-top: 16px; }
.sec-sub b { color: var(--ink); font-weight: 650; }

/* ---------- demo dashboard (the hero instrument; illustrative data) ---------- */
.demo-frame {
	background: var(--panel); border-radius: 16px; border: 1px solid var(--panel2);
	box-shadow: 0 32px 80px rgba(16, 19, 23, 0.28);
	overflow: hidden; color: var(--pdim);
	opacity: 0; animation: rise-in 0.7s 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.demo-bar { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--pline); }
.demo-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--pline2); display: block; flex: none; }
.demo-bar i:first-child { background: var(--sig-bright); }
.demo-bar .db-brand { font-weight: 700; color: #fafaf9; font-size: 14px; letter-spacing: -0.01em; margin-left: 6px; }
.demo-bar .db-meta { margin-left: auto; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; color: var(--pfaint); white-space: nowrap; }
.demo-body { padding: 18px 20px 20px; display: grid; gap: 16px; }
.demo-head { display: flex; align-items: baseline; gap: 12px; }
.demo-head .dh-lab { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pfaint); }
.demo-head .dh-score { margin-left: auto; font-size: 30px; font-weight: 800; letter-spacing: -0.03em; color: #fafaf9; font-variant-numeric: tabular-nums; line-height: 1; }
.demo-head .dh-delta { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--sig-bright); }
.demo-chart svg { width: 100%; height: 120px; display: block; overflow: visible; }
.demo-chart .grid { stroke: var(--pline); stroke-width: 1; vector-effect: non-scaling-stroke; }
.demo-chart .gridlab { fill: var(--pfaint); font-family: var(--mono); font-size: 8px; }
.demo-chart .area { fill: rgba(255, 178, 36, 0.08); }
.demo-chart .line { fill: none; stroke: var(--sig-bright); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.demo-chart .dot-last { fill: var(--sig-bright); }
.demo-cols { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 18px; align-items: start; }
.demo-sov .ds-lab, .demo-cite .ds-lab { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pfaint); margin-bottom: 10px; }
.demo-sov .row { display: grid; grid-template-columns: minmax(64px, auto) 1fr auto; gap: 10px; align-items: center; font-size: 12px; padding: 5px 0; }
.demo-sov .name { color: var(--pdim); white-space: nowrap; }
.demo-sov .row.you .name { color: #fafaf9; font-weight: 700; }
.demo-sov .row.you .name::after { content: "you"; font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sig-bright); margin-left: 7px; }
.demo-sov .track { height: 7px; border-radius: 999px; background: rgba(250, 250, 249, 0.07); overflow: hidden; }
.demo-sov .track i { display: block; height: 100%; border-radius: 999px; background: rgba(250, 250, 249, 0.22); }
.demo-sov .row.you .track i { background: var(--sig-bright); }
.demo-sov .val { font-family: var(--mono); font-size: 10.5px; color: var(--pfaint); font-variant-numeric: tabular-nums; }
.demo-sov .row.you .val { color: var(--sig-bright); font-weight: 700; }
.demo-cite ul { list-style: none; }
.demo-cite li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid var(--pline); font-family: var(--mono); font-size: 11px; color: var(--pdim); }
.demo-cite li:first-child { border-top: none; padding-top: 1px; }
.demo-cite .n { color: var(--pfaint); }
.demo-engines { display: flex; gap: 7px; flex-wrap: wrap; border-top: 1px solid var(--pline); padding-top: 14px; }
.demo-engines span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; color: var(--pdim); border: 1px solid var(--pline2); border-radius: 999px; padding: 4px 10px; display: inline-flex; align-items: center; gap: 6px; }
.demo-engines i { width: 6px; height: 6px; border-radius: 50%; background: var(--pline2); display: inline-block; }
.demo-engines span.live i { background: var(--sig-bright); animation: pulse 0.9s infinite alternate; }
.demo-cap { font-family: var(--mono); font-size: 11px; color: var(--faint); margin-top: 12px; text-align: right; }

/* ---------- engines row ---------- */
.engines-row { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; margin-top: 8px; }
.engines-row .wrap { display: flex; align-items: center; gap: 18px 26px; flex-wrap: wrap; }
.engines-row .er-chip { font-family: var(--mono); font-size: 12.5px; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.engines-row .er-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); display: inline-block; }
.engines-row .er-line { margin-left: auto; font-size: 14px; color: var(--muted); }
.engines-row .er-line b { color: var(--ink); }
.er-foot { font-family: var(--mono); font-size: 11.5px; color: var(--faint); margin-top: 12px; }

/* ---------- product tour ---------- */
.tour { padding: 104px 0 0; }
.tour-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.tour-block { background: var(--surface); border: 1px solid var(--line2); border-radius: 16px; padding: 26px 28px; }
.tour-block .tb-lab { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.tour-block h3 { font-size: clamp(19px, 2.2vw, 24px); font-weight: 740; letter-spacing: -0.025em; line-height: 1.12; margin-bottom: 10px; text-wrap: balance; }
.tour-block > p { color: var(--muted); font-size: 15px; max-width: 56ch; }
.tour-viz { margin-top: 18px; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: var(--bg); }
.tour-viz svg { width: 100%; height: 84px; display: block; overflow: visible; }
.tour-viz .grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.tour-viz .line { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.tour-viz .area { fill: var(--sig-soft); opacity: 0.7; }
.tour-viz .dot-last { fill: var(--sig); }
.tv-bars { display: grid; gap: 8px; }
.tv-bar { display: grid; grid-template-columns: minmax(70px, auto) 1fr auto; gap: 10px; align-items: center; font-size: 12.5px; }
.tv-bar .name { color: var(--muted); white-space: nowrap; }
.tv-bar.you .name { color: var(--ink); font-weight: 700; }
.tv-bar .track { height: 8px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; }
.tv-bar .track i { display: block; height: 100%; background: var(--line2); border-radius: 999px; }
.tv-bar.you .track i { background: var(--sig); }
.tv-bar .val { font-family: var(--mono); font-size: 11px; color: var(--faint); font-variant-numeric: tabular-nums; }
.tv-cites { list-style: none; }
.tv-cites li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--muted); }
.tv-cites li:first-child { border-top: none; }
.tv-answer { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.tv-answer .stamp { margin-right: 8px; }
.tv-answer .src { display: block; font-family: var(--mono); font-size: 11px; color: var(--faint); margin-top: 8px; }

/* ---------- honesty / methodology ---------- */
.proof { padding: 110px 0 0; }
.claims { margin-top: 36px; max-width: 62ch; }
.claim { padding: 22px 0; border-top: 1px solid var(--line); }
.claim:first-child { border-top: none; padding-top: 0; }
.claim .n { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.06em; color: var(--sig-deep); margin-bottom: 8px; }
.claim p { color: var(--muted); font-size: 15.5px; }
.claim p b { color: var(--ink); font-weight: 650; }

/* ---------- pricing ---------- */
.price { padding: 120px 0 0; }
.tiers { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin-top: 44px; }
.tier { background: var(--surface); border: 1px solid var(--line2); border-radius: 16px; padding: 28px 28px 30px; display: flex; flex-direction: column; position: relative; }
.tier.hot { border: 2px solid var(--ink); padding: 27px 27px 29px; }
.tier .chip { position: absolute; top: -12px; right: 20px; background: var(--ink); color: #fff; font: 700 11px/1 var(--mono); letter-spacing: 0.06em; padding: 6px 12px; border-radius: 999px; }
.tier .chip.chip-sig { background: var(--sig-soft); color: var(--sig-deep); }
.tier .name { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.tier .amt { font-size: 46px; font-weight: 790; letter-spacing: -0.035em; margin: 14px 0 4px; line-height: 0.95; font-variant-numeric: tabular-nums; }
.tier .amt small { font-size: 15px; font-weight: 500; color: var(--faint); letter-spacing: 0; }
.tier ul { list-style: none; margin: 20px 0 26px; flex: 1; }
.tier li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.tier li b { color: var(--ink); font-weight: 650; }
.tier .btn-line, .tier .btn-solid { display: block; text-align: center; }
.price-foot { font-family: var(--mono); font-size: 12px; color: var(--faint); margin-top: 22px; max-width: 74ch; line-height: 1.7; }

/* ---------- done for you (single demoted strip) ---------- */
.dfy { margin-top: 110px; }
.dfy-strip { background: var(--surface); border: 1px solid var(--line2); border-radius: 16px; padding: 30px 32px; display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center; }
.dfy-strip h3 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 740; letter-spacing: -0.025em; margin-bottom: 8px; }
.dfy-strip p { color: var(--muted); font-size: 15px; max-width: 64ch; }
.dfy-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- one-off scan strip ---------- */
.scanstrip { margin-top: 96px; border-top: 1px solid var(--line); padding-top: 44px; }
.scanstrip .slot { margin-top: 18px; animation: none; opacity: 1; }

/* ---------- CTA ---------- */
.cta { padding: 130px 0 120px; text-align: center; }
.cta h2 { font-size: clamp(34px, 5vw, 70px); font-weight: 790; letter-spacing: -0.04em; line-height: 1.0; text-wrap: balance; }
.cta h2 em { font-style: normal; color: var(--ink); text-decoration: underline; text-decoration-color: var(--sig); text-decoration-thickness: 0.07em; text-underline-offset: 0.14em; }
.cta p { color: var(--muted); margin: 24px auto 36px; max-width: 52ch; font-size: 17.5px; }
.cta .btn-solid { font-size: 16.5px; padding: 16px 38px; }

/* ---------- score share page ---------- */
.scoreband { position: relative; padding: 88px 0; border-bottom: 1px solid var(--line); background: var(--surface); }
.scoreband .wrap { display: flex; gap: 56px; align-items: center; flex-wrap: wrap; }
.scoreband .n { font-size: clamp(110px, 18vw, 210px); font-weight: 800; letter-spacing: -0.05em; line-height: 0.85; color: var(--ink); font-variant-numeric: tabular-nums; }
.scoreband .of { font-size: 28px; font-weight: 650; color: var(--faint); }
.scoreband p { max-width: 36ch; font-size: 17px; color: var(--muted); }
.scoreband p b { color: var(--ink); }
.pad-top { padding-top: 56px; }
.sec-eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--faint); display: block; margin-bottom: 14px; }
.sec-title { font-size: clamp(30px, 4.2vw, 48px); font-weight: 760; letter-spacing: -0.035em; line-height: 1.04; margin-bottom: 18px; }
.muted-para { color: var(--muted); max-width: 58ch; margin: 22px 0 38px; }
.notice { border: 1px solid var(--line2); border-radius: 14px; background: var(--surface); padding: 22px 26px; margin: 32px 0; font-size: 15.5px; max-width: 760px; color: var(--muted); }
.sec-head { display: flex; gap: 16px; align-items: baseline; margin: 10px 0 16px; }
.sec-head .idx { font-family: var(--mono); font-size: 12px; color: var(--sig); letter-spacing: 0.08em; }
.sec-head h2 { font-size: clamp(22px, 2.8vw, 34px); font-weight: 740; letter-spacing: -0.028em; }
.cta-band { margin-top: 96px; padding: 100px 0 120px; border-top: 1px solid var(--line); background: var(--surface); }
.cta-band h2 { font-size: clamp(28px, 4vw, 52px); font-weight: 770; letter-spacing: -0.035em; line-height: 1.02; max-width: 24ch; text-wrap: balance; }
.cta-band p { color: var(--muted); margin-top: 18px; max-width: 54ch; font-size: 17px; }
.matrix.hist { max-width: 560px; margin: 20px 0 10px; border-collapse: collapse; }
.matrix.hist td { padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line); }
.matrix.hist td:first-child { font-weight: 500; width: 44%; color: var(--faint); font-family: var(--mono); font-size: 13px; }
.matrix.hist tr:first-child td { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.matrix.hist b { font-weight: 740; color: var(--ink); }

/* ---------- blog ---------- */
.postlist { border-top: 1px solid var(--line); margin: 12px 0 20px; }
.postrow { display: block; text-decoration: none; color: inherit; border-bottom: 1px solid var(--line); padding: 26px 8px; transition: background 0.15s; }
.postrow:hover { background: var(--surface); }
.postrow:hover .ptitle { color: var(--ink); text-decoration: underline; text-decoration-color: var(--sig); text-underline-offset: 0.14em; }
.pmeta { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.ptitle { font-size: clamp(21px, 2.8vw, 27px); font-weight: 720; letter-spacing: -0.022em; line-height: 1.15; transition: color 0.15s; }
.pdesc { color: var(--muted); font-size: 15.5px; margin-top: 8px; max-width: 64ch; }

.post { max-width: 740px; padding-top: 40px; }
.backlink { display: inline-block; font-family: var(--mono); font-weight: 500; font-size: 13px; text-decoration: none; color: var(--muted); border-bottom: 1px solid var(--line2); margin-bottom: 28px; }
.backlink:hover { color: var(--ink); border-color: var(--ink); }
.post-h1 { font-size: clamp(30px, 4.8vw, 48px); font-weight: 770; letter-spacing: -0.033em; line-height: 1.05; margin: 6px 0 30px; text-wrap: balance; }
.post-body { font-size: 17px; line-height: 1.75; color: var(--muted); text-wrap: pretty; }
.post-body h2 { font-size: clamp(23px, 3.2vw, 29px); font-weight: 720; letter-spacing: -0.022em; margin: 46px 0 14px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink); }
.post-body h3 { font-size: 20px; font-weight: 680; letter-spacing: -0.018em; margin: 30px 0 10px; color: var(--ink); }
.post-body p { margin: 0 0 18px; }
.post-body a { color: var(--ink); border-bottom: 1px solid var(--ink); text-decoration: none; }
.post-body a:hover { border-color: var(--sig); }
.post-body ul, .post-body ol { margin: 0 0 18px 22px; }
.post-body li { margin: 6px 0; }
.post-body strong { font-weight: 680; color: var(--ink); }
.post-body blockquote { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; margin: 20px 0; color: var(--ink); }
.post-body code { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: 14.5px; color: var(--ink); }
.post-body pre { background: var(--panel); border: 0; color: #fafaf9; border-radius: 12px; padding: 18px 20px; overflow-x: auto; margin: 0 0 20px; font-size: 14px; }
.post-body pre code { background: none; border: none; color: inherit; padding: 0; }
.post-body table { width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: 15px; }
.post-body th, .post-body td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.post-body th { background: var(--surface); color: var(--ink); font-weight: 650; }
.post-body h2:first-child, .post-body h2:nth-child(2) { border-top: none; padding-top: 0; }
.post-cta { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; border: 1px solid var(--line2); border-radius: 16px; background: var(--surface); padding: 26px 28px; margin-top: 48px; }
.post-cta b { font-weight: 720; font-size: 19px; letter-spacing: -0.02em; display: block; color: var(--ink); }
.post-cta span { color: var(--muted); font-size: 15px; }

/* ---------- login / auth page ---------- */
.authwrap { padding: 70px 32px 100px; }
.authcard { max-width: 560px; }
.authcard .sub { margin-top: 12px; font-size: 16.5px; max-width: 54ch; }
.authform { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; max-width: 420px; }
.authform .btn-solid { text-align: center; }
.authcard .fineprint { margin-top: 14px; }
.authcard .notice { margin-top: 24px; }

/* progress-page email capture */
.notify { margin: 34px 0 0; max-width: 640px; background: var(--surface); border: 1px solid var(--line2); border-radius: 14px; padding: 22px 24px; }
.notify .row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.notify .consent { margin-top: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
	.hero-grid { grid-template-columns: 1fr; gap: 40px; }
	.tour-grid { grid-template-columns: 1fr; }
	.tiers { grid-template-columns: 1fr; }
	.dfy-strip { grid-template-columns: 1fr; }
	.dfy-actions { justify-content: flex-start; }
	.demo-cols { grid-template-columns: 1fr; }
	.engines-row .er-line { margin-left: 0; width: 100%; }
	.notify .row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.slot form { flex-direction: column; gap: 8px; }
	.slot button { padding: 16px; }
	.demo-bar .db-meta { display: none; }
	.demo-sov .row { grid-template-columns: minmax(56px, auto) 1fr auto; }
}
@media (prefers-reduced-motion: reduce) {
	.hero h1 .row, .hero .sub, .slot, .demo-frame { animation: none; opacity: 1; transform: none; }
	.demo-engines span.live i { animation: none; }
}
