/* =========================================================================
   Kystek — premium layer (site.css)
   Loaded AFTER style.css on every page. style.css keeps every component the
   JS-driven pages (account, pack, support) depend on; this file upgrades
   the tokens and shared chrome on top of it, and adds the marketing
   components (header, footer, panel mockup, plans, bento, CTA band).
   Same identity as before — dark + emerald — pushed further: more depth,
   softer radii, glass surfaces, light used as a material.
   ========================================================================= */

:root {
  --bg: #060A07;
  --bg-panel: #0E1510;
  --bg-raised: #152017;
  --bg-glass: rgba(14, 22, 16, 0.62);
  --border: #1C2B1F;
  --border-bright: #2C4430;
  --hairline: rgba(94, 240, 174, 0.10);
  --text: #EAF5E8;
  --text-muted: #9DB195;
  --text-faint: #7E9276;
  --accent: #34D399;
  --accent-bright: #5EF0AE;
  --accent-deep: #0E9F6E;
  --accent-dim: #0C2B1D;
  --glow: rgba(52, 211, 153, 0.35);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow-lg: 0 40px 120px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--hairline);
  --wrap: 1180px;
}

body { background: var(--bg); }
::selection { background: rgba(52, 211, 153, 0.35); color: #fff; }

h1, h2, h3 { letter-spacing: -0.025em; }
.eyebrow { letter-spacing: 0.16em; font-size: 11.5px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section-inner { max-width: var(--wrap); }
.section { padding: 112px 24px; border-bottom: none; position: relative; }
.section + .section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: min(var(--wrap), calc(100% - 48px));
  transform: translateX(-50%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
}
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; font-weight: 700; }
.section-head p { font-size: 16.5px; line-height: 1.6; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; max-width: 760px; }

.grad-text {
  background: linear-gradient(100deg, var(--accent-bright) 0%, #B7FBD9 45%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn { border-radius: 10px; padding: 13px 22px; font-size: 15px; letter-spacing: -0.005em; }
.btn-primary {
  background: linear-gradient(180deg, var(--accent-bright), var(--accent) 55%, var(--accent-deep));
  color: var(--on-accent);
  box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset, 0 10px 30px -10px var(--glow);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #7DF7C0, var(--accent-bright) 55%, var(--accent));
  box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset, 0 14px 40px -10px rgba(94,240,174,0.55);
}
.btn-secondary {
  background: rgba(255,255,255,0.03);
  border-color: var(--border-bright);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover { background: rgba(94,240,174,0.06); }
.btn-lg { padding: 16px 28px; font-size: 16px; border-radius: 12px; }
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ── Header ─────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 12px 16px;
  transition: padding 0.25s ease;
}
.site-header .bar {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 12px 10px 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled .bar,
.site-header.is-open .bar {
  background: var(--bg-glass);
  border-color: var(--hairline);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 20px 50px -30px rgba(0,0,0,0.9);
}
.site-header .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--text);
  text-decoration: none;
  margin-right: auto;
}
.site-header .brand img { width: 26px; height: 26px; border-radius: 7px; }
.site-header nav { display: flex; align-items: center; gap: 4px; }
.site-header nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}
.site-header nav a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.site-header nav a[aria-current="page"] { color: var(--text); }
.site-header .actions { display: flex; align-items: center; gap: 8px; }
.site-header .actions .btn { padding: 9px 16px; font-size: 14px; }
.nav-toggle {
  display: none;
  appearance: none;
  background: transparent;
  border: 1px solid var(--border-bright);
  border-radius: 9px;
  width: 40px; height: 40px;
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 18px; height: 18px; }
.site-header nav .mobile-only { display: none; }

@media (max-width: 900px) {
  .site-header .bar { flex-wrap: wrap; }
  .site-header .actions .btn-secondary { display: none; }
  .js .nav-toggle { display: inline-flex; }
  .js .site-header nav {
    order: 5;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px 0 4px;
    display: none;
  }
  .js .site-header.is-open nav { display: flex; }
  .site-header nav { flex-wrap: wrap; }
  .site-header nav a { padding: 11px 12px; }
  .site-header nav .mobile-only { display: block; }
}

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 24px 110px;
  border-bottom: none;
  background: none;
  margin-top: -90px;
  padding-top: 162px;
}
.hero::before {
  /* Aurora */
  content: '';
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 900px;
  background:
    radial-gradient(40% 50% at 70% 20%, rgba(52,211,153,0.22), transparent 70%),
    radial-gradient(30% 40% at 20% 10%, rgba(14,159,110,0.18), transparent 70%),
    radial-gradient(25% 30% at 90% 60%, rgba(227,169,60,0.07), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  z-index: -1;
}
.hero::after {
  /* Grid, fading out */
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 20%, #000 30%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 20%, #000 30%, transparent 75%);
  pointer-events: none;
  z-index: -2;
}
.hero-inner { max-width: var(--wrap); grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; }
.hero-inner.is-single { grid-template-columns: 1fr; max-width: 820px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 68px); line-height: 1.02; font-weight: 800; max-width: 14ch; letter-spacing: -0.035em; }
.hero-inner.is-single h1 { max-width: 18ch; }
.hero .lede { font-size: 18.5px; line-height: 1.6; max-width: 52ch; }
.hero-note { font-size: 12.5px; }
.hero.is-centered .hero-copy { text-align: center; max-width: 860px; margin: 0 auto; }
.hero.is-centered h1 { margin-left: auto; margin-right: auto; max-width: 16ch; }
.hero.is-centered .lede { margin-left: auto; margin-right: auto; }
.hero.is-centered .hero-actions { justify-content: center; }
.hero-art {
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  background: radial-gradient(80% 80% at 50% 30%, var(--accent-dim), var(--bg-panel));
  box-shadow: var(--shadow-lg);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: rgba(14, 22, 16, 0.7);
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 22px;
}
.pill b {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-accent);
  background: var(--accent);
  border-radius: 999px;
  padding: 3px 9px;
}
.pill:hover { color: var(--text); border-color: var(--border-bright); }

