/* ============================================================
   CRE-8 — Token launchpad on Base
   Design system: dark glass canvas, lime-to-emerald signature
   ============================================================ */

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

:root {
  /* canvas + surfaces */
  --bg:           #070A09;
  --bg-2:         #0A0F0D;
  --surface-1:    rgba(255,255,255,0.022);
  --surface-2:    rgba(255,255,255,0.045);
  --surface-3:    rgba(255,255,255,0.07);
  --border:       rgba(255,255,255,0.075);
  --border-2:     rgba(255,255,255,0.12);
  --border-strong:rgba(255,255,255,0.18);

  /* ink */
  --fg:           #ECF1EE;
  --fg-2:         #C3CCC7;
  --muted:        #828D87;
  --faint:        #59635D;

  /* signature: lime -> emerald */
  --accent:       #40D864;
  --accent-lime:  #9DF564;
  --accent-deep:  #1AA84A;
  --accent-grad:  linear-gradient(135deg, #B6FA72 0%, #40D864 48%, #18A848 100%);
  --accent-soft:  rgba(64,216,100,0.14);
  --accent-line:  rgba(64,216,100,0.42);
  --accent-glow:  0 0 0 1px rgba(64,216,100,0.30), 0 14px 48px -16px rgba(64,216,100,0.55);

  /* base network */
  --base-blue:    #4C7DF0;

  /* semantic */
  --success:      #40D864;
  --warn:         #E8B341;
  --danger:       #F0795A;

  /* type */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-ui:      system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --radius:       16px;
  --radius-sm:    10px;
  --radius-lg:    22px;
  --shadow-1:     0 1px 0 rgba(255,255,255,0.04) inset, 0 22px 60px -28px rgba(0,0,0,0.8);
  --shadow-2:     0 1px 0 rgba(255,255,255,0.05) inset, 0 40px 90px -40px rgba(0,0,0,0.9);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--fg);
  background:
    radial-gradient(1200px 700px at 78% -8%, rgba(64,216,100,0.10), transparent 60%),
    radial-gradient(900px 600px at 8% 4%, rgba(76,125,240,0.06), transparent 55%),
    var(--bg);
  background-attachment: fixed;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.num  { font-variant-numeric: tabular-nums; }

/* ============================================================
   GALLERY scaffolding
   ============================================================ */
.gallery-top {
  position: sticky; top: 0; z-index: 80;
  display: flex; align-items: center; gap: 18px;
  padding: 14px 28px;
  background: rgba(7,10,9,0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.gallery-top .brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; }
.gallery-top .index { display: flex; gap: 6px; margin-left: auto; flex-wrap: wrap; }
.gallery-top .index a {
  font-size: 12px; color: var(--muted); padding: 6px 12px; border-radius: 999px;
  border: 1px solid transparent; transition: .18s;
}
.gallery-top .index a:hover { color: var(--fg); background: var(--surface-2); border-color: var(--border); }
.gallery-note { color: var(--faint); font-size: 12.5px; }

.screen { padding: 56px 32px 12px; }
.screen + .screen { border-top: 1px solid var(--border); }
.screen-label {
  display: flex; align-items: baseline; gap: 14px;
  max-width: 1320px; margin: 0 auto 22px;
  padding-bottom: 14px;
}
.screen-label .n { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: 0.16em; }
.screen-label .t { font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.screen-label .d { color: var(--faint); font-size: 13px; margin-left: auto; }

/* fake product window chrome */
.window {
  max-width: 1320px; margin: 0 auto;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent 30%), var(--bg-2);
  box-shadow: var(--shadow-2);
}
.window-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.014);
}
.window-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--surface-3); }
.window-bar .url {
  margin-left: 12px; font-family: var(--font-mono); font-size: 12px; color: var(--muted);
  background: var(--surface-1); border: 1px solid var(--border); border-radius: 8px;
  padding: 4px 12px;
}

