/* ==========================================================================
   Snappy — marketing site
   Aesthetic: refined editorial, warm-dark, technical precision.
   ========================================================================== */

:root {
  --bg: #0b0a08;
  --bg-warm: #100d0a;
  --bg-panel: #15120e;
  --bg-panel-2: #1b1812;
  --border: #2a2520;
  --border-bright: #3d3630;
  --border-warm: #4a3f33;

  --text: #f4ecdc;
  --text-dim: #9e968a;
  --text-faint: #6a6458;
  --text-mute: #4a4640;

  --accent: #2e8fe8;
  --accent-bright: #6eb4ff;
  --accent-deep: #1a6dcc;
  --accent-top: #d1deeb;
  --accent-bottom: #1668c4;
  --accent-gradient: linear-gradient(180deg, var(--accent-top) 0%, var(--accent-bottom) 100%);
  --accent-glow: rgba(46, 143, 232, 0.18);
  --accent-soft: rgba(46, 143, 232, 0.08);

  --green: #7ec49a;
  --blue: #7ab0d1;

  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --maxw: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(5rem, 10vw, 9rem);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Subtle warm gradient underlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 15% 0%, rgba(46, 143, 232, 0.05), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 30%, rgba(122, 176, 209, 0.03), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-warm) 40%, var(--bg) 100%);
  pointer-events: none;
  z-index: -2;
}

/* Film grain */
.grain {
  position: fixed;
  inset: -10%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.glow {
  position: fixed;
  z-index: -1;
  pointer-events: none;
  filter: blur(100px);
  opacity: 0.6;
}
.glow-tl {
  top: -20%; left: -10%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(46, 143, 232, 0.12), transparent 60%);
}
.glow-br {
  bottom: -20%; right: -10%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(122, 176, 209, 0.06), transparent 60%);
}

/* ==========================================================================
   Selection / focus
   ========================================================================== */
::selection { background: var(--accent); color: var(--bg); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  padding: 1rem var(--gutter);
  background: rgba(11, 10, 8, 0.72);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.logo-mark {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex: none;
}
.logo-text { letter-spacing: -0.015em; }
.logo-version {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--text-faint);
  padding: 2px 6px;
  border: 1px solid var(--border);
  border-radius: 4px;
  margin-left: 0.25rem;
  transform: translateY(-1px);
}

.nav-links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
  margin-right: auto;
}
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: -0.005em;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text); }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav { gap: 1rem; }
  .logo-version { display: none; }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  --btn-pad-y: 0.7rem;
  --btn-pad-x: 1.25rem;
  --btn-fs: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  font-family: var(--sans);
  font-size: var(--btn-fs);
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: all 0.18s ease;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
}
.btn-sm { --btn-pad-y: 0.5rem; --btn-pad-x: 0.9rem; --btn-fs: 0.86rem; }
.btn-lg { --btn-pad-y: 0.95rem; --btn-pad-x: 1.5rem; --btn-fs: 1rem; }
.btn-xl { --btn-pad-y: 1.15rem; --btn-pad-x: 1.85rem; --btn-fs: 1.08rem; }
.btn-block { display: flex; justify-content: center; width: 100%; }

.btn-primary {
  background: var(--accent-gradient);
  color: #1e1e1e;
  border-color: var(--accent-bottom);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.3) inset,
    0 0 0 1px rgba(46, 143, 232, 0.3),
    0 10px 30px -8px rgba(22, 104, 196, 0.5),
    0 2px 6px rgba(0, 0, 0, 0.3);
  font-weight: 600;
}
.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 0 0 1px rgba(46, 143, 232, 0.45),
    0 14px 40px -8px rgba(22, 104, 196, 0.65),
    0 2px 6px rgba(0, 0, 0, 0.3);
}
.btn-primary .btn-arrow { transition: transform 0.2s ease; }
.btn-primary:hover .btn-arrow { transform: translateX(3px); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-bright);
}
.btn-ghost:hover {
  background: var(--bg-panel);
  border-color: var(--border-warm);
}

