/* ZEC PAY — styles */
:root {
  --bg: #ffffff;
  --navy: #061b31;
  --slate: #64748d;
  --slate-2: #50617a;
  --line: #e5edf5;
  --tint: #f8fafd;
  --tint-blue: #f3f6fb;
  --tint-zec: #fff8e6;
  --tint-zec-2: #fffbf0;
  --zec: #f4b728;          /* Zcash yellow — primary action */
  --zec-hover: #e8a915;
  --zec-ink: #7a5200;      /* readable yellow-family text on white (6:1) */
  --zec-border: rgba(214, 150, 10, 0.45);
  --ok: #0a7c55;
  --radius: 8px;
  --col: 1480px;
  --header: 68px;
  --gutter: 24px;
  --shadow: 0 1px 2px rgba(6, 27, 49, 0.04), 0 14px 34px -14px rgba(50, 80, 130, 0.22);
  --shadow-lg: 0 2px 4px rgba(6, 27, 49, 0.04), 0 30px 60px -24px rgba(50, 80, 130, 0.3);
  --font: "Inter Tight", "Söhne", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.55;
  color: var(--navy);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
.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; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 4px; text-decoration: none; font-size: 14px; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }

/* ---------- Column + guide lines ---------- */
.page { position: relative; }
.guides { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.guides::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%;
  width: min(var(--col), calc(100% - 2 * var(--gutter)));
  transform: translateX(-50%);
  border-left: 1px solid var(--line); border-right: 1px solid var(--line);
}
.wrap { width: min(var(--col), calc(100% - 2 * var(--gutter))); margin: 0 auto; position: relative; }
.pad { padding-left: 32px; padding-right: 32px; }
@media (max-width: 720px) { .pad { padding-left: 18px; padding-right: 18px; } :root { --gutter: 14px; } }