/* ============================================================
   PRIMITIVES — buttons, pills, chips, logos
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font-size: 14px; font-weight: 600; letter-spacing: -0.01em;
  padding: 11px 18px; border-radius: 11px;
  border: 1px solid transparent; background: var(--surface-2); color: var(--fg);
  transition: transform .12s ease, background .18s, border-color .18s, box-shadow .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; border-color: var(--border-2); color: var(--fg-2); }
.btn.ghost:hover { border-color: var(--border-strong); color: var(--fg); background: var(--surface-1); }
.btn.primary {
  color: #04140A; background: var(--accent-grad);
  box-shadow: 0 10px 30px -12px rgba(64,216,100,0.6), 0 1px 0 rgba(255,255,255,0.35) inset;
}
.btn.primary:hover { box-shadow: 0 14px 40px -12px rgba(64,216,100,0.78), 0 1px 0 rgba(255,255,255,0.45) inset; }
.btn.sm { padding: 8px 13px; font-size: 13px; border-radius: 9px; }
.btn.icon { padding: 9px; width: 38px; }

.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 500; padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--border-2); background: var(--surface-1); color: var(--fg-2);
}
.pill .led { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.pill.base .led { background: var(--base-blue); box-shadow: 0 0 8px var(--base-blue); }

.status { font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; letter-spacing: 0.01em; display:inline-flex; align-items:center; gap:6px; }
.status::before { content:""; width:6px; height:6px; border-radius:50%; background: currentColor; }
.status.live    { color: var(--success); background: rgba(64,216,100,0.10); }
.status.locked  { color: var(--warn);    background: rgba(232,179,65,0.10); }
.status.paused  { color: var(--muted);   background: var(--surface-2); }
.status.vesting { color: var(--base-blue);background: rgba(76,125,240,0.12); }

.eyebrow {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent);
}

/* token logo monogram */
.tok {
  --c1: var(--accent-lime); --c2: var(--accent-deep);
  width: 34px; height: 34px; border-radius: 10px; flex: 0 0 auto;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 14px; color: #06140B;
  background: linear-gradient(140deg, var(--c1), var(--c2));
  box-shadow: 0 4px 14px -6px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.12) inset;
}
.tok.lg { width: 46px; height: 46px; border-radius: 13px; font-size: 18px; }
.tok.nova { --c1:#8FE9FF; --c2:#3577E6; color:#02101E; }
.tok.aur  { --c1:#FFE08A; --c2:#E89B2E; color:#1C1102; }
.tok.flux { --c1:#B6FA72; --c2:#18A848; }
.tok.orbit{ --c1:#E7A6FF; --c2:#8A45D6; color:#160322; }
.tok.helio{ --c1:#FFB199; --c2:#E8694A; color:#1C0703; }

.copyable { display: inline-flex; align-items: center; gap: 7px; }
.copybtn {
  width: 26px; height: 26px; border-radius: 7px; border: 1px solid var(--border);
  background: var(--surface-1); color: var(--muted); display: grid; place-items: center;
  transition: .15s;
}
.copybtn:hover { color: var(--fg); border-color: var(--border-2); background: var(--surface-2); }
.copybtn.done { color: var(--accent); border-color: var(--accent-line); }
.copybtn svg { width: 14px; height: 14px; }

/* ============================================================
   APP SHELL (top nav / sidebar) — shared
   ============================================================ */
.brandmark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.brandmark .glyph {
  width: 28px; height: 28px; border-radius: 9px; background: var(--accent-grad);
  display: grid; place-items: center; color: #04140A; font-size: 15px; font-weight: 700;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.14) inset, 0 6px 18px -8px rgba(64,216,100,0.7);
}
.brandmark b { font-weight: 700; }
.brandmark .eight { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* marketing top nav */
.topnav {
  display: flex; align-items: center; gap: 28px;
  padding: 18px 40px; border-bottom: 1px solid var(--border);
}
.topnav nav { display: flex; gap: 26px; margin-left: 14px; }
.topnav nav a { font-size: 14px; color: var(--muted); transition: .15s; }
.topnav nav a:hover { color: var(--fg); }
.topnav .right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* ============================================================
   1. LANDING
   ============================================================ */
.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; padding: 78px 40px 64px; position: relative; }
.hero::after {
  content:""; position:absolute; right:-6%; top:-10%; width:520px; height:520px; pointer-events:none;
  background: radial-gradient(circle, rgba(64,216,100,0.16), transparent 62%); filter: blur(6px);
}
.hero-copy { position: relative; z-index: 1; max-width: 560px; }
.hero h1 {
  font-size: clamp(40px, 4.6vw, 62px); line-height: 1.02; letter-spacing: -0.035em; margin: 20px 0 0;
}
.hero h1 .em { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { color: var(--fg-2); font-size: 17.5px; line-height: 1.6; max-width: 30ch; margin: 22px 0 30px; }
.hero-cta { display: flex; gap: 12px; align-items: center; }
.hero-trust { display: flex; align-items: center; gap: 16px; margin-top: 30px; color: var(--faint); font-size: 13px; }
.hero-trust .bar { width: 1px; height: 16px; background: var(--border-2); }

/* hero deploy console (real component preview) */
.console {
  position: relative; z-index: 1;
  border: 1px solid var(--border-2); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), transparent 40%), var(--bg-2);
  box-shadow: var(--shadow-2); overflow: hidden;
}
.console-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.console-head .ttl { font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.console-body { padding: 22px; display: grid; gap: 16px; }
.console-row { display: flex; justify-content: space-between; align-items: center; padding: 13px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-1); }
.console-row .k { color: var(--muted); font-size: 13px; }
.console-row .v { font-family: var(--font-mono); font-size: 14px; color: var(--fg); }
.console-row .v.accent { color: var(--accent); }
.deploy-meter { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.deploy-meter > i { display: block; height: 100%; width: 72%; background: var(--accent-grad); border-radius: 999px; box-shadow: 0 0 12px var(--accent-line); }
.console-foot { padding: 16px 18px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.012); }
.gas-note { font-size: 12px; color: var(--faint); display:flex; align-items:center; gap:7px; }

/* section common */
.section { max-width: 1320px; margin: 0 auto; padding: 60px 40px; }
.section-head { max-width: 640px; margin-bottom: 38px; }
.section-head h2 { font-size: clamp(28px, 3vw, 38px); letter-spacing: -0.03em; margin-top: 12px; }
.section-head p { color: var(--muted); font-size: 16px; margin-top: 12px; }

/* feature row */
.features { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.feature {
  padding: 26px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface-1); transition: border-color .2s, transform .2s, background .2s;
}
.feature:hover { border-color: var(--border-2); transform: translateY(-3px); background: var(--surface-2); }
.feature .ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; }
.feature .ic svg { width: 21px; height: 21px; }
.feature h3 { font-size: 19px; letter-spacing: -0.02em; }
.feature p { color: var(--muted); font-size: 14.5px; margin-top: 9px; line-height: 1.6; }
.feature .metric { margin-top: 16px; font-family: var(--font-mono); font-size: 13px; color: var(--fg-2); display:flex; align-items:center; gap:8px; }
.feature .metric b { color: var(--accent); }

/* how it works strip */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface-1); }
.step { padding: 28px 24px; position: relative; }
.step + .step { border-left: 1px solid var(--border); }
.step .n { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: 0.08em; }
.step h4 { font-size: 17px; margin-top: 14px; letter-spacing: -0.01em; }
.step p { color: var(--muted); font-size: 13.5px; margin-top: 8px; line-height: 1.55; }
.step .arrow { position: absolute; right: -10px; top: 50%; transform: translateY(-50%); color: var(--faint); z-index: 2; background: var(--bg-2); border-radius: 50%; }
.step:last-child .arrow { display: none; }

/* cta band */
.cta-band {
  max-width: 1320px; margin: 0 auto; padding: 54px 48px; border-radius: var(--radius-lg);
  border: 1px solid var(--accent-line);
  background: radial-gradient(700px 300px at 80% 10%, rgba(64,216,100,0.16), transparent 60%), var(--surface-1);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(26px,3vw,36px); letter-spacing: -0.03em; }
.cta-band p { color: var(--fg-2); margin-top: 10px; }

/* footer */
.footer { max-width: 1320px; margin: 0 auto; padding: 48px 40px 40px; border-top: 1px solid var(--border); display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer .col h5 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--faint); margin-bottom: 16px; font-family: var(--font-ui); font-weight: 600; }
.footer .col a { display: block; color: var(--muted); font-size: 14px; padding: 5px 0; transition: .15s; }
.footer .col a:hover { color: var(--fg); }
.footer .about p { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 30ch; line-height: 1.6; }
.footer-base { max-width: 1320px; margin: 0 auto; padding: 20px 40px 8px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; color: var(--faint); font-size: 13px; }

/* ============================================================
   2. DASHBOARD
   ============================================================ */
.app { display: grid; grid-template-columns: 232px 1fr; min-height: 760px; }
.sidebar { border-right: 1px solid var(--border); padding: 22px 16px; display: flex; flex-direction: column; gap: 6px; background: rgba(255,255,255,0.01); }
.sidebar .brandmark { padding: 4px 8px 20px; font-size: 18px; }
.sidebar .grp-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--faint); padding: 14px 12px 8px; }
.navitem { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--muted); font-size: 14px; font-weight: 500; transition: .15s; }
.navitem svg { width: 18px; height: 18px; }
.navitem:hover { color: var(--fg); background: var(--surface-1); }
.navitem.active { color: var(--fg); background: var(--surface-2); box-shadow: inset 2px 0 0 var(--accent); }
.navitem .badge { margin-left: auto; font-size: 11px; font-family: var(--font-mono); color: var(--accent); background: var(--accent-soft); padding: 1px 7px; border-radius: 999px; }
.sidebar .spacer { flex: 1; }
.wallet-card { border: 1px solid var(--border); border-radius: 12px; padding: 12px; background: var(--surface-1); display:flex; align-items:center; gap:10px; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: conic-gradient(from 200deg, #40D864, #4C7DF0, #B6FA72, #40D864); flex:0 0 auto; box-shadow: 0 0 0 1px rgba(255,255,255,0.12) inset; }

.appmain { display: flex; flex-direction: column; }
.appbar { display: flex; align-items: center; gap: 14px; padding: 16px 28px; border-bottom: 1px solid var(--border); }
.appbar .search { display:flex; align-items:center; gap:9px; color: var(--faint); font-size: 13.5px; background: var(--surface-1); border: 1px solid var(--border); border-radius: 10px; padding: 9px 13px; width: 280px; }
.appbar .search svg { width: 15px; height: 15px; }
.appbar .right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.wallet-chip { display: flex; align-items: center; gap: 9px; border: 1px solid var(--border-2); border-radius: 999px; padding: 5px 6px 5px 12px; background: var(--surface-1); }
.wallet-chip .addr { font-family: var(--font-mono); font-size: 13px; color: var(--fg-2); }

.content { padding: 26px 28px 36px; }
.content-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.content-head h1 { font-size: 28px; letter-spacing: -0.03em; }
.content-head p { color: var(--muted); font-size: 14.5px; margin-top: 6px; }

.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 26px; }
.stat { padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-1); }
.stat .label { color: var(--muted); font-size: 13px; display:flex; align-items:center; gap:8px; }
.stat .val { font-family: var(--font-display); font-size: 30px; font-weight: 600; letter-spacing: -0.02em; margin-top: 12px; }
.stat .val .unit { font-size: 15px; color: var(--muted); font-weight: 500; margin-left: 4px; }
.stat .delta { margin-top: 8px; font-size: 12.5px; font-family: var(--font-mono); display:flex; align-items:center; gap:6px; }
.stat .delta.up { color: var(--success); }
.stat .delta.flat { color: var(--muted); }

