/* =========================================================================
   Karteo — editorial / Bauhaus-precision landing
   ========================================================================= */

:root {
  --ink: #0E0E10;
  --ink-2: #16161A;
  --ink-3: #1F1F24;
  --ink-line: rgba(239,233,221,0.10);
  --paper: #EFE9DD;
  --paper-2: #E6DECC;
  --paper-warm: #F4EEE2;
  --linen: #F2EBDD;
  --linen-shadow: #D7CDB8;

  --accent: #E04E1A;        /* signal orange */
  --accent-2: #4D5BFF;      /* electric blue */
  --accent-3: #B5E853;      /* lime */

  --t-1: 'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  --t-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --t-serif: 'Instrument Serif', 'Times New Roman', serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 24px;
  --r-xl: 32px;

  --max: 1280px;
  --gut: clamp(20px, 4vw, 56px);

  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--t-1);
  background: var(--ink);
  color: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01","ss02","cv11";
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }

.serif { font-family: var(--t-serif); font-weight: 400; }
.italic { font-style: italic; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--paper); color: var(--ink); padding: 10px 14px; border-radius: 8px;
}
.skip:focus { left: 16px; top: 16px; z-index: 100; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(14,14,16,0.62);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.scrolled { border-color: var(--ink-line); background: rgba(14,14,16,0.85); }
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--gut);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; letter-spacing: -0.01em; font-size: 17px;
}
.brand svg { transform: translateY(-1px); }
.nav-links {
  display: flex; gap: 28px; justify-self: center;
  font-size: 14px; color: rgba(239,233,221,0.7);
}
.nav-links a {
  position: relative; padding: 6px 0;
  transition: color .2s var(--ease);
}
.nav-links a:hover { color: var(--paper); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--paper); transform: scaleX(0);
  transform-origin: 0 50%; transition: transform .25s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.lang {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--t-mono); font-size: 12px;
  color: rgba(239,233,221,0.55);
}
.lang-btn {
  background: transparent; border: 0; color: inherit; cursor: pointer;
  padding: 4px 6px; border-radius: 4px;
  font-family: var(--t-mono); font-size: 12px; letter-spacing: 0.02em;
  transition: color .2s var(--ease);
}
.lang-btn:hover { color: var(--paper); }
.lang-btn.is-active { color: var(--paper); }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-inner { grid-template-columns: auto 1fr auto; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.005em;
  cursor: pointer; border: 0;
  transition: transform .15s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.btn-sm { padding: 9px 14px; font-size: 13px; }
.btn-lg { padding: 18px 24px; font-size: 17px; }
.btn-primary { background: var(--paper); color: var(--ink); }
.btn-primary:hover { transform: translateY(-1px); background: #fff; }
.btn-ghost {
  background: transparent; color: var(--paper);
  border: 1px solid var(--ink-line);
}
.btn-ghost:hover { border-color: var(--paper); }
.btn-block { display: flex; width: 100%; justify-content: center; }
.price-pill {
  display: inline-flex; align-items: center;
  background: var(--ink); color: var(--paper);
  font-family: var(--t-mono); font-weight: 500; font-size: 12px;
  padding: 4px 8px; border-radius: 6px;
  letter-spacing: 0.02em;
}
.btn-ghost .price-pill { background: var(--paper); color: var(--ink); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(60px, 9vw, 120px) var(--gut) 0;
  overflow: hidden;
}
.grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(239,233,221,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239,233,221,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: -1px -1px;
  pointer-events: none;
  mask-image: radial-gradient(circle at 70% 35%, rgba(0,0,0,1), rgba(0,0,0,0) 75%);
  -webkit-mask-image: radial-gradient(circle at 70% 35%, rgba(0,0,0,1), rgba(0,0,0,0) 75%);
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--t-mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(239,233,221,0.7);
  padding: 8px 12px;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  background: rgba(239,233,221,0.02);
}
.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(224,78,26,0.6);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(224,78,26,0.6); }
  50%    { box-shadow: 0 0 0 8px rgba(224,78,26,0); }
}