.btn-sep {
  color: currentColor;
  opacity: 0.5;
  font-weight: 400;
}
.btn-price {
  font-family: var(--mono);
  font-size: 0.92em;
  font-weight: 500;
}
.btn-arrow { width: 14px; height: 14px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) var(--gutter) clamp(4rem, 8vw, 7rem);
  position: relative;
}
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin: 0 0 1.75rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: rgba(21, 18, 14, 0.5);
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  animation: pulse 2s ease-in-out infinite;
}
.eyebrow-sep { color: var(--text-mute); }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(46, 143, 232, 0.1); }
  50% { box-shadow: 0 0 0 5px rgba(46, 143, 232, 0.2); }
}

.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.75rem, 7.5vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 0 0 1.75rem;
  color: var(--text);
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
}
.display em {
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-feature-settings: "ss01";
}
.nowrap { white-space: nowrap; }

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.55;
  color: var(--text-dim);
  margin: 0 0 2.25rem;
  max-width: 32em;
  letter-spacing: -0.005em;
}
.accent-text {
  color: var(--text);
  font-style: italic;
  font-family: var(--serif);
  font-weight: 400;
}

.cta-row {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}
.cta-sub {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-faint);
  margin: 0;
  letter-spacing: 0.01em;
}

/* ==========================================================================
   LIVE APP PREVIEW — faithful replica of the real Snappy app
   Uses the app's actual values from src/index.css and components:
   - Background rgb(26,26,28), border rgba(255,255,255,0.1), radius 12px
   - Accent indigo #7c81ff, system font, tailwind-derived spacing
   ========================================================================== */

/* Scoped design tokens — do NOT leak to page-level variables */
.app-preview {
  --ap-bg: rgb(26, 26, 28);
  --ap-surface: #252528;
  --ap-border: rgba(255, 255, 255, 0.08);
  --ap-border-strong: rgba(255, 255, 255, 0.1);
  --ap-border-soft: rgba(255, 255, 255, 0.05);
  --ap-text: #f0f0f3;
  --ap-text-dim: rgba(255, 255, 255, 0.55);
  --ap-text-mute: rgba(255, 255, 255, 0.4);
  --ap-text-faint: rgba(255, 255, 255, 0.3);
  --ap-accent: #7c81ff;
  --ap-accent-fg: #a6a9ff;
  --ap-accent-bg: rgba(124, 129, 255, 0.2);
  --ap-accent-border: rgba(124, 129, 255, 0.3);
  --ap-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  --ap-font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

.hero-demo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  min-width: 0;
}

.app-preview {
  width: 100%;
  max-width: 640px;
  min-width: 0;
  font-family: var(--ap-font);
  color: var(--ap-text);
  background: var(--ap-bg);
  border-radius: 12px;
  border: 1px solid var(--ap-border-strong);
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.85),
    0 20px 40px -20px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.02);
  overflow: hidden;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: -0.005em;
  position: relative;
  /* subtle outer glow, not warm */
  isolation: isolate;
}
.app-preview::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124, 129, 255, 0.08), transparent 70%);
  pointer-events: none;
  z-index: -1;
  border-radius: inherit;
}
.app-preview * { box-sizing: border-box; }
.app-preview button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.app-preview input { font: inherit; color: inherit; background: none; border: 0; outline: 0; padding: 0; }

.app-frame {
  display: flex;
  flex-direction: column;
  height: 540px;
}