/* ── Panel mockup ───────────────────────────────────────────────────── */
.pmock {
  position: relative;
  border-radius: 16px;
  background: linear-gradient(180deg, #0F1812, #0A100C);
  border: 1px solid var(--border-bright);
  box-shadow: 0 50px 140px -40px rgba(0,0,0,0.95), 0 0 80px -30px var(--glow);
  overflow: hidden;
  font-size: 12px;
  text-align: left;
}
.pmock-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
}
.pmock-top .dots { display: flex; gap: 6px; }
.pmock-top .dots i { width: 10px; height: 10px; border-radius: 50%; background: #243528; display: block; }
.pmock-top .url {
  flex: 1;
  margin: 0 8px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.pmock-body { display: grid; grid-template-columns: 148px 1fr; min-height: 380px; }
.pmock-side { border-right: 1px solid var(--border); padding: 12px 8px; display: flex; flex-direction: column; gap: 2px; }
.pmock-side span {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 10px;
  border-radius: 7px;
  color: var(--text-faint);
  font-size: 12px;
}
.pmock-side span i { width: 6px; height: 6px; border-radius: 2px; background: currentColor; opacity: 0.6; }
.pmock-side span.on { color: var(--text); background: rgba(52,211,153,0.10); }
.pmock-side span.on i { background: var(--accent-bright); opacity: 1; box-shadow: 0 0 10px var(--accent); }
.pmock-main { padding: 14px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pmock-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pmock-head .name { font-weight: 700; font-size: 14px; color: var(--text); }
.pmock-head .addr { font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); }
.pmock-head .state {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--accent-bright);
  background: rgba(52,211,153,0.08);
  border: 1px solid rgba(52,211,153,0.25);
  padding: 3px 9px; border-radius: 999px;
}
.pmock-head .state::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-bright); box-shadow: 0 0 8px var(--accent); }
.pmock-power { display: flex; gap: 6px; }
.pmock-power b {
  font-weight: 600; font-size: 11px;
  padding: 5px 10px; border-radius: 6px;
  border: 1px solid var(--border-bright);
  color: var(--text-muted);
}
.pmock-power b.go { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.pmock-power b.stop { color: #F0A79A; border-color: rgba(224,108,90,0.35); }
.pmock-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pmock-stat { border: 1px solid var(--border); border-radius: 9px; padding: 9px 10px; background: rgba(255,255,255,0.015); }
.pmock-stat .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); }
.pmock-stat .v { font-size: 15px; font-weight: 700; color: var(--text); margin-top: 2px; font-variant-numeric: tabular-nums; }
.pmock-stat .v small { font-size: 11px; font-weight: 500; color: var(--text-faint); }
.pmock-stat .spark { display: flex; align-items: flex-end; gap: 2px; height: 22px; margin-top: 6px; }
.pmock-stat .spark i { flex: 1; background: linear-gradient(180deg, var(--accent-bright), rgba(52,211,153,0.2)); border-radius: 2px 2px 0 0; min-height: 2px; transition: height 0.6s ease; }
.pmock-console {
  flex: 1;
  min-height: 170px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #050806;
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.7;
  color: #A9BFA3;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 30%);
  mask-image: linear-gradient(180deg, transparent 0, #000 30%);
}
.pmock-console div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pmock-console .t { color: #587055; }
.pmock-console .ok { color: var(--accent-bright); }
.pmock-console .warn { color: var(--accent2-bright); }
.pmock-console .chat { color: #DCEBD8; }
.pmock-input {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
}
.pmock-input::before { content: '›'; color: var(--accent-bright); }
.pmock-input .caret { width: 6px; height: 13px; background: var(--accent-bright); animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* Panel tour views */
.pmock-files, .pmock-backups, .pmock-startup { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 9px; overflow: hidden; }
.pmock-row {
  display: grid; grid-template-columns: 18px 1fr auto auto; gap: 12px; align-items: center;
  padding: 9px 12px; border-top: 1px solid var(--border);
  font-size: 12px; color: var(--text-muted);
}
.pmock-row:first-child { border-top: none; }
.pmock-row .ic { width: 14px; height: 11px; border-radius: 2px; background: var(--accent-dim); border: 1px solid var(--border-bright); }
.pmock-row .ic.file { background: transparent; }
.pmock-row .nm { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pmock-row .mt { font-family: var(--font-mono); font-size: 10.5px; color: var(--text-faint); }
.pmock-row .tag { font-family: var(--font-mono); font-size: 10px; padding: 2px 7px; border-radius: 999px; border: 1px solid rgba(52,211,153,0.3); color: var(--accent-bright); }
.pmock-field { padding: 10px 12px; border-top: 1px solid var(--border); display: grid; gap: 5px; }
.pmock-field:first-child { border-top: none; }
.pmock-field .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); }
.pmock-field .v { font-family: var(--font-mono); font-size: 11.5px; color: var(--text); background: rgba(0,0,0,0.3); border: 1px solid var(--border); border-radius: 6px; padding: 6px 9px; }

.hero-visual { position: relative; }
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 10% -6% -8% 8%;
  background: radial-gradient(closest-side, rgba(52,211,153,0.22), transparent);
  filter: blur(30px);
  z-index: -1;
}
.float-chip {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--hairline);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.9);
  font-size: 12.5px;
  color: var(--text-muted);
  white-space: nowrap;
}
.float-chip strong { color: var(--text); font-weight: 700; }
.float-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-bright); box-shadow: 0 0 12px var(--accent); }
.float-chip.a { left: -28px; bottom: 56px; }
.float-chip.b { right: 28px; top: -20px; }