.display {
  margin: 22px 0 0;
  font-size: clamp(48px, 8.6vw, 124px);
  line-height: 0.94;
  letter-spacing: -0.04em;
  font-weight: 700;
}
.display .serif { font-weight: 400; letter-spacing: -0.02em; }
.display span { display: inline-block; }
.display-2 {
  font-size: clamp(36px, 5.4vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 14px 0 0;
}
.display-2 .serif { font-weight: 400; }

.lede {
  margin: 28px 0 0;
  max-width: 540px;
  font-size: clamp(16px, 1.4vw, 19px);
  color: rgba(239,233,221,0.72);
  line-height: 1.55;
}
.hero-cta {
  margin-top: 32px;
  display: flex; gap: 12px; flex-wrap: wrap;
}
.trust {
  list-style: none; padding: 0;
  margin: 36px 0 0;
  display: flex; flex-wrap: wrap; gap: 18px 24px;
  font-family: var(--t-mono); font-size: 12px;
  color: rgba(239,233,221,0.55);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.tick { color: var(--accent); }

/* ----- hero phone ----- */
.hero-stage {
  position: relative;
  height: clamp(540px, 64vw, 720px);
  display: flex; align-items: center; justify-content: center;
}
.phone {
  position: relative;
  width: clamp(280px, 30vw, 360px);
  aspect-ratio: 9 / 19;
  background: linear-gradient(155deg, #1A1A1F 0%, #0B0B0E 60%);
  border-radius: 48px;
  padding: 12px;
  box-shadow:
    0 0 0 1.5px rgba(239,233,221,0.08),
    0 50px 100px -30px rgba(0,0,0,0.9),
    inset 0 0 0 1px rgba(0,0,0,0.5);
  transform: rotate(-3deg);
}
.phone-notch {
  position: absolute;
  top: 22px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 28px;
  background: #000;
  border-radius: 16px;
  z-index: 3;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 36px;
  background: #0A0A0C;
  overflow: hidden;
  position: relative;
  display: flex; flex-direction: column;
}
.phone-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px 0;
  font-size: 13px; font-weight: 600; color: var(--paper);
}
.status-icons { display: inline-flex; gap: 5px; align-items: center; }
.bar { width: 16px; height: 9px; background: var(--paper); border-radius: 1px; }
.wifi { width: 14px; height: 9px; background: var(--paper);
  -webkit-mask: radial-gradient(circle at 50% 100%, transparent 6px, #000 6.5px);
  mask: radial-gradient(circle at 50% 100%, transparent 6px, #000 6.5px); }
.bat { width: 22px; height: 10px; border: 1.2px solid var(--paper); border-radius: 2px; position: relative; padding: 1px; }
.bat::after { content:""; display:block; width: 80%; height:100%; background: var(--paper); border-radius: 1px; }
.wallet-header {
  margin-top: 32px;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 22px;
  font-size: 13px; color: rgba(239,233,221,0.5);
}
.wallet-title { font-weight: 700; font-size: 24px; color: var(--paper); letter-spacing: -0.02em; }
.wallet-add { font-size: 22px; color: rgba(239,233,221,0.7); }

.pass-stack {
  position: relative;
  margin: 28px auto 0;
  width: 86%;
  flex: 1;
}
.phone-tap-hint {
  position: absolute;
  left: 50%; bottom: 30px;
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--t-mono); font-size: 11px;
  color: rgba(239,233,221,0.55);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.hint-pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent-3);
  box-shadow: 0 0 0 0 rgba(181,232,83,0.5);
  animation: pulse2 2s infinite;
}
@keyframes pulse2 {
  0%,100% { box-shadow: 0 0 0 0 rgba(181,232,83,0.5); }
  50%    { box-shadow: 0 0 0 6px rgba(181,232,83,0); }
}

/* ----- floating chips ----- */
.float-chip {
  position: absolute; z-index: 4;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--ink-line);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  font-size: 12px; font-weight: 500;
  color: var(--paper);
}
.chip-apple { top: 10%; left: 4%; }
.chip-google { bottom: 14%; right: 4%; }
@media (max-width: 760px) {
  .chip-apple, .chip-google { display: none; }
}

/* ----- ticker ----- */
.ticker {
  position: relative;
  margin-top: 80px;
  padding: 18px 0;
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
  overflow: hidden;
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex; gap: 24px;
  animation: ticker 38s linear infinite;
  font-family: var(--t-mono); font-size: 14px; text-transform: uppercase;
  color: rgba(239,233,221,0.65);
  letter-spacing: 0.08em;
}
.ticker-track .serif { font-family: var(--t-serif); font-size: 18px; text-transform: none; letter-spacing: 0; color: var(--paper); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* =================================================================
   PASSES — three card variants
   ================================================================= */
.pass {
  --pass-w: 100%;
  position: relative;
  width: var(--pass-w);
  aspect-ratio: 5 / 6.7;
  border-radius: 22px;
  padding: 18px 18px 16px;
  display: flex; flex-direction: column;
  font-family: var(--t-1);
  overflow: hidden;
  isolation: isolate;
}

.pass-show {
  width: clamp(280px, 28vw, 360px);
  box-shadow:
    0 30px 60px -25px rgba(0,0,0,0.55),
    0 12px 28px -16px rgba(0,0,0,0.45);
}

/* stacked variant for hero phone */
.pass-stacked {
  position: absolute;
  left: 0; right: 0;
  border-radius: 16px;
  padding: 14px 16px;
}
.pass-stacked.s1 {
  top: 0; transform: translateY(0); height: 22%;
  border-bottom-left-radius: 0; border-bottom-right-radius: 0;
  z-index: 1;
}
.pass-stacked.s2 {
  top: 14%; height: 22%;
  border-radius: 12px;
  z-index: 2;
}
.pass-stacked.s3 {
  top: 28%; bottom: 60px;
  border-radius: 18px;
  height: auto;
  z-index: 3;
  padding: 18px;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.6);
}

/* ----- ONYX ----- */
.pass-onyx {
  background:
    radial-gradient(120% 70% at 50% -20%, rgba(255,255,255,0.10), rgba(255,255,255,0) 50%),
    radial-gradient(80% 50% at 100% 100%, rgba(77,91,255,0.08), rgba(0,0,0,0) 60%),
    #0A0A0C;
  color: var(--paper);
  border: 1px solid rgba(239,233,221,0.06);
}
.pass-onyx::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0) 22%);
  pointer-events: none;
}

