/* LoyalTee marketing site. Loads after tokens.css.
   CSP: no inline styles anywhere, so every colour and size lives here. */

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { overflow-x: hidden; }
main { display: block; }
h1, h2, h3 { text-wrap: balance; }
.lead { text-wrap: pretty; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { width: 100%; max-width: 780px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 760px) { .wrap, .wrap-narrow { padding: 0 32px; } }

.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-fill { fill: currentColor; stroke: none; }

/* ---------- Type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--raspberry); }
@media (prefers-color-scheme: dark) { .eyebrow { color: #FF7A9F; } }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--brand-grad); }
.h-hero { font-size: clamp(46px, 10.5vw, 88px); line-height: .96; letter-spacing: -.045em; font-weight: 780; }
.h-sec { font-size: clamp(34px, 6.4vw, 58px); line-height: 1; letter-spacing: -.04em; font-weight: 760; }
.h-sub { font-size: clamp(24px, 3.4vw, 32px); line-height: 1.1; letter-spacing: -.03em; font-weight: 720; }
.lead { font-size: clamp(18px, 2.2vw, 21px); line-height: 1.5; color: var(--ink-2); letter-spacing: -.01em; }
.muted { color: var(--ink-2); }
.center { text-align: center; }
.sec-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: 48px; }
.sec-head.center { margin-left: auto; margin-right: auto; justify-items: center; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--line-2); padding-bottom: 2px; transition: border-color .2s, gap .2s var(--ease); }
.text-link:hover { border-color: var(--raspberry); gap: 9px; }
.text-link .ico { width: 18px; height: 18px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 60; background: var(--nav-bg); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled, .nav.is-open { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 18px; height: 66px; }
.brand { display: inline-flex; align-items: center; flex: none; border-radius: 10px; }
.brand img { height: 30px; width: auto; }
.nav-links { display: none; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a { padding: 9px 14px; border-radius: var(--r-pill); color: var(--ink-2); text-decoration: none; font-size: 15.5px; font-weight: 600; transition: color .15s, background-color .15s; }
.nav-links a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-cta { display: none; align-items: center; gap: 10px; }
.nav-toggle { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: var(--ink); }
.nav-toggle:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.nav-toggle .i-close { display: none; }
.nav.is-open .nav-toggle .i-close { display: block; }
.nav.is-open .nav-toggle .i-open { display: none; }
.nav-sheet { display: none; padding: 8px 0 22px; border-top: 1px solid var(--line); }
.nav.is-open .nav-sheet { display: block; }
.nav-sheet a:not(.btn) { display: block; padding: 14px 4px; font-size: 19px; font-weight: 650; text-decoration: none; border-bottom: 1px solid var(--line); }
.nav-sheet .btns { display: grid; gap: 10px; margin-top: 18px; }
@media (min-width: 940px) {
  .nav-links, .nav-cta { display: flex; }
  .nav-cta { margin-left: 8px; }
  .nav-toggle, .nav-sheet, .nav.is-open .nav-sheet { display: none; }
}

/* ---------- Sections ---------- */
.sec { padding: 84px 0; position: relative; }
@media (min-width: 900px) { .sec { padding: 120px 0; } }
.sec-tight { padding-top: 0; }
.sec-alt { background: var(--surface-2); }
@media (prefers-color-scheme: dark) { .sec-alt { background: var(--bg-2); } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 48px 0 72px; overflow: hidden; }
@media (min-width: 900px) { .hero { padding: 72px 0 110px; } }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; filter: blur(10px); }
.hero::before { width: 720px; height: 720px; right: -260px; top: -260px; background: radial-gradient(circle, rgba(255, 107, 53, .30), rgba(229, 48, 110, .12) 45%, transparent 70%); }
.hero::after { width: 520px; height: 520px; left: -260px; bottom: -280px; background: radial-gradient(circle, rgba(255, 176, 32, .20), transparent 65%); }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 56px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 40px; } }
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.hero-copy .lead { max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 6px; }
@media (max-width: 520px) { .hero-copy .hero-ctas, .cta-panel .hero-ctas { width: 100%; } .hero-copy .hero-ctas .btn, .cta-panel .hero-ctas .btn { flex: 1 1 100%; } }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14.5px; color: var(--ink-2); }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note .ico { width: 17px; height: 17px; color: var(--mint); stroke-width: 2.6; }
.page-hero { padding: 56px 0 24px; position: relative; overflow: hidden; }
@media (min-width: 900px) { .page-hero { padding: 88px 0 40px; } }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero::before { content: ""; position: absolute; width: 640px; height: 640px; right: -240px; top: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 107, 53, .22), rgba(229, 48, 110, .08) 50%, transparent 70%); pointer-events: none; }

