/* Peeky v2 — clean, light, readable. Layout: tool-first hero, then results, then help. */
:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --ink: #0f172a;
  --mute: #475569;
  --soft: #64748b;
  --line: #e2e8f0;
  --brand: #0369a1;
  --brand-ink: #ffffff;
  --brand-tint: #e0f2fe;
  --high: #dc2626; --high-tint: #fef2f2;
  --med: #b45309;  --med-tint: #fffbeb;
  --low: #047857;  --low-tint: #ecfdf5;
  --shadow: 0 1px 2px rgba(15,23,42,.06), 0 8px 24px rgba(15,23,42,.06);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --logo: "Orbitron", "Inter", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1120; --surface: #111a2e; --ink: #e8edf6; --mute: #a7b3c6; --soft: #8a97ab; --line: #24304a;
    --brand: #38bdf8; --brand-ink: #04121f; --brand-tint: #0c2a40;
    --high: #f87171; --high-tint: #2a1416; --med: #fbbf24; --med-tint: #2a2112; --low: #34d399; --low-tint: #0f2a22;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1120; --surface: #111a2e; --ink: #e8edf6; --mute: #a7b3c6; --soft: #8a97ab; --line: #24304a;
  --brand: #38bdf8; --brand-ink: #04121f; --brand-tint: #0c2a40;
  --high: #f87171; --high-tint: #2a1416; --med: #fbbf24; --med-tint: #2a2112; --low: #34d399; --low-tint: #0f2a22;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
  color-scheme: dark;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; text-wrap: balance; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; letter-spacing: -0.01em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: grid; gap: 2px; }
.logo:hover { text-decoration: none; }
.logo { display: inline-flex; align-items: center; gap: 0.38em; font-family: var(--font); font-size: 26px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.logo-word { color: var(--ink); }
.logo-mark {
  width: 1.3em; height: 1.3em; flex: none; border-radius: 0.36em; display: grid; place-items: center;
  background: linear-gradient(135deg, #0369a1, #0ea5e9); box-shadow: 0 3px 10px rgba(3,105,161,.3);
}
.logo-mark .eye {
  width: 0.66em; height: 0.66em; background: #fff; border-radius: 75% 0; transform: rotate(45deg);
  display: grid; place-items: center;
}
.logo-mark .eye::after {
  content: ""; width: 0.27em; height: 0.27em; border-radius: 50%; background: #0f172a;
  box-shadow: inset 0.05em -0.05em 0 0.02em #f59e0b;
  animation: peek 5s ease-in-out infinite;
}
@keyframes peek {
  0%, 30%   { transform: translate(0.07em, -0.07em); }
  38%, 62%  { transform: translate(-0.07em, 0.07em); }
  70%, 100% { transform: translate(0.07em, -0.07em); }
}

.tag { font-size: 12.5px; font-weight: 600; color: var(--mute); }
.top-nav { display: flex; gap: 22px; font-size: 15px; font-weight: 600; }
.top-nav a { color: var(--mute); }
.top-nav a:hover { color: var(--brand); }

/* ---------- Hero ---------- */
.hero { padding-block: 48px 56px; }
.hero-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.lucky { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--med); background: var(--med-tint); border: 1px solid color-mix(in srgb, var(--med) 30%, transparent); padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.08; }
.hero h1 em { font-style: normal; color: var(--brand); }
.sub { margin-top: 18px; font-size: 1.15rem; color: var(--mute); max-width: 34em; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: 15px; font-weight: 600; color: var(--ink); }
.trust li::before { content: "✓"; color: var(--low); font-weight: 800; margin-right: 6px; }

.finder { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 26px; display: grid; gap: 16px; }
.finder h2 { font-size: 1.25rem; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink); }
select, input[type=text], input[type=number] {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; min-height: 50px;
  transition: border-color .15s;
}
select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--soft) 50%), linear-gradient(135deg, var(--soft) 50%, transparent 50%);
  background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px; background-size: 6px 6px; background-repeat: no-repeat; }
