/* Peppy Wallet marketing site. Dark only, in the same world as the app's welcome screen: an ink-violet
   ground (#0E0B1E), a violet glow, the faint P mark, glass chips and DM Sans. Product screenshots are the
   real (light) app, framed so they read as lit screens on the dark page.
   Layout: a 1160px column; a centred hero over a browser window with a phone beside it, then split sections
   (heading left, copy right) over glass cards, closing on a glowing call to action. */
:root {
  color-scheme: dark;
  --bg: #0e0b1e;
  --bg-2: #131027;
  --bg-3: #1a1533;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f5f3ff;
  --text-2: rgba(236, 232, 255, 0.76);
  --muted: rgba(236, 232, 255, 0.56);
  --violet: #6a3df5;
  --violet-hi: #7d52ff;
  --glow: #9d63ff;
  --lilac: #c9b3ff;
  --mint: #5fe3b5;
  --sans: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1160px;
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
::selection { background: rgba(157, 99, 255, 0.45); color: #fff; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; color: var(--bg); padding: 8px 14px; border-radius: 999px; z-index: 50; }
.skip:focus { left: 12px; }

.wrap {
  max-width: calc(var(--wrap) + 2 * 32px);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }
.narrow { max-width: calc(780px + 2 * 32px); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em; }
.muted { color: var(--muted); }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 12px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--lilac);
}
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 12px var(--glow); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px; border-radius: 999px;
  border: 1px solid var(--line-2); background: transparent; color: var(--text);
  font: 600 15px/1 var(--sans); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.25s, transform 0.2s var(--ease);
}
.btn:hover { border-color: rgba(255, 255, 255, 0.32); background: rgba(255, 255, 255, 0.06); }
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: linear-gradient(180deg, var(--violet-hi), var(--violet)); border-color: transparent; color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14) inset, 0 10px 30px -10px rgba(106, 61, 245, 0.85);
}
.btn-primary:hover { background: linear-gradient(180deg, #8a63ff, var(--violet-hi)); border-color: transparent; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2) inset, 0 14px 40px -10px rgba(125, 82, 255, 0.95); }
.btn-glass { background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-sm { height: 36px; padding: 0 15px; font-size: 14px; }
.btn-lg { height: 50px; padding: 0 24px; font-size: 16px; }
.arr { display: inline-block; transition: transform 0.2s var(--ease); }
.btn:hover .arr, .link:hover .arr { transform: translateX(3px); }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; font-size: 15px; color: var(--lilac); }
.link:hover { color: #fff; }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: rgba(14, 11, 30, 0.62); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color 0.25s, background 0.25s;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
.site-head.scrolled { border-bottom-color: var(--line); background: rgba(14, 11, 30, 0.82); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; height: 70px; }
.logo img { height: 30px; width: auto; }
.nav { display: flex; gap: 4px; margin: 0 auto; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.03); }
.nav a { text-decoration: none; font-size: 14.5px; color: var(--text-2); padding: 7px 14px; border-radius: 999px; transition: background 0.2s, color 0.2s; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav a[aria-current="page"] { color: #fff; background: rgba(157, 99, 255, 0.18); }
.head-cta { display: flex; gap: 8px; }
.head-cta .signin { border-color: transparent; }
@media (max-width: 900px) { .nav { display: none; } .head-cta { margin-left: auto; } }
@media (max-width: 420px) { .head-cta .signin { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; text-align: center; padding: clamp(48px, 8vw, 88px) 0 0; }
.hero-bg { position: absolute; inset: -70px 0 0; pointer-events: none; overflow: hidden; z-index: 0; }
.hero-bg::before {
  content: ""; position: absolute; left: 50%; top: -120px; width: min(1400px, 160vw); height: 900px; transform: translateX(-50%);
  background:
    radial-gradient(50% 45% at 50% 30%, rgba(106, 61, 245, 0.42), transparent 70%),
    radial-gradient(30% 30% at 70% 60%, rgba(157, 99, 255, 0.18), transparent 70%),
    radial-gradient(28% 26% at 28% 58%, rgba(38, 161, 123, 0.10), transparent 70%);
  filter: blur(10px);
}
.hero-mark { position: absolute; width: min(760px, 120vw); left: 50%; top: 40px; transform: translateX(-62%) rotate(-6deg); opacity: 0.045; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 48% at 50% 22%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 48% at 50% 22%, #000 0%, transparent 75%);
}
.hero > .wrap { position: relative; z-index: 1; }

.tokens { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tokens li {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 13px 5px 5px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font: 500 12px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.84);
}
.cm { flex: none; display: block; }

.hero h1 {
  margin: 28px auto 0; max-width: 13ch;
  font-size: clamp(46px, 8.4vw, 104px); line-height: 0.95; letter-spacing: -0.052em; font-weight: 700;
}
.hero h1 em, .cta h2 em {
  font-style: normal;
  background: linear-gradient(100deg, #b38cff 0%, #e2d6ff 45%, #8ee8cc 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lede { margin: 26px auto 0; max-width: 58ch; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; color: var(--text-2); }
.hero-actions { margin-top: 32px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* Product stage: a browser window with the phone app beside it. */
.stage { position: relative; margin: clamp(48px, 7vw, 80px) 0 0; text-align: left; }
.stage-glow {
  position: absolute; inset: 8% 4% -6%; border-radius: 40px; pointer-events: none;
  background: radial-gradient(60% 60% at 50% 40%, rgba(106, 61, 245, 0.55), transparent 70%); filter: blur(60px); opacity: 0.8;
}
.window {
  position: relative; border-radius: 18px; overflow: hidden;
  background: #191530; border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 50px 120px -40px rgba(0, 0, 0, 0.9), 0 30px 80px -40px rgba(106, 61, 245, 0.6);
}
.window-bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; background: linear-gradient(#211b3d, #1b1634); border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.dots i:first-child { background: #ff5f57; } .dots i:nth-child(2) { background: #febc2e; } .dots i:nth-child(3) { background: #28c840; }
.dots.ghost { visibility: hidden; }
.url {
  margin: 0 auto; display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 14px; border-radius: 8px;
  background: rgba(0, 0, 0, 0.28); color: var(--text-2); font: 500 12.5px/1 var(--sans); min-width: 0; max-width: 60%; overflow: hidden; white-space: nowrap;
}
.url svg { color: var(--mint); flex: none; }
.frame-screen { background: #fff; aspect-ratio: 16 / 10; overflow: hidden; }
.frame-screen picture { display: contents; }
.frame-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: opacity 0.3s var(--ease); }
.frame-screen img.fading { opacity: 0.2; }
.stage-phone { position: absolute; right: -2%; bottom: 84px; width: clamp(150px, 19%, 220px); z-index: 2; }
.float {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 9px; border-radius: 999px;
  background: rgba(30, 24, 58, 0.72); border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font: 600 13.5px/1 var(--sans); color: #fff; white-space: nowrap;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.7);
  animation: float 7s ease-in-out infinite;
}
.float b { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #a7f3d9, #1fb985); box-shadow: 0 0 14px rgba(95, 227, 181, 0.7); }
.float-a { left: -3%; top: 22%; }
.float-b { right: 14%; top: -18px; animation-delay: -3.5s; padding-left: 12px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.frame-foot { position: relative; display: flex; align-items: center; gap: 14px 18px; margin-top: 22px; flex-wrap: wrap; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.tab {
  border: 0; background: transparent; color: var(--text-2);
  font: 600 13px/1 var(--sans); padding: 9px 14px; border-radius: 999px; cursor: pointer; transition: background 0.2s, color 0.2s;
}
.tab:hover { color: #fff; }
.tab[aria-selected="true"] { background: #fff; color: var(--bg); }
.frame-cap { font-size: 14px; color: var(--text-2); flex: 1 1 280px; min-width: 0; }
.frame-cap .mono { margin-right: 10px; color: var(--lilac); }
.frame-ctrl { display: flex; gap: 6px; }
.round {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04);
  display: grid; place-items: center; cursor: pointer; color: var(--text); font: 500 15px/1 var(--sans); padding: 0; transition: background 0.2s, border-color 0.2s;
}
.round:hover { border-color: rgba(255, 255, 255, 0.36); background: rgba(255, 255, 255, 0.08); }
@media (max-width: 860px) {
  .stage-phone, .float { display: none; }
  .frame-foot { justify-content: center; }
  .frame-cap { flex-basis: 100%; text-align: center; order: 3; }
}
@media (max-width: 520px) {
  .window { border-radius: 14px; }
  .window-bar { height: 32px; padding: 0 10px; }
  .dots i { width: 8px; height: 8px; }
  .url { height: 20px; font-size: 11px; padding: 0 10px; }
  .tabs { justify-content: center; border-radius: 18px; }
  .tab { padding: 8px 11px; font-size: 12.5px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(88px, 11vw, 144px) 0 0; position: relative; }
.section:last-of-type { padding-bottom: clamp(88px, 11vw, 144px); }
.split-head { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px 56px; align-items: end; margin-bottom: 44px; }
.split-head > div:first-child { display: grid; gap: 18px; justify-items: start; }
.split-head h2, .h2 { font-size: clamp(34px, 4.8vw, 58px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 700; }
.split-head .side { display: grid; gap: 18px; justify-items: start; color: var(--text-2); font-size: 16.5px; max-width: 52ch; }
@media (max-width: 760px) { .split-head { grid-template-columns: minmax(0, 1fr); } }

/* Pricing band */
.band { padding-top: clamp(72px, 9vw, 112px); }
.stats { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 12px; }
.stats-lead { display: grid; gap: 14px; align-content: center; justify-items: start; padding: 8px 20px 8px 0; }
.stats-lead h2 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.05; letter-spacing: -0.04em; }
.stat {
  position: relative; padding: 26px 24px; border-radius: var(--radius); min-width: 0; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)); border: 1px solid var(--line);
}
.stat::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; aspect-ratio: 1; background: radial-gradient(circle, rgba(157, 99, 255, 0.22), transparent 65%); pointer-events: none; }
.stat strong { position: relative; display: block; font-size: clamp(40px, 4.6vw, 58px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat small { position: relative; display: block; margin-top: 14px; font-size: 14px; color: var(--text-2); line-height: 1.45; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .stats-lead { grid-column: 1 / -1; padding: 0 0 12px; } }
@media (max-width: 600px) { .stats { grid-template-columns: minmax(0, 1fr); } }

/* Balance kinds */
.kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .kinds { grid-template-columns: minmax(0, 1fr); } }
.kind {
  position: relative; display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: var(--radius); text-decoration: none; min-width: 0;
  background: var(--panel); border: 1px solid var(--line); overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.25s, background 0.25s;
}
.kind::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 80%; aspect-ratio: 1; background: radial-gradient(circle, rgba(106, 61, 245, 0.28), transparent 65%); opacity: 0; transition: opacity 0.35s; pointer-events: none; }
.kind:hover { transform: translateY(-3px); border-color: rgba(157, 99, 255, 0.4); background: rgba(255, 255, 255, 0.05); }
.kind:hover::after { opacity: 1; }
.kind-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.kind-top .cm { box-shadow: 0 8px 22px -6px rgba(0, 0, 0, 0.6); border-radius: 50%; }
.kind-top .arr { color: var(--muted); font-size: 18px; transition: transform 0.25s var(--ease), color 0.25s; }
.kind:hover .kind-top .arr { color: #fff; transform: translate(2px, -2px); }
.kind h3 { font-size: 19px; letter-spacing: -0.02em; }
.kind p { font-size: 14.5px; color: var(--text-2); line-height: 1.55; }
.kind .tags { margin-top: 6px; font: 400 11.5px/1.4 var(--mono); color: var(--muted); letter-spacing: 0.03em; }

/* Bento of real components */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.card {
  grid-column: span 2; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)); border: 1px solid var(--line);
}
.card.wide { grid-column: span 3; }
.card-text { padding: 26px 26px 20px; display: grid; gap: 8px; }
.card-text h3 { font-size: 21px; letter-spacing: -0.025em; }
.card-text p { font-size: 14.5px; color: var(--text-2); max-width: 46ch; }
/* Each card shows one real component at phone width on a lit violet stage. It sits at a readable size and
   runs off the card's lower edge under a fade, instead of being shrunk to fit. */
.shot-stage {
  position: relative; flex: 1; min-height: 260px; max-height: 340px; margin: 0 12px 12px; padding: 26px 0 0 26px; border-radius: 18px; overflow: hidden;
  background:
    radial-gradient(90% 80% at 20% 0%, rgba(157, 99, 255, 0.55), transparent 60%),
    radial-gradient(70% 70% at 100% 100%, rgba(38, 161, 123, 0.18), transparent 60%),
    linear-gradient(160deg, #2a1f63, #19133a);
}
.shot-stage picture { display: block; }
.shot-stage img {
  display: block; width: min(400px, 100%); height: auto; max-width: none; border-radius: 16px 0 0 0; background: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5), 0 30px 60px -20px rgba(0, 0, 0, 0.75);
  transition: transform 0.6s var(--ease);
}
.card:hover .shot-stage img { transform: translateY(-6px); }
.card.wide .shot-stage img { width: min(420px, 92%); }
.shot-stage::after { content: ""; position: absolute; inset: auto 0 0; height: 70px; background: linear-gradient(to bottom, rgba(25, 19, 58, 0), #19133a); pointer-events: none; }
@media (max-width: 900px) { .card, .card.wide { grid-column: span 3; } }
@media (max-width: 640px) { .bento { grid-template-columns: minmax(0, 1fr); } .card, .card.wide { grid-column: auto; } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: s; }
.steps li { position: relative; display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); min-width: 0; }
.steps .num { font: 700 46px/1 var(--sans); letter-spacing: -0.05em; color: var(--lilac); opacity: 0.85; }
.steps h3 { margin-top: 26px; font-size: 19px; letter-spacing: -0.02em; }
.steps p { font-size: 14.5px; color: var(--text-2); }
@media (max-width: 820px) { .steps { grid-template-columns: minmax(0, 1fr); } .steps h3 { margin-top: 10px; } }

/* Calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.calc-copy { display: grid; gap: 20px; justify-items: start; }
.calc-copy p { color: var(--text-2); max-width: 46ch; }
.calc-panel { position: relative; padding: clamp(18px, 3vw, 32px); border-radius: 30px; background: radial-gradient(80% 80% at 50% 0%, rgba(106, 61, 245, 0.38), transparent 70%), rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
@media (max-width: 860px) { .calc { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
.slip { background: #16122c; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 40px 80px -36px rgba(0, 0, 0, 0.9); overflow: hidden; }
.slip-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; margin: 10px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); }
.slip-tabs button { border: 0; background: transparent; padding: 10px 8px; border-radius: 999px; font: 600 13.5px/1.2 var(--sans); color: var(--text-2); cursor: pointer; transition: background 0.2s, color 0.2s; }
.slip-tabs button[aria-selected="true"] { background: #fff; color: var(--bg); }
.slip-body { padding: 14px 24px 8px; }
.slip-label { font: 500 11px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.slip-amount { display: flex; align-items: baseline; gap: 8px; border-bottom: 1px solid var(--line-2); padding: 10px 0 12px; transition: border-color 0.2s; }
.slip-amount span { font-size: 32px; font-weight: 600; color: var(--muted); }
.slip-amount input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 700 clamp(36px, 4.2vw, 48px)/1.1 var(--sans); letter-spacing: -0.04em; color: #fff; font-variant-numeric: tabular-nums; padding: 0; caret-color: var(--glow); }
.slip-amount small { font: 500 12px/1 var(--mono); color: var(--muted); }
.slip-amount:focus-within { border-bottom-color: var(--glow); }
.slip-error { min-height: 18px; margin-top: 6px; font-size: 13px; color: #ff9b85; }
.slip-lines { list-style: none; margin: 4px 0 0; padding: 0; }
.slip-lines li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px dashed var(--line); font-size: 14px; color: var(--text-2); }
.slip-lines li:first-child { border-top: 0; }
.slip-lines .v { font: 600 14px/1.4 var(--sans); font-variant-numeric: tabular-nums; color: #fff; text-align: right; white-space: nowrap; }
.slip-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin: 8px 12px 0; padding: 16px 14px; border-radius: 14px; background: rgba(157, 99, 255, 0.12); border: 1px solid rgba(157, 99, 255, 0.25); }
.slip-total span { font-size: 14px; color: var(--text-2); }
.slip-total strong { font: 700 clamp(22px, 2.6vw, 28px)/1.1 var(--sans); letter-spacing: -0.03em; color: #fff; font-variant-numeric: tabular-nums; }
.slip-foot { padding: 14px 24px 20px; font-size: 12.5px; color: var(--muted); }

/* Security pillars */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pillars > div { display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); min-width: 0; }
.pi { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--lilac); background: rgba(157, 99, 255, 0.12); border: 1px solid rgba(157, 99, 255, 0.24); margin-bottom: 14px; }
.pillars h3 { font-size: 18px; letter-spacing: -0.02em; }
.pillars p { font-size: 14.5px; color: var(--text-2); }
@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pillars { grid-template-columns: minmax(0, 1fr); } }

/* iPhone */
.iphone { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.iphone-copy { display: grid; gap: 20px; justify-items: start; }
.iphone-copy > p { color: var(--text-2); max-width: 48ch; }
.ticks { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 460px; }
.ticks li { display: flex; gap: 12px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--text); }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; flex: none; width: 16px; height: 16px; transform: translateY(2px); border-radius: 50%; background: rgba(95, 227, 181, 0.16) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%235fe3b5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 16px no-repeat; }
.device-stage { position: relative; display: grid; justify-items: center; padding: 20px 0; }
.device-glow { position: absolute; inset: 10% 15%; border-radius: 50%; background: radial-gradient(circle, rgba(106, 61, 245, 0.7), transparent 65%); filter: blur(50px); }
/* A titanium phone: the screenshot is 390 x 844, shown whole inside rounded glass with a Dynamic Island. */
.device {
  position: relative; width: min(320px, 78%); padding: 11px; border-radius: 54px;
  background: linear-gradient(145deg, #4a4560, #1c1930 40%, #2c2842 70%, #4a4560);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14) inset, 0 0 0 2px #0b0918, 0 60px 100px -40px rgba(0, 0, 0, 0.95);
}
.device::before { content: ""; position: absolute; z-index: 2; top: 23px; left: 50%; width: 30%; height: 24px; transform: translateX(-50%); border-radius: 999px; background: #000; }
.device picture { display: block; }
.device img { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 44px; background: #fff; }
.device-sm { width: 100%; padding: 7px; border-radius: 34px; }
.device-sm::before { top: 14px; height: 14px; }
.device-sm img { border-radius: 28px; }
@media (max-width: 860px) { .iphone { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq-head { display: grid; gap: 18px; justify-items: start; position: sticky; top: 110px; }
.faq-head p { color: var(--text-2); max-width: 40ch; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; } .faq-head { position: static; } }
.faq { display: grid; gap: 8px; }
.faq details { border-radius: 16px; background: var(--panel); border: 1px solid var(--line); transition: background 0.25s, border-color 0.25s; }
.faq details[open] { background: rgba(255, 255, 255, 0.055); border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-size: 16px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, 0.07) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M8 3.5v9M3.5 8h9' stroke='white' stroke-width='1.6' stroke-linecap='round'/></svg>") center / 14px no-repeat;
  transition: transform 0.3s var(--ease), background-color 0.25s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: rgba(157, 99, 255, 0.3); }
.faq details p { padding: 0 20px 20px; color: var(--text-2); max-width: 64ch; }

/* Closing call to action */
.cta {
  position: relative; overflow: hidden; isolation: isolate; text-align: center; display: grid; justify-items: center; gap: 22px;
  padding: clamp(64px, 10vw, 120px) 20px; border-radius: 34px; border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(70% 90% at 50% 110%, rgba(106, 61, 245, 0.75), transparent 70%), radial-gradient(40% 50% at 15% 10%, rgba(38, 161, 123, 0.16), transparent 70%), linear-gradient(180deg, #17122f, #120e26);
}
.cta-mark { position: absolute; z-index: -1; width: min(520px, 90%); right: -8%; top: -20%; opacity: 0.06; transform: rotate(-8deg); }
.cta h2 { font-size: clamp(42px, 6.4vw, 80px); letter-spacing: -0.055em; line-height: 0.98; font-weight: 700; }
.cta p { max-width: 50ch; color: var(--text-2); font-size: 17px; }
.cta .hero-actions { margin-top: 4px; }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; text-align: center; padding: clamp(64px, 9vw, 112px) 0 clamp(40px, 6vw, 64px); overflow: hidden; }
.page-glow { position: absolute; left: 50%; top: -200px; width: min(1100px, 150vw); height: 600px; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 40%, rgba(106, 61, 245, 0.4), transparent 70%); pointer-events: none; }
.page-hero .wrap { position: relative; }
.page-hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.05); font: 500 12px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--lilac); }
.page-hero .eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 10px var(--glow); }
.page-hero h1 { margin: 22px auto 0; font-size: clamp(42px, 6.4vw, 80px); line-height: 0.98; letter-spacing: -0.052em; max-width: 15ch; font-weight: 700; }
.page-hero p { margin: 22px auto 0; max-width: 58ch; color: var(--text-2); font-size: 17px; }
.doc { display: grid; gap: clamp(48px, 7vw, 72px); padding-bottom: clamp(88px, 11vw, 136px); }
.doc section { display: grid; gap: 18px; scroll-margin-top: 96px; }
.doc h2 { font-size: clamp(26px, 3.2vw, 34px); letter-spacing: -0.035em; line-height: 1.1; font-weight: 700; }
.doc p { color: var(--text-2); max-width: 66ch; }
.doc a { color: var(--lilac); text-underline-offset: 3px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
th { text-align: left; font: 500 11px/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--lilac); padding: 15px 20px; background: rgba(157, 99, 255, 0.08); border-bottom: 1px solid var(--line); }
td { padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text-2); }
td:first-child { color: var(--text); }
tr:last-child td { border-bottom: 0; }
tbody tr { transition: background 0.2s; }
tbody tr:hover { background: rgba(255, 255, 255, 0.025); }
td.num { font: 600 14.5px/1.5 var(--sans); font-variant-numeric: tabular-nums; white-space: nowrap; color: #fff; }
.note { font-size: 14px; color: var(--muted) !important; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checks li { display: grid; grid-template-columns: minmax(0, 230px) minmax(0, 1fr); gap: 6px 24px; padding: 18px 20px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.checks strong { font-weight: 600; }
.checks span { color: var(--text-2); font-size: 15px; }
@media (max-width: 640px) { .checks li { grid-template-columns: minmax(0, 1fr); } }
.callout { display: grid; gap: 6px; padding: 24px 26px; border-radius: 20px; background: linear-gradient(135deg, rgba(106, 61, 245, 0.28), rgba(106, 61, 245, 0.08)); border: 1px solid rgba(157, 99, 255, 0.3); }
.callout strong { font-weight: 600; }
.notfound { text-align: center; display: grid; justify-items: center; gap: 20px; padding: clamp(80px, 13vw, 150px) 20px; }
.notfound img { opacity: 0.9; }
.notfound h1 { font-size: clamp(40px, 6vw, 64px); letter-spacing: -0.045em; line-height: 1; font-weight: 700; }
.notfound .hero-actions { margin-top: 8px; }

/* ---------- Footer ---------- */
.site-foot { position: relative; background: linear-gradient(180deg, var(--bg), #0a0817); border-top: 1px solid var(--line); padding: 72px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-grid img { height: 28px; width: auto; }
.foot-grid .about { font-size: 14px; color: var(--text-2); margin-top: 16px; max-width: 34ch; }
.foot-grid h4 { margin: 0 0 16px; font: 500 11px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--lilac); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.foot-grid a { text-decoration: none; color: var(--text-2); transition: color 0.2s; }
.foot-grid a:hover { color: #fff; }
.foot-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font: 400 12px/1.5 var(--mono); color: var(--muted); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Motion: rise into view as you scroll (scroll-driven, no script). ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 38%; }
    @keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero .tokens, .hero h1, .hero-lede, .hero .hero-actions, .hero-note, .stage { animation: enter 0.9s var(--ease) both; }
  .hero h1 { animation-delay: 0.06s; } .hero-lede { animation-delay: 0.12s; } .hero .hero-actions { animation-delay: 0.18s; }
  .hero-note { animation-delay: 0.22s; } .stage { animation-delay: 0.28s; animation-duration: 1.1s; }
  @keyframes enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