.section { position: relative; border-top: 1px solid var(--line); z-index: 2; }
.section > .wrap { padding-top: 104px; padding-bottom: 104px; }
@media (max-width: 720px) { .section > .wrap { padding-top: 72px; padding-bottom: 72px; } }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 300; letter-spacing: -0.02em; }
.statement { font-size: clamp(40px, 3.4vw, 76px); line-height: 1.12; letter-spacing: -0.025em; font-weight: 300; max-width: 16.5em; }
.statement .lead, .two-tone .lead { color: var(--navy); }
.statement, .two-tone { color: var(--slate); }
.two-tone { font-size: clamp(28px, 2.3vw, 48px); line-height: 1.18; font-weight: 300; letter-spacing: -0.02em; max-width: 22em; }
.eyebrow { font-size: 14px; font-weight: 500; color: var(--zec-ink); margin: 0 0 18px; letter-spacing: 0; }
.muted { color: var(--slate); }
p { margin: 0; }
h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.card p, .small { font-size: 15px; color: var(--slate-2); }
@media (max-width: 720px) {
  .statement { font-size: 34px; line-height: 1.16; }
  .two-tone { font-size: 26px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px;
  border-radius: 4px; font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; white-space: nowrap; transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.btn-primary { background: var(--zec); color: var(--navy); }
.btn-primary:hover { background: var(--zec-hover); }
.btn-secondary { background: #fff; color: var(--zec-ink); border-color: var(--zec-border); }
.btn-secondary:hover { border-color: var(--zec-ink); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--slate); }
.btn-sm { height: 34px; padding: 0 12px; font-size: 14px; }
.btn .chev { width: 10px; height: 10px; transition: transform .18s ease; flex: none; }
.btn:hover .chev, .btn:focus-visible .chev { transform: translateX(2px); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; height: 68px; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; flex: none; }
.brand-logo { width: 28px; height: 28px; object-fit: contain; }
.wordmark { font-size: 21px; font-weight: 600; letter-spacing: -0.03em; color: var(--navy); }
.wordmark b { font-weight: 300; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 5px; padding: 8px 10px; font-size: 15px; font-weight: 500; text-decoration: none; background: none; border: 0; cursor: pointer; color: var(--navy); border-radius: 4px; }
.nav-link:hover { color: var(--zec-ink); }
.nav-link .down { width: 9px; height: 9px; transition: transform .2s; }
.has-menu.open .down { transform: rotate(180deg); }
.menu {
  position: absolute; top: calc(100% + 8px); left: -8px; min-width: 300px; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .16s, transform .16s, visibility 0s .16s;
}
.has-menu.open .menu { opacity: 1; visibility: visible; transform: none; transition: opacity .16s, transform .16s; }
.menu a { display: block; padding: 10px 12px; border-radius: 6px; text-decoration: none; }
.menu a:hover, .menu a:focus-visible { background: var(--tint); }
.menu strong { display: block; font-size: 15px; font-weight: 500; }
.menu span { display: block; font-size: 13.5px; color: var(--slate); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.burger { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 4px; height: 38px; padding: 0 12px; font-size: 14px; font-weight: 500; cursor: pointer; align-items: center; gap: 8px; }
.burger i { display: block; width: 14px; height: 1.5px; background: var(--navy); position: relative; }
.burger i::before, .burger i::after { content: ""; position: absolute; left: 0; width: 14px; height: 1.5px; background: var(--navy); }
.burger i::before { top: -4.5px; } .burger i::after { top: 4.5px; }
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: inline-flex; }
}

/* Mobile menu */
.mmenu { position: fixed; inset: 0; z-index: 80; background: #fff; display: flex; flex-direction: column; overflow-y: auto; }
.mmenu-top { display: flex; align-items: center; justify-content: space-between; height: 68px; padding: 0 var(--gutter); border-bottom: 1px solid var(--line); }
.mmenu nav { padding: 8px var(--gutter) 24px; }
.mmenu h2 { font-size: 13px; font-weight: 500; color: var(--slate); margin: 22px 0 6px; letter-spacing: 0; }
.mmenu a.mlink { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-size: 20px; font-weight: 400; text-decoration: none; border-bottom: 1px solid var(--line); }
.mmenu .btn-row { padding: 8px var(--gutter) 32px; margin-top: auto; }
.mmenu .btn { flex: 1; justify-content: center; height: 46px; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; z-index: 1; }
.ribbon {
  position: absolute; top: -140px; right: -8vw; width: min(1100px, 78vw); height: 900px;
  pointer-events: none; z-index: 0;
}
.ribbon canvas { width: 100%; height: 100%; display: block; }
.ribbon.fallback {
  background:
    radial-gradient(40% 30% at 70% 30%, rgba(255, 214, 74, .95), transparent 70%),
    radial-gradient(35% 28% at 55% 52%, rgba(244, 183, 40, .9), transparent 70%),
    radial-gradient(30% 22% at 40% 72%, rgba(247, 140, 26, .7), transparent 70%),
    radial-gradient(30% 25% at 82% 12%, rgba(255, 243, 196, .9), transparent 70%);
  filter: blur(18px); animation: ribbonShift 18s ease-in-out infinite alternate;
}
@keyframes ribbonShift { from { transform: translate3d(0, 0, 0) rotate(-6deg); } to { transform: translate3d(-4%, 3%, 0) rotate(2deg); } }
.hero-in { position: relative; z-index: 4; padding-top: 104px; padding-bottom: 72px; }
.live { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--slate-2); margin-bottom: 26px; background: rgba(255,255,255,.78); padding: 4px 10px 4px 8px; border-radius: 999px; border: 1px solid var(--line); }
.live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(10, 124, 85, .5); animation: ping 2s infinite; }
.live b { color: var(--navy); font-weight: 600; font-variant-numeric: tabular-nums; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(10,124,85,.45); } 80%,100% { box-shadow: 0 0 0 8px rgba(10,124,85,0); } }
.hero .statement { margin-bottom: 36px; }
.ca-chip { margin-top: 28px; display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 6px 6px 6px 12px; border: 1px solid var(--line); border-radius: 6px; background: rgba(255,255,255,.9); font-size: 13px; }
.ca-chip .lbl { color: var(--slate); font-weight: 500; flex: none; }
.ca-chip code { font-family: var(--mono); font-size: 12.5px; color: var(--navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.copy-btn { flex: none; height: 28px; padding: 0 10px; border-radius: 4px; border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 500; cursor: pointer; }
.copy-btn:hover { border-color: var(--slate); }
.copy-btn.done { color: var(--ok); border-color: var(--ok); }

@media (max-width: 720px) {
  .ribbon { top: -220px; right: -40vw; width: 150vw; height: 640px; opacity: .9; }
  .hero-in { padding-top: 200px; padding-bottom: 64px; }
  .hero .btn-row .btn { flex: 1 1 auto; justify-content: center; }
}

/* Logo row */
.logos { position: relative; z-index: 4; border-top: 1px solid var(--line); background: rgba(255,255,255,.86); }
.logos .wrap { padding-top: 30px; padding-bottom: 34px; }
.logos-cap { font-size: 13.5px; color: var(--slate); margin-bottom: 18px; text-align: center; }
.logo-grid { display: grid; grid-template-columns: repeat(8, 1fr); align-items: center; gap: 18px; }
.mlogo { text-align: center; font-size: 21px; line-height: 1; white-space: nowrap; letter-spacing: -0.02em; }
.mlogo.serif { font-family: Georgia, "Times New Roman", serif; font-weight: 700; }
.mlogo.caps { font-weight: 700; letter-spacing: .06em; font-size: 16px; }
.mlogo.light { font-weight: 300; font-size: 23px; }
.mlogo.italic { font-family: Georgia, serif; font-style: italic; font-weight: 400; }
.mlogo.bold { font-weight: 800; letter-spacing: -0.04em; }
@media (max-width: 960px) { .logo-grid { grid-template-columns: repeat(4, 1fr); row-gap: 26px; } }
@media (max-width: 520px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Section heads ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 52px; flex-wrap: wrap; }
.sec-head .two-tone { max-width: 20em; }
.sec-head p.side { max-width: 360px; font-size: 16px; color: var(--slate-2); }

/* ---------- Cards / bento ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { grid-column: span 2; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; background: var(--tint); }
.tile.w4 { grid-column: span 4; } .tile.w3 { grid-column: span 3; } .tile.w6 { grid-column: span 6; }
.tile.t-zec { background: var(--tint-zec); } .tile.t-zec2 { background: var(--tint-zec-2); } .tile.t-blue { background: var(--tint-blue); }
.tile-copy { padding: 26px 26px 0; }
.tile-copy h3 { margin-bottom: 6px; }
.tile-copy p { font-size: 15px; color: var(--slate-2); max-width: 420px; }
.tile-ui { padding: 24px 26px 26px; margin-top: auto; }
@media (max-width: 960px) {
  .tile, .tile.w3 { grid-column: span 3; } .tile.w4, .tile.w6 { grid-column: span 6; }
}
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .tile, .tile.w3, .tile.w4, .tile.w6 { grid-column: auto; } }

/* Mini UI base */
.mini { background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); font-size: 13.5px; overflow: hidden; }
.mini-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line); gap: 12px; }
.mini-row:first-child { border-top: 0; }
.mini-row .k { color: var(--slate); }
.mini-row .v { font-weight: 500; font-variant-numeric: tabular-nums; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: #e7f6ef; color: var(--ok); }
.pill.zec { background: #fff0c7; color: var(--zec-ink); }

/* Paste link mini */
.urlbar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12.5px; color: var(--navy); }
.urlbar .lock { width: 12px; height: 12px; color: var(--slate); flex: none; }
.typed { overflow: hidden; white-space: nowrap; border-right: 1.5px solid var(--navy); width: 0; max-width: max-content; }
.in .typed { animation: type 1.6s steps(28, end) .2s forwards, caret .8s step-end infinite; }
@keyframes type { to { width: 28ch; } }
@keyframes caret { 50% { border-color: transparent; } }
.quote-rows .mini-row { opacity: 0; transform: translateY(6px); }
.in .quote-rows .mini-row { animation: rise .45s ease forwards; }
.in .quote-rows .mini-row:nth-child(1) { animation-delay: 1.9s; }
.in .quote-rows .mini-row:nth-child(2) { animation-delay: 2.05s; }
.in .quote-rows .mini-row:nth-child(3) { animation-delay: 2.2s; }
.in .quote-rows .mini-row:nth-child(4) { animation-delay: 2.35s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.mini .paybtn { margin: 4px 14px 14px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 4px; background: var(--zec); font-weight: 600; font-size: 13.5px; opacity: .35; transition: opacity .3s 2.5s; }
.in .mini .paybtn { opacity: 1; }

/* Shield mini */
.shield { display: flex; align-items: center; gap: 16px; padding: 16px; }
.ring { width: 64px; height: 64px; flex: none; }
.ring circle { fill: none; stroke-width: 5; }
.ring .bg { stroke: var(--line); }
.ring .fg { stroke: var(--zec); stroke-linecap: round; stroke-dasharray: 176; stroke-dashoffset: 176; transform: rotate(-90deg); transform-origin: 50% 50%; }
.in .ring .fg { animation: ring 1.8s ease forwards .3s; }
@keyframes ring { to { stroke-dashoffset: 0; } }
.addr { font-family: var(--mono); font-size: 12px; color: var(--slate-2); }
.steps-mini li { opacity: .35; transition: opacity .3s; }
.in .steps-mini li { opacity: 1; }
.in .steps-mini li:nth-child(2) { transition-delay: .9s; } .in .steps-mini li:nth-child(3) { transition-delay: 1.6s; }
.steps-mini { list-style: none; padding: 0 16px 14px; margin: 0; display: grid; gap: 6px; font-size: 13px; }
.steps-mini li::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 8px; }

/* Receipt mini */
.receipt .head { padding: 14px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px dashed var(--line); }
.receipt .big { font-size: 26px; font-weight: 300; letter-spacing: -0.02em; padding: 14px 14px 4px; font-variant-numeric: tabular-nums; }
.stamp { transform: scale(.6); opacity: 0; transition: transform .35s cubic-bezier(.3,1.6,.5,1), opacity .2s; transition-delay: .6s; }
.in .stamp { transform: none; opacity: 1; }

/* Card mini */
.vcard { position: relative; aspect-ratio: 1.586; border-radius: 12px; padding: 16px; color: var(--navy); overflow: hidden;
  background: linear-gradient(135deg, #ffe08a 0%, #f4b728 45%, #e99a12 100%); box-shadow: 0 18px 30px -16px rgba(180, 110, 0, .55); display: flex; flex-direction: column; justify-content: space-between; transform: rotate(-3deg) translateY(10px); opacity: 0; transition: transform .7s cubic-bezier(.2,.8,.2,1), opacity .5s; }
.in .vcard { transform: rotate(-3deg); opacity: 1; }
.vcard::after { content: ""; position: absolute; inset: -40% -10%; background: linear-gradient(110deg, transparent 40%, rgba(255,255,255,.55) 50%, transparent 60%); transform: translateX(-60%); }
.in .vcard::after { animation: sheen 2.6s ease 1s; }
@keyframes sheen { to { transform: translateX(60%); } }
.vcard .num { font-family: var(--mono); font-size: 14px; letter-spacing: .08em; }
.vcard .row { display: flex; justify-content: space-between; align-items: flex-end; font-size: 12px; font-weight: 600; }
.vcard .chip { width: 30px; height: 22px; border-radius: 4px; background: rgba(6,27,49,.18); }

/* Browser mini */
.browser .bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--tint); }
.browser .bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.browser .body { padding: 14px; display: grid; gap: 8px; }
.skel { height: 9px; border-radius: 4px; background: var(--line); }
.skel.w60 { width: 60%; } .skel.w40 { width: 40%; } .skel.w80 { width: 80%; }
.inject { margin-top: 6px; height: 34px; border-radius: 4px; background: var(--zec); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; transform: scale(.9); opacity: 0; transition: transform .4s cubic-bezier(.3,1.5,.5,1) .7s, opacity .3s .7s; }
.in .inject { transform: none; opacity: 1; animation: glow 2.4s ease-in-out 1.4s infinite; }
@keyframes glow { 50% { box-shadow: 0 0 0 5px rgba(244, 183, 40, .25); } }
.altbtn { height: 30px; border-radius: 4px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--slate); }