select:hover, input:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
select:focus, input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
input:disabled { opacity: .55; }
.money { position: relative; }
.money span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--soft); }
.money input { padding-left: 32px; font-weight: 700; font-variant-numeric: tabular-nums; }
.hint { font-size: 13.5px; color: var(--soft); }
.more { border-top: 1px dashed var(--line); padding-top: 12px; }
.more summary { cursor: pointer; font-size: 14.5px; font-weight: 600; color: var(--brand); list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: "+ "; }
.more[open] summary::before { content: "− "; }
.more summary small { color: var(--soft); font-weight: 500; }
.more-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 12px 0 8px; }
.cta { font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; border: 0; border-radius: 10px; min-height: 54px; background: var(--brand); color: var(--brand-ink); transition: transform .15s, filter .15s; }
.cta:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* ---------- Header DECODE button ---------- */
.brand-row { display: flex; align-items: center; gap: 14px; }
.decode-btn {
  position: relative; overflow: hidden; display: grid; justify-items: center; line-height: 1;
  padding: 7px 14px 6px; border-radius: 10px; color: #fff;
  background: linear-gradient(120deg, #0369a1, #0ea5e9 45%, #f59e0b 100%);
  background-size: 220% 100%; animation: decodeBg 5s ease-in-out infinite;
  box-shadow: 0 4px 16px rgba(14,165,233,.35), inset 0 0 0 1px rgba(255,255,255,.25);
}
.decode-btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 6px 22px rgba(14,165,233,.5); }
.decode-btn b { font-family: var(--logo); font-weight: 900; font-size: 17px; letter-spacing: 0.12em; }
.decode-btn small { font-size: 10px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; margin-top: 3px; opacity: .95; }
.decode-btn::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%);
  transform: translateX(-130%); animation: sweep 3.2s ease-in-out infinite;
}
@keyframes decodeBg { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes sweep { 0%, 40% { transform: translateX(-130%); } 80%, 100% { transform: translateX(130%); } }

/* ---------- Hero story ---------- */
.hero-in { align-items: start; }
.hero-copy { padding-top: 8px; }
@media (min-width: 921px) { .hero-copy { position: sticky; top: 96px; } }
.worry {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--high);
  border-radius: 12px; padding: 14px 16px; margin-bottom: 22px; box-shadow: var(--shadow);
}
.worry p { color: var(--mute); font-size: 15.5px; font-style: italic; }
.worry b { color: var(--ink); font-style: normal; }
.sad { font-style: normal; }
.doc { flex: none; width: 34px; height: 42px; border-radius: 4px; background: var(--bg); border: 1.5px solid var(--line); display: grid; align-content: center; gap: 4px; padding: 0 6px; position: relative; }
.doc::after { content: "42"; position: absolute; right: -8px; bottom: -6px; font-size: 10px; font-weight: 800; color: #fff; background: var(--high); border-radius: 999px; padding: 1px 5px; }
.doc i { display: block; height: 2px; border-radius: 2px; background: var(--soft); opacity: .5; }
.doc i:nth-child(2n) { width: 70%; }
.levels { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.levels li {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px;
  font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--c); background: var(--t); border: 1.5px solid color-mix(in srgb, var(--c) 40%, transparent);
}
.levels li i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.levels li span { font-size: 16px; }
.levels .high { --c: var(--high); --t: var(--high-tint); } .levels .med { --c: var(--med); --t: var(--med-tint); } .levels .low { --c: var(--low); --t: var(--low-tint); }
.wise { margin-top: 18px; font-size: 1.15rem; font-weight: 700; }
.wise em { font-style: normal; color: var(--brand); }

/* ---------- Finder pickers ---------- */
.finder { gap: 18px; }
.finder .lucky { justify-self: start; margin-bottom: -6px; }
.pick { display: grid; gap: 10px; }
.pick-head { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.pick-head label { cursor: pointer; }
.step { width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: var(--brand-tint); color: var(--brand); }
.change { margin-left: auto; font: inherit; font-size: 14px; font-weight: 700; color: var(--brand); background: none; border: 0; cursor: pointer; padding: 4px 6px; border-radius: 6px; }
.change:hover { background: var(--brand-tint); }
.words { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--brand); }
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opt {
  font: inherit; text-align: left; cursor: pointer; color: var(--ink);
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 12px;
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 10px;
  transition: border-color .15s, background .15s;
}
.opt:hover { border-color: color-mix(in srgb, var(--brand) 50%, var(--line)); }
.opt .code { flex: none; min-width: 40px; height: 28px; padding: 0 6px; border-radius: 6px; display: grid; place-items: center; font-size: 11.5px; font-weight: 800; letter-spacing: 0.03em; color: var(--brand); background: var(--brand-tint); }
.opt .nm { font-size: 14.5px; font-weight: 600; line-height: 1.2; }
#loan-grid .opt { flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; }
.opt small { font-size: 12px; color: var(--soft); }
.opt[aria-checked="true"] { border-color: var(--brand); background: var(--brand-tint); }
.opt[aria-checked="true"] .code { background: var(--brand); color: var(--brand-ink); }
.opt-grid.collapsed { grid-template-columns: 1fr; }
.opt-grid.collapsed .opt:not([aria-checked="true"]) { display: none; }
.opt-grid.collapsed .opt[aria-checked="true"] { position: relative; padding-right: 40px; }
.opt-grid.collapsed .opt[aria-checked="true"]::after { content: "✓"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-weight: 800; color: var(--brand); }
.opt-grid.nudge { animation: nudge .5s ease; }
@keyframes nudge { 0%, 100% { transform: none; } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: var(--line); outline: none; margin: 6px 0 2px; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); border: 3px solid var(--surface); box-shadow: 0 1px 4px rgba(0,0,0,.25); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--brand); border: 3px solid var(--surface); cursor: pointer; }
.quick { display: flex; flex-wrap: wrap; gap: 6px; }
.q { font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; padding: 6px 10px; border-radius: 999px; color: var(--mute); background: var(--bg); border: 1px solid var(--line); }
.q:hover { color: var(--brand); border-color: var(--brand); }
.q.on { color: var(--brand-ink); background: var(--brand); border-color: var(--brand); }

