/* Payproof landing (ad page). Values from brand/tokens.css. */
:root {
  --paper: #F6F5F1; --surface: #FFFFFF; --sunk: #EDEBE4; --well: #E5E3DC;
  --line: rgb(21 22 26 / 0.10);
  --ink: #15161A; --ink-2: #4B4D55; --muted: #6B6D75;
  --coral: #F2552C; --coral-text: #B23A17; --coral-wash: #FBE3DB; --coral-tint: #FCEFEA;
  --green: #1E7A4E; --green-wash: #DDEDE3;
  --night: #15161A; --night-2: #1D1F24; --on-night: #F3F2EC; --on-night-2: #B9B8B1; --on-night-3: #8D8F96;
  --font-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --font-text: "Figtree", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --font-zh: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --spring: cubic-bezier(.34, 1.36, .5, 1);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 82px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--font-text); overflow-x: hidden; }
img, svg, video { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--coral-text); outline-offset: 3px; border-radius: 8px; }
.fine { font-size: 12px; line-height: 1.5; color: var(--muted); }
.c-coral { color: var(--coral-text); }
.c-green { color: var(--green); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 18px 0 6px; border-radius: 999px; font: 500 16px/1 var(--font-text); white-space: nowrap; transition: transform .2s var(--ease), background .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink .chip { background: var(--paper); color: var(--ink); }
.btn-paper { background: var(--on-night); color: var(--ink); }
.btn-paper .chip { background: var(--ink); color: var(--on-night); }
.btn-soft { background: var(--sunk); color: var(--ink); padding: 0 20px; }
.btn-soft:hover { background: var(--well); }
.btn-lg { height: 44px; font-size: 17px; }
.chip { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }
.chip .ic { width: 16px; height: 16px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgb(246 245 241 / .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-row { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.nav-links a { color: var(--ink); padding: 6px 0; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); }

/* Hero */
.hero { position: relative; overflow: hidden; }
.wrap-hero { width: min(1240px, 100% - 32px); margin-inline: auto; }
.hero-in { position: relative; text-align: center; padding: 120px 0 132px; }
.hero-in > :not(.float) { position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.dots { display: inline-flex; gap: 3px; }
.dots i { width: 8px; height: 8px; border-radius: 2px; background: var(--ink); }
.dots i + i { background: var(--coral); }
.display { font: 700 clamp(44px, 6.2vw, 68px)/1.04 var(--font-display); letter-spacing: -0.03em; max-width: 600px; margin: 20px auto 0; text-wrap: balance; }
.zh { font: 400 clamp(19px, 2vw, 22px)/1.4 var(--font-zh); color: var(--ink-2); margin-top: 22px; letter-spacing: .02em; }
.lede { font-size: 17px; line-height: 1.65; color: var(--ink-2); max-width: 604px; margin: 22px auto 0; }
.actions { display: flex; justify-content: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.float { position: absolute; z-index: 0; pointer-events: none; animation: drift var(--d, 7s) ease-in-out infinite alternate; }
.f1 { width: 104px; height: 104px; left: 4%; top: 70px; transform: rotate(-12deg); --d: 7s; }
.f2 { width: 50px; height: 50px; left: 12%; top: 380px; transform: rotate(22deg); --d: 8.5s; }
.f3 { width: 62px; height: 62px; right: 9%; top: 40px; transform: rotate(48deg); --d: 6.2s; }
.f4 { width: 120px; height: 120px; right: 6%; top: 250px; transform: rotate(10deg); --d: 9s; }
@keyframes drift { from { translate: 0 -5px; } to { translate: 0 5px; } }
.hero-in > * { animation: rise .48s var(--ease) both; }
.hero-in > .float { animation: drift var(--d, 7s) ease-in-out infinite alternate, fadein .6s var(--ease) both; }
@keyframes rise { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

/* Showcase */
.showcase { position: relative; }
.tabs { position: relative; display: flex; justify-content: center; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto 20px; padding: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border: 0; background: none; border-radius: 999px; font: 500 14px/1 var(--font-text); color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: color .2s; }
.tabs button[aria-selected="true"] { color: var(--ink); }
.tab-pill { position: absolute; z-index: 0; top: 4px; left: 0; height: 36px; border-radius: 999px; background: var(--sunk); transition: transform .3s var(--spring), width .3s var(--spring); }
.stage { background: var(--coral-wash); border-radius: 32px; padding: 56px 56px 0; overflow: hidden; }
.app { display: grid; grid-template-columns: 60px 1fr; background: var(--surface); border-radius: 16px 16px 0 0; min-height: 468px; box-shadow: 0 1px 0 var(--line); }
.app-rail { background: #F7F6F2; border-radius: 16px 0 0 0; display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 18px; border-right: 1px solid var(--line); }
.rail-mark { width: 22px; height: 22px; margin-bottom: 4px; }
.rail-i { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; color: var(--muted); transition: background .2s, color .2s; }
.rail-i.on { background: var(--sunk); color: var(--ink); }
.views { position: relative; padding: 28px 32px 28px; }
.view { animation: viewin .42s var(--ease) both; }
.view[hidden] { display: none; }
@keyframes viewin { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
.view-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.view-head h3 { font: 700 28px/1.2 var(--font-display); letter-spacing: -0.02em; display: flex; align-items: center; gap: 12px; }
.tag { font: 500 11px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 5px 8px; }
.seg { display: flex; gap: 6px; }
.seg span { font-size: 13px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); }
.seg .on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.stat .k { font-size: 13px; color: var(--ink-2); }
.stat .v { font-size: 24px; font-weight: 500; }
.stat .s { font-size: 13px; color: var(--ink-2); }
.stat.trap { background: var(--coral-tint); border-color: rgb(178 58 23 / .2); }
.stat.trap .v, .stat.trap .s { color: var(--coral-text); }
.chart { margin: 18px 0 12px; position: relative; }
.chart svg { width: 100%; height: auto; }
.ct { font: 400 11px var(--font-mono); fill: var(--muted); }
.trap-note { position: absolute; right: 0; top: 64%; font-size: 12px; color: var(--coral-text); max-width: 250px; text-align: right; line-height: 1.4; }
.rows li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.rows .st { font-size: 13px; color: var(--muted); text-align: right; }
.rows .st.bad { color: var(--coral-text); font-weight: 500; }
.rows .st.strong { color: var(--ink); font-weight: 500; }
.cex { margin: 20px 0 14px; background: var(--coral-tint); border-radius: 12px; padding: 16px 18px; }
.cex .k { font-size: 13px; color: var(--coral-text); }
.cex p { font-size: 17px; margin-top: 4px; }
.split { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; margin-bottom: 16px; }
.pot { background: var(--coral); color: var(--on-coral, #15161A); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.pot .k { font-size: 13px; }
.pot .v { font-size: 28px; font-weight: 500; }
.shares li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.shares .fee { color: var(--ink-2); }
.eng { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 16px; }
.eng th { text-align: left; font-weight: 500; font-size: 12px; color: var(--muted); padding: 0 8px 10px 0; border-bottom: 1px solid var(--line); }
.eng td { padding: 12px 8px 12px 0; border-bottom: 1px solid var(--line); }
.eng .ok { color: var(--green); font-weight: 500; }
.eng .bad { color: var(--coral-text); font-weight: 500; }

/* Value cards */
.values { display: grid; grid-template-columns: 560px 1fr 1fr; gap: 16px; padding-top: 48px; }
.vcard { background: var(--sunk); border-radius: 24px; padding: 28px; min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; position: relative; }
.vcard .vmark { position: absolute; top: 40px; left: 40px; width: 22px; height: 22px; }
.vcard h3 { font: 700 24px/1.2 var(--font-display); letter-spacing: -0.02em; }
.vcard p { font-size: 15px; color: var(--ink-2); line-height: 1.55; }
.vcard-wide { flex-direction: row; align-items: stretch; gap: 20px; }
.vtext { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.vtext .vmark { position: absolute; }
.stack { position: relative; width: 236px; flex: none; background: var(--coral-wash); border-radius: 16px; overflow: hidden; }
.note { position: absolute; left: 14px; right: 14px; background: var(--surface); border-radius: 12px; padding: 12px 14px; box-shadow: 0 6px 18px rgb(21 22 26 / .08); display: flex; flex-direction: column; gap: 4px; transition: transform .9s var(--spring), opacity .9s var(--ease); }
.note b { font-size: 13px; font-weight: 500; }
.note .mono { font-size: 12px; color: var(--ink); line-height: 1.4; }

/* Film */
.film { padding-top: 120px; }
.h2c { font: 700 clamp(32px, 4.2vw, 48px)/1.08 var(--font-display); letter-spacing: -0.03em; text-align: center; max-width: 560px; margin: 0 auto 36px; text-wrap: balance; }
/* The film sits flush with the page: same paper tone, no player chrome. */
.film-frame { position: relative; border-radius: 28px; overflow: hidden; background: #F6F4F0; }
.film-frame video { width: 100%; height: auto; aspect-ratio: 16 / 9; pointer-events: none; }
.film-progress { position: absolute; left: 28px; right: 28px; bottom: 16px; height: 2px; background: rgb(21 22 26 / .08); border-radius: 2px; overflow: hidden; }
.film-progress i { display: block; height: 100%; width: 100%; background: var(--coral); transform-origin: left; transform: scaleX(0); }
.film-sound { position: absolute; right: 24px; top: 20px; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 10px; border: 0; border-radius: 999px; background: rgb(246 245 241 / .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--ink-2); font: 500 13px/1 var(--font-text); cursor: pointer; transition: background .2s, color .2s; }
.film-sound:hover { background: var(--surface); color: var(--ink); }
.film-sound .ic { width: 16px; height: 16px; }
.film-sound .snd-on, .film-sound[aria-pressed="true"] .snd-off { display: none; }
.film-sound[aria-pressed="true"] .snd-on { display: block; }
.film-sound[aria-pressed="true"] { color: var(--coral-text); }
.film-still .film-progress, .film-still .film-sound { display: none; }

/* Built on */
.built { text-align: center; padding: 120px 16px 48px; }
.built h2 { font: 500 20px/1.3 var(--font-text); color: var(--ink-2); }
.logos { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px 64px; margin: 32px 0 28px; }
.logos li { font: 500 26px/1.2 var(--font-text); letter-spacing: -0.01em; }

/* Deck */
.deck { padding-top: 72px; }
.h2 { font: 700 clamp(34px, 4.2vw, 48px)/1.08 var(--font-display); letter-spacing: -0.03em; max-width: 560px; margin-bottom: 24px; text-wrap: balance; }
.dcard { position: sticky; top: calc(var(--nav-h) + 16px); display: grid; grid-template-columns: 440px 1fr; gap: 40px; background: var(--sunk); border-radius: 32px; padding: 40px; min-height: 500px; margin-bottom: 24px; transform-origin: 50% 0; transition: transform .25s linear, filter .25s linear; box-shadow: 0 -1px 0 rgb(255 255 255 / .6), 0 -12px 30px -18px rgb(21 22 26 / .18); }
.dtext { display: flex; flex-direction: column; gap: 14px; }
.dtext h3 { font: 700 36px/1.15 var(--font-display); letter-spacing: -0.02em; }
.dtext p { color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.pills { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 4px; }
.pills li { background: var(--surface); border-radius: 999px; padding: 6px 14px; font-size: 14px; }
.link { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; width: max-content; }
.link .chip { background: var(--ink); color: var(--paper); }
.link:hover .chip { transform: translateX(2px); }
.link .chip { transition: transform .2s var(--ease); }
.dshot { border-radius: 24px; padding: 36px 0 0 36px; overflow: hidden; display: flex; }
.tint-coral { background: var(--coral-wash); }
.tint-grey { background: var(--well); }
.tint-green { background: var(--green-wash); }
.panel { background: var(--surface); border-radius: 16px 0 0 0; padding: 20px 22px; flex: 1; }
.panel h4 { font: 700 20px/1.3 var(--font-display); margin-bottom: 6px; }
.panel .fine { margin-top: 14px; max-width: 440px; }

/* FAQ */
.faq { padding: 120px 0 80px; }
.fan { display: flex; justify-content: center; gap: 20px; padding: 0 16px; }
.qcard { width: 290px; min-height: 280px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 10px; transition: transform .35s var(--spring), box-shadow .35s; }
.qcard h3 { font: 600 17px/1.3 var(--font-text); }
.qcard p { font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.qcard footer { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ink-2); }
.qm { width: 22px; height: 22px; }
.q1 { transform: translateY(30px) rotate(3deg); }
.q3 { transform: translateY(20px) rotate(-3deg); }
.qcard:hover { transform: translateY(-6px) rotate(0); box-shadow: 0 18px 40px -20px rgb(21 22 26 / .3); }
.more { max-width: 680px; margin: 72px auto 0; padding: 0 16px; }
.more details { border-bottom: 1px solid var(--line); }
.more summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 500; display: flex; justify-content: space-between; align-items: center; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; font: 400 22px/1 var(--font-text); color: var(--muted); transition: transform .25s var(--ease); }
.more details[open] summary::after { transform: rotate(45deg); }
.more details p { color: var(--ink-2); font-size: 15px; padding: 0 0 18px; max-width: 600px; }

/* Dark band */
.band { position: relative; background: var(--night); color: var(--on-night); overflow: hidden; }
.band-in { position: relative; z-index: 1; text-align: center; width: min(620px, 100% - 32px); margin: 0 auto; padding: 120px 0; display: flex; flex-direction: column; align-items: center; }
.band h2 { font: 700 clamp(40px, 5vw, 56px)/1.1 var(--font-display); letter-spacing: -0.03em; }
.band-in > p:not(.fine) { color: var(--on-night-2); font-size: 17px; line-height: 1.65; margin-top: 20px; max-width: 542px; }
.receipt { margin: 20px 0 0; width: 100%; max-width: 581px; text-align: left; background: var(--night-2); border: 1px solid rgb(243 242 236 / .1); border-radius: 12px; padding: 18px 24px; font-size: 13px; line-height: 1.8; }
.receipt div { display: flex; gap: 16px; }
.receipt dt { color: var(--on-night-3); flex: none; }
.receipt dd { margin: 0; color: var(--on-night); overflow-wrap: anywhere; }
.band .fine { color: var(--on-night-3); margin: 20px 0 32px; }
.b1 { width: 260px; height: 260px; left: -60px; top: 40px; transform: rotate(-14deg); --d: 8s; }
.b2 { width: 290px; height: 290px; right: -80px; bottom: -70px; transform: rotate(8deg); --d: 9.5s; }

/* Footer */
.foot-row { min-height: 112px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 24px 0; }
.foot-brand { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-2); flex-wrap: wrap; }
.foot-brand img { height: 26px; width: auto; }
.foot-links { display: flex; gap: 24px; font-size: 14px; flex-wrap: wrap; }
.foot-links a:hover { color: var(--coral-text); }

/* Tablet */
@media (max-width: 1100px) {
  .values { grid-template-columns: 1fr 1fr; }
  .vcard-wide { grid-column: 1 / -1; }
  .dcard { grid-template-columns: 1fr; position: relative; top: auto; }
  .dshot { min-height: 300px; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .stage { padding: 24px 16px 0; border-radius: 24px; }
  .app { grid-template-columns: 1fr; min-height: 0; }
  .app-rail { display: none; }
  .views { padding: 20px 18px; }
  .stats { grid-template-columns: 1fr; gap: 10px; }
  .seg { display: none; }
  .trap-note { position: static; max-width: none; text-align: left; margin-top: 8px; }
  .split { grid-template-columns: 1fr; }
  .fan { flex-direction: column; align-items: center; }
  .qcard, .q1, .q3 { transform: none; width: 100%; max-width: 420px; min-height: 0; }
  .qcard footer { margin-top: 16px; }
}
/* Phone */
@media (max-width: 600px) {
  :root { --nav-h: 64px; }
  .brand img { height: 26px; }
  .nav .btn { height: 38px; font-size: 15px; padding-right: 14px; }
  .nav .btn .chip { width: 26px; height: 26px; }
  .hero-in { padding: 64px 0 72px; }
  .display { font-size: 42px; }
  .lede { font-size: 16px; }
  .f1 { width: 56px; height: 56px; left: -8px; top: 12px; }
  .f2 { display: none; }
  .f3 { width: 40px; height: 40px; right: 6px; top: 8px; }
  .f4 { width: 52px; height: 52px; right: -16px; top: auto; bottom: -18px; }
  .tabs { justify-content: flex-start; width: 100%; }
  .view-head h3 { font-size: 22px; }
  .eng td, .eng th { padding-right: 6px; }
  .values { grid-template-columns: 1fr; }
  .vcard { min-height: 0; padding: 24px; padding-top: 72px; }
  .vcard .vmark { top: 28px; left: 24px; }
  .vcard-wide { flex-direction: column; padding-top: 24px; }
  .vtext { padding-top: 48px; }
  .stack { width: 100%; height: 280px; }
  .film, .built, .faq { padding-top: 80px; }
  .logos { gap: 16px 36px; }
  .logos li { font-size: 22px; }
  .dcard { padding: 24px; border-radius: 24px; }
  .dtext h3 { font-size: 28px; }
  .dshot { padding: 20px 0 0 20px; min-height: 0; }
  .band-in { padding: 88px 0; }
  .receipt { padding: 16px; }
  .receipt div { flex-direction: column; gap: 0; margin-bottom: 6px; }
  .b1 { width: 140px; height: 140px; left: -50px; top: 20px; }
  .b2 { width: 160px; height: 160px; right: -60px; bottom: -50px; }
  .foot-row { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .dcard { position: relative; top: auto; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.film { padding-top: 72px; }

/* Account entry (2026-11-27): Get started and Sign in, with a guest path for judges. */
.nav-acts { display: flex; align-items: center; gap: 20px; }
.nav-signin { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav-signin:hover { color: var(--ink); }
.guest-link { margin-top: 16px; font-size: 15px; font-weight: 500; }
.guest-link a { color: var(--ink-2); }
.guest-link a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) { .nav-signin { display: none; } }
