/* /check campaign page. Tokens mirror /v2/css/styles.css (AGE AI brand v1).
   Shape system: cards 16-20px, buttons 12px, chips and promo full-pill. One accent (--c-primary). */
:root {
    --c-primary: #E49B72;
    --c-primary-ink: #9C5A34;
    --c-bg: #F7F6F4;
    --c-surface: #FFFFFF;
    --c-border: #E9E7E3;
    --c-text: #26252A;
    --c-muted: #5C5F66;
    --c-dark: #42454B;
    --c-on-dark: #F7F6F4;
    --c-panel: #26252A;
    --c-panel-text: #F3F1EC;
    --r-card: 16px;
    --r-panel: 22px;
    --r-btn: 12px;
    --shadow: 0 1px 2px rgba(38,37,42,.04), 0 10px 28px -14px rgba(38,37,42,.16);
    --shadow-hover: 0 2px 4px rgba(38,37,42,.05), 0 20px 40px -18px rgba(38,37,42,.24);
    --ease: cubic-bezier(.16, 1, .3, 1);
}
.dark {
    --c-primary: #E9A87D;
    --c-primary-ink: #F3C7A6;
    --c-bg: #201F1D;
    --c-surface: #2A2926;
    --c-border: #35332F;
    --c-text: #F3F1EC;
    --c-muted: #C7C4BC;
    --c-dark: #F3F1EC;
    --c-on-dark: #201F1D;
    --c-panel: #2A2926;
    --c-panel-text: #F3F1EC;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 28px -14px rgba(0,0,0,.5);
    --shadow-hover: 0 2px 4px rgba(0,0,0,.35), 0 20px 40px -18px rgba(0,0,0,.6);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
    margin: 0; background: var(--c-bg); color: var(--c-text);
    font-family: 'Heebo', 'Inter', system-ui, sans-serif; font-size: 16px; line-height: 1.6;
    overflow-x: hidden; -webkit-font-smoothing: antialiased;
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
}
::selection { background: color-mix(in srgb, var(--c-primary) 35%, transparent); }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
.btn, .lang-btn, .theme-btn, .logo, .dock a { touch-action: manipulation; -webkit-touch-callout: none; }
.btn, .lang-btn, .theme-btn { user-select: none; -webkit-user-select: none; }
h1, h2, h3, p, li, .tier-n { overflow-wrap: anywhere; }
[data-price]:empty { display: none; }
.lang-btn:active, .theme-btn:active { transform: scale(.96); }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
section { padding: 36px 0; }

/* header */
.bar { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--c-bg) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color 200ms ease; }
.bar.scrolled { border-bottom-color: var(--c-border); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 60px; }
#top-sentinel { position: absolute; top: 0; height: 1px; width: 1px; }
.logo { display: flex; align-items: center; gap: 9px; flex: none; white-space: nowrap; font-weight: 800; letter-spacing: -.01em; text-decoration: none; }
.logo img { width: 30px; height: 30px; }
.tools { display: flex; align-items: center; gap: 6px; direction: ltr; }
.seg { display: flex; gap: 2px; padding: 3px; background: var(--c-border); border-radius: var(--r-btn); }
.lang-btn, .theme-btn { min-height: 38px; border: 0; background: transparent; cursor: pointer; color: var(--c-muted); font: 600 13px/1 'Heebo', 'Inter', sans-serif; border-radius: 9px; transition: background-color 150ms ease, color 150ms ease; }
a.lang-btn { display: inline-flex; align-items: center; justify-content: center; padding: 0 11px; text-decoration: none; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { a.lang-btn:hover { color: var(--c-text); } }
.lang-btn[aria-current="page"] { color: var(--c-text); font-weight: 800; background: var(--c-surface); box-shadow: var(--shadow); }
.theme-btn { width: 38px; display: grid; place-items: center; }
@media (hover: hover) and (pointer: fine) { .theme-btn:hover { background: var(--c-border); color: var(--c-text); } }
.theme-btn svg { width: 18px; height: 18px; }
:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }

/* buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 54px; padding: 12px 28px; border-radius: var(--r-btn);
    background: var(--c-dark); color: var(--c-on-dark);
    font: 700 1.05rem/1.2 'Heebo', 'Inter', sans-serif; text-decoration: none; white-space: nowrap;
    transition: transform 140ms var(--ease), box-shadow 200ms ease, background-color 150ms ease;
}
@media (hover: hover) and (pointer: fine) { .btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-hover); } }
.btn:active { transform: scale(.97); box-shadow: none; }
.btn svg { width: 22px; height: 22px; color: #25D366; flex: none; }
.btn-sm { min-height: 48px; padding: 10px 18px; font-size: .97rem; margin-top: auto; width: 100%; }
.btn-accent { background: var(--c-primary); color: #26252A; }
.btn-accent svg { color: #26252A; }
.hint { margin-top: 12px; font-size: .85rem; color: var(--c-muted); }

/* hero */
.hero { display: grid; gap: 28px; padding: 28px 0 24px; align-items: center; }
h1 { font-size: clamp(2rem, 8.4vw, 3.25rem); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
h1 mark { background: linear-gradient(transparent 62%, color-mix(in srgb, var(--c-primary) 45%, transparent) 62% 92%, transparent 92%); color: inherit; padding: 0 .08em; border-radius: 2px; }
.sub { color: var(--c-muted); font-size: 1.1rem; max-width: 26em; margin-bottom: 24px; }
.btn-hero { min-height: 58px; padding-inline: 32px; width: 100%; }
.hero-art { display: grid; place-items: center; }
.ring { width: min(78vw, 330px); height: auto; overflow: visible; }
.ring .trk { fill: none; stroke: var(--c-border); stroke-width: 9; stroke-linecap: round; }
.ring .arc { fill: none; stroke: var(--c-primary); stroke-width: 9; stroke-linecap: round; }
.ring .nb { fill: var(--c-surface); stroke: var(--c-border); stroke-width: 1.5; }
.ring .node use { color: var(--c-dark); }
.ring .rn { font: 800 64px/1 'Heebo', 'Inter', sans-serif; fill: var(--c-text); letter-spacing: -.03em; }
.ring .rl { font: 600 15px/1 'Heebo', 'Inter', sans-serif; fill: var(--c-muted); }
@media (prefers-reduced-motion: no-preference) {
    .ring .arc { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .7s var(--ease) forwards; animation-delay: calc(.3s + var(--i) * .11s); }
    .ring .node { opacity: 0; transform-box: fill-box; transform-origin: center; animation: pop .5s var(--ease) forwards; animation-delay: calc(.2s + var(--i) * .11s); }
    @keyframes draw { to { stroke-dashoffset: 0; } }
    @keyframes pop { from { opacity: 0; transform: scale(.55); } to { opacity: 1; transform: none; } }
    .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .42s var(--ease), transform .42s var(--ease); transition-delay: calc(var(--d, 0) * 50ms); }
    .js .reveal.in { opacity: 1; transform: none; }
}

/* shared section type */
h2 { font-size: 1.5rem; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; margin-bottom: 8px; }
.lead { color: var(--c-muted); margin-bottom: 22px; max-width: 34em; }

/* what we check: seven chips */
.chips7 { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips7 li { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 16px 8px 14px; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 999px; box-shadow: var(--shadow); font-weight: 700; }
.chips7 .ico { width: 22px; height: 22px; color: var(--c-dark); flex: none; }

/* sample report (an illustration, labelled as such) */
.sample { position: relative; max-width: 460px; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-panel); padding: 22px 20px 18px; box-shadow: var(--shadow); margin-top: 16px; }
.sample-tag { position: absolute; top: -12px; inset-inline-start: 18px; background: var(--c-primary); color: #26252A; font-size: .8rem; font-weight: 800; padding: 3px 12px; border-radius: 999px; }
.sample h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 10px; }
.sample h4 { font-size: .95rem; font-weight: 800; margin: 16px 0 6px; }
.rep-rows, .rep-fix { list-style: none; margin: 0; padding: 0; }
.rep-rows li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--c-border); font-size: .95rem; }
.rn-n { font-weight: 700; }
.rn-s { display: inline-flex; align-items: center; gap: 8px; color: var(--c-muted); text-align: end; }
.rn-s i { font-style: normal; font-weight: 800; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; flex: none; }
.st-ok .rn-s i { background: #2f7d4f; color: #fff; }
.st-warn .rn-s i { background: #c98a1b; color: #fff; }
.st-miss .rn-s i { background: #b3402f; color: #fff; }
.rep-fix { display: grid; gap: 6px; font-size: .95rem; }
.rep-fix li { padding-inline-start: 18px; position: relative; }
.rep-fix li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--c-primary); }
.sample-note { margin-top: 14px; font-size: .85rem; color: var(--c-muted); }

/* how */
.steps { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 0; counter-reset: s; }
.steps li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; position: relative; }
.steps li + li { border-top: 1px solid var(--c-border); }
.steps .num { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: color-mix(in srgb, var(--c-primary) 20%, transparent); color: var(--c-primary-ink); font-variant-numeric: tabular-nums; }
.steps p { padding-top: 5px; font-weight: 500; }