/* ── Chips / type strip ─────────────────────────────────────────────── */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-row.center { justify-content: center; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  font-size: 13.5px;
  color: var(--text-muted);
}
.chip i { width: 8px; height: 8px; border-radius: 2px; background: var(--accent); display: block; }
.strip { padding: 28px 24px 8px; }
.strip .label { text-align: center; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 16px; }

/* ── Stats ──────────────────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  overflow: hidden;
}
.stat { padding: 28px 26px; border-left: 1px solid var(--border); }
.stat:first-child { border-left: none; }
.stat .n { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.stat .l { margin-top: 8px; font-size: 13.5px; color: var(--text-muted); }

/* ── Bento ──────────────────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile {
  position: relative;
  grid-column: span 2;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--bg-panel), rgba(14,21,16,0.6));
  padding: 28px;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.tile:hover { border-color: var(--border-bright); }
.tile.w3 { grid-column: span 3; }
.tile.w4 { grid-column: span 4; }
.tile.w6 { grid-column: span 6; }
.tile .mark { font-family: var(--font-mono); color: var(--accent-bright); font-size: 12px; letter-spacing: 0.06em; display: block; margin-bottom: 14px; }
.tile h3 { font-size: 20px; line-height: 1.2; margin-bottom: 10px; }
.tile p { font-size: 14.5px; color: var(--text-muted); line-height: 1.6; max-width: 48ch; }
.tile.is-glow::after {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(closest-side, rgba(52,211,153,0.18), transparent);
  pointer-events: none;
}
.tile .tile-visual { margin-top: 22px; }

/* ── Product cards (home) ───────────────────────────────────────────── */
.products { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; }
.product {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 34px;
  background: linear-gradient(180deg, var(--bg-panel), var(--bg));
  overflow: hidden;
}
.product.is-feature { border-color: rgba(52,211,153,0.35); background: radial-gradient(90% 70% at 100% 0%, rgba(52,211,153,0.14), transparent 60%), linear-gradient(180deg, var(--bg-panel), var(--bg)); }
.product h3 { font-size: 28px; font-weight: 800; }
.product p { color: var(--text-muted); font-size: 15.5px; line-height: 1.6; }
.product .from { font-size: 14px; color: var(--text-muted); }
.product .from strong { font-size: 22px; color: var(--text); font-weight: 800; }
.product .card-actions { margin-top: auto; }
.product .shot { margin: 6px -34px -34px; border-top: 1px solid var(--border); }
.ticks li::before { background: var(--accent); box-shadow: 0 0 8px rgba(52,211,153,0.5); }