/* ---------- Use cases ---------- */
.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.use { padding: 26px; background: #fff; }
.use .ico { width: 36px; height: 36px; border-radius: 8px; background: var(--tint-zec); color: var(--zec-ink); display: grid; place-items: center; margin-bottom: 18px; }
.use .ico svg { width: 20px; height: 20px; }
.use h3 { margin-bottom: 6px; }
@media (max-width: 960px) { .uses { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .uses { grid-template-columns: 1fr; } }

/* ---------- Compare table ---------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
.compare thead th { border-top: 0; font-weight: 500; font-size: 14px; color: var(--slate-2); background: var(--tint); }
.compare thead th.us { background: var(--tint-zec); color: var(--zec-ink); }
.compare tbody th { font-weight: 400; color: var(--navy); }
.compare td.us { background: var(--tint-zec-2); font-weight: 500; }
.yes { color: var(--ok); font-weight: 600; } .no { color: #b42318; font-weight: 600; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 8px; }
@media (max-width: 640px) { .compare { min-width: 600px; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; }
.stat { padding: 28px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat .n { font-size: 40px; font-weight: 300; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat .n small { font-size: 20px; color: var(--slate); }
.stat .l { font-size: 14px; color: var(--slate-2); margin-top: 6px; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- Token block ---------- */
.token-band { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; }
.token-card { padding: 30px; }
.ca-box { display: flex; align-items: center; gap: 10px; margin: 18px 0 20px; padding: 10px 10px 10px 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--tint); }
.ca-box code { flex: 1; min-width: 0; font-family: var(--mono); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kv { display: grid; grid-template-columns: 1fr 1fr; }
.kv div { padding: 16px 0; border-top: 1px solid var(--line); }
.kv dt { font-size: 13px; color: var(--slate); } .kv dd { margin: 2px 0 0; font-size: 18px; font-weight: 400; }
@media (max-width: 860px) { .token-band { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: 19px; font-weight: 400; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 22px; height: 22px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; flex: none; transition: transform .2s; }
.faq details[open] summary .pm { transform: rotate(45deg); }
.faq .ans { padding: 0 0 22px; max-width: 760px; color: var(--slate-2); font-size: 16px; }
.faq-grid { display: grid; grid-template-columns: 360px 1fr; gap: 48px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; }
.cta .wrap { padding-top: 96px; padding-bottom: 96px; }
.cta-glow { position: absolute; right: -10%; top: -60%; width: 70%; height: 220%; pointer-events: none;
  background: conic-gradient(from 200deg at 60% 50%, #fff3c4, #ffd64a, #f4b728, #f28c1a, #ffe8a3, #fff3c4);
  filter: blur(60px); opacity: .55; animation: spin 30s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cta .two-tone { position: relative; margin-bottom: 30px; }
.cta .btn-row { position: relative; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); position: relative; z-index: 2; background: #fff; }
.site-footer .wrap { padding-top: 56px; padding-bottom: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-grid h2 { font-size: 14px; font-weight: 500; margin-bottom: 12px; letter-spacing: 0; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { font-size: 14.5px; color: var(--slate-2); text-decoration: none; }
.foot-grid a:hover { color: var(--navy); text-decoration: underline; }
.fineprint { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--slate); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* ---------- Inner page hero ---------- */
.page-hero .hero-in { padding-top: 112px; padding-bottom: 72px; }
.page-hero .ribbon { height: 700px; top: -200px; opacity: .95; }

/* ---------- Pay app ---------- */
.app-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 16px; align-items: start; }
@media (max-width: 960px) { .app-grid { grid-template-columns: 1fr; } }
.app { padding: 0; overflow: hidden; }
.app-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); background: var(--tint); }
.app-head h2 { font-size: 16px; font-weight: 500; letter-spacing: 0; }
.app-body { padding: 24px; display: grid; gap: 20px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.field .hint { font-size: 13px; color: var(--slate); margin-top: 6px; }
.input-row { display: flex; gap: 8px; }
.input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid #cfd9e5; border-radius: 4px; font: inherit; font-size: 15px; color: var(--navy); background: #fff; }
.input:focus { outline: none; border-color: var(--zec-ink); box-shadow: 0 0 0 3px rgba(244, 183, 40, .3); }
.input.mono { font-family: var(--mono); font-size: 13.5px; }
.input-row .btn { height: 44px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } .input-row { flex-direction: column; } }
.quote { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.quote .store { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.favi { width: 32px; height: 32px; border-radius: 6px; background: var(--tint-zec); color: var(--zec-ink); display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; text-transform: uppercase; }
.quote .total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px; background: var(--tint-zec-2); border-top: 1px solid var(--line); }
.quote .total .zec { font-size: 28px; font-weight: 300; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.empty { padding: 28px 16px; text-align: center; font-size: 14.5px; color: var(--slate); }
.toggle { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.toggle input { width: 18px; height: 18px; accent-color: #d99a0b; }
.side-card { padding: 24px; }
.side-card h2 { font-size: 16px; font-weight: 500; letter-spacing: 0; margin-bottom: 14px; }
.howlist { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 14px; }
.howlist li { counter-increment: s; display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: 14.5px; color: var(--slate-2); }
.howlist li::before { content: counter(s); width: 24px; height: 24px; border-radius: 50%; background: var(--tint-zec); color: var(--zec-ink); font-size: 12.5px; font-weight: 600; display: grid; place-items: center; }
.howlist strong { color: var(--navy); font-weight: 500; display: block; }
.feed { list-style: none; margin: 0; padding: 0; }
.feed li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14px; animation: rise .4s ease both; }
.feed li:first-child { border-top: 0; }
.feed .what { color: var(--navy); } .feed .when { color: var(--slate); font-size: 13px; }
.feed .amt { font-variant-numeric: tabular-nums; font-weight: 500; white-space: nowrap; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(6, 27, 49, .45); backdrop-filter: blur(4px); }
.modal-card { width: min(460px, 100%); background: #fff; border-radius: 10px; box-shadow: var(--shadow-lg); overflow: hidden; }
.modal-card .app-head { background: #fff; }
.progress { list-style: none; margin: 0; padding: 22px 24px; display: grid; gap: 16px; }
.progress li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--slate); }
.progress .st { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); flex: none; display: grid; place-items: center; font-size: 12px; margin-top: 1px; }
.progress li.active { color: var(--navy); }
.progress li.active .st { border-color: var(--zec); border-top-color: transparent; animation: spin .8s linear infinite; }
.progress li.done { color: var(--navy); }
.progress li.done .st { background: var(--ok); border-color: var(--ok); color: #fff; }
.progress li.done .st::after { content: "✓"; }
.modal-foot { padding: 0 24px 24px; display: flex; gap: 10px; justify-content: flex-end; }
.demo-note { font-size: 12.5px; color: var(--slate); padding: 0 24px 16px; }
.close-x { background: none; border: 0; font-size: 22px; line-height: 1; cursor: pointer; color: var(--slate); padding: 4px 8px; border-radius: 4px; }

/* ---------- Token page ---------- */
.dist { display: grid; gap: 14px; }
.dist .bar { height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; }
.dist .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ffd64a, #f4b728, #ec9a16); border-radius: 999px; transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.dist .lab { display: flex; justify-content: space-between; font-size: 14.5px; margin-bottom: 6px; }
.roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.phase { padding: 24px; }
.phase .tag { margin-bottom: 14px; }
.phase ul { margin: 12px 0 0; padding-left: 18px; font-size: 14.5px; color: var(--slate-2); display: grid; gap: 6px; }
@media (max-width: 960px) { .roadmap { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .roadmap { grid-template-columns: 1fr; } }
.buy-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.buy-steps .card { padding: 26px; }
.buy-steps .num { font-size: 13px; font-weight: 600; color: var(--zec-ink); margin-bottom: 14px; }
@media (max-width: 860px) { .buy-steps { grid-template-columns: 1fr; } }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 6px; font-size: 14px; z-index: 95; transition: opacity .2s, transform .2s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }


/* ---------- Full-screen sections (wide layout) ---------- */
.section { scroll-margin-top: var(--header); }
@media (min-width: 721px) {
  .hero.full { min-height: calc(100svh - var(--header)); display: flex; flex-direction: column; }
  .hero.full .hero-in { flex: 1; display: flex; flex-direction: column; justify-content: center; width: min(var(--col), calc(100% - 2 * var(--gutter))); }
  .hero.full .logos { flex: none; }
  .hero.full .ribbon { top: -120px; right: -6vw; width: 72vw; height: calc(100% + 120px); min-height: 760px; }
  .section.full { min-height: calc(100svh - var(--header)); display: flex; flex-direction: column; justify-content: center; }
  .section.full > .wrap { width: min(var(--col), calc(100% - 2 * var(--gutter))); }
}
@media (min-width: 1600px) {
  .tile-copy { padding: 32px 32px 0; } .tile-ui { padding: 28px 32px 32px; }
  .tile-copy h3, h3 { font-size: 21px; } .tile-copy p, .card p, .small { font-size: 16px; }
  .mini { font-size: 14.5px; } .bento, .uses, .roadmap, .buy-steps { gap: 20px; }
  .stat .n { font-size: 52px; } .faq summary { font-size: 21px; }
  .btn { height: 44px; padding: 0 18px; font-size: 16px; }
  .btn-sm { height: 36px; font-size: 14.5px; }
}
@media (min-width: 721px) { .hero.full .hero-in { align-items: flex-start; } }
.vcard { max-width: 360px; margin: 0 auto; }