.panel { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-1); overflow: hidden; }
.panel-head { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.panel-head h3 { font-size: 16px; letter-spacing: -0.01em; }
.panel-head .tabs { display: flex; gap: 4px; margin-left: 8px; }
.panel-head .tabs button { font-size: 13px; color: var(--muted); padding: 6px 12px; border-radius: 8px; border: none; background: transparent; }
.panel-head .tabs button.on { color: var(--fg); background: var(--surface-2); }
.panel-head .right { margin-left: auto; display:flex; gap:10px; }
.filterbtn { display:flex; align-items:center; gap:7px; font-size:13px; color: var(--muted); background: var(--surface-1); border: 1px solid var(--border); border-radius: 9px; padding: 7px 12px; }
.filterbtn svg { width:14px; height:14px; }

/* token table */
table.tokens { width: 100%; border-collapse: collapse; }
table.tokens th {
  text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--faint); font-weight: 600; padding: 12px 20px; border-bottom: 1px solid var(--border);
}
table.tokens th.right, table.tokens td.right { text-align: right; }
table.tokens td { padding: 16px 20px; border-bottom: 1px solid var(--border); font-size: 14px; vertical-align: middle; }
table.tokens tr:last-child td { border-bottom: none; }
table.tokens tbody tr { transition: background .15s; }
table.tokens tbody tr:hover { background: var(--surface-1); }
.tcell { display: flex; align-items: center; gap: 12px; }
.tcell .name { font-weight: 600; letter-spacing: -0.01em; }
.tcell .sym { color: var(--muted); font-size: 12px; font-family: var(--font-mono); margin-top: 2px; }
td .supply { font-family: var(--font-mono); }
td .supply .dec { color: var(--faint); }
.rowmenu { position: relative; display:flex; justify-content:flex-end; }
.kebab { width: 32px; height: 32px; border-radius: 9px; border: 1px solid transparent; background: transparent; color: var(--muted); display: grid; place-items: center; }
.kebab:hover { background: var(--surface-2); color: var(--fg); border-color: var(--border); }
.menu {
  position: absolute; right: 0; top: 38px; z-index: 30; width: 196px;
  border: 1px solid var(--border-2); border-radius: 12px; background: #0D1411;
  box-shadow: var(--shadow-2); padding: 6px; display: none;
}
.menu.open { display: block; }
.menu button { display: flex; align-items: center; gap: 11px; width: 100%; text-align: left; font-size: 13.5px; color: var(--fg-2); background: transparent; border: none; padding: 9px 11px; border-radius: 8px; }
.menu button svg { width: 16px; height: 16px; color: var(--muted); }
.menu button:hover { background: var(--surface-2); color: var(--fg); }
.menu button.danger { color: var(--danger); }
.menu button.danger svg { color: var(--danger); }
.menu .sep { height: 1px; background: var(--border); margin: 5px 4px; }

/* empty state */
.empty {
  margin-top: 22px; border: 1px dashed var(--border-2); border-radius: var(--radius);
  padding: 44px; text-align: center; background: var(--surface-1);
}
.empty .orb { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 18px; background: var(--accent-soft); display:grid; place-items:center; color: var(--accent); }
.empty .orb svg { width: 30px; height: 30px; }
.empty h3 { font-size: 20px; letter-spacing: -0.02em; }
.empty p { color: var(--muted); font-size: 14.5px; margin: 10px auto 22px; max-width: 42ch; }

/* ============================================================
   3. CREATE WIZARD
   ============================================================ */
.wizard-wrap { display: grid; grid-template-columns: 1fr 380px; gap: 0; min-height: 720px; }
.wizard { padding: 30px 36px; border-right: 1px solid var(--border); display:flex; flex-direction:column; }
.wizard-top { display:flex; align-items:center; gap: 14px; margin-bottom: 26px; }
.wizard-top h2 { font-size: 22px; letter-spacing: -0.02em; }
.wizard-top .close { margin-left:auto; width:36px;height:36px;border-radius:10px;border:1px solid var(--border);background:var(--surface-1);color:var(--muted);display:grid;place-items:center; }

/* stepper */
.stepper { display: flex; align-items: center; gap: 0; margin-bottom: 30px; }
.stepper .st { display:flex; align-items:center; gap:11px; color: var(--muted); }
.stepper .st .dot { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border-2); display:grid; place-items:center; font-size: 13px; font-family: var(--font-mono); background: var(--surface-1); }
.stepper .st .lbl { font-size: 14px; font-weight: 500; }
.stepper .st.active { color: var(--fg); }
.stepper .st.active .dot { background: var(--accent-grad); color: #04140A; border-color: transparent; box-shadow: 0 0 0 4px var(--accent-soft); }
.stepper .st.done .dot { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-line); }
.stepper .line { flex: 1; height: 1px; background: var(--border-2); margin: 0 16px; }

.step-panel { display: none; animation: fade .25s ease; }
.step-panel.on { display: block; }
@keyframes fade { from { opacity:0; transform: translateY(6px);} to {opacity:1; transform:none;} }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; color: var(--fg-2); font-weight: 500; margin-bottom: 8px; }
.field .hint { color: var(--faint); font-size: 12px; margin-top: 7px; }
.input, .selectish {
  width: 100%; background: var(--surface-1); border: 1px solid var(--border-2); border-radius: 11px;
  color: var(--fg); font-size: 14.5px; padding: 12px 14px; font-family: var(--font-ui); transition: .15s;
}
.input:focus, .selectish:focus { outline: none; border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-soft); }
.input.mono { font-family: var(--font-mono); }
.input::placeholder { color: var(--faint); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.input-affix { position: relative; display:flex; align-items:center; }
.input-affix .suffix { position:absolute; right:14px; color: var(--faint); font-family: var(--font-mono); font-size: 13px; }

/* toggle */
.toggle-row { display:flex; align-items:center; justify-content:space-between; padding: 14px 16px; border: 1px solid var(--border-2); border-radius: 12px; background: var(--surface-1); }
.toggle-row .meta .t { font-size: 14px; font-weight: 600; }
.toggle-row .meta .s { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.switch { width: 44px; height: 26px; border-radius: 999px; background: var(--surface-3); border: 1px solid var(--border-2); position: relative; transition: .2s; flex:0 0 auto; }
.switch::after { content:""; position:absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--fg-2); transition: .2s; }
.switch.on { background: var(--accent-grad); border-color: transparent; }
.switch.on::after { left: 20px; background: #04140A; }

/* image upload */
.upload { display:flex; align-items:center; gap:16px; padding: 16px; border: 1px dashed var(--border-2); border-radius: 12px; background: var(--surface-1); }
.upload .prev { width: 56px; height: 56px; border-radius: 14px; background: var(--surface-2); display:grid; place-items:center; overflow:hidden; flex:0 0 auto; color: var(--faint); border: 1px solid var(--border); }
.upload .prev img { width:100%; height:100%; object-fit:cover; }
.upload .up-meta .t { font-size: 13.5px; font-weight: 500; }
.upload .up-meta .s { font-size: 12px; color: var(--faint); margin-top: 3px; }

/* review list */
.review-list { border: 1px solid var(--border); border-radius: 12px; overflow:hidden; }
.review-list .r { display:flex; justify-content:space-between; padding: 13px 16px; border-bottom: 1px solid var(--border); font-size: 14px; }
.review-list .r:last-child { border-bottom:none; }
.review-list .r .k { color: var(--muted); }
.review-list .r .v { font-family: var(--font-mono); color: var(--fg); }

.wizard-actions { margin-top: auto; padding-top: 24px; display:flex; align-items:center; gap: 12px; border-top: 1px solid var(--border); }
.wizard-actions .gas-note { margin-left: auto; }

/* live preview rail */
.preview-rail { padding: 30px 28px; background: rgba(255,255,255,0.012); display:flex; flex-direction:column; gap: 18px; }
.preview-rail .rail-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--faint); }
.token-preview {
  border: 1px solid var(--border-2); border-radius: var(--radius-lg); padding: 24px;
  background: linear-gradient(180deg, rgba(64,216,100,0.06), transparent 50%), var(--bg-2);
  box-shadow: var(--shadow-1); position: relative; overflow: hidden;
}
.token-preview::before { content:""; position:absolute; inset:0; background: radial-gradient(300px 140px at 70% -10%, rgba(64,216,100,0.18), transparent 60%); pointer-events:none; }
.token-preview .pv-top { display:flex; align-items:center; gap:14px; position:relative; }
.token-preview .pv-name { font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.token-preview .pv-sym { font-family: var(--font-mono); color: var(--accent); font-size: 13px; margin-top: 3px; }
.token-preview .pv-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; position:relative; }
.token-preview .pv-cell .k { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.token-preview .pv-cell .v { font-family: var(--font-mono); font-size: 16px; margin-top: 6px; }
.token-preview .pv-foot { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--border); display:flex; align-items:center; gap:10px; position:relative; }
.preview-rail .pv-note { font-size: 12.5px; color: var(--faint); line-height: 1.6; }