/* ---------- Results ---------- */
.results { padding-block: 48px; background: var(--surface); border-block: 1px solid var(--line); }
.results.flash .res-head { animation: flash 1.2s ease; }
@keyframes flash { 0% { background: var(--brand-tint); } 100% { background: transparent; } }
.res-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; border-radius: 12px; }
.kicker { font-size: 14px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: 0.06em; }
.res-head h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); margin-top: 4px; }
.r-meta { color: var(--mute); margin-top: 4px; }
.level { font-weight: 800; font-size: 15px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--c); color: var(--c); background: var(--t); }
.level.high { --c: var(--high); --t: var(--high-tint); } .level.med { --c: var(--med); --t: var(--med-tint); } .level.low { --c: var(--low); --t: var(--low-tint); }

.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.nums div { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: grid; gap: 4px; }
.nums span { font-size: 14px; color: var(--mute); font-weight: 600; }
.nums b { font-size: clamp(1.3rem, 2.8vw, 1.75rem); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }

.block-title { margin-top: 36px; font-size: 1.25rem; font-weight: 800; }
.top3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.t3 { border-radius: 14px; padding: 20px; background: var(--t); border: 1px solid color-mix(in srgb, var(--c) 25%, transparent); display: grid; gap: 8px; align-content: start; }
.t3.high { --c: var(--high); --t: var(--high-tint); } .t3.med { --c: var(--med); --t: var(--med-tint); } .t3.low { --c: var(--low); --t: var(--low-tint); }
.t3-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--c); }
.t3-tag i, .risk-col h4 i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); display: inline-block; }
.t3 h4 { font-size: 1.1rem; font-weight: 800; }
.t3 p { color: var(--mute); font-size: 15.5px; }

.all { margin-top: 22px; }
.all summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--brand); padding: 12px 18px; border: 1.5px solid var(--brand); border-radius: 10px; }
.all summary::-webkit-details-marker { display: none; }
.all summary::after { content: "▾"; transition: transform .2s; }
.all[open] summary::after { transform: rotate(180deg); }
.all summary:hover { background: var(--brand-tint); }
.risk-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.risk-col { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: var(--bg); }
.risk-col.high { --c: var(--high); } .risk-col.med { --c: var(--med); } .risk-col.low { --c: var(--low); }
.risk-col h4 { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; color: var(--c); margin-bottom: 14px; }
.risk-col ul { list-style: none; display: grid; gap: 14px; }
.risk-col li b { display: block; font-size: 15.5px; font-weight: 700; }
.risk-col li p { color: var(--mute); font-size: 15px; margin-top: 2px; }