/* ----- Quick launch row (h-16, px-4) ----- */
.ql-row {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 14px;
  height: 64px;
  border-bottom: 1px solid var(--ap-border-soft);
}
.ql-slot {
  position: relative;
  flex: 0 1 52px;
  aspect-ratio: 1;
  min-width: 40px;
  max-width: 52px;
  padding: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--ap-border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.ql-slot:hover { background: rgba(255, 255, 255, 0.1); }
.ql-slot.ql-empty {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  color: var(--ap-text-faint);
}
.ql-slot.ql-empty:hover { background: rgba(255, 255, 255, 0.05); }
.ql-slot.ql-empty span {
  font-family: var(--ap-font-mono);
  font-size: 11px;
}
.ql-slot.is-selected {
  box-shadow: 0 0 0 2px var(--ap-accent), 0 0 0 4px var(--ap-bg);
}
.ql-slot.is-active {
  animation: ap-bounce 0.35s ease;
}
@keyframes ap-bounce {
  0%, 100% { transform: scale(1); }
  40% { transform: scale(0.92); }
  70% { transform: scale(1.04); }
}
.ql-slot .app-icon {
  width: 82%;
  height: 82%;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-drag: none;
}
.ql-spacer { flex: 1; min-width: 0; }
.ql-mod {
  margin-left: 8px;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--ap-font-mono);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
  flex: none;
}
.ql-mod:hover { background: rgba(255, 255, 255, 0.1); }

/* ----- Search bar (h-14, px-5) ----- */
.sb-wrap {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--ap-border-soft);
}
.sb-row {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px 0 20px;
  height: 56px;
}
.sb-icon {
  width: 20px;
  height: 20px;
  color: var(--ap-text-mute);
  flex: none;
}
.sb-input {
  flex: 1;
  min-width: 0;
  font-size: 18px;
  line-height: 1;
  color: var(--ap-text);
  caret-color: var(--ap-accent);
  height: 100%;
}
.sb-input::placeholder { color: var(--ap-text-faint); }
.sb-input::selection { background: var(--ap-accent-bg); color: var(--ap-text); }
.sb-fuzzy {
  flex: none;
  padding: 6px;
  border-radius: 6px;
  border: 1px solid transparent;
  color: var(--ap-text-mute);
  transition: all 0.15s ease;
}
.sb-fuzzy svg { width: 16px; height: 16px; display: block; }
.sb-fuzzy:hover { color: rgba(255, 255, 255, 0.8); background: rgba(255, 255, 255, 0.05); }
.sb-fuzzy.is-active {
  background: var(--ap-accent-bg);
  color: var(--ap-accent-fg);
  border-color: var(--ap-accent-border);
}
.sb-gear {
  flex: none;
  padding: 0 12px 0 8px;
  color: var(--ap-text-mute);
  transition: color 0.15s ease;
  height: 56px;
  display: flex;
  align-items: center;
}
.sb-gear svg { width: 16px; height: 16px; }
.sb-gear:hover { color: rgba(255, 255, 255, 0.8); }

/* ----- Toggles (h-9, px-5) ----- */
.tg-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  height: 36px;
  border-bottom: 1px solid var(--ap-border-soft);
}
.tg-pill {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--ap-border-soft);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.15s ease;
}
.tg-pill:hover { background: rgba(255, 255, 255, 0.1); }
.tg-pill.is-active {
  background: var(--ap-accent-bg);
  color: var(--ap-accent-fg);
  border-color: var(--ap-accent-border);
}

/* ----- Sort row (h-9, px-5) ----- */
.so-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  height: 36px;
  border-bottom: 1px solid var(--ap-border-soft);
  flex-wrap: wrap;
}
.so-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--ap-border-strong);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.15s ease;
}
.so-dropdown:hover { background: rgba(255, 255, 255, 0.08); }
.so-dropdown .so-label { color: var(--ap-text-mute); }
.so-dropdown .so-value { color: var(--ap-text); font-weight: 500; }
.so-dropdown svg { width: 10px; height: 10px; color: var(--ap-text-mute); margin-left: 2px; }
.so-dir {
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.so-dir svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.so-dir.is-asc svg { transform: rotate(180deg); }
.so-dir:hover { background: rgba(255, 255, 255, 0.15); }
.so-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  transition: all 0.15s ease;
}
.so-group:hover { background: rgba(255, 255, 255, 0.1); }
.so-group.is-active {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.25);
  color: white;
}
.so-group svg { width: 14px; height: 14px; }
.so-scope {
  margin-left: 4px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ap-text-mute);
}