/* ---------- Phone mockup ---------- */
.stage { position: relative; display: flex; justify-content: center; padding: 10px 0 20px; }
.phone { position: relative; width: 292px; aspect-ratio: 292 / 600; border-radius: 50px; padding: 11px; background: linear-gradient(160deg, #2A2431, #0B090E 40%); box-shadow: var(--shadow-3), 0 0 0 1px rgba(255, 255, 255, .06) inset, 0 50px 100px -40px rgba(229, 48, 110, .35); z-index: 2; }
@media (min-width: 420px) { .phone { width: 310px; } }
.phone::before { content: ""; position: absolute; left: 50%; top: 21px; width: 92px; height: 26px; margin-left: -46px; border-radius: 20px; background: #000; z-index: 5; }
.screen { position: relative; height: 100%; border-radius: 40px; overflow: hidden; background: var(--bg); display: flex; flex-direction: column; padding: 14px 14px 0; }
.status { display: flex; justify-content: space-between; align-items: center; height: 26px; padding: 0 14px; font-size: 13px; font-weight: 700; letter-spacing: -.01em; }
.status-icons { display: flex; gap: 5px; align-items: center; }
.status-icons i { display: block; width: 16px; height: 9px; border-radius: 2.5px; border: 1.6px solid currentColor; position: relative; }
.status-icons i::after { content: ""; position: absolute; inset: 1px 3px 1px 1px; border-radius: 1px; background: currentColor; }
.status-icons b { display: block; width: 14px; height: 9px; background: linear-gradient(90deg, currentColor 0 18%, transparent 18% 27%, currentColor 27% 45%, transparent 45% 54%, currentColor 54% 72%, transparent 72% 81%, currentColor 81%); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.w-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px 12px; }
.w-head h3 { font-size: 27px; letter-spacing: -.035em; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 750; font-size: 15px; color: #fff; background: var(--brand-grad); }
.w-code { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: var(--ink); color: var(--bg); font-weight: 650; font-size: 14px; margin-bottom: 14px; }
.w-code .ico { width: 20px; height: 20px; }
.w-code span { white-space: nowrap; }
.w-code small { margin-left: auto; font-size: 11.5px; opacity: .65; font-weight: 600; white-space: nowrap; }
.stack { position: relative; display: flex; flex-direction: column; }

/* Wallet cards (also used on the business page) */
.wcard { position: relative; border-radius: 20px; padding: 14px 16px 16px; color: #fff; box-shadow: 0 -1px 0 rgba(255, 255, 255, .25) inset, 0 12px 24px -14px rgba(0, 0, 0, .45); overflow: hidden; }
.wcard::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 10% 0%, rgba(255, 255, 255, .22), transparent 55%); pointer-events: none; }
.stack .wcard { height: 172px; }
.stack .wcard + .wcard { margin-top: -118px; }
.stack .wcard:last-child { height: auto; }
.w-row { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); font-size: 12.5px; line-height: 1.25; }
.w-row .gi { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, #FFC14D, #F08C00); flex: none; }
.w-row .gi .ico { width: 16px; height: 16px; stroke-width: 2.4; }
.w-row b { display: block; font-size: 13px; }
.w-row span span { color: var(--ink-2); }
.wc-top { display: flex; align-items: center; gap: 10px; position: relative; z-index: 1; }
.wc-badge { width: 32px; height: 32px; border-radius: 10px; background: rgba(255, 255, 255, .95); display: grid; place-items: center; flex: none; }
.wc-badge .ico { width: 18px; height: 18px; stroke-width: 2.2; }
.wc-name { font-family: var(--display); font-weight: 720; font-size: 16.5px; letter-spacing: -.02em; line-height: 1.1; }
.wc-name small { display: block; font-family: var(--font); font-weight: 500; font-size: 12px; opacity: .82; letter-spacing: 0; margin-top: 2px; }
.wc-count { margin-left: auto; font-weight: 750; font-size: 14px; background: rgba(255, 255, 255, .2); padding: 4px 9px; border-radius: 999px; }
.dots { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 16px; }
.dots i { display: block; aspect-ratio: 1; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .12); }
.dots i.o { background: transparent; box-shadow: inset 0 0 0 2.5px rgba(255, 255, 255, .6); }
.dots i.gift { background: rgba(255, 255, 255, .18); box-shadow: inset 0 0 0 2.5px rgba(255, 255, 255, .85); display: grid; place-items: center; }
.dots i.gift .ico { width: 58%; height: 58%; color: #fff; stroke-width: 2.4; }
.dots i.new { animation: stampIn 4.8s var(--spring) infinite; }
.wc-foot { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: 12.5px; font-weight: 600; opacity: .9; }
.wc-points { position: relative; z-index: 1; margin-top: 18px; display: flex; align-items: baseline; gap: 6px; }
.wc-points b { font-family: var(--display); font-size: 40px; font-weight: 760; letter-spacing: -.04em; line-height: 1; }
.wc-points span { font-size: 13px; font-weight: 650; opacity: .85; }
.wc-bar { position: relative; z-index: 1; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .25); margin-top: 12px; overflow: hidden; }
.wc-bar i { display: block; height: 100%; width: 72%; border-radius: inherit; background: #fff; }

.t-sunset { background: linear-gradient(140deg, var(--tangerine), var(--raspberry)); }
.t-sunset .wc-badge { color: var(--raspberry); }
.t-mint { background: linear-gradient(140deg, #19C37D, #0B8A6A); }
.t-mint .wc-badge { color: #0B8A6A; }
.t-violet { background: linear-gradient(140deg, #8B5CF6, #5B3FD9); }
.t-violet .wc-badge { color: #5B3FD9; }
.t-ink { background: linear-gradient(140deg, #3A3344, #17131F); }
.t-ink .wc-badge { color: #17131F; }
.t-sky { background: linear-gradient(140deg, #3B9BFF, #2563EB); }
.t-sky .wc-badge { color: #2563EB; }
.t-gold { background: linear-gradient(140deg, #FFC14D, #F08C00); }
.t-gold .wc-badge { color: #C46F00; }
.t-berry { background: linear-gradient(140deg, #F0507E, #B0246A); }
.t-berry .wc-badge { color: #B0246A; }

@keyframes stampIn {
  0%, 12% { transform: scale(2.1) rotate(-14deg); opacity: 0; background: #fff; }
  22% { transform: scale(.86) rotate(4deg); opacity: 1; }
  30% { transform: scale(1.06) rotate(0); }
  36%, 100% { transform: none; opacity: 1; }
}

/* Floating chips beside the phone */
.float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 11px 14px 11px 11px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-3), inset 0 0 0 1px var(--line); font-size: 14px; line-height: 1.25; }
.float b { display: block; font-weight: 700; }
.float span { color: var(--ink-2); font-size: 12.5px; }
.float .fi { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex: none; }
.float .fi .ico { width: 20px; height: 20px; stroke-width: 2.6; }
.fi-ok { background: var(--mint); }
.fi-gold { background: linear-gradient(140deg, #FFC14D, #F08C00); }
.float-a { left: -6px; top: 34%; animation: floatIn 4.8s var(--ease) infinite; }
.float-b { right: -10px; bottom: 15%; }
@media (min-width: 560px) { .float-a { left: 2%; } .float-b { right: 2%; } }
@media (min-width: 980px) { .float-a { left: -24px; } .float-b { right: -12px; } }
@keyframes floatIn {
  0%, 20% { opacity: 0; transform: translateY(10px) scale(.96); }
  28%, 86% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; transform: translateY(-6px); }
}
@media (max-width: 400px) { .float { font-size: 13px; padding: 9px 12px 9px 9px; } .float .fi { width: 32px; height: 32px; } .float-b { bottom: 8%; } }

/* ---------- Chips ---------- */
.made-for { padding: 26px 0 8px; }
.made-for .wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.made-for p { font-size: 14px; font-weight: 650; color: var(--ink-3); letter-spacing: .02em; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 760px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); font-size: 15px; font-weight: 620; }
.chip .ico { width: 19px; height: 19px; color: var(--raspberry); }
@media (prefers-color-scheme: dark) { .chip .ico { color: #FF7A9F; } }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 18px; counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.steps.four { }
@media (min-width: 820px) { .steps.four { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps.four { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; display: grid; gap: 12px; align-content: start; padding: 28px 26px 30px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); }
.step-num { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; font-family: var(--display); font-weight: 760; font-size: 18px; color: #fff; background: var(--brand-grad); box-shadow: var(--shadow-brand); }
.step h3 { font-size: 23px; letter-spacing: -.03em; margin-top: 6px; }
.step p { color: var(--ink-2); font-size: 16px; }
.step-art { height: 120px; margin: 4px 0 8px; border-radius: var(--r); background: var(--surface-2); display: grid; place-items: center; overflow: hidden; position: relative; }
@media (prefers-color-scheme: dark) { .step-art { background: var(--bg-2); } }

/* small illustrations inside steps */
.mini-poster { width: 86px; height: 104px; border-radius: 10px; background: #fff; box-shadow: var(--shadow-2); display: grid; justify-items: center; align-content: center; gap: 6px; padding: 8px; }
.mini-poster svg.qr { width: 52px; height: 52px; }
.mini-poster i { display: block; height: 5px; width: 54px; border-radius: 3px; background: #E4DEE6; }
.mini-poster i.b { background: var(--brand-grad); width: 40px; }
.mini-scan { position: relative; width: 104px; height: 80px; }
.mini-scan .ph { position: absolute; left: 6px; top: 6px; width: 54px; height: 76px; border-radius: 12px; background: #17131F; padding: 7px; box-shadow: var(--shadow-2); }
.mini-scan .ph svg { width: 40px; height: 40px; background: #fff; border-radius: 5px; padding: 2px; margin-top: 9px; }
.mini-scan .ok { position: absolute; right: 2px; top: 18px; width: 44px; height: 44px; border-radius: 50%; background: var(--mint); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 20px -8px rgba(15, 169, 104, .7); }
.mini-scan .ok .ico { stroke-width: 3; }
.mini-reward { display: grid; justify-items: center; gap: 8px; }
.mini-reward .gift { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, #FFC14D, #F08C00); box-shadow: 0 14px 26px -12px rgba(240, 140, 0, .8); }
.mini-reward .gift .ico { width: 30px; height: 30px; }
.mini-reward span { font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: color-mix(in srgb, var(--mint) 15%, transparent); color: var(--mint); }

/* ---------- Dark band: one code ---------- */
.band { background: #17131F; color: #F8F3EE; overflow: hidden; }
@media (prefers-color-scheme: dark) { .band { background: #15111B; box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); } }
.band .lead, .band .muted { color: #B9B1C2; }
.band .eyebrow { color: #FF8A6B; }
.band-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .band-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.band-grid .copy { display: grid; gap: 20px; }
.ticks { display: grid; gap: 14px; margin-top: 8px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; }
.ticks .ico { width: 22px; height: 22px; padding: 3px; border-radius: 50%; color: #fff; background: var(--mint); stroke-width: 3; margin-top: 1px; }
.ticks b { font-weight: 700; }
.live { position: relative; display: grid; justify-items: center; gap: 22px; }
.live::before { content: ""; position: absolute; width: 460px; height: 460px; top: 50%; left: 50%; margin: -250px 0 0 -230px; border-radius: 50%; background: radial-gradient(circle, rgba(240, 74, 82, .38), transparent 62%); pointer-events: none; }
.qr-wrap { position: relative; width: 280px; height: 280px; display: grid; place-items: center; }
@media (min-width: 420px) { .qr-wrap { width: 312px; height: 312px; } }
.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 5; }
.ring .track { stroke: rgba(255, 255, 255, .12); }
.ring .prog { stroke: url(#ringGrad); stroke-linecap: round; stroke-dasharray: 302; stroke-dashoffset: 0; animation: ring 12s linear infinite; }
@keyframes ring { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 302; } }
.qr-card { position: relative; width: 78%; aspect-ratio: 1; border-radius: 28px; background: #fff; padding: 14px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.qr-card svg.qr { width: 100%; height: 100%; }
.qr-card .qr path { fill: #17131F; transition: opacity .35s var(--ease); }
.qr-card .qr path.alt { opacity: 0; }
.qr-card .qr.s2 path.p1, .qr-card .qr.s3 path.p1 { opacity: 0; }
.qr-card .qr.s2 path.p2, .qr-card .qr.s3 path.p3 { opacity: 1; }
.qr-logo { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 12px; background: #fff; padding: 4px; }
.qr-logo img { width: 100%; height: 100%; }
.live-meta { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; }
.live-meta b { font-size: 17px; }
.live-meta b span { font-variant-numeric: tabular-nums; }
.live-meta small { font-size: 13px; color: #8B8397; }
.member-code { font-family: var(--mono); letter-spacing: .18em; font-size: 15px; padding: 6px 12px; border-radius: 10px; background: rgba(255, 255, 255, .08); color: #F8F3EE; }

/* ---------- Feature grid ---------- */
.features { display: grid; gap: 16px; }
@media (min-width: 680px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .features.four { grid-template-columns: repeat(4, 1fr); } .features.three { grid-template-columns: repeat(3, 1fr); } }
.feature { display: grid; gap: 10px; align-content: start; padding: 26px 24px 28px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); }
.feature .fico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 8px; color: var(--raspberry); background: color-mix(in srgb, var(--raspberry) 11%, transparent); }
@media (prefers-color-scheme: dark) { .feature .fico { color: #FF7A9F; background: color-mix(in srgb, var(--raspberry) 20%, transparent); } }
.feature h3 { font-size: 21px; letter-spacing: -.025em; }
.feature p { color: var(--ink-2); font-size: 15.5px; }

/* ---------- Business band ---------- */
.biz { display: grid; gap: 18px; }
@media (min-width: 860px) { .biz { grid-template-columns: 1fr 1fr; } .biz .tile-designer { grid-column: 1 / -1; } }
@media (min-width: 1040px) { .biz .tile-designer { grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; padding: 40px; } .biz .tile-designer .ui { margin-top: 0; } }
.tile-copy { display: grid; gap: 12px; align-content: start; }
.tile-copy p { color: var(--ink-2); font-size: 16px; max-width: 460px; }
.sec-cta { margin-top: 36px; }
.after-link { margin-top: 36px; }
.tile { position: relative; overflow: hidden; display: grid; gap: 12px; align-content: start; padding: 28px 26px; border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); }
.tile h3 { font-size: 25px; letter-spacing: -.03em; }
.tile > p { color: var(--ink-2); font-size: 16px; max-width: 460px; }
.tile .ui { margin-top: 14px; }

/* Card designer mock */
.designer { display: grid; gap: 18px; padding: 18px; border-radius: var(--r-lg); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
@media (prefers-color-scheme: dark) { .designer { background: var(--bg-2); } }
@media (min-width: 560px) { .designer { grid-template-columns: 1fr 1fr; align-items: center; } }
.d-controls { display: grid; gap: 14px; }
.d-label { font-size: 12px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 7px; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatches i { width: 28px; height: 28px; border-radius: 50%; display: block; }
.swatches i.on { box-shadow: 0 0 0 2.5px var(--surface-2), 0 0 0 4.5px var(--ink); }
@media (prefers-color-scheme: dark) { .swatches i.on { box-shadow: 0 0 0 2.5px var(--bg-2), 0 0 0 4.5px var(--ink); } }
.icons-pick { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.icons-pick span { aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center; background: var(--surface); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.icons-pick span .ico { width: 18px; height: 18px; }
.icons-pick span.on { color: #fff; background: var(--brand-grad); box-shadow: none; }
.fake-input { padding: 10px 12px; border-radius: 11px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line-2); font-size: 14.5px; font-weight: 550; display: flex; justify-content: space-between; align-items: center; }
.fake-input em { font-style: normal; color: var(--ink-3); font-size: 13px; }
.caret { display: inline-block; width: 1.5px; height: 16px; background: var(--focus); margin-left: 2px; vertical-align: -3px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.d-preview .wcard { box-shadow: var(--shadow-3); }
.d-preview .wcard .dots { gap: 7px; }

/* Counter mock */
.counter-ui { display: grid; gap: 12px; padding: 16px; border-radius: var(--r-lg); background: #17131F; color: #F8F3EE; }
.viewfinder { position: relative; height: 128px; border-radius: 16px; background: radial-gradient(circle at 50% 40%, #3A3344, #121016 75%); display: grid; place-items: center; overflow: hidden; }
.viewfinder .frame { width: 84px; height: 84px; position: relative; }
.viewfinder .frame::before, .viewfinder .frame::after { content: ""; position: absolute; inset: 0; border: 3px solid #fff; border-radius: 14px; clip-path: polygon(0 0, 30% 0, 30% 100%, 0 100%, 0 70%, 100% 70%, 100% 100%, 70% 100%, 70% 0, 100% 0, 100% 30%, 0 30%); }
.viewfinder .laser { position: absolute; left: 16%; right: 16%; height: 2px; background: linear-gradient(90deg, transparent, #FF6B35, transparent); top: 30%; animation: laser 2.4s ease-in-out infinite alternate; }
@keyframes laser { to { top: 70%; } }
.result { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .07); }
.result .avatar { width: 40px; height: 40px; }
.result b { display: block; font-size: 15.5px; }
.result span { font-size: 12.5px; color: #B9B1C2; }
.result .plus { margin-left: auto; padding: 9px 14px; border-radius: 99px; background: var(--brand-grad); color: #fff; font-weight: 700; font-size: 14px; white-space: nowrap; }

/* Dashboard mock */
.dash-ui { display: grid; gap: 12px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat { padding: 12px; border-radius: 14px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
@media (prefers-color-scheme: dark) { .stat { background: var(--bg-2); } }
.stat small { display: block; font-size: 11.5px; font-weight: 650; color: var(--ink-3); }
.stat b { font-family: var(--display); font-size: 24px; letter-spacing: -.03em; font-weight: 760; }
.stat em { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--mint); margin-left: 4px; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 92px; padding: 12px; border-radius: 14px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
@media (prefers-color-scheme: dark) { .bars { background: var(--bg-2); } }
.bars i { flex: 1; border-radius: 3px 3px 1px 1px; background: var(--brand-grad); opacity: .9; min-width: 0; }
.bars i:nth-child(7n+6), .bars i:nth-child(7n+7) { opacity: 1; }
.h1 { height: 18%; } .h2 { height: 26%; } .h3 { height: 34%; } .h4 { height: 42%; } .h5 { height: 50%; }
.h6 { height: 58%; } .h7 { height: 66%; } .h8 { height: 76%; } .h9 { height: 88%; } .h10 { height: 100%; }

/* ---------- Pricing ---------- */
.plans { display: grid; gap: 18px; max-width: 980px; margin: 0 auto; }
@media (min-width: 820px) { .plans { grid-template-columns: 1fr 1fr; gap: 22px; } }
.plan { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 32px 28px; border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); }
.plan-pro { box-shadow: var(--shadow-3), inset 0 0 0 2px transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--brand-grad) border-box; border: 2px solid transparent; }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan h3 { font-size: 26px; letter-spacing: -.03em; }
.plan .blurb { color: var(--ink-2); font-size: 15.5px; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price b { font-family: var(--display); font-size: 56px; letter-spacing: -.05em; font-weight: 780; line-height: 1; }
.price span { color: var(--ink-2); font-weight: 600; font-size: 15px; }
.price-alt { font-size: 14px; color: var(--ink-2); margin-top: -8px; }
.price-alt strong { color: var(--mint); }
.plan-list { display: grid; gap: 11px; padding-top: 18px; border-top: 1px solid var(--line); }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.plan-list .ico { width: 20px; height: 20px; color: var(--mint); stroke-width: 2.6; margin-top: 2px; }
.plan .btn { width: 100%; }
.plan-foot { font-size: 13.5px; color: var(--ink-3); text-align: center; }
.billing-toggle { display: inline-flex; padding: 5px; gap: 4px; border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); margin: 0 auto 36px; }
.billing-toggle button { border: 0; background: transparent; padding: 10px 18px; border-radius: var(--r-pill); font-weight: 650; font-size: 15px; color: var(--ink-2); display: inline-flex; gap: 8px; align-items: center; }
.billing-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.billing-toggle .save { font-size: 12px; font-weight: 750; padding: 3px 8px; border-radius: 99px; background: color-mix(in srgb, var(--mint) 16%, transparent); color: var(--mint); }
.billing-toggle button[aria-pressed="true"] .save { background: var(--mint); color: #fff; }
.toggle-row { display: flex; justify-content: center; }
.free-note { display: flex; gap: 14px; align-items: center; justify-content: center; text-align: left; max-width: 640px; margin: 34px auto 0; padding: 18px 22px; border-radius: var(--r-lg); background: color-mix(in srgb, var(--mint) 10%, var(--surface)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--mint) 25%, transparent); font-size: 15.5px; }
.free-note .ico { color: var(--mint); width: 28px; height: 28px; }

.compare-wrap { position: relative; overflow-x: auto; margin: 0 -20px; padding: 0 20px; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 520px; border-collapse: separate; border-spacing: 0; font-size: 15.5px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); overflow: hidden; }
.compare th, .compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare thead th { font-family: var(--display); font-size: 18px; letter-spacing: -.02em; background: var(--surface-2); }
@media (prefers-color-scheme: dark) { .compare thead th { background: var(--bg-2); } }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 24%; }
.compare tbody th { font-weight: 550; color: var(--ink); }
.compare tr.group th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); font-weight: 750; background: color-mix(in srgb, var(--ink) 2.5%, transparent); }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.compare .yes .ico { color: var(--mint); stroke-width: 2.8; margin: 0 auto; width: 20px; height: 20px; }
.compare .no { color: var(--ink-3); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 22px; font-weight: 650; font-size: 17px; letter-spacing: -.01em; border-radius: var(--r); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%238C8696' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center no-repeat; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 22px 22px; color: var(--ink-2); font-size: 16px; display: grid; gap: 10px; }
.faq .ans a { color: var(--ink); font-weight: 600; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: 26px; letter-spacing: -.03em; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.faq-group h2 .gi { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--brand-grad); }
.faq-group h2 .gi .ico { width: 20px; height: 20px; }
.help-search { position: relative; max-width: 560px; margin-top: 8px; }
.help-search .ico { position: absolute; left: 16px; top: 50%; margin-top: -11px; width: 22px; height: 22px; color: var(--ink-3); pointer-events: none; }
.help-search .input { padding-left: 48px; min-height: 56px; border-radius: var(--r-pill); font-size: 17px; }
.no-results { padding: 26px; border-radius: var(--r); text-align: center; color: var(--ink-2); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- CTA panel ---------- */
.cta-panel { position: relative; overflow: hidden; display: grid; gap: 22px; justify-items: center; text-align: center; padding: 64px 24px; border-radius: var(--r-xl); background: var(--brand-grad); color: #fff; box-shadow: var(--shadow-brand); }
@media (min-width: 760px) { .cta-panel { padding: 88px 48px; } }
.cta-panel::before, .cta-panel::after { content: ""; position: absolute; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .22); pointer-events: none; }
.cta-panel::before { width: 220px; height: 220px; left: -60px; top: -80px; }
.cta-panel::after { width: 300px; height: 300px; right: -90px; bottom: -150px; border-width: 3px; }
.cta-panel h2 { font-size: clamp(34px, 6vw, 60px); letter-spacing: -.045em; max-width: 760px; position: relative; }
.cta-panel p { font-size: 18px; opacity: .92; max-width: 560px; position: relative; }
.cta-panel .hero-ctas { justify-content: center; position: relative; }
.btn-white { --btn-bg: #fff; --btn-fg: var(--raspberry); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .35); }
.btn-outline-white { --btn-bg: transparent; --btn-fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .65); }
.btn-outline-white:hover { --btn-bg: rgba(255, 255, 255, .12); }

/* ---------- Split sections (business page) ---------- */
.split { display: grid; gap: 44px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split.flip > :first-child { order: 2; } }
.split .copy { display: grid; gap: 18px; align-content: start; }
.bullets { display: grid; gap: 16px; margin-top: 6px; }
.bullets li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.bullets .bi { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: var(--raspberry); background: color-mix(in srgb, var(--raspberry) 11%, transparent); }
@media (prefers-color-scheme: dark) { .bullets .bi { color: #FF7A9F; background: color-mix(in srgb, var(--raspberry) 20%, transparent); } }
.bullets .bi .ico { width: 21px; height: 21px; }
.bullets b { display: block; font-size: 17px; letter-spacing: -.01em; margin-bottom: 2px; }
.bullets span { color: var(--ink-2); font-size: 15.5px; }
.visual { position: relative; padding: 28px; border-radius: var(--r-xl); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
@media (prefers-color-scheme: dark) { .visual { background: var(--bg-2); } }
.visual.warm { background: linear-gradient(160deg, #FFE9DA, #FFD9E4); }
@media (prefers-color-scheme: dark) { .visual.warm { background: linear-gradient(160deg, #2A1A1C, #2A1424); } }

/* stamps vs points */
.modes { display: grid; gap: 18px; }
@media (min-width: 860px) { .modes { grid-template-columns: 1fr 1fr; gap: 22px; } }
.mode { display: grid; gap: 16px; align-content: start; padding: 28px 26px; border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); }
.mode h3 { font-size: 26px; letter-spacing: -.03em; }
.mode > p { color: var(--ink-2); }
.mode .best { font-size: 14px; color: var(--ink-2); }
.mode .best b { color: var(--ink); }
.menu { display: grid; gap: 8px; }
.menu li { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; border-radius: 12px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; font-weight: 600; }
@media (prefers-color-scheme: dark) { .menu li { background: var(--bg-2); } }
.menu li span { font-size: 13px; font-weight: 750; padding: 3px 9px; border-radius: 99px; background: color-mix(in srgb, var(--gold) 20%, transparent); color: #A66A00; }
@media (prefers-color-scheme: dark) { .menu li span { color: var(--gold); } }
.menu li.can span { background: color-mix(in srgb, var(--mint) 16%, transparent); color: var(--mint); }

/* pairing code mock */
.pair-ui { display: grid; gap: 16px; justify-items: center; text-align: center; padding: 26px 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line); }
.pair-ui small { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.pair-code { display: flex; gap: 6px; }
.pair-code span { width: 40px; height: 52px; border-radius: 12px; display: grid; place-items: center; font-family: var(--display); font-weight: 760; font-size: 26px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); }
@media (prefers-color-scheme: dark) { .pair-code span { background: var(--bg-2); } }
.pair-code span.gap { width: 10px; background: none; box-shadow: none; }
.pair-ui .timer { font-size: 13px; color: var(--ink-2); display: inline-flex; gap: 6px; align-items: center; }
.pair-ui .timer .ico { width: 16px; height: 16px; }
.visual-stack { display: grid; gap: 16px; }
.visual-stack.two { max-width: 440px; margin: 0 auto; }

/* fraud cards */
.guards { display: grid; gap: 14px; }
@media (min-width: 640px) { .guards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .guards { grid-template-columns: repeat(5, 1fr); } }
.guard { padding: 22px 20px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); display: grid; gap: 8px; align-content: start; }
.guard .ico { width: 26px; height: 26px; color: #FF8A6B; margin-bottom: 6px; }
.guard h3 { font-size: 18.5px; letter-spacing: -.02em; }
.guard p { font-size: 14.5px; color: #B9B1C2; }

/* poster mock */
.poster { width: min(100%, 300px); margin: 0 auto; aspect-ratio: 148 / 210; border-radius: 10px; background: #fff; color: #17131F; box-shadow: var(--shadow-3); padding: 22px 20px 18px; display: grid; grid-template-rows: auto auto 1fr auto; justify-items: center; text-align: center; gap: 8px; transform: rotate(-2.5deg); position: relative; }
.poster .pbadge { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--tangerine), var(--raspberry)); }
.poster .pbadge .ico { width: 24px; height: 24px; }
.poster h4 { font-family: var(--display); font-size: 22px; letter-spacing: -.03em; line-height: 1.05; margin: 2px 0 0; }
.poster h4 span { display: block; font-family: var(--font); font-size: 12px; font-weight: 600; letter-spacing: 0; color: #5E5869; margin-top: 4px; }
.poster svg.qr { width: 62%; height: auto; align-self: center; }
.poster svg.qr path { fill: #17131F; }
.poster .pfoot { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: #5E5869; font-weight: 600; }
.poster .pfoot img { width: 14px; height: 14px; }
.tent { position: absolute; right: 2%; bottom: -4%; width: 42%; aspect-ratio: 1; border-radius: 10px; background: #17131F; color: #fff; box-shadow: var(--shadow-3); transform: rotate(5deg); display: grid; place-items: center; text-align: center; padding: 12px; font-family: var(--display); font-weight: 720; font-size: 15px; line-height: 1.1; letter-spacing: -.02em; }
.tent svg.qr { width: 56%; background: #fff; border-radius: 6px; padding: 4px; margin: 0 auto 8px; }
.tent svg.qr path { fill: #17131F; }

/* activity feed */
.feed { display: grid; gap: 2px; padding: 8px; border-radius: 16px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
@media (prefers-color-scheme: dark) { .feed { background: var(--bg-2); } }
.feed li { display: flex; align-items: center; gap: 10px; padding: 9px 8px; font-size: 14px; border-radius: 10px; }
.feed li + li { border-top: 1px solid var(--line); border-radius: 0; }
.feed .dot { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex: none; }
.feed .dot .ico { width: 16px; height: 16px; stroke-width: 2.6; }
.feed .d1 { background: var(--brand-grad); }
.feed .d2 { background: linear-gradient(140deg, #FFC14D, #F08C00); }
.feed .d3 { background: var(--mint); }
.feed time { margin-left: auto; font-size: 12.5px; color: var(--ink-3); white-space: nowrap; }

/* privacy promise */
.promise { display: grid; gap: 22px; padding: 40px 28px; border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); }
@media (min-width: 900px) { .promise { grid-template-columns: 1fr 1fr; gap: 56px; padding: 56px; align-items: center; } }
.sees { display: grid; gap: 10px; }
.sees li { display: flex; gap: 12px; align-items: center; padding: 13px 16px; border-radius: 14px; background: var(--surface-2); font-size: 15.5px; font-weight: 550; }
@media (prefers-color-scheme: dark) { .sees li { background: var(--bg-2); } }
.sees .ico { width: 20px; height: 20px; padding: 3px; border-radius: 50%; color: #fff; stroke-width: 3; }
.sees .y .ico { background: var(--mint); }
.sees .n .ico { background: var(--ink-3); }
.sees .n { color: var(--ink-2); }

/* ---------- Legal / prose ---------- */
.legal-grid { display: grid; gap: 40px; padding-bottom: 96px; }
@media (min-width: 1000px) { .legal-grid { grid-template-columns: 240px 1fr; gap: 64px; align-items: start; } }
.toc { display: none; }
@media (min-width: 1000px) { .toc { display: block; position: sticky; top: 96px; } }
.toc p { font-size: 12.5px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.toc ol { display: grid; gap: 2px; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; font-size: 14.5px; color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--ink); border-left-color: var(--raspberry); }
.prose { max-width: 740px; font-size: 16.5px; line-height: 1.65; color: var(--ink); }
.prose h2 { font-size: 27px; letter-spacing: -.03em; margin: 52px 0 14px; scroll-margin-top: 96px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19.5px; letter-spacing: -.02em; margin: 30px 0 10px; }
.prose p, .prose ul, .prose ol, .prose table, .prose .callout { margin: 0 0 16px; }
.prose ul { padding-left: 0; }
.prose ul li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-grad); }
.prose ol.num { list-style: decimal; padding-left: 22px; }
.prose ol.num li { margin-bottom: 8px; padding-left: 4px; }
.prose a { color: var(--ink); font-weight: 600; text-decoration-color: var(--raspberry); text-underline-offset: 3px; }
.prose strong { font-weight: 700; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); border-bottom: 2px solid var(--line-2); }
.prose code { font-family: var(--mono); font-size: .88em; padding: 2px 6px; border-radius: 6px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.callout { padding: 18px 20px; border-radius: var(--r); background: color-mix(in srgb, var(--raspberry) 7%, var(--surface)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--raspberry) 18%, transparent); font-size: 15.5px; }
.updated { font-size: 14.5px; color: var(--ink-3); }
.part { display: block; font-size: 12.5px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; color: var(--raspberry); margin: 64px 0 6px; }
.prose .part + h2 { margin-top: 0; }
@media (prefers-color-scheme: dark) { .part { color: #FF7A9F; } }

/* ---------- Press ---------- */
.assets { display: grid; gap: 16px; }
@media (min-width: 700px) { .assets { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .assets { grid-template-columns: repeat(3, 1fr); } }
.asset { display: grid; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); }
.asset-view { height: 190px; display: grid; place-items: center; padding: 28px; }
.asset-view img { max-height: 100%; width: auto; max-width: 100%; }
.asset-view.light { background: #FFF7F0; }
.asset-view.white { background: #FFFFFF; }
.asset-view.dark { background: #17131F; }
.asset-view.grad { background: linear-gradient(140deg, var(--tangerine), var(--raspberry)); }
.asset-view .h40 { height: 48px; }
.asset-view .h110 { height: 120px; }
.asset-view .h90 { height: 96px; }
.asset-view .glyph-ink { height: 84px; }
.asset-info { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; border-top: 1px solid var(--line); }
.asset-info b { font-size: 15.5px; display: block; }
.asset-info small { font-size: 13px; color: var(--ink-3); }
.dl { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.dl a { display: inline-flex; align-items: center; gap: 5px; padding: 7px 11px; border-radius: 99px; font-size: 13px; font-weight: 700; text-decoration: none; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.dl a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.dl a .ico { width: 14px; height: 14px; stroke-width: 2.6; }
.story { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .story { grid-template-columns: 1fr 1fr; gap: 64px; } }
.anatomy { position: relative; aspect-ratio: 1; max-width: 440px; width: 100%; margin: 0 auto; border-radius: var(--r-xl); background: linear-gradient(140deg, var(--tangerine), var(--raspberry)); box-shadow: var(--shadow-brand); }
.anatomy svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.anatomy .lbl { position: absolute; font-size: 13px; font-weight: 700; color: #fff; background: rgba(23, 19, 31, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 6px 11px; border-radius: 99px; white-space: nowrap; }
.anatomy .l1 { left: 6%; top: 6%; }
.anatomy .l2 { right: 6%; top: 6%; }
.anatomy .l3 { left: 50%; bottom: 6%; transform: translateX(-50%); }
.swatch-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .swatch-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .swatch-grid { grid-template-columns: repeat(6, 1fr); } }
.swatch { border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); }
.swatch .chipc { height: 118px; }
.swatch .meta { padding: 14px 16px; display: grid; gap: 2px; }
.swatch .meta b { font-size: 15.5px; }
.swatch .meta span { font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); }
.c-tangerine { background: #FF6B35; } .c-raspberry { background: #E5306E; } .c-ink { background: #17131F; }
.c-cream { background: #FFF7F0; box-shadow: inset 0 -1px 0 var(--line); } .c-gold { background: #FFB020; } .c-mint { background: #0FA968; }
.c-grad { background: linear-gradient(135deg, #FF6B35, #E5306E); }
.type-spec { display: grid; gap: 16px; }
@media (min-width: 860px) { .type-spec { grid-template-columns: 1fr 1fr; } }
.type-card { padding: 30px 28px; border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); display: grid; gap: 12px; align-content: start; }
.type-card .aa { font-size: 96px; line-height: .9; letter-spacing: -.05em; }
.type-card .aa.sys { font-family: var(--font); font-weight: 600; letter-spacing: -.03em; }
.type-card small { color: var(--ink-3); font-size: 13.5px; }
.rules { display: grid; gap: 16px; }
@media (min-width: 760px) { .rules { grid-template-columns: 1fr 1fr; } }
.rule { border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); }
.rule-view { height: 150px; display: grid; place-items: center; background: #FFF7F0; padding: 20px; }
.rule-view img { height: 40px; width: auto; }
.rule-view.dark { background: #17131F; }
.rule-view.busy { background: repeating-linear-gradient(45deg, #FFB020 0 14px, #2F80ED 14px 28px); }
.rule-view .stretch { transform: scaleX(1.5); }
.rule-view .rot { transform: rotate(-12deg); }
.rule-view .gray { filter: grayscale(1) contrast(.6); }
.rule-text { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; font-size: 14.5px; border-top: 1px solid var(--line); }
.rule-text .ico { width: 20px; height: 20px; padding: 3px; border-radius: 50%; color: #fff; stroke-width: 3; flex: none; margin-top: 1px; }
.rule-text.do .ico { background: var(--mint); }
.rule-text.dont .ico { background: var(--danger); }
.clear-space { display: grid; place-items: center; padding: 30px; background: #FFF7F0; }
.clear-space .box { position: relative; padding: 22px; outline: 1.5px dashed #E5306E; outline-offset: 0; }
.clear-space img { height: 42px; width: auto; }
.boiler { padding: 28px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); font-size: 17px; line-height: 1.6; }
.boiler + .boiler { margin-top: 14px; }
.boiler small { display: block; font-size: 12.5px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }

/* ---------- Contact card ---------- */
.contact-card { display: grid; gap: 18px; padding: 32px 28px; border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line); }
@media (min-width: 760px) { .contact-card { grid-template-columns: 1fr auto; align-items: center; padding: 40px; } }
.contact-card h2 { font-size: 30px; letter-spacing: -.035em; }
.contact-card p { color: var(--ink-2); margin-top: 6px; }

/* ---------- 404 ---------- */
.nf { min-height: calc(100vh - 66px - 260px); display: grid; place-items: center; padding: 64px 0 96px; text-align: center; }
.nf .wrap { display: grid; justify-items: center; gap: 22px; }
.nf .wcard { width: min(100%, 320px); height: auto; text-align: left; transform: rotate(-3deg); box-shadow: var(--shadow-3); }
.nf .dots i.missing { background: transparent; box-shadow: inset 0 0 0 2.5px rgba(255, 255, 255, .8); display: grid; place-items: center; font-family: var(--display); font-weight: 760; font-size: 17px; animation: wobble 2.4s var(--ease) infinite; }
@keyframes wobble { 0%, 60%, 100% { transform: none; } 70% { transform: rotate(-10deg) scale(1.08); } 80% { transform: rotate(8deg); } 90% { transform: rotate(-3deg); } }
.nf h1 { font-size: clamp(40px, 8vw, 68px); letter-spacing: -.045em; }
.nf .lead { max-width: 480px; }

/* ---------- Footer ---------- */
.foot { padding: 64px 0 40px; border-top: 1px solid var(--line); background: var(--bg); }
.foot-grid { display: grid; gap: 36px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; } }
.foot-brand { display: grid; gap: 14px; align-content: start; }
.foot-brand img { height: 28px; width: auto; }
.foot-brand p { color: var(--ink-2); font-size: 15px; max-width: 300px; }
.foot h4 { font-family: var(--font); font-size: 13px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
.foot ul { display: grid; gap: 10px; }
.foot ul a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.foot ul a:hover { color: var(--ink); }
.foot-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 13px; color: var(--ink-3); line-height: 1.6; }
.foot-legal a { color: var(--ink-2); }
.foot-legal .row { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; }
.made-by { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 13.5px; }
.made-by:hover { color: var(--ink); }

/* ---------- Reveal on scroll (only when JS has run) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.d1 { transition-delay: .07s; } .js .reveal.d2 { transition-delay: .14s; } .js .reveal.d3 { transition-delay: .21s; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

@media print {
  .nav, .foot, .cta-panel, .toc { display: none !important; }
  body { background: #fff; color: #000; }
}

.icons-pick.two-up { grid-template-columns: 1fr 1fr; }
.icons-pick.two-up span { aspect-ratio: auto; padding: 9px 10px; font-size: 14px; font-weight: 650; }
.hero .designer { box-shadow: var(--shadow-3), inset 0 0 0 1px var(--line); background: var(--surface); }
.mode .wcard { max-width: 380px; }
.faq .ans ul { display: grid; gap: 8px; }
.faq .ans ul li { position: relative; padding-left: 20px; }
.faq .ans ul li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-grad); }
.faq .ans em { font-style: normal; font-weight: 600; color: var(--ink); }
.mode > .pill { justify-self: start; }
.promise .h-sec { font-size: clamp(32px, 4.6vw, 48px); }
.designer.tall { grid-template-columns: 1fr; gap: 22px; padding: 22px; }
.designer.tall .d-preview { order: -1; }
.designer.tall .d-preview .wcard { max-width: 400px; margin: 0 auto; }
@media (min-width: 560px) { .designer.tall .d-controls { grid-template-columns: 1fr 1fr; column-gap: 22px; } }
.plan .btn { margin-top: auto; }
.plan-list { margin-bottom: 6px; }
.swatch .c-cream { box-shadow: inset 0 0 0 1px rgba(23, 19, 31, .12); }
.rule-view, .clear-space { background: #FFFFFF; }
@media (max-width: 560px) {
  .visual { padding: 16px; }
  .pair-ui { padding: 22px 14px; }
  .pair-code { gap: 5px; }
  .pair-code span { width: 34px; height: 46px; font-size: 22px; border-radius: 10px; }
  .pair-code span.gap { width: 6px; }
}
.story .copy { display: grid; gap: 18px; }
@media (prefers-color-scheme: dark) { .swatch .c-ink { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); } }
@media (max-width: 560px) {
  .compare-wrap { margin: 0; padding: 0; }
  .compare { min-width: 0; font-size: 14.5px; }
  .compare th, .compare td { padding: 13px 10px; }
  .compare thead th { font-size: 16px; }
  .compare td:not(:first-child), .compare th:not(:first-child) { width: 26%; }
}
@media print { .js .reveal { opacity: 1 !important; transform: none !important; } }

.nf .hero-ctas { justify-content: center; }
.nf .wcard { margin-bottom: 14px; }
@media (max-width: 520px) { .nf .hero-ctas { width: 100%; } .nf .hero-ctas .btn { flex: 1 1 100%; } }