.timeline-wrap { margin-top: 26px; }
.timeline-wrap h4 { font-size: 1.05rem; font-weight: 800; margin-bottom: 14px; }
.timeline { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.timeline li { border-top: 4px solid var(--med); background: var(--bg); border-radius: 8px; padding: 12px; }
.timeline li.bad { border-top-color: var(--high); }
.timeline li b { display: block; font-size: 14.5px; }
.timeline li p { color: var(--mute); font-size: 14px; margin-top: 4px; line-height: 1.4; }
.fine { margin-top: 26px; font-size: 13.5px; color: var(--soft); max-width: 70em; }

/* ---------- How it works ---------- */
.how { padding-block: 56px; }
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); font-weight: 800; margin-bottom: 12px; }
.steps b { font-size: 1.05rem; }
.steps p { color: var(--mute); font-size: 15.5px; margin-top: 4px; }

/* ---------- Rights ---------- */
.rights { padding-block: 56px; background: var(--surface); border-block: 1px solid var(--line); }
.rights-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.rights-list { list-style: none; display: grid; gap: 14px; margin-top: 20px; }
.rights-list li { padding-left: 30px; position: relative; }
.rights-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--low-tint); color: var(--low); font-size: 13px; font-weight: 800; display: grid; place-items: center; }
.rights-list b { display: block; }
.rights-list p { color: var(--mute); font-size: 15.5px; }
.check-box { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 24px; align-self: start; }
.check-list { list-style: none; display: grid; gap: 8px; margin-top: 16px; }
.check-list label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; padding: 10px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: 15.5px; }
.check-list input { accent-color: var(--low); width: 20px; height: 20px; margin-top: 1px; flex: none; }
.check-list label:has(input:checked) { border-color: var(--low); background: var(--low-tint); }
.check-score { margin-top: 12px; font-weight: 700; color: var(--mute); }
.check-score.done { color: var(--low); }

/* ---------- Soon ---------- */
.soon { padding-block: 32px; }
.soon .wrap { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--mute); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 14px; font-weight: 600; padding: 5px 12px; border-radius: 999px; border: 1px dashed var(--line); background: var(--surface); }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding-block: 36px 44px; }
.foot-in { display: grid; gap: 10px; justify-items: center; text-align: center; }
.foot p { color: var(--mute); }
.foot-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; font-weight: 600; }
.foot-links span { color: var(--mute); user-select: all; }
.foot .disc { font-size: 13.5px; color: var(--soft); max-width: 680px; }

/* ---------- Inner pages (Terms, Contact) ---------- */
.page { max-width: 820px; padding-block: 48px 64px; }
.eyebrow { font-size: 14px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.page h1 { font-size: clamp(1.9rem, 4.5vw, 2.7rem); font-weight: 800; letter-spacing: -0.02em; }
.lede { margin-top: 12px; font-size: 1.1rem; color: var(--mute); }
.updated { margin-top: 8px; font-size: 14px; color: var(--soft); }
.tldr { margin-top: 30px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; }
.tldr h2 { font-size: 13px; letter-spacing: 0.1em; color: var(--mute); padding: 14px 20px; border-bottom: 1px solid var(--line); }
.tldr ul { list-style: none; }
.tldr li { display: grid; grid-template-columns: 136px 1fr; gap: 14px; align-items: baseline; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.tldr li:last-child { border-bottom: 0; }
.pill { white-space: nowrap; justify-self: start; font-size: 12px; font-weight: 800; letter-spacing: 0.05em; color: var(--c); background: var(--t); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); padding: 3px 10px; border-radius: 999px; }
.pill.high { --c: var(--high); --t: var(--high-tint); } .pill.med { --c: var(--med); --t: var(--med-tint); } .pill.low { --c: var(--low); --t: var(--low-tint); }
.clauses { counter-reset: cl; margin-top: 40px; display: grid; gap: 26px; }
.clause { counter-increment: cl; display: grid; grid-template-columns: 40px 1fr; gap: 4px 12px; }
.clause::before { content: counter(cl, decimal-leading-zero); font-weight: 800; font-size: 14px; color: var(--brand); padding-top: 3px; }
.clause > div { min-width: 0; }
.clause h3 { font-size: 1.1rem; font-weight: 800; }
.clause p, .clause li { color: var(--mute); margin-top: 6px; }
.clause ul { padding-left: 20px; }
.mail { color: var(--brand); font-weight: 600; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; margin-top: 30px; }
.card { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 24px; display: grid; gap: 10px; align-content: start; }
.card.primary { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); background: var(--brand-tint); }
.card h2 { font-size: 13px; letter-spacing: 0.1em; color: var(--brand); }
.card .email { font-weight: 800; font-size: clamp(1.15rem, 3vw, 1.5rem); word-break: break-all; user-select: all; }
.card p, .card li { color: var(--mute); }
.card ul { list-style: none; display: grid; gap: 8px; }
.card li::before { content: "→ "; color: var(--brand); }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.btn { font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; padding: 11px 18px; border-radius: 10px; border: 1.5px solid var(--brand); background: var(--brand); color: var(--brand-ink); }
.btn.ghost { background: transparent; color: var(--brand); }
.btn:hover { text-decoration: none; filter: brightness(1.06); }
.safe-note { margin-top: 14px; border: 1px solid color-mix(in srgb, var(--high) 35%, transparent); background: var(--high-tint); border-radius: 14px; padding: 16px 20px; color: var(--mute); }
.safe-note b { color: var(--high); }