/* ============================================================
   4. LOCK & VEST
   ============================================================ */
.lv-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 30px; }
.modal-card { border: 1px solid var(--border-2); border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(255,255,255,0.025), transparent 30%), var(--bg-2); box-shadow: var(--shadow-1); overflow:hidden; }
.modal-head { display:flex; align-items:center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.modal-head .mi { width: 34px; height:34px; border-radius:10px; display:grid; place-items:center; background: var(--accent-soft); color: var(--accent); }
.modal-head .mi.blue { background: rgba(76,125,240,0.14); color: var(--base-blue); }
.modal-head h3 { font-size: 17px; letter-spacing: -0.01em; }
.modal-head p { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.modal-body { padding: 22px; }

.amount-box { border: 1px solid var(--border-2); border-radius: 12px; padding: 16px; background: var(--surface-1); }
.amount-box .top { display:flex; justify-content:space-between; align-items:center; }
.amount-box input { background: transparent; border: none; color: var(--fg); font-family: var(--font-mono); font-size: 26px; width: 60%; outline: none; }
.amount-box .bal { font-size: 12px; color: var(--muted); }
.amount-box .tokpick { display:flex; align-items:center; gap:8px; background: var(--surface-2); border:1px solid var(--border); border-radius: 999px; padding: 5px 12px 5px 6px; font-size: 13px; font-weight:600; }
.pct-row { display:flex; gap:8px; margin-top: 14px; }
.pct-row button { flex:1; font-size:12.5px; color: var(--muted); background: var(--surface-1); border:1px solid var(--border); border-radius:8px; padding: 7px; }
.pct-row button:hover { color: var(--fg); border-color: var(--border-2); }

/* vesting timeline */
.timeline { margin-top: 22px; border: 1px solid var(--border); border-radius: 12px; padding: 20px 18px; background: var(--surface-1); }
.timeline .tl-head { display:flex; justify-content:space-between; font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.tl-track { position: relative; height: 56px; }
.tl-bar { position:absolute; top: 22px; left: 0; right: 0; height: 6px; border-radius: 999px; background: var(--surface-3); }
.tl-cliff { position:absolute; top: 22px; left: 0; height: 6px; border-radius: 999px 0 0 999px; background: repeating-linear-gradient(90deg, var(--border-strong) 0 5px, transparent 5px 10px); }
.tl-fill { position:absolute; top: 22px; height: 6px; border-radius: 0 999px 999px 0; background: var(--accent-grad); box-shadow: 0 0 12px var(--accent-line); }
.tl-node { position:absolute; top: 14px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg-2); border: 2px solid var(--accent); transform: translateX(-50%); box-shadow: 0 0 10px var(--accent-line); }
.tl-node .cap { position:absolute; top: 22px; left:50%; transform: translateX(-50%); white-space:nowrap; font-size: 11px; color: var(--muted); }
.tl-node.cliff { border-color: var(--warn); box-shadow: 0 0 10px rgba(232,179,65,0.5); }
.tl-node.cliff .cap { color: var(--warn); }
.vest-stats { display:grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 24px; }
.vest-stats .vs { border:1px solid var(--border); border-radius:10px; padding: 12px 14px; background: var(--surface-1); }
.vest-stats .vs .k { font-size: 11px; color: var(--muted); text-transform:uppercase; letter-spacing:0.08em; }
.vest-stats .vs .v { font-family: var(--font-mono); font-size: 17px; margin-top: 6px; }

.modal-foot { padding: 18px 22px; border-top: 1px solid var(--border); display:flex; align-items:center; gap: 12px; }

/* utility */
.row { display:flex; align-items:center; gap: 12px; }
.spread { justify-content: space-between; }
.mt-auto { margin-top:auto; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .features, .stats, .steps, .footer { grid-template-columns: 1fr 1fr; }
  .wizard-wrap, .lv-grid, .app { grid-template-columns: 1fr; }
  .preview-rail { border-top: 1px solid var(--border); }
}

/* ============================================================
   STANDALONE LANDING PAGE (landing.html)
   Additive: only .lp-* classes — does not touch gallery styles.
   ============================================================ */

.lp-body { overflow-x: hidden; }

/* --- sticky marketing nav --- */
.lp-nav {
  position: sticky; top: 0; z-index: 90;
  display: flex; align-items: center; gap: 28px;
  padding: 14px clamp(18px, 4vw, 40px);
  background: rgba(7,10,9,0.62);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.lp-nav.scrolled { border-bottom-color: var(--border); background: rgba(7,10,9,0.82); }
.lp-nav nav { display: flex; gap: 26px; margin-left: 14px; }
.lp-nav nav a { font-size: 14px; color: var(--muted); transition: .15s; position: relative; }
.lp-nav nav a:hover { color: var(--fg); }
.lp-nav .right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
@media (max-width: 760px) {
  .lp-nav nav, .lp-nav .right .pill { display: none; }
}

/* --- hero --- */
.lp-hero {
  position: relative;
  max-width: 1320px; margin: 0 auto;
  padding: clamp(40px, 7vw, 84px) clamp(18px, 4vw, 40px) clamp(36px, 5vw, 56px);
}
.lp-hero-inner {
  display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(24px, 4vw, 56px);
  align-items: center; position: relative; z-index: 2;
}
.lp-hero-copy { max-width: 580px; }
.lp-hero h1 {
  font-size: clamp(38px, 5.4vw, 68px); line-height: 1.0; letter-spacing: -0.04em;
  margin: 22px 0 0;
}
.lp-hero h1 .em { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-hero h1 .word { display: inline-block; will-change: transform; }
.lp-hero-sub { color: var(--fg-2); font-size: clamp(16px, 1.4vw, 18.5px); line-height: 1.6; max-width: 36ch; margin: 24px 0 32px; }
.lp-hero-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.lp-hero-trust { display: flex; align-items: center; gap: 16px; margin-top: 30px; color: var(--faint); font-size: 13px; flex-wrap: wrap; }
.lp-hero-trust .bar { width: 1px; height: 16px; background: var(--border-2); }
.lp-btn-arrow { transition: transform .35s cubic-bezier(.32,.72,0,1); }
.btn:hover .lp-btn-arrow { transform: translateX(3px); }

/* --- 3D stage --- */
.lp-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  min-height: 360px;
  border-radius: var(--radius-lg);
}
.lp-stage canvas { display: block; width: 100% !important; height: 100% !important; border-radius: var(--radius-lg); }
.lp-stage-glow {
  position: absolute; inset: -8% -6% -12% -6%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(46% 42% at 56% 40%, rgba(64,216,100,0.20), transparent 70%),
    radial-gradient(40% 40% at 30% 66%, rgba(76,125,240,0.16), transparent 70%);
  filter: blur(8px);
}
.lp-stage canvas { position: relative; z-index: 1; }

/* CSS fallback coin (reduced-motion / no-webgl) */
.lp-fallback { position: absolute; inset: 0; z-index: 1; display: none; place-items: center; }
.lp-fallback.show { display: grid; }
.lp-stage.is-fallback canvas { display: none; }
.lp-coin {
  width: min(58%, 280px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background:
    radial-gradient(120% 120% at 32% 26%, rgba(255,255,255,0.22), transparent 42%),
    conic-gradient(from 220deg, #18A848, #40D864, #B6FA72, #4C7DF0, #18A848);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.16) inset,
    0 0 90px -10px rgba(64,216,100,0.6),
    0 40px 80px -30px rgba(0,0,0,0.85);
  position: relative;
}
.lp-coin::before {
  content: ""; position: absolute; inset: 11%; border-radius: 50%;
  background: radial-gradient(120% 120% at 38% 32%, #0d1a12, #060b08 70%);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset;
}
.lp-coin .mk {
  position: relative; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(48px, 12vw, 96px); letter-spacing: -0.04em;
  background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 30px rgba(64,216,100,0.45);
}

/* floating console overlapping the stage */
.lp-hero-console {
  position: absolute; left: -6%; bottom: -7%; z-index: 3; width: min(330px, 78%);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.lp-hero-console .console-body { padding: 16px 18px; gap: 12px; }
@media (max-width: 1100px) {
  .lp-hero-inner { grid-template-columns: 1fr; }
  .lp-stage { max-width: 480px; margin: 8px auto 0; min-height: 320px; }
  .lp-hero-console { left: auto; right: 0; bottom: -10%; width: min(300px, 86%); }
}
@media (max-width: 560px) {
  .lp-hero-console { position: relative; left: 0; right: 0; bottom: 0; width: 100%; margin-top: 30px; }
  .lp-stage { min-height: 280px; }
}

/* --- honest spec strip --- */
.lp-specs {
  max-width: 1320px; margin: 0 auto; padding: 6px clamp(18px, 4vw, 40px) 8px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.lp-spec {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px;
  background: var(--surface-1);
}
.lp-spec .v { font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; letter-spacing: -0.02em; }
.lp-spec .v .mono { font-family: var(--font-mono); }
.lp-spec .k { color: var(--muted); font-size: 12.5px; margin-top: 6px; }
.lp-spec .v .small { font-size: 14px; color: var(--base-blue); }
@media (max-width: 760px) { .lp-specs { grid-template-columns: 1fr 1fr; } }

/* feature metric color helper used on landing */
.feature .ic.blue { background: rgba(76,125,240,0.14); color: var(--base-blue); }

/* gsap pre-hide (only applied via JS when GSAP + motion available) */
.lp-anim-ready .lp-fx { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .lp-anim-ready .lp-fx { opacity: 1; } }

/* ============================================================
   STANDALONE DASHBOARD (dashboard.html)
   Additive: only .db-* classes + .db-page scoping.
   Reuses .app/.sidebar/.appbar/.stat/.panel/table.tokens/.modal-card.
   ============================================================ */

.db-page { min-height: 100dvh; }

/* full-viewport app shell on desktop: sidebar + appbar fixed, content scrolls */
@media (min-width: 1101px) {
  .db-page .app { height: 100dvh; min-height: 0; }
  .db-page .sidebar { position: sticky; top: 0; height: 100dvh; overflow-y: auto; }
  .db-page .appmain { height: 100dvh; overflow: hidden; }
  .db-page .content { flex: 1; overflow-y: auto; }
}
.db-page .appbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(7,10,9,0.74);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

/* subtle layered depth on key surfaces */
.db-page .panel { box-shadow: var(--shadow-1); }

/* --- 3D pointer tilt on stat cards (magnitude kept small) --- */
.db-stats { perspective: 1100px; }
.db-stats .stat {
  position: relative;
  transform-style: preserve-3d;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 18px 40px -28px rgba(0,0,0,0.82);
  transition: box-shadow .3s ease, border-color .3s ease;
}
.db-stats .stat .stat-inner { position: relative; transform: translateZ(24px); }
.db-stats .stat::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(220px 140px at var(--mx, 50%) var(--my, 0%), rgba(64,216,100,0.10), transparent 60%);
  opacity: 0; transition: opacity .3s ease;
}
.db-stats .stat:hover {
  border-color: var(--border-2);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 30px 64px -30px rgba(0,0,0,0.92), 0 0 0 1px rgba(64,216,100,0.18);
}
.db-stats .stat:hover::after { opacity: 1; }

/* dashboard section heading for Locks & Vesting block */
.db-section-head { max-width: 1320px; margin: 34px 0 18px; }
.db-section-head h2 { font-size: 21px; letter-spacing: -0.02em; }
.db-section-head p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.db-page .lv-grid { padding: 0; }

/* --- centered modal overlay (Lock / Vest from row actions) --- */
.db-overlay {
  position: fixed; inset: 0; z-index: 120;
  display: grid; place-items: center; padding: 24px;
  background: rgba(4,7,6,0.62);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  opacity: 0; visibility: hidden;
  transition: opacity .28s ease, visibility .28s ease;
}
.db-overlay.open { opacity: 1; visibility: visible; }
.db-overlay .modal-card {
  width: min(560px, 100%); max-height: calc(100dvh - 48px); overflow-y: auto;
  transform: translateY(16px) scale(.985);
  transition: transform .32s cubic-bezier(.16,1,.3,1);
}
.db-overlay.open .modal-card { transform: none; }
.db-modal-close {
  margin-left: auto; width: 32px; height: 32px; border-radius: 9px;
  border: 1px solid var(--border); background: var(--surface-1); color: var(--muted);
  display: grid; place-items: center; transition: .15s;
}
.db-modal-close:hover { color: var(--fg); border-color: var(--border-2); background: var(--surface-2); }
.db-modal-close svg { width: 16px; height: 16px; }

@media (prefers-reduced-motion: reduce) {
  .db-overlay, .db-overlay .modal-card { transition: none; }
  .db-stats .stat { transform: none !important; }
}

/* ============================================================
   STANDALONE CREATE-TOKEN WIZARD (create-token-wizard.html)
   Additive: only .ctw-* classes (plus scoped overrides under
   .ctw-page). Does not touch gallery / .lp-* / .db-* styles.
   ============================================================ */

.ctw-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  /* ambient glow seated behind the frame, no layout impact */
  background:
    radial-gradient(900px 460px at 78% -6%, rgba(64,216,100,0.07), transparent 60%),
    radial-gradient(760px 420px at 12% 110%, rgba(76,125,240,0.06), transparent 60%),
    var(--bg);
}

/* --- slim sticky top bar --- */
.ctw-bar {
  position: sticky; top: 0; z-index: 80;
  display: flex; align-items: center; gap: 14px;
  padding: 13px clamp(18px, 4vw, 40px);
  border-bottom: 1px solid var(--border);
  background: rgba(7,10,9,0.72);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}
.ctw-bar .brandmark { color: var(--fg); }
.ctw-sep { width: 1px; height: 20px; background: var(--border-2); }
.ctw-context { font-size: 14px; color: var(--muted); font-weight: 500; }
.ctw-bar-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.ctw-close {
  width: 36px; height: 36px; border-radius: 10px; flex: 0 0 auto;
  border: 1px solid var(--border); background: var(--surface-1); color: var(--muted);
  display: grid; place-items: center; transition: .15s;
}
.ctw-close:hover { color: var(--fg); border-color: var(--border-2); background: var(--surface-2); }

/* --- centered framed wizard --- */
.ctw-main {
  flex: 1; width: 100%;
  max-width: 1180px; margin: 0 auto;
  padding: clamp(20px, 4vw, 44px) clamp(16px, 4vw, 40px) 48px;
}
.ctw-frame {
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent 30%), var(--bg-2);
  box-shadow: var(--shadow-2);
  /* NOTE: deliberately NO overflow:hidden — it would make the frame the
     scroll container and kill the sticky rail/actions. Inner corners are
     rounded individually below instead. */
}
.ctw-frame .wizard-wrap { min-height: 640px; }

/* the wizard column anchor for sticky actions */
.ctw-frame .wizard { position: relative; border-radius: var(--radius-lg) 0 0 var(--radius-lg); }

/* sticky action bar — full-bleed within the form padding, pinned to bottom */
.ctw-frame .wizard-actions {
  position: sticky; bottom: 0;
  margin: auto -36px -30px;            /* keep margin-top:auto push + full bleed */
  padding: 18px 36px;
  border-top: 1px solid var(--border);
  border-bottom-left-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(10,15,13,0), rgba(10,15,13,0.94) 34%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* sticky live-preview rail with 3D perspective context.
   top offset clears the sticky app bar; right corners follow the frame. */
.ctw-frame .preview-rail {
  position: sticky; top: 74px;
  align-self: start;
  perspective: 1100px;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

/* tilt wrapper preserves 3D for the card transform driven by app.js */
.ctw-tilt { transform-style: preserve-3d; }
.ctw-frame .token-preview {
  transform-style: preserve-3d;
  transition: box-shadow .35s cubic-bezier(.32,.72,0,1), border-color .25s;
  will-change: transform;
  /* layered soft shadow so it reads as a physical card */
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05) inset,
    0 18px 40px -22px rgba(0,0,0,0.85),
    0 40px 90px -50px rgba(0,0,0,0.9);
}
.ctw-frame .token-preview:hover {
  border-color: var(--border-strong);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 26px 54px -22px rgba(0,0,0,0.9),
    0 60px 120px -54px rgba(64,216,100,0.32);
}
/* pointer-tracked glare, fully behind content, vars set by app.js */
.ctw-frame .token-preview::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit; opacity: var(--glare, 0);
  transition: opacity .3s ease;
  background: radial-gradient(220px 160px at var(--mx, 70%) var(--my, 0%), rgba(255,255,255,0.12), transparent 60%);
}

/* review-step assurance note */
.ctw-attest {
  display: flex; align-items: flex-start; gap: 11px;
  margin-top: 16px; padding: 14px 16px;
  border: 1px solid var(--border); border-radius: 12px;
  background: var(--surface-1);
  font-size: 13px; color: var(--fg-2); line-height: 1.55;
}
.ctw-attest .ic {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}

/* rail meta facts */
.ctw-meta {
  margin-top: 4px; border: 1px solid var(--border); border-radius: 12px;
  background: var(--surface-1); overflow: hidden;
}
.ctw-meta .r {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 14px; border-bottom: 1px solid var(--border); font-size: 13px;
}
.ctw-meta .r:last-child { border-bottom: none; }
.ctw-meta .r .k { color: var(--muted); }
.ctw-meta .r .v { font-family: var(--font-mono); color: var(--fg); }

/* mobile: rail stacks below the form (matches existing 1100 breakpoint) */
@media (max-width: 1100px) {
  .ctw-frame .preview-rail {
    position: static; perspective: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }
  .ctw-frame .wizard {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
  .ctw-frame .wizard-actions { border-bottom-left-radius: 0; }
  .ctw-frame .wizard-wrap { min-height: 0; }
  .ctw-frame .token-preview { transform: none !important; }
}
@media (max-width: 560px) {
  .ctw-context, .ctw-sep { display: none; }
  .ctw-frame .wizard { padding: 22px 18px; }
  .ctw-frame .wizard-actions { margin: auto -18px -22px; padding: 16px 18px; flex-wrap: wrap; }
  .ctw-frame .wizard-actions .gas-note { order: 3; width: 100%; margin-left: 0; }
}

/* honour reduced motion: kill tilt + transitions, keep everything visible */
@media (prefers-reduced-motion: reduce) {
  .ctw-frame .token-preview { transform: none !important; transition: none; }
  .ctw-frame .token-preview::after { display: none; }
}

/* ============================================================
   Cre8 — switchable hero (Sequence · Console · 3D)
   Additive only. All classes namespaced .lp-* (landing scope).
   ============================================================ */

/* the stage itself is a clipping frame for the demos */
.lp-stage { overflow: hidden; }

/* --- segmented switcher --- */
.lp-switch {
  position: absolute; z-index: 6; top: 12px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 4px 4px 6px; border-radius: 999px;
  background: rgba(8,12,10,0.62); border: 1px solid var(--border-2);
  backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 14px 38px -20px rgba(0,0,0,0.9), 0 1px 0 rgba(255,255,255,0.05) inset;
  white-space: nowrap;
}
.lp-switch .lbl {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.26em;
  color: var(--faint); padding-right: 4px; user-select: none;
}
.lp-switch .seg { position: relative; display: inline-flex; }
.lp-switch .ind {
  position: absolute; z-index: 0; top: 0; left: 0; height: 100%; width: 0;
  border-radius: 999px; background: var(--surface-3); border: 1px solid var(--border-2);
  box-shadow: 0 0 0 1px rgba(64,216,100,0.12) inset;
  transition: transform .42s cubic-bezier(.32,.72,0,1), width .42s cubic-bezier(.32,.72,0,1);
  will-change: transform, width;
}
.lp-switch button {
  position: relative; z-index: 1; border: none; background: transparent;
  font-family: var(--font-ui); font-size: 12px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--muted); padding: 6px 13px; border-radius: 999px; cursor: pointer;
  transition: color .25s ease; -webkit-tap-highlight-color: transparent;
}
.lp-switch button:hover { color: var(--fg-2); }
.lp-switch button.on { color: var(--fg); }
@media (max-width: 420px) {
  .lp-switch .lbl { display: none; }
  .lp-switch button { padding: 6px 10px; font-size: 11.5px; }
}

/* --- demo containers (only .active paints) --- */
.lp-demo {
  position: absolute; inset: 0; z-index: 1;
  display: grid; place-items: center; padding: 62px 10px 14px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .4s ease;
}
.lp-demo.active { opacity: 1; visibility: visible; pointer-events: auto; }
.lp-demo[data-anim="C"] { padding: 0; }
.lp-demo[data-anim="C"] canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }

/* C static fallback (reduced-motion / no-webgl) */
.lp-c-static { position: absolute; inset: 0; display: none; place-items: center; }
.lp-c-static.show { display: grid; }

/* ===== A · Launch sequence ===== */
.lp-seq-card {
  width: min(360px, 94%); border-radius: 20px; position: relative; overflow: hidden;
  border: 1px solid var(--border-2);
  background: linear-gradient(180deg, rgba(255,255,255,0.055), transparent 40%), var(--bg-2);
  box-shadow: var(--shadow-2);
  padding: 15px 16px 16px;
}
.lp-seq-head { display: flex; align-items: center; gap: 9px; padding-bottom: 13px; border-bottom: 1px solid var(--border); }
.lp-seq-head .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 9px var(--accent); }
.lp-seq-head .ttl { font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: 0.02em; }
.lp-seq-stack { position: relative; margin-top: 14px; min-height: 196px; }
.lp-seq-form, .lp-seq-deploying, .lp-seq-done { position: absolute; inset: 0; }
.lp-seq-deploying, .lp-seq-done { opacity: 0; }

.lp-seq-field { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 13px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-1);
  transition: border-color .2s, box-shadow .2s; }
.lp-seq-field + .lp-seq-field { margin-top: 9px; }
.lp-seq-field label { color: var(--muted); font-size: 12.5px; }
.lp-seq-field .vv { display: inline-flex; align-items: center; }
.lp-seq-field .val { font-family: var(--font-mono); font-size: 14px; color: var(--fg); }
.lp-seq-field .val.accent { color: var(--accent); }
.lp-seq-field.typing { border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-soft); }
.lp-seq-caret { display: inline-block; width: 2px; height: 15px; margin-left: 1px; border-radius: 1px; background: var(--accent); opacity: 0; }
.lp-seq-field.typing .lp-seq-caret { animation: lpCaret .9s steps(1) infinite; }
@keyframes lpCaret { 0%,49%{opacity:1} 50%,100%{opacity:0} }

.lp-seq-deploy {
  margin-top: 12px; width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px; border: none; border-radius: 12px; cursor: default;
  font-family: var(--font-display); font-weight: 600; font-size: 14px; color: #04140A;
  background: var(--accent-grad); box-shadow: var(--accent-glow); will-change: transform;
}
.lp-seq-deploy svg { width: 15px; height: 15px; }

.lp-seq-deploying { display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.lp-seq-meterhead { display: flex; align-items: center; justify-content: space-between; }
.lp-seq-meterhead .msg { color: var(--fg-2); font-size: 13px; }
.lp-seq-meterhead .pct { color: var(--accent); font-size: 13px; }
.lp-seq-deploying .bar { height: 9px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.lp-seq-deploying .bar i { display: block; height: 100%; width: 0%; border-radius: 999px;
  background: var(--accent-grad); box-shadow: 0 0 14px var(--accent-line); }
.lp-seq-sub { color: var(--faint); font-size: 11.5px; letter-spacing: 0.02em; }

.lp-seq-done { display: grid; place-items: center; align-content: center; gap: 11px; text-align: center; }
.lp-seq-coin {
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: radial-gradient(120% 120% at 32% 26%, rgba(255,255,255,0.24), transparent 44%),
    conic-gradient(from 210deg, #18A848, #40D864, #B6FA72, #4C7DF0, #18A848);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.16) inset, 0 0 60px -8px rgba(64,216,100,0.7), 0 22px 44px -22px rgba(0,0,0,0.85);
}
.lp-seq-coin::before { content: ""; position: absolute; inset: 9px; border-radius: 50%;
  background: radial-gradient(120% 120% at 38% 30%, #0d1a12, #060b08 72%); box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset; }
.lp-seq-coin .mk { position: relative; font-family: var(--font-display); font-weight: 700; font-size: 40px; letter-spacing: -0.03em;
  background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 0 22px rgba(64,216,100,0.5); }
.lp-seq-ok { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--fg); }
.lp-seq-ok svg { width: 17px; height: 17px; color: var(--accent); }
.lp-seq-addr { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); letter-spacing: 0.02em;
  padding: 4px 11px; border: 1px solid var(--border-2); border-radius: 999px; background: var(--surface-1); }

/* ===== B · self-typing console ===== */
.lp-lc { width: min(364px, 94%); }
.lp-lc .console-body { padding: 18px; gap: 14px; }
.lp-lc .deploy-meter > i { width: 0%; }
.lp-lc-meter { display: grid; gap: 9px; }
.lp-lc-meter .row.spread { display: flex; align-items: center; justify-content: space-between; }
.lp-lc-msg { color: var(--muted); font-size: 13px; }
.lp-lc .console-foot.lp-lc-foot {
  display: flex; align-items: center; gap: 10px; opacity: 0; transform: translateY(6px);
}
.lp-lc-ok { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--fg); font-weight: 600; }
.lp-lc-ok svg { width: 15px; height: 15px; color: var(--accent); }
.lp-lc-addr { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); }

/* keep the demos comfortable on narrow stages */
@media (max-width: 560px) {
  .lp-demo { padding-top: 58px; }
  .lp-seq-card, .lp-lc { width: min(340px, 96%); }
}

/* reduced motion: no transitions on switch, everything visible & static */
@media (prefers-reduced-motion: reduce) {
  .lp-demo { transition: none; }
  .lp-seq-field.typing .lp-seq-caret { animation: none; opacity: 0; }
}

/* ============================================================
   LANDING — extended scroll narrative (additive, .lp-* only)
   Showcase · On-chain capabilities · Why Base · Security · FAQ
   Reuses existing tokens + primitives; never overrides gallery,
   .db-*, .ctw-* or the hero switcher classes.
   ============================================================ */

/* centered section intro variant */
.section-head.lp-center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow.blue { color: var(--base-blue); }

/* ---------- 1 · PRODUCT SHOWCASE ---------- */
.lp-show-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 26px);
}
.lp-show-wide { grid-column: 1 / -1; }
.lp-figure { display: flex; flex-direction: column; gap: 14px; }

