/* ───────────────────────────────────────────────
   Gasless Wallet — landing styles
   Light, airy fintech. 3 switchable accent themes.
   ─────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:wght@400;500;600;700;800&family=Hanken+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --font-display: 'Schibsted Grotesk', system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* radius scale — driven by --r (set per "Corners" tweak) */
  --r: 1;
  --radius-sm: calc(8px * var(--r));
  --radius: calc(16px * var(--r));
  --radius-lg: calc(26px * var(--r));
  --radius-xl: calc(36px * var(--r));

  /* default theme = mint */
  --bg: #FAFBF9;
  --bg-2: #F1F4F1;
  --surface: #FFFFFF;
  --ink: #0C1512;
  --ink-soft: #2C3A34;
  --muted: #5C6B64;
  --faint: #8A968F;
  --line: rgba(12, 21, 18, 0.09);
  --line-soft: rgba(12, 21, 18, 0.05);
  --accent: #0FA968;
  --accent-2: #0A8E55;
  --on-accent: #FFFFFF;
  --tint: #E8F6EF;
  --tint-2: #D2EFE0;
  --ring: rgba(15, 169, 104, 0.25);
  --shadow-soft: 0 1px 2px rgba(12,21,18,.04), 0 8px 24px rgba(12,21,18,.05);
  --shadow-card: 0 1px 3px rgba(12,21,18,.05), 0 18px 50px -20px rgba(12,21,18,.16);
  --shadow-phone: 0 40px 120px -30px rgba(12,21,18,.32), 0 8px 30px -10px rgba(12,21,18,.18);
  --tron: #EB0029;
  --usdt: #009393;
}

[data-theme="cobalt"] {
  --bg: #F8FAFC;
  --bg-2: #EEF2F8;
  --surface: #FFFFFF;
  --ink: #0B1220;
  --ink-soft: #25304A;
  --muted: #56627A;
  --faint: #8590A6;
  --line: rgba(11, 18, 32, 0.09);
  --line-soft: rgba(11, 18, 32, 0.05);
  --accent: #2563EB;
  --accent-2: #1B4FD8;
  --on-accent: #FFFFFF;
  --tint: #EAF1FE;
  --tint-2: #D6E4FD;
  --ring: rgba(37, 99, 235, 0.25);
}

[data-theme="violet"] {
  --bg: #FBFAFF;
  --bg-2: #F2EFFA;
  --surface: #FFFFFF;
  --ink: #14101F;
  --ink-soft: #2E2740;
  --muted: #635C77;
  --faint: #948CA8;
  --line: rgba(20, 16, 31, 0.09);
  --line-soft: rgba(20, 16, 31, 0.05);
  --accent: #6D4AFF;
  --accent-2: #5A37F0;
  --on-accent: #FFFFFF;
  --tint: #EFEBFF;
  --tint-2: #E0D8FF;
  --ring: rgba(109, 74, 255, 0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.05;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }

.mono { font-family: var(--font-mono); font-feature-settings: "tnum" 1; }

/* ── layout ── */
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
section { position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--muted);
  padding: 7px 14px 7px 11px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--tint); }

.section-tag {
  font-family: var(--font-body);
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
}

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: 16px;
  padding: 14px 22px; border-radius: var(--radius);
  cursor: pointer; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 10px 24px -10px var(--ring); }
.btn-primary:hover { background: var(--accent-2); box-shadow: 0 1px 2px rgba(0,0,0,.14), 0 14px 30px -10px var(--ring); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-soft); }

