:root {
  --bg: #F4F2EC;
  --ink: #0F0F14;
  --text: #2A2830;
  --muted: #4A4852;
  --muted-2: #55535C;
  --line: #E2DED3;
  --line-2: #DAD6CB;
  --card: #FFFFFF;
  --accent: #5B3DF5;
  --accent-ink: #3A22C9;
  --accent-soft: #EFECFF;
  --lime: #D7FF3F;
  --ok: #1F9D55;
  --ok-ink: #17693A;
  --ok-soft: #E6F6EC;
  --bad: #D6452B;
  --bad-ink: #B3361F;
  --bad-soft: #FCEBE7;
  --display: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 5vw, 80px);
  --shadow: 12px;
}
@media (max-width: 700px) { :root { --shadow: 7px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
}
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.05; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: var(--ink); }
a:hover { color: var(--accent-ink); }
button { font: inherit; color: inherit; }
img, svg { display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px var(--gutter);
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark {
  width: 36px; height: 36px; border-radius: 999px; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 20px;
}
.logo-word { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.5px; }
.header-right { display: flex; align-items: center; gap: 20px; font-size: 15px; font-weight: 600; color: var(--text); }
.header-note { display: flex; align-items: center; gap: 8px; }
@media (max-width: 700px) { .header-note { display: none; } }

main { flex: 1 0 auto; }
.site-footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  padding: 20px var(--gutter); font-size: 13px; color: var(--muted-2);
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--muted-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 32px; border-radius: 999px; border: none; cursor: pointer;
  font-weight: 700; font-size: 18px; text-decoration: none; text-align: center;
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 5px 5px 0 var(--ink); }
.btn-primary:hover { color: #fff; transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--ink); }
.btn-primary:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; background: #26262e; }
.btn-outline { background: #fff; color: var(--ink); border: 2px solid var(--ink); }
.btn-danger { background: #fff; color: var(--bad-ink); border: 2px solid var(--bad-ink); }
.btn-danger:hover { color: var(--bad-ink); background: var(--bad-soft); }
.btn-lg { min-height: 68px; font-size: 21px; padding: 0 44px; }
.btn-block { width: 100%; }
.btn-sm { min-height: 48px; font-size: 16px; padding: 0 22px; }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.6; cursor: progress; }
.link-btn { border: none; background: none; padding: 4px 0; font-weight: 600; text-decoration: underline; cursor: pointer; min-height: 44px; }

/* ---------- Cards & bits ---------- */
.card {
  background: var(--card); border: 2px solid var(--ink); border-radius: 28px;
  box-shadow: var(--shadow) var(--shadow) 0 var(--ink);
  padding: clamp(20px, 4vw, 40px);
}
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 3.5vw, 36px); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted-2); }
.pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 8px 16px; font-size: 15px; font-weight: 600; }
.pill-lime { background: var(--lime); color: var(--ink); }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.tag-lime { background: var(--lime); }
.tag-ok { background: var(--ok-soft); color: var(--ok-ink); }
.tag-muted { background: #ECE9E0; color: var(--text); }
.checks { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; font-weight: 500; color: var(--text); }
.checks span { display: inline-flex; align-items: center; gap: 8px; }
.notice { display: flex; align-items: center; gap: 12px; border-radius: 16px; padding: 14px 18px; font-size: 16px; font-weight: 600; }
.notice svg { flex: none; }
.notice-ok { background: var(--ok-soft); border: 1px solid #B9E2C8; color: var(--ok-ink); }
.notice-bad { background: var(--bad-soft); border: 1px solid #F1C2B8; color: var(--bad-ink); }
.notice-info { background: #fff; border: 1px solid var(--line); color: var(--text); }
.muted { color: var(--muted); }
.small { font-size: 14px; color: var(--muted-2); line-height: 1.5; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field legend { font-size: 15px; font-weight: 600; }
.input {
  width: 100%; min-height: 56px; padding: 0 18px; font: inherit; font-size: 17px; color: var(--ink);
  background: #fff; border: 2px solid var(--line-2); border-radius: 14px;
}
.input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.input-code { text-align: center; font-size: 30px; font-weight: 700; letter-spacing: 0.4em; padding-left: 0.4em; font-variant-numeric: tabular-nums; }
.error-text { color: var(--bad-ink); font-size: 15px; font-weight: 600; min-height: 1.5em; }

/* ---------- Puzzle grid ---------- */
.matrix, .options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(6px, 1.4vw, 12px); }
.cell, .opt {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center; gap: 4%;
  border-radius: clamp(10px, 2vw, 16px); background: #fff; border: 2px solid var(--line);
}
.cell svg, .opt svg { height: auto; flex: none; }
.cell-blank {
  background: transparent; border: 3px dashed var(--accent); color: var(--accent);
  font-family: var(--display); font-weight: 800; font-size: clamp(28px, 6vw, 48px);
}
.cell-soft { background: var(--bg); border-color: transparent; }
.opt { position: relative; cursor: pointer; padding: 0; border-color: var(--line-2); transition: border-color 120ms ease, background 120ms ease; }
.opt:hover { border-color: var(--ink); }
.opt[aria-pressed="true"] { border: 3px solid var(--accent); background: var(--accent-soft); }
.opt.is-right { border: 3px solid var(--ok); background: var(--ok-soft); }
.opt.is-wrong { border: 3px solid var(--bad); background: var(--bad-soft); }
.opt-letter { position: absolute; top: 6px; left: 10px; font-size: 13px; font-weight: 700; color: var(--muted-2); }

/* ---------- Landing ---------- */
.hero {
  display: grid; gap: 40px; align-items: center;
  padding: 16px var(--gutter) 40px;
}
.hero-copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.hero h1 { font-size: clamp(44px, 7.2vw, 88px); font-weight: 800; letter-spacing: -0.035em; line-height: 0.96; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 520px; }
.sample { display: flex; flex-direction: column; gap: 14px; }
.sample-head { display: flex; align-items: center; justify-content: space-between; }
.sample h2 { font-size: clamp(20px, 2vw, 22px); font-weight: 700; letter-spacing: -0.01em; }
.sample .options { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sample .opt { aspect-ratio: 5 / 4; }
.sample .cell { aspect-ratio: 5 / 4; }
@media (min-width: 960px) { .sample { width: 100%; max-width: 540px; justify-self: end; } }
.sample-feedback { min-height: 44px; display: flex; align-items: center; font-size: 15px; }
.fb-ok { color: var(--ok-ink); font-weight: 600; }
.fb-bad { color: var(--bad-ink); font-weight: 600; }
.timer-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 999px; }
@media (min-width: 960px) {
  .hero { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; min-height: calc(100dvh - 150px); padding-top: 0; }
}

/* ---------- Test ---------- */
.test-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 16px var(--gutter) 12px; }
.test-top .progress-label { font-weight: 700; font-size: 16px; text-align: center; white-space: nowrap; }
.test-top .timer { justify-self: end; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-variant-numeric: tabular-nums; }
.test-top .timer.is-low { background: var(--bad-soft); color: var(--bad-ink); }
@media (max-width: 560px) { .test-top .logo-word { display: none; } }
.bar { margin: 0 var(--gutter); height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--accent); border-radius: 999px; transition: width 300ms ease; }
.test-main {
  --size: min(100%, 420px, calc((100dvh - 250px) * 0.55));
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  padding: 20px var(--gutter) 28px;
}
.test-col { width: var(--size); display: flex; flex-direction: column; gap: 14px; }
.test-col h1 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; }
.test-hint { font-size: 14px; color: var(--muted-2); }
@media (min-width: 960px) {
  .test-main {
    --size: min(420px, calc(100dvh - 280px));
    flex-direction: row; justify-content: center; align-items: center; gap: 96px;
    min-height: calc(100dvh - 120px); padding-top: 0;
  }
  .test-col-options { padding-top: 44px; }
}
.done-wrap { display: flex; justify-content: center; padding: 32px var(--gutter) 48px; }
@media (min-width: 960px) { .done-wrap { min-height: calc(100dvh - 120px); align-items: center; } }
.done { width: min(100%, 560px); display: flex; flex-direction: column; gap: 20px; }
.done h1 { font-size: clamp(36px, 5vw, 48px); font-weight: 800; }
.done-icon { width: 56px; height: 56px; border-radius: 999px; background: var(--lime); display: grid; place-items: center; }
.spinner { width: 28px; height: 28px; border-radius: 999px; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin 800ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Unlock (paywall) ---------- */
.split { display: grid; gap: 32px; padding: 8px var(--gutter) 48px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; min-height: calc(100dvh - 150px); } }
.plans { display: flex; flex-direction: column; gap: 16px; }
.plans h1 { font-size: clamp(40px, 5vw, 60px); font-weight: 800; }
.plan {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; padding: 20px 22px; border-radius: 20px; cursor: pointer; text-align: left;
  background: #fff; border: 2px solid var(--line-2);
}
.plan[aria-checked="true"] { border: 3px solid var(--accent); box-shadow: 6px 6px 0 var(--accent); }
.plan-main { display: flex; align-items: center; gap: 16px; }
.radio { width: 24px; height: 24px; border-radius: 999px; border: 2px solid var(--ink); display: grid; place-items: center; flex: none; }
.plan[aria-checked="true"] .radio::after { content: ''; width: 12px; height: 12px; border-radius: 999px; background: var(--accent); }
.plan-title { font-size: 19px; font-weight: 700; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.plan-desc { font-size: 15px; color: var(--muted); }
.plan-price { display: flex; flex-direction: column; align-items: flex-end; flex: none; }
.plan-price strong { font-family: var(--display); font-size: 30px; font-weight: 800; line-height: 1.1; }
.plan-price span { font-size: 13px; color: var(--muted-2); }
.center { text-align: center; }

/* ---------- Report ---------- */
.blur-lg { filter: blur(14px); user-select: none; }
.blur-md { filter: blur(10px); user-select: none; }
.blur-sm { filter: blur(3px); }
.score-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.score-big { font-family: var(--display); font-weight: 800; line-height: 0.85; letter-spacing: -0.04em; font-size: clamp(88px, 12vw, 144px); color: var(--accent); }
.score-mid { font-family: var(--display); font-weight: 800; font-size: clamp(64px, 8vw, 88px); line-height: 1; letter-spacing: -0.04em; }
.curve { width: 100%; height: auto; }
.curve-axis { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted-2); }
.skills { display: flex; flex-direction: column; gap: 14px; }
.skill-top { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; font-weight: 600; }
.meter { height: 10px; background: #ECE9E0; border-radius: 999px; overflow: hidden; margin-top: 6px; }
.meter > span { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.report { display: grid; gap: 24px; padding: 16px var(--gutter) 48px; }
@media (min-width: 960px) { .report { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
.stack { display: flex; flex-direction: column; gap: 20px; }
.btn-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }

/* ---------- Auth & account ---------- */
.auth-wrap { display: flex; justify-content: center; padding: 24px var(--gutter) 48px; }
@media (min-width: 960px) { .auth-wrap { min-height: calc(100dvh - 150px); align-items: center; } }
.auth { width: min(100%, 520px); display: flex; flex-direction: column; gap: 20px; }
.auth h1 { font-size: clamp(36px, 5vw, 48px); font-weight: 800; }
.account { display: flex; flex-direction: column; gap: 24px; padding: 8px var(--gutter) 48px; }
.account > h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; }
.account-grid { display: grid; gap: 24px; }
@media (min-width: 960px) { .account-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
.row-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.row-score { font-family: var(--display); font-weight: 800; font-size: 34px; color: var(--accent); }
.plan-box { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--bg); border-radius: 18px; padding: 18px 20px; }
.plan-box strong.price { font-family: var(--display); font-size: 28px; font-weight: 800; }

/* ---------- Legal ---------- */
.legal { width: min(100% - 2 * var(--gutter), 760px); margin: 16px auto 64px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); font-weight: 800; margin-bottom: 8px; }
.legal h2 { font-size: 24px; font-weight: 700; margin: 32px 0 8px; letter-spacing: -0.01em; }
.legal p, .legal li { font-size: 17px; line-height: 1.65; color: var(--text); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; }
.legal .placeholder-note { background: var(--lime); border-radius: 14px; padding: 14px 18px; font-size: 15px; font-weight: 600; margin: 16px 0 8px; }

/* ---------- Certificate ---------- */
.cert-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; justify-content: center; padding: 8px var(--gutter) 24px; }
.cert-tools .field { width: min(100%, 320px); }
.cert {
  width: min(100% - 2 * var(--gutter), 1000px); aspect-ratio: 1.414; margin: 0 auto 48px;
  background: #fff; border: 2px solid var(--ink); border-radius: 12px; padding: 5%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.2%; text-align: center;
  outline: 10px solid #fff; outline-offset: -26px; box-shadow: inset 0 0 0 18px var(--accent-soft);
}
.cert h1 { font-size: clamp(20px, 4vw, 44px); font-weight: 800; }
.cert .cert-name { font-family: var(--display); font-size: clamp(26px, 6vw, 64px); font-weight: 800; color: var(--accent); }
.cert .cert-score { font-family: var(--display); font-size: clamp(40px, 9vw, 96px); font-weight: 800; line-height: 1; }
.cert p { font-size: clamp(11px, 1.6vw, 17px); color: var(--muted); }
@media print {
  @page { size: landscape; margin: 0; }
  body { background: #fff; }
  .site-header, .site-footer, .cert-tools { display: none !important; }
  .cert { width: 100%; height: 100vh; aspect-ratio: auto; margin: 0; border: none; border-radius: 0; }
}

/* ---------- A/B test: hide the headline until its variant is applied (max 0.6s) ---------- */
.exp-pending { visibility: hidden; animation: exp-reveal 0s 0.6s forwards; }
@keyframes exp-reveal { to { visibility: visible; } }

/* ---------- Cookie consent ---------- */
.consent {
  position: fixed; z-index: 50; left: 16px; right: 16px; bottom: 16px; margin: 0 auto; max-width: 560px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px;
  background: #fff; border: 2px solid var(--ink); border-radius: 20px; padding: 16px 18px;
  box-shadow: 6px 6px 0 var(--ink); font-size: 15px;
}
.consent p { flex: 1 1 240px; }
.consent-actions { display: flex; gap: 10px; }
.consent .btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* ---------- Admin ---------- */
.admin { display: flex; flex-direction: column; gap: 24px; padding: 8px var(--gutter) 48px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); gap: 12px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.kpi .kpi-label { font-size: 13px; font-weight: 600; color: var(--muted-2); }
.kpi .kpi-value { font-family: var(--display); font-size: 28px; overflow-wrap: anywhere; font-weight: 800; line-height: 1.15; }
.kpi .kpi-sub { font-size: 13px; color: var(--muted-2); }
.table-wrap { overflow-x: auto; max-width: 100%; }
.admin > *, .admin .panel { min-width: 0; }
.data { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.data th, .data td { text-align: right; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.data th:first-child, .data td:first-child { text-align: left; }
.data th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted-2); }
.hist { display: flex; align-items: flex-end; gap: 2px; height: 160px; border-bottom: 1px solid var(--line-2); }
.hist-bar { flex: 1; background: var(--accent); border-radius: 4px 4px 0 0; min-height: 2px; position: relative; }
.hist-bar:hover { background: var(--accent-ink); }
.hist-axis { display: flex; gap: 2px; font-size: 11px; color: var(--muted-2); }
.hist-axis span { flex: 1; text-align: center; }
.notice code { overflow-wrap: anywhere; }
.notice { flex-wrap: wrap; }
.flag { font-size: 12px; font-weight: 700; color: var(--bad-ink); }

/* ---------- Checkout ---------- */
.pill-ok { background: var(--ok-soft); color: var(--ok-ink); }
.co { display: flex; flex-direction: column; gap: 28px; padding: 4px var(--gutter) 48px; max-width: 1160px; margin: 0 auto; width: 100%; }
.co-head { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.co-head h1 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; letter-spacing: -0.03em; }
.co-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) { .co-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; } }
.co-offer { display: flex; flex-direction: column; gap: 16px; }
.offer-card { background: var(--accent-soft); border: 2px solid #D9D2FF; border-radius: 24px; padding: clamp(18px, 3vw, 28px); display: flex; flex-direction: column; gap: 14px; }
.offer-card .tag { align-self: flex-start; }
.offer-body { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.offer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.offer-list li { display: flex; gap: 12px; align-items: flex-start; }
.offer-list .ck { flex: none; margin-top: 1px; }
.offer-list strong { display: block; font-size: 18px; font-weight: 700; line-height: 1.25; }
.offer-list span { display: block; font-size: 14px; color: var(--muted); }
.offer-price { display: flex; flex-direction: column; align-items: flex-end; flex: none; }
.offer-price strong { font-family: var(--display); font-size: clamp(40px, 5vw, 52px); font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.offer-price span { font-size: 14px; font-weight: 600; color: var(--muted-2); }
@media (max-width: 520px) { .offer-body { flex-direction: column-reverse; align-items: stretch; } .offer-price { flex-direction: row; align-items: baseline; gap: 8px; } }
.guarantee { display: flex; gap: 14px; align-items: flex-start; background: var(--ok-soft); border: 1px solid #B9E2C8; border-radius: 18px; padding: 16px 18px; }
.guarantee svg { flex: none; }
.guarantee strong { display: block; font-size: 17px; color: var(--ok-ink); }
.guarantee span { font-size: 14px; color: var(--text); }
.blur-peek { display: flex; justify-content: space-between; align-items: flex-end; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 20px; }
.blur-peek .score-mid { font-size: 56px; }
@media (max-width: 959px) { .blur-peek { display: none; } }
.co-pay { display: flex; flex-direction: column; gap: 16px; }
.pay-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pay-top h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.pay-marks { display: flex; gap: 6px; flex-wrap: wrap; }
.pay-marks span { font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 8px; background: var(--bg); color: var(--text); }
.terms-short { font-size: 15px; font-weight: 600; color: var(--ink); background: var(--bg); border-radius: 12px; padding: 10px 14px; text-align: center; }
.express { min-height: 54px; }
.or { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; color: var(--muted-2); }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
#card-form { display: flex; flex-direction: column; gap: 14px; }
.pe { min-height: 120px; }
.terms-full { font-size: 13px; line-height: 1.55; color: var(--muted); text-align: center; }
.secure-line { display: flex; align-items: center; justify-content: center; gap: 6px; }
.included { display: grid; gap: 16px; }
@media (min-width: 960px) { .included { grid-template-columns: 220px minmax(0, 1fr); align-items: center; } }
.inc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.inc-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.inc-list .ck { flex: none; }
.co-grid { grid-template-areas: "offer" "pay" "guar"; grid-template-columns: minmax(0, 1fr); }
.co-offer { grid-area: offer; }
.co-pay { grid-area: pay; }
.co-guar { grid-area: guar; }
.co-peek { grid-area: peek; }
@media (min-width: 960px) {
  .co-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-areas: "offer pay" "guar pay" "peek pay"; grid-template-rows: auto auto 1fr; row-gap: 16px; }
}
.secure-line svg { flex: none; }
#pay-btn { white-space: nowrap; }
@media (max-width: 420px) { .checkout-page .site-header .header-right { font-size: 14px; } .checkout-page .logo-word { font-size: 21px; } }
.co-guar { align-items: center; }
.co-guar strong { display: inline; margin-right: 8px; }

/* ---------- Checkout: clean, professional look (overrides the playful site style) ---------- */
.checkout-page { background: #F7F7F9; }
.checkout-page h1, .checkout-page h2 { font-family: var(--body); letter-spacing: -0.02em; }
.checkout-page .co-head h1 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; color: #111318; }
.checkout-page .pill-ok { font-size: 14px; padding: 6px 12px; }
.checkout-page .card {
  border: 1px solid #E4E6EB; border-radius: 16px; box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 24px rgba(16, 24, 40, 0.06);
}
.checkout-page .offer-card { background: #fff; border: 1px solid #E4E6EB; border-radius: 16px; box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04); }
.checkout-page .offer-card .tag { background: #EFECFF; color: #3A22C9; font-weight: 600; }
.checkout-page .offer-list strong { font-size: 16px; font-weight: 600; color: #111318; }
.checkout-page .offer-list span { color: #5B6170; }
.checkout-page .offer-price strong { font-family: var(--body); font-weight: 700; font-size: clamp(36px, 4vw, 44px); color: #111318; }
.checkout-page .offer-list .ck circle, .checkout-page .inc-list .ck circle { fill: #16A34A; }
.checkout-page .guarantee { background: #fff; border: 1px solid #E4E6EB; border-radius: 12px; padding: 12px 16px; }
.checkout-page .guarantee strong { font-size: 15px; color: #111318; }
.checkout-page .guarantee span { color: #5B6170; }
.checkout-page .blur-peek { border-radius: 12px; border-color: #E4E6EB; }
.checkout-page .pay-top h2 { font-size: 18px; font-weight: 700; color: #111318; }
.checkout-page .pay-marks span { background: #fff; border: 1px solid #E4E6EB; color: #5B6170; font-weight: 600; border-radius: 6px; }
.checkout-page .btn-primary { box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08); border-radius: 10px; font-weight: 600; }
.checkout-page .btn-primary:hover { transform: none; box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08); background: #4B2FE0; }
.checkout-page .btn-primary:active { transform: none; box-shadow: none; }
.checkout-page .btn-lg { min-height: 56px; font-size: 18px; }
.checkout-page .input { border: 1px solid #D0D4DC; border-radius: 10px; min-height: 50px; font-size: 16px; }
.checkout-page .input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px #EFECFF; }
.checkout-page .field label { font-size: 14px; font-weight: 600; color: #344054; }
.checkout-page .or { color: #8A90A0; font-weight: 500; }
.checkout-page .or::before, .checkout-page .or::after { background: #E4E6EB; }
.checkout-page .terms-full { font-size: 12.5px; color: #6B7280; }
.checkout-page .secure-line { color: #6B7280; font-size: 13px; }
.checkout-page .included { background: #fff; border: 1px solid #E4E6EB; border-radius: 16px; }
.checkout-page .included .eyebrow { color: #111318; letter-spacing: 0.06em; }
.checkout-page .inc-list li { font-size: 15px; color: #344054; }
.checkout-page .site-header { background: #fff; border-bottom: 1px solid #E4E6EB; margin-bottom: 24px; }
.checkout-page .logo-word { font-family: var(--body); font-weight: 700; letter-spacing: -0.02em; }

/* ---------- Checkout payment box: fast payments + card option ---------- */
.checkout-page .co-pay { display: flex; flex-direction: column; gap: 14px; }
.fast-box { background: #F1F8F4; border: 1px solid #CFE8D9; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04); }
.fast-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fast-top strong { font-size: 18px; font-weight: 700; color: #111318; }
.wallet-chips { display: flex; gap: 6px; margin-left: auto; }
.wallet-chips span { font-size: 12px; font-weight: 700; color: #344054; background: #fff; border: 1px solid #E4E6EB; border-radius: 6px; padding: 4px 8px; }
.fast-sub { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #6B7280; margin-top: -4px; }
.fast-box .express { min-height: 50px; }
.card-opt { background: #fff; border: 1px solid #E4E6EB; border-radius: 16px; box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04); overflow: hidden; }
.card-opt.is-open { border-color: #C9C2FF; box-shadow: 0 0 0 3px #EFECFF; }
.card-toggle { width: 100%; display: flex; align-items: center; gap: 14px; background: none; border: none; padding: 18px 20px; cursor: pointer; text-align: left; min-height: 60px; }
.card-toggle .radio { border: 2px solid #C4C8D0; }
.card-opt.is-open .card-toggle .radio { border-color: var(--accent); }
.card-opt.is-open .card-toggle .radio::after { content: ''; width: 12px; height: 12px; border-radius: 999px; background: var(--accent); }
.card-label { font-size: 17px; font-weight: 600; color: #111318; }
.brands { margin-left: auto; display: flex; align-items: center; gap: 5px; }
.brands > span { height: 20px; min-width: 30px; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; font-size: 8.5px; font-weight: 800; letter-spacing: 0.02em; padding: 0 4px; border: 1px solid #E4E6EB; background: #fff; }
.b-visa { color: #1A1F71; font-style: italic; font-size: 10px !important; }
.b-mc { position: relative; }
.b-mc i { width: 11px; height: 11px; border-radius: 999px; display: block; }
.b-mc i:first-child { background: #EB001B; margin-right: -4px; }
.b-mc i:last-child { background: #F79E1B; opacity: 0.9; }
.b-amex { background: #1F72CD !important; color: #fff; border-color: #1F72CD !important; }
.b-disc { color: #111; font-size: 7px !important; }
@media (max-width: 420px) { .b-disc, .b-amex { display: none !important; } .card-label { font-size: 16px; } }
.card-panel { padding: 0 20px 20px; }
.card-panel #card-form { display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 420px) { .wallet-chips { display: none; } }

/* ---------- Checkout: locked report preview ---------- */
.report-peek { background: #fff; border: 1px solid #E4E6EB; border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04); position: relative; overflow: hidden; }
.peek-head { display: flex; justify-content: space-between; align-items: center; }
.peek-title { font-size: 16px; font-weight: 700; color: #111318; }
.lock-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: #3A22C9; background: #EFECFF; border-radius: 999px; padding: 4px 10px; }
.peek-body { display: flex; flex-direction: column; gap: 16px; user-select: none; pointer-events: none; }
.peek-scores { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.peek-scores .eyebrow { font-size: 11px; color: #6B7280; }
.peek-num { font-family: var(--body); font-weight: 800; font-size: 44px; line-height: 1.1; color: #5B3DF5; }
.peek-num-sm { font-size: 26px; color: #111318; margin-top: 8px; }
.peek-curve .curve { height: 90px; }
.blur-svg { filter: blur(5px); }
.peek-skills { display: grid; gap: 10px; }
.peek-skills > div { display: grid; grid-template-columns: 140px minmax(0, 1fr) 80px; align-items: center; gap: 10px; font-size: 13px; color: #344054; }
.peek-skills .meter { margin: 0; height: 8px; }
.peek-skills b { font-size: 12px; text-align: right; }
.blur-bar { filter: blur(3px); }
.peek-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.peek-cert { border: 1px solid #E4E6EB; border-radius: 10px; padding: 12px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; background: linear-gradient(#fff, #fff) padding-box; box-shadow: inset 0 0 0 5px #F4F2FF; }
.cert-mini-logo { width: 18px; height: 18px; border-radius: 999px; background: #5B3DF5; }
.cert-mini-title { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #6B7280; }
.cert-mini-name { font-size: 15px; font-weight: 700; color: #5B3DF5; }
.cert-mini-score { font-size: 20px; font-weight: 800; color: #111318; }
.peek-answers { border: 1px solid #E4E6EB; border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.peek-answers .eyebrow { font-size: 10px; }
.ans-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; filter: blur(2.5px); }
.ans-grid i { aspect-ratio: 1; border-radius: 6px; }
.ans-grid .ok { background: #BBF7D0; }
.ans-grid .no { background: #FECACA; }
.peek-foot { text-align: center; font-size: 13px; font-weight: 600; color: #3A22C9; }
@media (max-width: 520px) {
  .peek-skills > div { grid-template-columns: 110px minmax(0, 1fr) 64px; font-size: 12px; }
  .peek-num { font-size: 36px; }
  .peek-num-sm { font-size: 20px; }
}
/* show the preview on phones too (after the guarantee) */
@media (max-width: 959px) { .co-grid { grid-template-areas: "offer" "pay" "guar" "peek"; } }
.peek-skills b { white-space: nowrap; overflow: hidden; } .peek-skills > div > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