/* ── Tour (panel tabs) ──────────────────────────────────────────────── */
.tour { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 40px; align-items: center; }
.tour-tabs { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tour > * { min-width: 0; }
.tour-tab {
  appearance: none;
  text-align: left;
  font: inherit;
  cursor: pointer;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  border-radius: 14px;
  padding: 16px 18px;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.tour-tab strong { display: block; color: var(--text); font-size: 15.5px; margin-bottom: 4px; }
.tour-tab span { font-size: 13.5px; line-height: 1.5; }
.tour-tab:hover { border-color: var(--border-bright); }
.tour-tab[aria-selected="true"] { border-color: rgba(52,211,153,0.45); background: radial-gradient(100% 120% at 0% 0%, rgba(52,211,153,0.10), transparent 70%); color: var(--text-muted); }
.tour-view[hidden] { display: none !important; }


/* ── Plan base (self-contained; style.css may predate plans) ─────────── */
.plan-grid { display: grid; }
.plan-card { display: flex; flex-direction: column; border: 1px solid var(--border); }
.plan-card .mark { font-family: var(--font-mono); color: var(--accent-bright); font-size: 12px; letter-spacing: 0.04em; }
.plan-card h3 { font-size: 22px; font-weight: 800; }
.plan-price { display: flex; align-items: baseline; gap: 4px; }
.plan-price .amount { font-weight: 800; line-height: 1; color: var(--text); }
.plan-price .per { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-faint); }
.plan-card .platform-note { font-size: 14px; color: var(--text-muted); flex: 0; }
.plan-specs { display: flex; flex-direction: column; border-top: 1px solid var(--border); margin: 0; }
.plan-specs > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.plan-specs dt { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-faint); }
.plan-specs dd { color: var(--text); margin: 0; }
.plan-card .btn { align-self: stretch; justify-content: center; margin-top: auto; }
.plan-free { margin-top: 18px; border: 1px dashed var(--border-bright); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.plan-free h3 { font-size: 16px; margin-bottom: 4px; }
.plan-free p { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-muted); }
.ticks { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ticks li { font-size: 14px; color: var(--text-muted); display: flex; gap: 10px; align-items: baseline; }
.ticks li::before { content: ''; width: 6px; height: 6px; border-radius: 1px; flex-shrink: 0; transform: translateY(-1px); }
.card-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── Plans ──────────────────────────────────────────────────────────── */
.plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan-card {
  border-radius: 22px !important;
  padding: 30px !important;
  gap: 18px !important;
  background: linear-gradient(180deg, var(--bg-panel), var(--bg)) !important;
  border-color: var(--border) !important;
}
.plan-card.is-primary {
  border-color: rgba(52,211,153,0.5) !important;
  background: radial-gradient(120% 60% at 50% 0%, rgba(52,211,153,0.16), transparent 60%), linear-gradient(180deg, var(--bg-panel), var(--bg)) !important;
  box-shadow: 0 30px 80px -40px var(--glow);
  transform: translateY(-8px);
}
.plan-card .badge-pop {
  position: absolute; top: 18px; right: 18px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--on-accent); background: var(--accent); padding: 4px 10px; border-radius: 999px;
}
.plan-card { position: relative; }
.plan-price .amount { font-size: 46px; letter-spacing: -0.04em; }
.plan-specs { border-top-color: var(--border); }
.plan-feats { list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; color: var(--text-muted); }
.plan-feats li { display: flex; gap: 10px; align-items: baseline; }
.plan-feats li::before { content: '✓'; color: var(--accent-bright); font-size: 12px; }
.plan-free { border-radius: 18px; padding: 22px 26px; background: rgba(255,255,255,0.015); }