/* App Store badge */
.appstore {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: #fff;
  padding: 11px 20px 11px 18px; border-radius: var(--radius);
  transition: transform .15s ease, box-shadow .2s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,.18), 0 16px 34px -16px rgba(12,21,18,.5);
}
.appstore:hover { transform: translateY(-2px); }
.appstore svg { width: 26px; height: 26px; }
.appstore .as-txt { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.appstore .as-1 { font-size: 11px; letter-spacing: .02em; opacity: .82; }
.appstore .as-2 { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -.01em; }

/* App Store badge — hover QR popover */
.appstore-wrap { position: relative; display: inline-flex; }
.as-qr {
  position: absolute; left: 50%; bottom: calc(100% + 12px);
  transform: translateX(-50%) translateY(6px) scale(.96);
  transform-origin: bottom center;
  opacity: 0; pointer-events: none; z-index: 60;
  transition: opacity .18s ease, transform .24s cubic-bezier(.2,1.1,.4,1);
}
.appstore-wrap:hover .as-qr,
.appstore-wrap:focus-within .as-qr {
  opacity: 1; transform: translateX(-50%) translateY(0) scale(1);
}
.as-qr-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: #fff; padding: 14px; border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 44px -16px rgba(12,21,18,.42), 0 2px 8px rgba(12,21,18,.1);
}
.as-qr-card img { display: block; border-radius: 6px; }
.as-qr-label {
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: -.01em; color: var(--ink); white-space: nowrap;
}
.as-qr::after {
  content: ''; position: absolute; top: 100%; left: 50%;
  width: 12px; height: 12px; margin-left: -6px; margin-top: -6px;
  background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transform: rotate(45deg);
}
@media (prefers-reduced-motion: reduce) {
  .as-qr { transition: opacity .15s ease; transform: translateX(-50%); }
  .appstore-wrap:hover .as-qr, .appstore-wrap:focus-within .as-qr { transform: translateX(-50%); }
}

/* ── nav ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.scrolled { border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(150deg, var(--accent), var(--accent-2));
  display: grid; place-items: center; color: var(--on-accent);
  box-shadow: 0 4px 12px -4px var(--ring); flex-shrink: 0;
}
.nav-links { display: flex; gap: 34px; align-items: center; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--muted); transition: color .15s; white-space: nowrap; }
.nav-links a:hover { color: var(--ink); }

/* active nav item — current page */
.nav-active {
  color: var(--ink) !important; font-weight: 600;
  position: relative;
}
.nav-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -7px;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

/* Gasless Node link + "new" badge */
.nav-node { display: inline-flex; align-items: center; gap: 7px; }
.nav-new {
  display: inline-flex; align-items: center;
  font-family: var(--font-display); font-weight: 700;
  font-size: 10px; line-height: 1; letter-spacing: .04em; text-transform: uppercase;
  color: var(--on-accent); background: linear-gradient(150deg, var(--accent), var(--accent-2));
  padding: 3px 6px 3px; border-radius: 6px;
  box-shadow: 0 3px 10px -4px var(--ring);
}
.nav-cta { display: flex; align-items: center; gap: 14px; }

/* ── hero ── */
.hero { padding: 56px 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.2vw, 68px); font-weight: 800; letter-spacing: -0.035em; }
.hero h1 .hl { color: var(--accent); }
.hero-sub { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 30em; margin-top: 24px; line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 10px; margin-top: 20px; color: var(--faint); font-size: 14px; }

/* ── hero wallet-switch teaser ── */
.wallet-teaser {
  position: relative;
  display: inline-flex; align-items: center; gap: 13px;
  margin-top: 22px;
  padding: 12px 18px 12px 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  color: var(--ink-soft);
  max-width: 100%;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.wallet-teaser:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  box-shadow: 0 1px 2px rgba(12,21,18,.05), 0 16px 34px -18px var(--ring);
  transform: translateY(-2px);
}
.wallet-teaser .wt-icon {
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 10px; display: grid; place-items: center;
  background: var(--tint); color: var(--accent);
  transition: transform .3s ease;
}
.wallet-teaser:hover .wt-icon { transform: rotate(180deg); }
.wallet-teaser .wt-icon svg { width: 19px; height: 19px; }
.wt-body { display: grid; }
.wt-body > span { grid-area: 1 / 1; }
.wt-q, .wt-reveal {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14.5px; line-height: 1.3; font-weight: 600;
  transition: opacity .22s ease, transform .22s ease;
}
.wt-q { color: var(--ink-soft); }
.wt-q .wt-chev { color: var(--faint); }
.wt-q .wt-chev svg, .wt-reveal svg { width: 16px; height: 16px; flex-shrink: 0; }
.wt-reveal { color: var(--accent); opacity: 0; transform: translateY(5px); pointer-events: none; }
.wallet-teaser:hover .wt-q { opacity: 0; transform: translateY(-5px); }
.wallet-teaser:hover .wt-reveal { opacity: 1; transform: translateY(0); }
.wt-pulse {
  position: absolute; top: -5px; right: -5px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px var(--bg);
}
.wt-pulse::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: var(--accent); animation: wt-ping 2.4s ease-out infinite;
}
.wallet-teaser:hover .wt-pulse::after { animation: none; }
@keyframes wt-ping { 0% { transform: scale(1); opacity: .55; } 70%,100% { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wt-pulse::after { animation: none; } }
.hero-saved {
  display: inline-flex; align-items: center; gap: 18px; margin-top: 30px;
  padding: 16px 22px; background: var(--surface);
  border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: var(--radius); box-shadow: var(--shadow-card);
}
.hero-saved .hs-num {
  font-family: var(--font-display); font-size: clamp(34px, 4vw, 44px); font-weight: 800;
  letter-spacing: -0.04em; color: var(--accent); line-height: 1;
  font-variant-numeric: tabular-nums; min-width: 3.4ch;
}
.hero-saved .hs-divider { width: 1px; align-self: stretch; background: var(--line); }
.hero-saved .hs-lbl { font-size: 14.5px; color: var(--muted); font-weight: 500; line-height: 1.35; }
.avatars { display: flex; }
.avatars span { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -8px; background: var(--tint-2); }
.avatars span:first-child { margin-left: 0; }

.phone-stage { position: relative; display: flex; justify-content: center; align-items: center; }
.phone-glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; filter: blur(80px); opacity: .5;
  background: radial-gradient(circle, var(--tint-2), transparent 70%); z-index: 0; }