/* about */
.col { max-width: 720px; }
.about { display: flex; gap: 18px; align-items: center; padding: 20px; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-panel); box-shadow: var(--shadow); }
.avatar { flex: none; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; font-weight: 800; color: var(--c-primary-ink); background: color-mix(in srgb, var(--c-primary) 22%, var(--c-surface)); border: 1px solid var(--c-border); }
img.avatar { object-fit: cover; }
.about h2 { font-size: .8rem; font-weight: 700; color: var(--c-muted); margin-bottom: 2px; letter-spacing: .02em; }
.about h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 4px; }
.about p { color: var(--c-muted); }

/* final */
.final-wrap { padding-top: 20px; }
.final { background: var(--c-panel); color: var(--c-panel-text); border-radius: var(--r-panel); padding: 36px 20px 30px; text-align: center; box-shadow: var(--shadow); }
.final h2 { margin-bottom: 20px; font-size: clamp(1.5rem, 6vw, 2rem); }
.final .hint { color: color-mix(in srgb, var(--c-panel-text) 70%, transparent); }
.final .btn { width: 100%; max-width: 420px; }

/* footer */
footer { padding: 24px 20px 36px; text-align: center; font-size: .82rem; color: var(--c-muted); }
footer a { text-decoration: none; display: inline-block; overflow-wrap: anywhere; max-width: 100%; padding: 6px 0; }
@media (hover: hover) and (pointer: fine) { footer a:hover { text-decoration: underline; } }
footer .sep { margin: 0 8px; opacity: .5; }
.copy { margin-top: 10px; }

/* simple pages (/cancel, /projects) */
.simple section { padding-top: 28px; max-width: 640px; }
.simple h1.plain { font-size: clamp(1.8rem, 7vw, 2.4rem); margin-bottom: 14px; }
.simple p { margin-bottom: 12px; }
.simple h2 { margin-top: 24px; }
.acts { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
@media (min-width: 560px) { .acts { flex-direction: row; } }
.btn-ghost { background: transparent; color: var(--c-text); border: 1.5px solid var(--c-border); }
.projs { display: grid; gap: 14px; margin: 18px 0; }
.proj-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.chip-s { font-size: .8rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--c-border); color: var(--c-text); }
.proj-h h2 { font-size: 1.15rem; margin: 0; }
.tags { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .8rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--c-border); color: var(--c-muted); }
.tool-links a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.tool-links .sep { margin: 0 8px; opacity: .5; }

/* mobile dock: one-tap WhatsApp after the hero, hidden near the final CTA */
.dock { position: fixed; inset-inline: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--c-bg) 88%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--c-border); transform: translateY(110%); visibility: hidden; transition: transform .28s var(--ease), visibility 0s linear .28s; }
.dock.on { transform: none; visibility: visible; transition: transform .28s var(--ease); }
.btn-dock { width: 100%; min-height: 52px; }
@media (prefers-reduced-motion: reduce) { .dock, .dock.on { transition: none; } html { scroll-behavior: auto; } .btn, .card { transition: none; } }

/* tablet and up */
@media (min-width: 640px) { .btn-hero, .final .btn { width: auto; } }
@media (min-width: 900px) {
    body { padding-bottom: 0; }
    .dock { display: none; }
    section { padding: 56px 0; }
    .hero { grid-template-columns: 1.15fr .85fr; gap: 48px; padding: 56px 0 40px; }
    .ring { width: 360px; }
    .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .steps li { flex-direction: column; border: 1px solid var(--c-border); border-radius: var(--r-card); padding: 20px; background: var(--c-surface); box-shadow: var(--shadow); }
    .steps li + li { border-top: 1px solid var(--c-border); }
    .final { padding: 56px 24px 48px; }
    .projs { grid-template-columns: 1fr 1fr; max-width: none; }
}

/* shared cookie banner is unreadable in dark mode (dark text on dark card): local override only */
.dark #age-consent .ac-card { color: #F3F1EC !important; }
.dark #age-consent .ac-body { color: #C7C4BC !important; }
.dark #age-consent .ac-card a { color: #E9A87D !important; }

/* narrow phones (360px) */
.hero-copy { min-width: 0; }
@media (max-width: 400px) {
    .wrap { padding-inline: 16px; }
    .top { gap: 4px; }
    .logo { gap: 7px; }
    .tools { gap: 4px; }
    a.lang-btn { padding: 0 8px; font-size: 12.5px; }
    .theme-btn { width: 34px; }
    .btn { padding-inline: 18px; font-size: 1rem; white-space: normal; text-align: center; }
}
@media (max-width: 345px) {
    .logo span { display: none; }
    a.lang-btn { padding: 0 6px; font-size: 12px; }
}
/* /check sections that carry the shared landing blocks stay on the page background */
.wrap .pz-minis, .wrap .pz-faq, .wrap .pz-launch, .wrap .pz-all { margin-inline: 0; }
.terms-ok a { text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