/* ── Compare table ──────────────────────────────────────────────────── */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; font-size: 14px; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-top: 1px solid var(--border); }
.compare thead th { border-top: none; background: var(--bg-panel); font-size: 13px; color: var(--text); }
.compare thead th.hl { color: var(--accent-bright); }
.compare tbody th { font-family: var(--font-mono); font-weight: 400; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); }
.compare td { color: var(--text-muted); font-variant-numeric: tabular-nums; }
.compare td.hl { background: rgba(52,211,153,0.04); color: var(--text); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ── Existing components, lifted ────────────────────────────────────── */
.grid { border-radius: var(--radius-lg); background: var(--border); }
.feature { padding: 30px 28px; background: var(--bg-panel); }
.feature h3 { font-size: 16.5px; }
.feature p { font-size: 14px; line-height: 1.6; }
.download-card { border-radius: 18px; padding: 28px; }
.reqs { border-radius: 18px; }
.trust { border-radius: 22px; padding: 40px; background: radial-gradient(60% 100% at 0% 0%, rgba(52,211,153,0.08), transparent 60%), var(--bg-panel); }
.faq-item h3 { font-size: 17px; }
.faq-item p { font-size: 15px; line-height: 1.65; }
.steps .step { padding: 26px 0; }
.step-num {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(52,211,153,0.35);
  background: rgba(52,211,153,0.06);
  padding: 0;
}
.step { grid-template-columns: 48px 1fr; }
.step h3 { font-size: 17px; }
.step p { font-size: 15px; }
.callout { border-radius: 12px; }
.doc { padding-top: 40px; }
.doc h1 { font-size: clamp(32px, 4vw, 44px); font-weight: 800; }

/* ── FAQ accordion (details/summary) ────────────────────────────────── */
.faq-acc { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-acc details {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-panel);
  transition: border-color 0.2s ease;
}
.faq-acc details[open] { border-color: var(--border-bright); }
.faq-acc summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-acc summary::-webkit-details-marker { display: none; }
.faq-acc summary::after {
  content: '+';
  font-family: var(--font-mono);
  color: var(--accent-bright);
  font-size: 18px;
  transition: transform 0.2s ease;
}
.faq-acc details[open] summary::after { transform: rotate(45deg); }
.faq-acc details p { padding: 0 22px 20px; color: var(--text-muted); font-size: 15px; line-height: 1.65; }
.faq-acc a { color: var(--accent-bright); }

/* ── CTA band ───────────────────────────────────────────────────────── */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(52,211,153,0.3);
  padding: 64px 40px;
  text-align: center;
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(52,211,153,0.22), transparent 60%),
    linear-gradient(180deg, var(--bg-panel), var(--bg));
}
.cta-band::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: radial-gradient(60% 80% at 50% 0%, #000, transparent 80%);
  mask-image: radial-gradient(60% 80% at 50% 0%, #000, transparent 80%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 800; line-height: 1.05; max-width: 18ch; margin: 0 auto; }
.cta-band p { color: var(--text-muted); font-size: 17px; max-width: 52ch; margin: 16px auto 0; }
.cta-band .hero-actions { justify-content: center; }

/* ── Footer ─────────────────────────────────────────────────────────── */
.site-footer {
  display: block;
  max-width: none;
  margin: 40px 0 0;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(14,21,16,0.5), transparent);
  padding: 64px 24px 32px;
}
.site-footer .cols {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
}
.site-footer .about p { color: var(--text-muted); font-size: 14px; line-height: 1.6; margin-top: 14px; max-width: 34ch; }
.site-footer .brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0.08em; color: var(--text); text-decoration: none; }
.site-footer .brand img { width: 24px; height: 24px; border-radius: 6px; }
.site-footer h4 { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 14px; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.site-footer ul a { color: var(--text-muted); text-decoration: none; font-size: 14px; }
.site-footer ul a:hover { color: var(--accent-bright); }
.site-footer .base {
  max-width: var(--wrap);
  margin: 48px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-faint);
}