/* ----- LINEN ----- */
.pass-linen {
  background: var(--linen);
  color: #1A1714;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow:
    0 30px 60px -25px rgba(0,0,0,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.6);
}
.pass-linen::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(255,255,255,0.7), rgba(255,255,255,0) 60%),
    radial-gradient(60% 40% at 90% 100%, rgba(224,78,26,0.10), transparent 70%);
  pointer-events: none;
}
.linen-grain {
  position: absolute; inset: 0; pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.42  0 0 0 0 0.36  0 0 0 0 0.28  0 0 0 0.10 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ----- SPECTRUM ----- */
.pass-spectrum {
  background: #0c0d24;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
  isolation: isolate;
}
.spectrum-mesh, .pass-spectrum::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 15% 10%, rgba(77,91,255,0.95), transparent 60%),
    radial-gradient(60% 60% at 90% 0%, rgba(224,52,134,0.85), transparent 60%),
    radial-gradient(80% 80% at 100% 100%, rgba(76,18,140,0.95), transparent 70%),
    radial-gradient(60% 70% at 0% 100%, rgba(13,52,168,0.9), transparent 70%),
    linear-gradient(135deg, #1a1466, #2a0a55);
  z-index: -1;
  filter: saturate(1.05);
}
.pass-spectrum::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  pointer-events: none; mix-blend-mode: overlay;
}