/* ----- Result list ----- */
.rl-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}
.rl-list::-webkit-scrollbar { width: 8px; }
.rl-list::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.12); border-radius: 4px; }
.rl-empty {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ap-text-faint);
  font-size: 14px;
  padding: 2rem 1rem;
  text-align: center;
}
.rl-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  height: 44px;
  cursor: pointer;
  transition: background 0.08s ease;
}
.rl-row:hover { background: rgba(255, 255, 255, 0.05); }
.rl-row.is-selected { background: rgba(255, 255, 255, 0.1); }
.rl-row.is-opening {
  animation: ap-flash 0.35s ease;
}
@keyframes ap-flash {
  0% { background: rgba(124, 129, 255, 0.25); }
  100% { background: transparent; }
}
.rl-icon {
  width: 36px;
  height: 36px;
  flex: none;
  color: var(--ap-text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
}
.rl-icon svg { width: 36px; height: 36px; }
.rl-icon.is-app {
  width: 36px;
  height: 36px;
  border-radius: 7px;
  background: linear-gradient(160deg, #3a3a40, #24242a);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
}
.rl-icon.rl-icon-img {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rl-icon.rl-icon-img img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  -webkit-user-drag: none;
}
.rl-text {
  flex: 1;
  min-width: 0;
}
.rl-name {
  font-size: 14px;
  color: var(--ap-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rl-name mark {
  background: transparent;
  color: var(--ap-accent-fg);
  font-weight: 500;
}
.rl-subtitle {
  font-size: 12px;
  color: var(--ap-text-mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ----- Shortcut hints (h-7, px-4) ----- */
.hn-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  height: 28px;
  border-top: 1px solid var(--ap-border-soft);
  font-size: 12px;
  color: var(--ap-text-dim);
}
.hn-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hn-hint[hidden] { display: none; }

.promo-banner[hidden],
.price-promo[hidden] {
  display: none;
}
.app-preview kbd {
  font-family: var(--ap-font-mono);
  font-size: 11px;
  padding: 1px 5px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  color: var(--ap-text);
  line-height: 1;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
}

/* ----- Hint below widget ----- */
.app-preview-hint {
  margin: 0;
  max-width: 560px;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-faint);
  text-align: center;
  letter-spacing: 0.01em;
  line-height: 1.7;
}
.app-preview-hint code {
  color: var(--accent);
  background: var(--accent-soft);
  padding: 1px 5px;
  border-radius: 3px;
  font-family: var(--mono);
}
.app-preview-hint kbd {
  font-family: var(--mono);
  font-size: 0.7rem;
  padding: 1px 5px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text-dim);
  line-height: 1;
}
.app-hint-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7c81ff;
  box-shadow: 0 0 8px rgba(46, 143, 232, 0.5);
  animation: ap-pulse-hint 2s ease-in-out infinite;
  vertical-align: middle;
  margin-right: 6px;
}
@keyframes ap-pulse-hint {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 0.3; }
}

/* Shared kbd for rest of page (outside app preview) */
body kbd:not(.app-preview kbd):not(.app-preview-hint kbd) {
  font-family: var(--mono);
  font-size: 0.72em;
  padding: 2px 5px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-dim);
  line-height: 1;
  display: inline-block;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
}

@media (max-width: 960px) {
  .app-preview { max-width: 100%; }
  .app-frame { min-height: 420px; }
  .ql-slot { width: 44px; height: 44px; }
  .ql-slot .app-glyph { width: 32px; height: 32px; font-size: 12px; }
  .ql-mod { width: 30px; height: 30px; font-size: 12px; }
  .ql-row { height: 56px; gap: 4px; padding: 0 12px; }
}

@media (max-width: 520px) {
  .app-preview { font-size: 13px; }
  .ql-row { gap: 3px; padding: 0 8px; }
  .ql-slot {
    flex-basis: 34px;
    min-width: 0;
    max-width: 38px;
    border-radius: 7px;
  }
  .ql-mod {
    width: 28px;
    height: 28px;
    margin-left: 3px;
    font-size: 11px;
  }
  .sb-row { gap: 8px; padding-left: 14px; }
  .sb-input { font-size: 16px; }
  .tg-row,
  .so-row { padding-inline: 12px; }
  .so-group { display: none; }
}