.lp-win {
  border: 1px solid var(--border-2); border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent 30%), var(--bg-2);
  box-shadow: var(--shadow-2);
  transition: transform .5s cubic-bezier(.32,.72,0,1), border-color .3s, box-shadow .5s;
}
.lp-win:hover {
  transform: translateY(-4px); border-color: var(--border-strong);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 54px 110px -54px rgba(0,0,0,0.95), 0 0 0 1px rgba(64,216,100,0.12);
}
.lp-win-bar {
  display: flex; align-items: center; gap: 8px; padding: 11px 15px;
  border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.014);
}
.lp-win-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-3); }
.lp-win-bar .url {
  margin-left: 10px; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted);
  background: var(--surface-1); border: 1px solid var(--border); border-radius: 7px; padding: 4px 11px;
  max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.lp-cap { color: var(--muted); font-size: 14px; line-height: 1.55; }
.lp-cap b { color: var(--fg); font-weight: 600; }
.lp-cap .eyebrow { display: block; margin-bottom: 7px; font-size: 11px; }

/* (a) dashboard mock */
.lp-mock-dash { display: grid; grid-template-columns: 158px 1fr; min-height: 320px; }
.lp-mock-side {
  border-right: 1px solid var(--border); padding: 14px 12px;
  display: flex; flex-direction: column; gap: 3px; background: rgba(255,255,255,0.01);
}
.lp-mock-side .brandmark { font-size: 15px; padding: 2px 6px 14px; }
.lp-mock-nav {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px;
  color: var(--muted); font-size: 13px; font-weight: 500;
}
.lp-mock-nav svg { width: 16px; height: 16px; flex: 0 0 auto; }
.lp-mock-nav .badge { margin-left: auto; font-family: var(--font-mono); font-size: 10.5px; color: var(--accent); background: var(--accent-soft); padding: 1px 6px; border-radius: 999px; }
.lp-mock-nav.on { color: var(--fg); background: var(--surface-2); box-shadow: inset 2px 0 0 var(--accent); }
.lp-mock-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 14px; }
.lp-mock-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lp-mock-h h4 { font-size: 17px; letter-spacing: -0.02em; }
.lp-mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lp-mini-stat { border: 1px solid var(--border); border-radius: 12px; padding: 12px 13px; background: var(--surface-1); }
.lp-mini-stat .k { color: var(--muted); font-size: 11px; }
.lp-mini-stat .v { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -0.02em; margin-top: 6px; }
.lp-mini-stat .v small { font-size: 12px; color: var(--muted); font-weight: 500; }
.lp-mini-table { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.lp-mini-row { display: grid; grid-template-columns: 1.7fr 1fr auto; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--border); }
.lp-mini-row:last-child { border-bottom: none; }
.lp-mini-row.head { background: rgba(255,255,255,0.014); }
.lp-mini-row.head span { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); }
.lp-mini-tok { display: flex; align-items: center; gap: 10px; min-width: 0; }
.lp-mini-tok .tok { width: 28px; height: 28px; border-radius: 8px; font-size: 12px; }
.lp-mini-tok .name { font-weight: 600; font-size: 13.5px; letter-spacing: -0.01em; }
.lp-mini-tok .sym { font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin-top: 1px; }
.lp-mini-row .sup { font-family: var(--font-mono); font-size: 12.5px; color: var(--fg-2); }