/* floating annotation chips around phone */
.chip {
  position: absolute; z-index: 5;
  display: flex; align-items: center; gap: 9px;
  background: var(--surface); border: 1px solid var(--line);
  padding: 10px 14px; border-radius: 14px;
  box-shadow: var(--shadow-card); font-size: 13.5px; font-weight: 600;
  animation: floaty 5s ease-in-out infinite;
}
.chip .ci { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0; }
.chip small { display: block; font-weight: 500; color: var(--faint); font-size: 11.5px; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ── stat strip ── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 30px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat .num { font-family: var(--font-display); font-size: 38px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.stat .num .u { color: var(--accent); }
.stat .lbl { color: var(--muted); font-size: 14.5px; margin-top: 9px; }

/* ── generic section header ── */
.sec { padding: 92px 0; }
.sec-head { max-width: 640px; margin-bottom: 52px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; letter-spacing: -0.03em; margin-top: 16px; }
.sec-head p { font-size: 18px; color: var(--muted); margin-top: 18px; line-height: 1.55; }

/* ── how it works ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; position: relative; box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.step .sn { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: .04em; }
.step .si { width: 52px; height: 52px; border-radius: 15px; background: var(--tint); color: var(--accent); display: grid; place-items: center; margin: 16px 0 20px; }
.step h3 { font-size: 21px; font-weight: 700; }
.step p { color: var(--muted); margin-top: 11px; font-size: 15.5px; line-height: 1.55; }
.step-line { position: absolute; top: 56px; right: -11px; width: 22px; height: 2px; background: var(--line); z-index: 2; }

/* ── how it works: seed contrast + key flow ── */
.seedcmp { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; max-width: 960px; margin: 0 auto; }
.sccard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; }
.sccard--old { background: var(--bg-2); }
.sccard--new { border-color: var(--tint-2); box-shadow: var(--shadow-card); position: relative; }
.sccard--new::before { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 1.5px solid var(--accent); opacity: .26; pointer-events: none; }
.sccard-top { display: flex; align-items: center; gap: 13px; margin-bottom: 22px; }
.scbadge { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.scbadge svg { width: 20px; height: 20px; }
.scbadge--x { background: rgba(196,69,63,.12); color: #C4453F; }
.scbadge--ok { background: var(--tint); color: var(--accent); }
.sck { font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.scsub { font-size: 13.5px; color: var(--muted); margin-top: 2px; }

.seedgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 22px; }
.seedw { display: flex; align-items: center; gap: 7px; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 9px 10px; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-soft); }
.seedw i { font-style: normal; font-size: 10px; color: var(--faint); min-width: 1.5ch; text-align: right; }
.scwarn { display: flex; align-items: flex-start; gap: 9px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); color: #B23F3A; font-size: 13.5px; line-height: 1.4; }
.scwarn svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 1px; }
.scwarn b { font-weight: 700; }

.loginmock { display: grid; gap: 10px; margin-bottom: 22px; }
.lgn { display: flex; align-items: center; justify-content: center; gap: 10px; border-radius: var(--radius); padding: 13px 16px; font-weight: 600; font-size: 15px; border: 1px solid var(--line); white-space: nowrap; }
.lgn svg { width: 19px; height: 19px; }
.lgn--apple { background: var(--ink); color: #fff; border-color: var(--ink); }
.lgn--google { background: var(--surface); color: var(--ink); }
.lgn-face { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--faint); font-size: 12.5px; }
.lgn-face svg { width: 14px; height: 14px; }
.scgood { display: flex; align-items: center; gap: 9px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); color: var(--accent-2); font-size: 13.5px; }
.scgood svg { width: 17px; height: 17px; flex-shrink: 0; }
.scgood b { font-weight: 700; }