/* ==========================================================================
   STATS STRIP
   ========================================================================== */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(21, 18, 14, 0.4);
}
.stats-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem) var(--gutter);
  display: flex;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  justify-content: space-between;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.stat-num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text);
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.stat-unit {
  font-family: var(--mono);
  font-size: 0.42em;
  font-weight: 400;
  color: var(--accent);
  margin-left: 0.2rem;
  vertical-align: baseline;
}
.stat-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.stat-label em {
  color: var(--text-faint);
  font-style: normal;
}
.stat-sep {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex: none;
}
@media (max-width: 860px) {
  .stats-inner { flex-wrap: wrap; gap: 2rem; }
  .stat { flex: 1 1 calc(50% - 1rem); }
  .stat-sep { display: none; }
}

/* ==========================================================================
   SECTION HEADS
   ========================================================================== */
.section-kicker {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}
.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 3rem;
  color: var(--text);
  font-variation-settings: "opsz" 144, "SOFT" 40;
  max-width: 18ch;
}
.section-title.small {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 0;
}
.section-head {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ==========================================================================
   HOW IT FEELS
   ========================================================================== */
.how {
  padding: var(--section-y) 0;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.how .section-head { padding: 0; margin: 0 0 3rem; }

.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.how-card {
  background: var(--bg-panel);
  padding: 2rem 1.75rem;
  transition: background 0.2s ease;
  position: relative;
}
.how-card:hover { background: var(--bg-panel-2); }
.how-query {
  font-family: var(--mono);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: baseline;
  padding: 0.5rem 0.8rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
}
.q-op {
  color: var(--accent);
  font-weight: 600;
  margin-right: 1px;
}
.how-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
  margin: 0 0 0.5rem;
}
.how-body {
  color: var(--text-dim);
  font-size: 0.93rem;
  line-height: 1.55;
  margin: 0;
}
.how-body code {
  font-family: var(--mono);
  font-size: 0.88em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 1px 5px;
  border-radius: 3px;
}
.how-note {
  margin: 2.5rem 0 0;
  font-size: 0.92rem;
  color: var(--text-dim);
  max-width: 58ch;
  line-height: 1.6;
}
.how-note code {
  font-family: var(--mono);
  font-size: 0.88em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 1px 5px;
  border-radius: 3px;
}

/* ==========================================================================
   FEATURES
   ========================================================================== */
.features {
  padding: var(--section-y) 0;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  border-top: 1px solid var(--border);
}
.features .section-head { padding: 0; margin: 0 0 4rem; }

.feat {
  display: grid;
  grid-template-columns: 80px 1.2fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.feat:first-of-type { border-top: 1px solid var(--border-bright); }

.feat-flip .feat-art { order: 2; }
.feat-flip .feat-body { order: 3; }

.feat-num {
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--text-faint);
  letter-spacing: 0.05em;
  padding-top: 0.6rem;
}
.feat-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  font-variation-settings: "opsz" 96, "SOFT" 40;
}
.feat-title em {
  font-style: italic;
  color: var(--text-dim);
  font-weight: 300;
  font-variation-settings: "opsz" 96, "SOFT" 100, "WONK" 1;
}
.feat-body p {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
  max-width: 42ch;
}
.feat-body code, .feat-body kbd {
  font-family: var(--mono);
  font-size: 0.88em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 1px 5px;
  border-radius: 3px;
  border: none;
  box-shadow: none;
}
.feat-body kbd {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.feat-art {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: linear-gradient(180deg, var(--bg-panel), var(--bg-warm));
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

@media (max-width: 860px) {
  .feat { grid-template-columns: 1fr; gap: 1.25rem; }
  .feat-flip .feat-body, .feat-flip .feat-art { order: initial; }
  .feat-num { padding-top: 0; }
}

/* Feat artworks */
.tier-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--mono);
  margin: 0;
}
.tier-line {
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.88rem;
  color: var(--text-dim);
  display: block;
  position: relative;
  background: var(--bg);
}
.tier-line::before {
  content: "▸";
  color: var(--text-mute);
  margin-right: 0.5rem;
}
.tier-line.t1 {
  color: var(--text);
  background: linear-gradient(90deg, var(--accent-soft), transparent);
  border-color: var(--accent);
}
.tier-line.t1::before { color: var(--accent); }
.tier-line.t2 { width: 92%; }
.tier-line.t3 { width: 82%; }
.tier-line.t4 { width: 70%; opacity: 0.6; }