/* (b) wizard mock */
.lp-mock-wiz { padding: 18px; display: flex; flex-direction: column; gap: 16px; min-height: 320px; }
.lp-wiz-steps { display: flex; align-items: center; gap: 8px; }
.lp-wiz-step { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; }
.lp-wiz-step .dot { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--border-2); display: grid; place-items: center; font-family: var(--font-mono); font-size: 11px; background: var(--surface-1); }
.lp-wiz-step.on { color: var(--fg); }
.lp-wiz-step.on .dot { background: var(--accent-grad); color: #04140A; border-color: transparent; box-shadow: 0 0 0 3px var(--accent-soft); }
.lp-wiz-step.done .dot { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-line); }
.lp-wiz-line { width: 16px; height: 1px; background: var(--border-2); }
.lp-wiz-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lp-wiz-field label { display: block; font-size: 12px; color: var(--fg-2); margin-bottom: 6px; }
.lp-wiz-input { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--border-2); border-radius: 10px; background: var(--surface-1); font-family: var(--font-mono); font-size: 13px; color: var(--fg); }
.lp-wiz-input .ph { color: var(--faint); }
.lp-wiz-input.focus { border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-soft); }
.lp-mini-pv {
  margin-top: auto; border: 1px solid var(--border-2); border-radius: 16px; padding: 16px; position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(64,216,100,0.06), transparent 50%), var(--bg-2); box-shadow: var(--shadow-1);
}
.lp-mini-pv::before { content: ""; position: absolute; inset: 0; background: radial-gradient(260px 120px at 72% -10%, rgba(64,216,100,0.16), transparent 60%); pointer-events: none; }
.lp-mini-pv .top { display: flex; align-items: center; gap: 12px; position: relative; }
.lp-mini-pv .nm { font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.lp-mini-pv .sy { font-family: var(--font-mono); font-size: 12px; color: var(--accent); margin-top: 2px; }
.lp-mini-pv .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; position: relative; }
.lp-mini-pv .cell .k { font-size: 10px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); }
.lp-mini-pv .cell .v { font-family: var(--font-mono); font-size: 14px; margin-top: 4px; }