/* ── Reveal on scroll (only when JS is running) ─────────────────────── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .pmock-input .caret { animation: none; }
  .pmock-stat .spark i { transition: none; }
}

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 680px; margin: 0 auto; width: 100%; }
  .tour { grid-template-columns: minmax(0, 1fr); }
  .tour-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .products { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .plan-card.is-primary { transform: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile, .tile.w3, .tile.w4 { grid-column: span 1; }
  .tile.w6 { grid-column: span 2; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .site-footer .about { grid-column: span 2; }
}
@media (max-width: 760px) {
  .section { padding: 80px 20px; }
  .hero { padding-left: 20px; padding-right: 20px; padding-bottom: 80px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .bento { grid-template-columns: 1fr; }
  .tile, .tile.w3, .tile.w4, .tile.w6 { grid-column: span 1; }
  .pmock-body { grid-template-columns: 1fr; }
  .pmock-side { display: none; }
  .pmock-power { display: none; }
  .float-chip { display: none; }
  .tour-tabs { grid-template-columns: 1fr; }
  .cta-band { padding: 48px 22px; border-radius: 22px; }
  .product { padding: 26px; }
  .product .shot { margin: 6px -26px -26px; }
}
@media (max-width: 480px) {
  .pmock-stats { grid-template-columns: 1fr 1fr; }
  .pmock-stat:nth-child(3) { display: none; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .site-footer .about { grid-column: span 1; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.tile code { font-size: 0.88em; color: var(--accent-bright); background: rgba(52,211,153,0.08); padding: 1px 6px; border-radius: 5px; }
.hero .eyebrow + h1, .hero .pill + h1 { margin-top: 0; }
.hero-copy .eyebrow { margin-bottom: 14px; }
.hero-art { max-width: 340px; width: 100%; justify-self: center; }

/* Launcher feature grid: 6 items → always 3 + 3, never a ragged 4 + 2 */
#features .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { #features .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { #features .grid { grid-template-columns: 1fr; } }