.frec-bars { width: 100%; display: flex; flex-direction: column; gap: 0.75rem; }
.frec-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-dim);
}
.frec-row span { flex: none; width: 120px; }
.frec-bar {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}
.frec-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--w, 50%);
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  border-radius: 4px;
}

.slot-demo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
}
.slot-key, .slot-keys span {
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  border: 1px solid var(--border-bright);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.03);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 0.85rem;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.3);
}
.slot-key {
  color: var(--accent);
  border-color: var(--border-warm);
}
.slot-plus { color: var(--text-faint); }
.slot-keys {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  max-width: 260px;
  justify-content: center;
}

.crumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--text-dim);
  flex-wrap: wrap;
}
.crumb-seg {
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--bg);
}
.crumb-arr { color: var(--text-faint); }
.crumb-active {
  color: var(--text);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.menubar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--text-dim);
  width: 100%;
  justify-content: flex-end;
}
.mb-item { opacity: 0.7; }
.mb-snappy {
  opacity: 1;
  color: var(--accent);
  font-weight: 500;
}

.pulse {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--mono);
  font-size: 0.95rem;
  color: var(--text-dim);
}
.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent);
  animation: pulse-big 1.8s ease-out infinite;
}
@keyframes pulse-big {
  0% { box-shadow: 0 0 0 0 rgba(46, 143, 232, 0.6); }
  100% { box-shadow: 0 0 0 18px rgba(46, 143, 232, 0); }
}

/* ==========================================================================
   PERFORMANCE / UNDER THE HOOD
   ========================================================================== */
.perf {
  padding: var(--section-y) 0;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  border-top: 1px solid var(--border);
}
.perf .section-head { padding: 0; margin: 0 0 3rem; }
.perf-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.perf-lede {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 52ch;
  margin: 0 0 1.5rem;
}
.perf-lede code {
  font-family: var(--mono);
  font-size: 0.88em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 1px 5px;
  border-radius: 3px;
}
.spec {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.9rem 1.5rem;
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: linear-gradient(180deg, var(--bg-panel), var(--bg-warm));
  margin: 0;
}
.spec dt {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-top: 2px;
}
.spec dd {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
}
@media (max-width: 860px) {
  .perf-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing {
  padding: var(--section-y) 0;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  border-top: 1px solid var(--border);
}
.pricing .section-head { padding: 0; margin: 0 0 3rem; }

.price-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  border: 1px solid var(--border-bright);
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 120% at 0% 100%, rgba(46, 143, 232, 0.12), transparent 60%),
    linear-gradient(180deg, var(--bg-panel), var(--bg-warm));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 30px 80px -20px rgba(0, 0, 0, 0.5);
}

.price-left { padding: clamp(2rem, 4vw, 3rem); }
.price-right {
  padding: clamp(2rem, 4vw, 3rem);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  justify-content: center;
}

.price-eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}