.scvs { display: grid; place-items: center; padding: 0 18px; }
.scvs span { width: 44px; height: 44px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--muted); }

.keyflow { max-width: 880px; margin: 26px auto 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-soft); text-align: center; }
.kf-track { display: flex; align-items: flex-start; justify-content: center; gap: 10px; }
.kf-node { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 0 1 180px; }
.kf-ic { width: 56px; height: 56px; border-radius: 16px; background: var(--tint); color: var(--accent); display: grid; place-items: center; }
.kf-ic svg { width: 26px; height: 26px; }
.kf-node--key .kf-ic { background: var(--ink); color: #fff; }
.kf-lbl { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.kf-meta { font-size: 12.5px; color: var(--muted); line-height: 1.35; max-width: 17ch; }
.kf-arrow { color: var(--faint); display: grid; place-items: center; align-self: flex-start; margin-top: 16px; }
.kf-arrow svg { width: 24px; height: 24px; }
.kf-copy { font-size: 15.5px; color: var(--muted); line-height: 1.6; max-width: 58ch; margin: 28px auto 0; }
.kf-copy b { color: var(--ink); font-weight: 700; }

@media (max-width: 760px) {
  .seedcmp { grid-template-columns: 1fr; gap: 14px; }
  .scvs { padding: 6px 0; }
  .kf-track { flex-direction: column; align-items: center; }
  .kf-arrow { transform: rotate(90deg); margin: 2px 0; align-self: center; }
  .kf-node { flex-basis: auto; }
  .kf-meta { max-width: 24ch; }
}

/* ── features bento ── */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.feat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-soft); position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.feat.span3 { grid-column: span 3; }
.feat.span2 { grid-column: span 2; }
.feat.span6 { grid-column: span 6; }
.feat .fi { width: 48px; height: 48px; border-radius: 13px; background: var(--tint); color: var(--accent); display: grid; place-items: center; margin-bottom: 22px; }
.feat h3 { font-size: 22px; font-weight: 700; }
.feat p { color: var(--muted); margin-top: 12px; font-size: 15.5px; line-height: 1.55; max-width: 40ch; }
.feat .tag { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; font-size: 13px; font-weight: 600; color: var(--accent); background: var(--tint); padding: 6px 12px; border-radius: 999px; }

/* savings bar visual inside a feature */
.savings { margin-top: 24px; display: grid; gap: 12px; }
.sv-row { display: flex; align-items: center; gap: 14px; }
.sv-row .who { width: 92px; font-size: 13px; color: var(--muted); font-weight: 600; }
.sv-track { flex: 1; height: 30px; border-radius: 9px; background: var(--bg-2); position: relative; overflow: hidden; }
.sv-fill { position: absolute; inset: 0; border-radius: 9px; display: flex; align-items: center; justify-content: flex-end; padding-right: 12px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: #fff; }
.sv-fill.them { width: 100%; background: var(--ink-soft); }
.sv-fill.us { width: 50%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }

/* ── no-TRX interactive demo (beginners section) ── */
.notrx { display: grid; grid-template-columns: 1fr 0.92fr; gap: 56px; align-items: center; margin-bottom: 60px; }
.notrx-copy .nt-eyebrow {
  display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700;
  letter-spacing: .02em; color: var(--accent); background: var(--tint);
  border: 1px solid var(--tint-2); padding: 7px 14px 7px 11px; border-radius: 999px;
}
.notrx-copy .nt-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.notrx-copy h3 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -0.03em; margin-top: 20px; line-height: 1.08; }
.notrx-copy .nt-lead { font-size: 17.5px; color: var(--muted); line-height: 1.55; margin-top: 18px; max-width: 38ch; }
.notrx-steps { display: grid; gap: 14px; margin-top: 28px; }
.nt-step { display: flex; align-items: flex-start; gap: 14px; }
.nt-step .nt-num {
  width: 34px; height: 34px; border-radius: 11px; flex-shrink: 0; display: grid; place-items: center;
  background: var(--tint); color: var(--accent); font-family: var(--font-display); font-weight: 800; font-size: 15px;
}
.nt-step .nt-b { font-family: var(--font-display); font-weight: 700; font-size: 16.5px; }
.nt-step .nt-p { color: var(--muted); font-size: 14.5px; margin-top: 2px; line-height: 1.45; }
.nt-hint { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.nt-hint .nt-tap { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--ring); animation: ntTap 1.8s ease-out infinite; }
@keyframes ntTap { 0% { box-shadow: 0 0 0 0 var(--ring); } 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.notrx-stage { position: relative; display: flex; justify-content: center; }
.notrx-stage .nt-glow { position: absolute; width: 380px; height: 380px; border-radius: 50%; filter: blur(80px); opacity: .5; background: radial-gradient(circle, var(--tint-2), transparent 70%); z-index: 0; }
.notrx-stage > div { position: relative; z-index: 2; }

/* Get TRX CTA — "tap me" attention animation (mirrors the Hero Send button) */
.nt-cta { position: relative; animation: ntCtaBreathe 2.4s ease-in-out infinite; }
.nt-cta::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  border: 2.5px solid var(--accent); pointer-events: none;
  animation: ntCtaRing 2.4s cubic-bezier(.2,.6,.3,1) infinite;
}
.nt-cta:hover { animation-play-state: paused; transform: translateY(-1px); }
@keyframes ntCtaBreathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.025); } }
@keyframes ntCtaRing {
  0%   { opacity: .7; transform: scale(1); }
  65%  { opacity: 0;  transform: scale(1.09); }
  100% { opacity: 0;  transform: scale(1.09); }
}
@media (prefers-reduced-motion: reduce) {
  .nt-cta { animation: none; }
  .nt-cta::after { animation: none; opacity: 0; }
}