/* ---------- Blog ---------- */
.post-list { display: grid; gap: 14px; margin-top: 30px; }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; display: grid; gap: 6px; transition: border-color .15s, transform .15s; }
.post-card:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); transform: translateY(-2px); }
.post-card h2 { font-size: 1.3rem; }
.post-card h2 a { color: var(--ink); }
.post-card p { color: var(--mute); }
.post-tag { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--brand) !important; }
.post-meta { font-size: 14px; color: var(--soft) !important; }
.article { max-width: 740px; }
.article .eyebrow a { color: inherit; }
.article h2 { font-size: 1.4rem; margin-top: 34px; }
.article p, .article li { color: var(--mute); font-size: 17.5px; line-height: 1.7; }
.article p { margin-top: 12px; }
.article ul, .article ol { margin-top: 10px; padding-left: 22px; display: grid; gap: 8px; }
.article b { color: var(--ink); }
.article .lede { font-size: 1.15rem; color: var(--ink); margin-top: 18px; }
.post-cta { margin-top: 40px; padding: 22px 24px; border-radius: 14px; background: var(--brand-tint); border: 1px solid color-mix(in srgb, var(--brand) 35%, var(--line)); display: grid; gap: 12px; justify-items: start; }
.post-cta p { margin: 0 !important; color: var(--ink) !important; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-in, .rights-grid { grid-template-columns: 1fr; gap: 28px; }
  .finder { max-width: 560px; }
  .top3, .risk-cols, .steps { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top-nav { display: none; }
  .tag { font-size: 11.5px; }
  .hero { padding-block: 24px 36px; }
  .lucky { font-size: 12.5px; margin-bottom: 14px; }
  .sub { font-size: 1.02rem; margin-top: 12px; }
  .trust { margin-top: 14px; font-size: 14px; }
  .finder { padding: 18px; border-radius: 14px; }
  .top-in { padding-block: 10px; }
  .brand-row { gap: 10px; }
  .logo { font-size: 22px; }
  .decode-btn { padding: 6px 11px 5px; }
  .decode-btn b { font-size: 15px; }
  .decode-btn small { font-size: 9px; letter-spacing: 0.16em; }
  .worry { padding: 12px 14px; margin-bottom: 16px; }
  .worry p { font-size: 14.5px; }
  .levels { gap: 6px; }
  .levels li { font-size: 12.5px; padding: 7px 10px; gap: 6px; }
  .wise { font-size: 1.02rem; margin-top: 14px; }
  .opt .nm { font-size: 13.5px; }
  .opt { padding: 8px 10px; gap: 8px; }
  .nums { grid-template-columns: 1fr; }
  .nums div { display: flex; justify-content: space-between; align-items: baseline; }
  .tldr li { grid-template-columns: 1fr; gap: 6px; }
  .clause { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* Blog: newest post highlight */
.post-card.latest { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: var(--shadow); }
.post-tag .new { display: inline-block; margin-right: 6px; padding: 2px 8px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font-size: 11px; letter-spacing: 0.06em; }