.price-tag {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  font-family: var(--serif);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1;
}
.price-anchor {
  font-family: var(--mono);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-faint);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--text-faint);
  letter-spacing: 0;
  margin-right: 0.25rem;
  align-self: center;
  transform: translateY(0.4rem);
}
.price-currency {
  font-size: 2rem;
  font-weight: 300;
  color: var(--text-dim);
}
.price-promo {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 2rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--accent-bottom);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(124, 129, 255, 0.08), rgba(124, 129, 255, 0.02));
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text-dim);
}
.price-promo strong {
  color: var(--text);
  font-weight: 600;
}
.price-promo code {
  font-family: var(--mono);
  font-size: 0.88em;
  color: var(--accent);
  background: rgba(124, 129, 255, 0.12);
  border: 1px solid rgba(124, 129, 255, 0.25);
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

/* /launch-promo top banner — revealed by inline script when the path
   matches. Editorial dark band matching the page palette; the code
   pill and "50% OFF" carry the only color. */
.promo-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.7rem 1rem;
  background: var(--bg-panel);
  color: var(--text-dim);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: -0.003em;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 90;
}
.promo-banner strong {
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.promo-banner code {
  font-family: var(--mono);
  font-size: 0.92em;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(46, 143, 232, 0.35);
  padding: 2px 8px;
  border-radius: 5px;
  letter-spacing: 0.05em;
}
.promo-banner-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  animation: promo-banner-pulse 2s ease-in-out infinite;
}
.promo-banner-sep {
  color: var(--text-faint);
}
.promo-banner-aside {
  color: var(--text-faint);
  font-weight: 400;
}
@keyframes promo-banner-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(46, 143, 232, 0.15); }
  50% { box-shadow: 0 0 0 5px rgba(46, 143, 232, 0.3); }
}
@media (max-width: 520px) {
  .promo-banner-sep,
  .promo-banner-aside { display: none; }
}
.price-promo .promo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-top);
  box-shadow: 0 0 0 3px rgba(124, 129, 255, 0.2);
  flex: none;
  align-self: center;
  animation: promo-pulse 2s ease-in-out infinite;
}
@keyframes promo-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(124, 129, 255, 0.2); }
  50% { box-shadow: 0 0 0 5px rgba(124, 129, 255, 0.3); }
}
.price-amount {
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.price-once {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--text-faint);
  font-weight: 400;
  margin-left: 0.5rem;
  letter-spacing: 0.02em;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.price-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-dim);
  font-size: 0.95rem;
}
.check {
  color: var(--accent);
  font-size: 0.9rem;
  flex: none;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-soft);
}

.price-note, .price-why {
  font-size: 0.85rem;
  color: var(--text-faint);
  line-height: 1.55;
  margin: 0;
}
.price-why strong {
  color: var(--text-dim);
  font-weight: 500;
}

@media (max-width: 860px) {
  .price-card { grid-template-columns: 1fr; }
  .price-right { border-left: none; border-top: 1px solid var(--border); }
}

/* ==========================================================================
   REQUIREMENTS
   ========================================================================== */
.req {
  padding: var(--section-y) 0;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  border-top: 1px solid var(--border);
}
.req-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.req-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.req-specs > div {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.req-specs > div:nth-child(1),
.req-specs > div:nth-child(2) { border-top: none; }
.req-specs > div:nth-child(2n) { border-right: none; }
.req-specs dt {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}
.req-specs dd {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.4;
}
@media (max-width: 860px) {
  .req-grid { grid-template-columns: 1fr; }
  .req-specs { grid-template-columns: 1fr; }
  .req-specs > div { border-right: none; }
  .req-specs > div:nth-child(2) { border-top: 1px solid var(--border); }
}

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.final-cta {
  padding: var(--section-y) var(--gutter);
  text-align: center;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 120%, var(--accent-soft), transparent 70%);
  pointer-events: none;
}
.final-quiet {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--text-faint);
  margin: 0 0 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.final-head {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0 0 2.5rem;
  font-variation-settings: "opsz" 144, "SOFT" 40;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem var(--gutter) 2rem;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem 2rem;
  align-items: center;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--text);
}
.footer-brand .logo-mark { width: 18px; height: 18px; color: var(--accent); }
.footer-tag {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.88rem;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-self: end;
}
.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.15s ease;
}
.footer-links a:hover { color: var(--text); }
.footer-legal {
  grid-column: 1 / -1;
  margin: 1.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 0.8rem;
  font-family: var(--mono);
  letter-spacing: 0.01em;
}
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; text-align: left; }
  .footer-links { justify-self: start; flex-wrap: wrap; }
}