/* ----- pass internals ----- */
.pass-head {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--t-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.pass-linen .pass-head { color: #5B5247; }
.pass-mark {
  width: 22px; height: 22px;
  border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
}
.pass-linen .pass-mark { background: transparent; }

.pass-name {
  margin-top: auto;
  display: flex; flex-direction: column; line-height: 0.92;
  letter-spacing: -0.03em;
  font-weight: 700;
  font-size: clamp(28px, 2.6vw, 38px);
}
.pass-given { font-weight: 500; opacity: 0.8; font-size: 0.62em; letter-spacing: -0.01em; margin-bottom: 2px; }
.pass-family { font-size: 1em; }

.pass-name-serif {
  font-family: var(--t-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  font-size: clamp(34px, 3vw, 46px);
  line-height: 0.95;
}
.pass-name-serif span { display: inline-block; }
.pass-name-serif .italic { margin-right: 8px; }

.pass-role {
  margin-top: 10px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.7);
}
.pass-linen .pass-role { color: #6B6354; font-style: italic; font-family: var(--t-serif); font-size: 14px; }
.pass-spectrum .pass-role { color: rgba(255,255,255,0.78); }

.pass-fields {
  margin-top: 14px;
  display: grid; gap: 6px;
  font-family: var(--t-mono);
  font-size: 10.5px;
}
.pass-field { display: grid; grid-template-columns: 60px 1fr; gap: 10px; align-items: baseline; }
.pass-field .k { color: rgba(255,255,255,0.45); letter-spacing: 0.08em; text-transform: uppercase; }
.pass-field .v { color: rgba(255,255,255,0.95); }
.pass-linen .pass-field .k { color: #8B8270; }
.pass-linen .pass-field .v { color: #1A1714; }

.pass-rule {
  height: 1px; background: rgba(0,0,0,0.08); margin: 14px 0 0;
}

.pass-foot {
  margin-top: 14px;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 10px;
}
.qr {
  background: white; padding: 6px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.qr img, .qr svg {
  display: block;
  width: 68px;
  height: 68px;
}
.qr-linen { background: #F2EBDD; box-shadow: none; }
.pass-meta {
  text-align: right;
  font-family: var(--t-mono); font-size: 10px;
  color: rgba(255,255,255,0.6);
  display: flex; flex-direction: column; gap: 2px;
}
.pass-meta .m-k { letter-spacing: 0.1em; text-transform: uppercase; }
.pass-meta .m-v { color: var(--paper); font-weight: 500; }
.pass-linen .pass-meta { color: #8B8270; }
.pass-linen .pass-meta .m-v { color: #1A1714; }

/* accent colour stripe — bottom edge of every pass card */
.pass-accent-stripe {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--c, #E04E1A);
  border-radius: 0 0 22px 22px;
  pointer-events: none;
}

/* responsive hero */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-stage { height: clamp(560px, 110vw, 720px); }
}

/* =================================================================
   sections
   ================================================================= */
section { position: relative; }

.section-head {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gut);
}
.section-head.light { color: var(--ink); }
.kicker {
  display: inline-flex; align-items: center;
  font-family: var(--t-mono); font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent);
  padding: 6px 0;
  border-top: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  padding: 6px 12px;
  border: 1px solid var(--accent);
  border-radius: 999px;
}
.section-head.light .kicker { color: var(--accent); }

.section-sub {
  margin: 22px 0 0;
  max-width: 620px;
  font-size: clamp(15px, 1.2vw, 18px);
  color: rgba(239,233,221,0.65);
}
.section-head.light .section-sub { color: rgba(14,14,16,0.68); }

/* -------- WHY -------- */
.why {
  padding: clamp(80px, 11vw, 160px) 0;
  border-top: 1px solid var(--ink-line);
}
.why-grid {
  max-width: var(--max);
  margin: 56px auto 0;
  padding: 0 var(--gut);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink-line);
  border: 1px solid var(--ink-line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.why-card {
  background: var(--ink);
  padding: 36px 28px 32px;
  min-height: 240px;
  display: flex; flex-direction: column;
  position: relative;
  transition: background .3s var(--ease);
}
.why-card:hover { background: var(--ink-2); }
.why-card.accent {
  background: linear-gradient(180deg, rgba(224,78,26,0.05), rgba(224,78,26,0));
}
.why-card.accent:hover { background: linear-gradient(180deg, rgba(224,78,26,0.1), rgba(224,78,26,0.02)); }
.why-card.dark {
  background: linear-gradient(180deg, rgba(77,91,255,0.05), rgba(77,91,255,0));
}
.why-num {
  font-family: var(--t-mono);
  font-size: 11px;
  color: rgba(239,233,221,0.4);
  letter-spacing: 0.1em;
  margin-bottom: auto;
}
.why-card h3 {
  margin: 28px 0 12px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.why-card p {
  margin: 0;
  color: rgba(239,233,221,0.65);
  font-size: 14.5px;
  line-height: 1.55;
}

@media (max-width: 880px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* -------- WALLET -------- */
.wallet {
  padding: clamp(80px, 11vw, 160px) 0;
  background: var(--paper);
  color: var(--ink);
}
.wallet .display-2 { color: var(--ink); }
.wallet .display-2 .serif { color: var(--accent); }
.wallet .kicker { color: var(--accent); border-color: var(--accent); }

.wallet-grid {
  max-width: var(--max);
  margin: 64px auto 0;
  padding: 0 var(--gut);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.wallet-cell { display: flex; flex-direction: column; }
.cell-frame {
  position: relative;
  background: linear-gradient(180deg, var(--paper-2), #DDD3BD);
  border-radius: var(--r-lg);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 56px 32px 64px;
  display: flex; align-items: center; justify-content: center;
  min-height: 480px;
  overflow: hidden;
  isolation: isolate;
}
.cell-frame::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.4), transparent 60%),
    repeating-linear-gradient(0deg, rgba(0,0,0,0.04) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.04) 0 1px, transparent 1px 80px);
  pointer-events: none;
}
.cell-stage { position: relative; transform: rotate(-4deg); transition: transform .5s var(--ease); }
.wallet-cell:nth-child(2) .cell-stage { transform: rotate(2deg); }
.wallet-cell:nth-child(3) .cell-stage { transform: rotate(-2deg); }
.wallet-cell:hover .cell-stage { transform: rotate(0deg) translateY(-6px); }

.cell-meta {
  margin-top: 24px;
  padding: 0 4px;
}
.cell-name {
  font-size: 28px; font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.cell-meta p {
  color: rgba(14,14,16,0.65);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
}

.wallet-foot {
  max-width: var(--max);
  margin: 64px auto 0;
  padding: 0 var(--gut);
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 24px;
  font-family: var(--t-mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: rgba(14,14,16,0.7);
}
.foot-link { color: var(--ink); font-weight: 600; }

@media (max-width: 980px) {
  .wallet-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .wallet-grid { grid-template-columns: 1fr; }
  .wallet-foot { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* -------- HOW -------- */
.how { padding: clamp(80px, 11vw, 160px) 0; }
.steps {
  max-width: var(--max);
  margin: 56px auto 0;
  padding: 0 var(--gut);
  list-style: none;
  display: grid;
  gap: 1px;
  background: var(--ink-line);
  border: 1px solid var(--ink-line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.step {
  background: var(--ink);
  display: grid;
  grid-template-columns: 80px 1.2fr 1fr;
  gap: 32px;
  padding: 36px var(--gut);
  align-items: center;
}
.step-num {
  font-family: var(--t-mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.12em;
  align-self: start;
  padding-top: 6px;
}
.step-body h3 {
  margin: 0 0 10px;
  font-size: clamp(24px, 2.6vw, 36px);
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.step-body p { margin: 0; color: rgba(239,233,221,0.65); max-width: 460px; font-size: 15px; }

.step-vis {
  justify-self: end;
  width: 100%; max-width: 320px;
}
.mini-form {
  background: var(--ink-2);
  border: 1px solid var(--ink-line);
  border-radius: 14px;
  padding: 16px;
  display: grid; gap: 10px;
  font-family: var(--t-mono); font-size: 11px;
}
.mini-row { display: grid; grid-template-columns: 60px 1fr; gap: 10px; align-items: baseline; }
.mini-k { color: rgba(239,233,221,0.4); text-transform: uppercase; letter-spacing: 0.1em; }
.mini-v { color: var(--paper); font-family: var(--t-1); font-size: 13px; font-weight: 500; }
.caret {
  display: inline-block; width: 1px; height: 12px; background: var(--accent);
  margin-left: 2px; vertical-align: middle;
  animation: blink 1.1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.swatch-row {
  display: flex; gap: 12px; flex-wrap: wrap;
  background: var(--ink-2);
  border: 1px solid var(--ink-line);
  border-radius: 14px;
  padding: 16px;
  justify-content: flex-start;
}
.swatch {
  width: 48px; height: 48px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer; transition: transform .2s var(--ease);
  position: relative;
  background: #222;
}
.swatch:hover { transform: scale(1.05); }
.swatch.is-active { outline: 2px solid var(--paper); outline-offset: 3px; }
.s-onyx { background: #0A0A0C; }
.s-linen { background: var(--linen); }
.s-spectrum { background: linear-gradient(135deg, #4D5BFF, #E03486 60%, #4C128C); }
.s-c1 { background: var(--accent); }
.s-c2 { background: var(--accent-3); }
.s-c3 { background: linear-gradient(135deg, #ff6b6b, #ffd93d); }

.add-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  background: linear-gradient(180deg, #1B1B20, #0D0D10);
  border: 1px solid var(--ink-line);
  color: var(--paper);
  border-radius: 12px;
  font-weight: 500; font-size: 15px;
  box-shadow: 0 12px 30px -12px rgba(0,0,0,0.6);
}

@media (max-width: 880px) {
  .step { grid-template-columns: 1fr; }
  .step-vis { justify-self: start; }
}

/* -------- PRICING -------- */
.pricing {
  padding: clamp(80px, 11vw, 140px) var(--gut);
  background: var(--paper);
  color: var(--ink);
}
.pricing-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.8fr;
  gap: 40px;
  align-items: stretch;
}
.pricing .display-2 { color: var(--ink); }
.pricing .display-2 .serif { color: var(--accent); }
.pricing .kicker { color: var(--accent); border-color: var(--accent); }
.pricing .section-sub { color: rgba(14,14,16,0.65); }

.incl {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: grid; gap: 14px;
}
.incl li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 15px;
  color: rgba(14,14,16,0.85);
}
.incl li::before {
  content: ""; flex: 0 0 auto;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23EFE9DD' stroke-width='2'><path d='M2 6.5l3 3 5-7'/></svg>") center/12px no-repeat;
  margin-top: 2px;
}

.pricing-card {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
}
.card-stripe {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 24px;
  background: var(--accent);
  color: #1A0A04;
  font-family: var(--t-mono); font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 500;
}
.card-body {
  padding: 40px 32px 32px;
  display: flex; flex-direction: column;
  gap: 16px;
  flex: 1;
}
.big-price {
  display: flex; align-items: flex-start;
  font-weight: 700; letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--paper);
}
.big-price .cur { font-size: 36px; margin-top: 12px; }
.big-price .num { font-size: 120px; }
.big-price .dec { font-size: 36px; margin-top: 12px; font-family: var(--t-mono); font-weight: 500; }
.once {
  font-family: var(--t-mono); font-size: 12px;
  color: rgba(239,233,221,0.6);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.btn-block.btn-primary { background: var(--paper); color: var(--ink); }
.btn-block.btn-primary:hover { background: #fff; }
.card-fine {
  font-size: 12px; color: rgba(239,233,221,0.5);
  text-align: center;
}
.card-foot {
  border-top: 1px solid var(--ink-line);
  padding: 20px 24px;
}
.logo-row {
  display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: center;
}
.logo-tag {
  font-family: var(--t-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(239,233,221,0.5);
  border: 1px solid var(--ink-line);
  padding: 4px 8px; border-radius: 4px;
}

.pricing-side {
  display: flex; align-items: stretch;
}
.side-card {
  flex: 1;
  padding: 32px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-lg);
  display: flex; flex-direction: column; gap: 14px;
  border: 1px solid var(--ink-line);
}
.side-k {
  font-family: var(--t-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-3);
}
.side-card h3 {
  margin: 0; font-size: 26px; letter-spacing: -0.02em; line-height: 1.1;
}
.side-card p { margin: 0; color: rgba(239,233,221,0.7); font-size: 14.5px; }
.side-link {
  margin-top: auto;
  font-family: var(--t-mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
}

@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .pricing-side { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .big-price .num { font-size: 96px; }
}

/* -------- FAQ -------- */
.faq { padding: clamp(80px, 11vw, 160px) 0; border-top: 1px solid var(--ink-line); }
.faq-list {
  max-width: 980px;
  margin: 56px auto 0;
  padding: 0 var(--gut);
}
.faq-item {
  border-top: 1px solid var(--ink-line);
}
.faq-item:last-of-type { border-bottom: 1px solid var(--ink-line); }
.faq-item summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0;
  cursor: pointer;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.plus {
  width: 22px; height: 22px;
  position: relative;
  flex: 0 0 auto;
}
.plus::before, .plus::after {
  content: ""; position: absolute;
  background: var(--paper);
  left: 50%; top: 50%;
}
.plus::before { width: 12px; height: 1.5px; transform: translate(-50%,-50%); }
.plus::after { width: 1.5px; height: 12px; transform: translate(-50%,-50%); transition: transform .25s var(--ease); }
.faq-item[open] .plus::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-a {
  padding: 0 0 24px;
  max-width: 640px;
  color: rgba(239,233,221,0.7);
  line-height: 1.6;
}

/* -------- CLOSER -------- */
.closer {
  padding: clamp(100px, 14vw, 200px) var(--gut);
  text-align: center;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(224,78,26,0.18), transparent 70%),
    radial-gradient(80% 80% at 50% 120%, rgba(77,91,255,0.18), transparent 70%),
    var(--ink);
}
.closer-inner { max-width: 980px; margin: 0 auto; }
.closer-h { margin: 0; font-size: clamp(48px, 7vw, 96px); line-height: 1; }
.closer-p {
  margin: 28px auto 0;
  max-width: 540px;
  font-size: clamp(15px, 1.2vw, 18px);
  color: rgba(239,233,221,0.7);
}
.closer-cta { margin-top: 36px; }
.closer-marks {
  margin: 64px auto 0;
  display: flex; justify-content: center; gap: clamp(24px, 6vw, 80px);
  flex-wrap: wrap;
}
.mark { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mark-stars { color: var(--accent); letter-spacing: 4px; }
.mark-num { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.mark-k {
  font-family: var(--t-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(239,233,221,0.55);
}

/* -------- FOOTER -------- */
.foot {
  border-top: 1px solid var(--ink-line);
  padding: 56px var(--gut) 24px;
}
.foot-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  padding-bottom: 36px;
}
.foot-tag { color: rgba(239,233,221,0.5); font-size: 14px; margin: 14px 0 0; max-width: 280px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.foot-h {
  font-family: var(--t-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(239,233,221,0.5);
  margin-bottom: 12px;
}
.foot-col a {
  display: block; padding: 6px 0;
  color: var(--paper); font-size: 14.5px;
}
.foot-col a:hover { color: var(--accent); }
.foot-base {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--ink-line);
  display: flex; justify-content: space-between; gap: 20px;
  font-family: var(--t-mono); font-size: 11px;
  color: rgba(239,233,221,0.4);
  letter-spacing: 0.06em; text-transform: uppercase;
  flex-wrap: wrap;
}

@media (max-width: 880px) {
  .foot-inner { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}

/* -------- reveal animations -------- */
[data-reveal] {
  opacity: 0; transform: translateY(20px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition: none !important; }
}