/* sheet + scrim entrance */
.nt-sheet { animation: ntSheetUp .42s cubic-bezier(.32,.72,0,1) both; }
.nt-modal-scrim { animation: ntScrim .42s ease both; }
@keyframes ntSheetUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes ntScrim { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .nt-sheet, .nt-modal-scrim { animation: none; }
}

@media (max-width: 920px) {
  .notrx { grid-template-columns: 1fr; gap: 40px; }
  .notrx-stage { order: -1; }
  .notrx-copy .nt-lead { max-width: none; }
}

/* ── comparison ── */
.compare { max-width: 940px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.cmp-head, .cmp-row { display: grid; grid-template-columns: 1.1fr 1.3fr 1.3fr; align-items: center; }
.cmp-row { border-top: 1px solid var(--line); }
.cmp-cell { padding: 20px 24px; font-size: 15.5px; display: flex; align-items: center; gap: 11px; line-height: 1.35; }
.cmp-head .cmp-cell { padding-top: 22px; padding-bottom: 22px; font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.cmp-label { color: var(--muted); font-weight: 600; font-family: var(--font-body); }
.cmp-head .cmp-label { background: transparent; }
.cmp-others { color: var(--muted); border-left: 1px solid var(--line); background: var(--bg-2); }
.cmp-us { color: var(--ink); border-left: 1px solid var(--line); background: var(--tint); font-weight: 600; }
.cmp-head .cmp-us { color: var(--accent); }
.cmp-mark { width: 26px; height: 26px; border-radius: 8px; background: var(--accent); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.cmp-mark svg { width: 15px; height: 15px; }
.cmp-x, .cmp-check { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.cmp-x { background: rgba(190,70,60,.12); color: #C4453F; }
.cmp-check { background: var(--tint-2); color: var(--accent-2); }
.cmp-x svg, .cmp-check svg { width: 14px; height: 14px; }
@media (max-width: 720px) {
  .cmp-head, .cmp-row { grid-template-columns: 1fr 1fr; }
  .cmp-head .cmp-label, .cmp-row .cmp-label { grid-column: 1 / -1; padding-bottom: 4px; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; background: var(--bg-2); }
  .cmp-cell { padding: 14px 18px; font-size: 14px; }
}

/* ── security ── */
.security { background: var(--ink); color: #fff; border-radius: var(--radius-xl); padding: 64px; position: relative; overflow: hidden; }
.security h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; letter-spacing: -0.03em; color: #fff; }
.security .lead { color: rgba(255,255,255,.7); font-size: 18px; margin-top: 18px; max-width: 34em; line-height: 1.55; }
.security-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.sec-points { display: grid; gap: 18px; margin-top: 36px; }
.sp { display: flex; gap: 15px; align-items: flex-start; }
.sp .spi { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; flex-shrink: 0; color: #fff; }
.sp b { font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.sp p { color: rgba(255,255,255,.62); font-size: 14.5px; margin-top: 4px; }
.key-visual { display: grid; place-items: center; }

/* ── referral ── */
.referral { background: linear-gradient(165deg, var(--tint), var(--surface)); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 56px; }
.ref-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: 48px; align-items: center; }
.ref-big { font-family: var(--font-display); font-size: clamp(64px, 9vw, 116px); font-weight: 800; letter-spacing: -0.05em; line-height: .9; color: var(--accent); }
.ref-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-card); }
.ref-link { display: flex; align-items: center; gap: 10px; background: var(--bg-2); border-radius: var(--radius); padding: 13px 16px; margin-top: 16px; }
.ref-link .lk { flex: 1; font-family: var(--font-mono); font-size: 14px; color: var(--ink-soft); }
.ref-copy { background: var(--accent); color: var(--on-accent); border: none; border-radius: 10px; padding: 8px 14px; font-weight: 600; font-size: 13px; cursor: pointer; font-family: var(--font-body); }

/* ── final cta ── */
.final { text-align: center; padding: 104px 0; }
.final h2 { font-size: clamp(38px, 5.5vw, 76px); font-weight: 800; letter-spacing: -0.04em; }
.final p { font-size: 19px; color: var(--muted); margin: 22px auto 0; max-width: 28em; }
.final .cta-row { display: flex; gap: 16px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }
.qr { width: 116px; height: 116px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); padding: 12px; box-shadow: var(--shadow-soft); }

/* ── footer ── */
.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.foot-col h5 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin: 0 0 16px; font-family: var(--font-body); font-weight: 700; }
.foot-col a { display: block; color: var(--muted); font-size: 15px; margin-bottom: 11px; transition: color .15s; }
.foot-col a:hover { color: var(--ink); }
.foot-social { display: flex; gap: 10px; margin-top: 20px; }
.foot-social .foot-social-link {
  display: grid; place-items: center;
  width: 40px; height: 40px; margin: 0; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted);
  transition: color .16s, border-color .16s, background .16s, transform .16s;
}
.foot-social .foot-social-link svg { width: 19px; height: 19px; display: block; }
.foot-social .foot-social-link:hover {
  color: var(--accent); border-color: color-mix(in oklab, var(--accent) 40%, var(--line));
  background: var(--tint); transform: translateY(-2px);
}
.foot-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13.5px; flex-wrap: wrap; gap: 14px; }
.foot-note { max-width: 60ch; line-height: 1.5; }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ── responsive ── */
/* phone mockups render at a fixed 392px; this wrapper lets us shrink them
   (layout footprint included) so they never overflow narrow viewports */
.phone-host { display: inline-block; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  /* on mobile, show the copy first, then the app demo below it */
  .hero-grid .phone-stage { order: 1; }
  /* chips are designed to flank the phone in the desktop split layout —
     once stacked they fall off-screen, so retire them on mobile */
  .hero .chip { display: none; }
  .security-grid, .ref-grid { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr; }
  .step-line { display: none; }
  .feat.span3, .feat.span2 { grid-column: span 6; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .nav-links { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 36px 0 28px; }
  .sec { padding: 64px 0; }
  .security, .referral { padding: 32px; border-radius: var(--radius-lg); }
  .stats { grid-template-columns: 1fr 1fr; }
  .final .cta-row { flex-direction: column; align-items: center; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* keep decorative glows from spilling past the viewport edge */
@media (max-width: 480px) {
  .phone-glow { width: 300px; height: 300px; }
  .notrx-stage .nt-glow { width: 300px; height: 300px; }
}
@media (max-width: 360px) {
  .phone-glow { width: 250px; height: 250px; }
  .notrx-stage .nt-glow { width: 240px; height: 240px; }
}

/* shrink the fixed-width phone so it fits without horizontal scroll */
@media (max-width: 432px) { .phone-host { zoom: 0.86; } }
@media (max-width: 384px) { .phone-host { zoom: 0.80; } }
@media (max-width: 348px) { .phone-host { zoom: 0.70; } }