/* (c) lock & vest mock — reuses .timeline / .vest-stats primitives */
.lp-mock-lv { padding: 18px; min-height: 320px; display: flex; flex-direction: column; gap: 14px; }
.lp-mock-lv .lv-head { display: flex; align-items: center; gap: 12px; }
.lp-mock-lv .lv-head .mi { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: rgba(76,125,240,0.14); color: var(--base-blue); }
.lp-mock-lv .lv-head .mi svg { width: 17px; height: 17px; }
.lp-mock-lv .lv-head h4 { font-size: 15px; letter-spacing: -0.01em; }
.lp-mock-lv .lv-head p { font-size: 12px; color: var(--muted); margin-top: 2px; }
.lp-mock-lv .timeline { margin-top: 4px; }
.lp-mock-lv .vest-stats { margin-top: 4px; }

/* ---------- 2 · ON-CHAIN CAPABILITIES ---------- */
.lp-caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lp-cap-card {
  padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-1);
  transition: border-color .2s, transform .2s, background .2s;
}
.lp-cap-card:hover { border-color: var(--border-2); transform: translateY(-3px); background: var(--surface-2); }
.lp-cap-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 16px; }
.lp-cap-ic svg { width: 20px; height: 20px; }
.lp-cap-ic.blue { background: rgba(76,125,240,0.14); color: var(--base-blue); }
.lp-cap-ic.warn { background: rgba(232,179,65,0.12); color: var(--warn); }
.lp-cap-card h3 { font-size: 17px; letter-spacing: -0.02em; }
.lp-cap-card p { color: var(--muted); font-size: 14px; margin-top: 8px; line-height: 1.55; }

/* ---------- 3 · WHY BASE ---------- */
.lp-base-band {
  border: 1px solid rgba(76,125,240,0.30); border-radius: var(--radius-lg);
  background: radial-gradient(640px 300px at 10% -10%, rgba(76,125,240,0.15), transparent 62%), var(--surface-1);
  padding: clamp(28px, 4vw, 46px);
}
.lp-base-top { max-width: 620px; margin-bottom: 30px; }
.lp-base-top h2 { font-size: clamp(24px, 2.7vw, 34px); letter-spacing: -0.03em; margin-top: 12px; }
.lp-base-top p { color: var(--muted); font-size: 15px; margin-top: 12px; }
.lp-base-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.lp-base-pt { padding-top: 18px; border-top: 1px solid rgba(76,125,240,0.22); }
.lp-base-pt .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(76,125,240,0.14); color: var(--base-blue); margin-bottom: 14px; }
.lp-base-pt .ic svg { width: 19px; height: 19px; }
.lp-base-pt h4 { font-size: 15.5px; letter-spacing: -0.01em; }
.lp-base-pt p { color: var(--muted); font-size: 13.5px; margin-top: 7px; line-height: 1.55; }

/* ---------- 4 · SECURITY & OWNERSHIP ---------- */
.lp-sec { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(24px, 4vw, 52px); align-items: center; }
.lp-sec-copy h2 { font-size: clamp(26px, 2.9vw, 36px); letter-spacing: -0.03em; margin-top: 12px; }
.lp-sec-copy p { color: var(--muted); font-size: 15.5px; line-height: 1.62; margin-top: 16px; max-width: 42ch; }
.lp-sec-rows { display: flex; flex-direction: column; gap: 14px; }
.lp-sec-row { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-1); transition: border-color .2s, background .2s; }
.lp-sec-row:hover { border-color: var(--border-2); background: var(--surface-2); }
.lp-sec-row .ic { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.lp-sec-row .ic svg { width: 21px; height: 21px; }
.lp-sec-row h4 { font-size: 16px; letter-spacing: -0.01em; }
.lp-sec-row p { color: var(--muted); font-size: 14px; margin-top: 6px; line-height: 1.55; }

/* ---------- 5 · FAQ ACCORDION ---------- */
.lp-faq { max-width: 860px; margin: 0 auto; }
.lp-faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-1); overflow: hidden; transition: border-color .2s; }
.lp-faq-item + .lp-faq-item { margin-top: 12px; }
.lp-faq-item.open { border-color: var(--border-2); }
.lp-faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left;
  padding: 18px 20px; background: transparent; border: none; color: var(--fg);
  font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: -0.01em;
}
.lp-faq-q:focus-visible { outline: 2px solid var(--accent-line); outline-offset: -2px; border-radius: var(--radius); }
.lp-faq-ic {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--border-2);
  display: grid; place-items: center; color: var(--muted);
  transition: transform .35s cubic-bezier(.32,.72,0,1), color .2s, background .2s, border-color .2s;
}
.lp-faq-ic svg { width: 15px; height: 15px; }
.lp-faq-item.open .lp-faq-ic { transform: rotate(45deg); color: var(--accent); background: var(--accent-soft); border-color: var(--accent-line); }
.lp-faq-panel { max-height: 0; overflow: hidden; transition: max-height .42s cubic-bezier(.32,.72,0,1); }
/* progressive-enhancement fallback: an item marked open in markup reveals
   even before app.js sets a precise pixel height (JS then overrides inline). */
.lp-faq-item.open .lp-faq-panel { max-height: 640px; }
.lp-faq-a { padding: 0 20px 20px; color: var(--muted); font-size: 14.5px; line-height: 1.62; max-width: 66ch; }
.lp-faq-a b { color: var(--fg-2); font-weight: 600; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .lp-show-grid { grid-template-columns: 1fr; }
  .lp-sec { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
  .lp-caps { grid-template-columns: 1fr 1fr; }
  .lp-base-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .lp-mock-dash { grid-template-columns: 1fr; }
  .lp-mock-side { display: none; }
  .lp-mini-stats { grid-template-columns: 1fr 1fr; }
  .lp-wiz-fields { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .lp-caps { grid-template-columns: 1fr; }
  .lp-base-grid { grid-template-columns: 1fr; }
}

/* reduced motion: kill the lift + accordion easing, keep content visible */
@media (prefers-reduced-motion: reduce) {
  .lp-win { transition: none; }
  .lp-win:hover { transform: none; }
  .lp-faq-panel, .lp-faq-ic { transition: none; }
}

/* ============================================================
   LANDING — polish pass (additive, .lp-* only)
   ============================================================ */
/* placeholder links: present but non-actionable, never jump to top */
a.lp-soon { cursor: default; }

/* B · console success foot stays hidden until the deploy meter hits 100%.
   JS reveals it via autoAlpha (gsap.set at loop start); default-hidden guards
   against any flash before/at 0%. visibility:hidden + a reserved min-height keep
   the row's box identical whether hidden or shown, so revealing it never jumps. */
.lp-lc .console-foot.lp-lc-foot { visibility: hidden; min-height: 18px; }
