/* ───────────────────────────────────────────────
   r34d — landing page
   Built on the RSS Glass Design System tokens.
─────────────────────────────────────────────── */

:root {
  /* Background */
  --bg: #0a0a0a;
  --bg-subtle: #111111;

  /* Glass surfaces */
  --glass-bg: rgba(255,255,255,0.03);
  --glass-bg-hover: rgba(255,255,255,0.06);
  --glass-bg-active: rgba(255,255,255,0.08);
  --glass-bg-heavy: rgba(255,255,255,0.06);
  --glass-bg-header: rgba(10,10,10,0.72);
  --glass-border: rgba(255,255,255,0.08);
  --glass-border-hover: rgba(255,255,255,0.12);
  --glass-border-active: rgba(255,255,255,0.16);

  /* Text */
  --text-primary: rgba(255,255,255,0.95);
  --text-secondary: rgba(255,255,255,0.65);
  --text-tertiary: rgba(255,255,255,0.40);
  --text-ghost: rgba(255,255,255,0.20);

  /* Accent — tweakable hue/sat/lightness. mono = white (100% lightness) */
  --accent-hue: 0;
  --accent-sat: 0%;
  --accent-light: 100%;
  --accent: hsla(var(--accent-hue), var(--accent-sat), var(--accent-light), 0.92);
  --accent-hover: hsla(var(--accent-hue), var(--accent-sat), var(--accent-light), 1.0);
  --accent-dim: hsla(var(--accent-hue), var(--accent-sat), var(--accent-light), 0.10);
  --accent-border: hsla(var(--accent-hue), var(--accent-sat), var(--accent-light), 0.28);

  /* Semantic — only ever used as tiny status accents */
  --danger: #ef4444;
  --success: #22c55e;
  --warning: #f59e0b;
  --info: #3b82f6;

  /* Type scale */
  --text-xs: 0.75rem;
  --text-sm: 0.8125rem;
  --text-base: 0.875rem;
  --text-md: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2.5rem;
  --text-4xl: 3.5rem;
  --text-5xl: 4.5rem;

  /* Line height */
  --lh-tight: 1.08;
  --lh-snug: 1.3;
  --lh-normal: 1.5;
  --lh-relaxed: 1.75;

  /* Spacing — 4px base */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.5rem;
  --space-8: 3rem;
  --space-9: 4rem;
  --space-10: 6rem;
  --space-11: 8rem;

  /* Radii */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-pill: 999px;

  /* Effects */
  --shadow-glass: 0 4px 24px -1px rgba(0,0,0,0.3);
  --shadow-float: 0 40px 80px -20px rgba(0,0,0,0.7), 0 8px 32px -8px rgba(0,0,0,0.5);
  --blur-glass: 12px;
  --blur-heavy: 20px;
  --blur-header: 16px;

  /* Motion */
  --duration-fast: 150ms;
  --duration-base: 220ms;
  --duration-slow: 340ms;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);

  /* Fonts */
  --font-body: 'Outfit', system-ui, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, monospace;

  /* Ambient glow opacity */
  --ambient: 0.85;
  /* Background art opacity */
  --art-opacity: 0.16;

  --maxw: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-primary);
  background: var(--bg);
  font-size: var(--text-md);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100dvh;
  overflow-x: hidden;
}

/* Ambient layers */
body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(120,140,200,0.10), transparent 60%),
    radial-gradient(ellipse at 12% 18%, rgba(80,100,180,0.10), transparent 55%),
    radial-gradient(ellipse at 88% 82%, rgba(180,80,120,0.07), transparent 55%),
    radial-gradient(ellipse at 60% 45%, rgba(60,180,160,0.04), transparent 60%);
  opacity: var(--ambient);
  z-index: -3;
  pointer-events: none;
  transition: opacity var(--duration-slow) var(--ease);
}
body::after {
  content: '';
  position: fixed; inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  z-index: -1;
  pointer-events: none;
}

/* ─── Background art ─── */
.bg-art {
  position: fixed; inset: 0;
  z-index: -2;
  opacity: var(--art-opacity);
  pointer-events: none;
  overflow: hidden;
}
.bg-art-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* Soft vignette so the art never fights legibility */
.bg-art::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 90% 80% at 50% 40%, transparent 30%, rgba(10,10,10,0.55) 100%);
  pointer-events: none;
}

/* ─── Shared helpers ─── */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--space-6); }
.mono { font-family: var(--font-mono); }
.section-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0 var(--space-5);
  height: 44px;
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: 500;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--duration-fast) var(--ease);
  line-height: 1;
  white-space: nowrap;
}
.btn .i { width: 16px; height: 16px; }
.btn-sm { height: 36px; padding: 0 var(--space-4); font-size: var(--text-base); border-radius: var(--radius-sm); }
.btn-lg { height: 52px; padding: 0 var(--space-6); font-size: var(--text-lg); border-radius: var(--radius-lg); }

.btn-accent { background: var(--accent); color: #0a0a0a; border-color: var(--accent); font-weight: 600; }
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 8px 28px -8px rgba(255,255,255,0.25); }

.btn-glass {
  background: var(--glass-bg);
  border-color: var(--glass-border);
  color: var(--text-primary);
  backdrop-filter: blur(var(--blur-glass));
  -webkit-backdrop-filter: blur(var(--blur-glass));
}
.btn-glass:hover { background: var(--glass-bg-hover); border-color: var(--glass-border-hover); }

.btn-ghost { background: transparent; border-color: transparent; color: var(--text-secondary); }
.btn-ghost:hover { color: var(--text-primary); background: var(--glass-bg); }

/* ─── Top nav ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration-base) var(--ease), background var(--duration-base) var(--ease);
}
.nav.scrolled {
  background: var(--glass-bg-header);
  backdrop-filter: blur(var(--blur-header));
  -webkit-backdrop-filter: blur(var(--blur-header));
  border-bottom-color: var(--glass-border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.wordmark {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.wordmark .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-bottom: 2px; }
.nav-links { display: flex; align-items: center; gap: var(--space-2); }
.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  white-space: nowrap;
  font-size: var(--text-base);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  transition: color var(--duration-fast) var(--ease), background var(--duration-fast) var(--ease);
}
.nav-link:hover { color: var(--text-primary); background: var(--glass-bg); }
.nav-cta { margin-left: var(--space-2); }

/* ─── Hero ─── */
.hero { padding: var(--space-11) 0 var(--space-9); position: relative; text-align: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  white-space: nowrap;
  padding: var(--space-1) var(--space-3) var(--space-1) var(--space-1);
  border-radius: var(--radius-pill);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--blur-glass));
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
}
.hero-badge .pip {
  display: inline-flex; align-items: center; gap: var(--space-1);
  padding: 2px var(--space-2);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-pill);
  color: var(--text-primary);
}
.hero-badge .pip .led { width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 8px var(--success); flex-shrink: 0; }
.hero-badge .pip { white-space: nowrap; }
.hero h1 {
  font-size: var(--text-5xl);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: var(--lh-tight);
  max-width: 16ch;
  margin: 0 auto var(--space-5);
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--text-secondary); }
.hero .lede {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 56ch;
  line-height: var(--lh-snug);
  margin: 0 auto var(--space-7);
  text-wrap: pretty;
}
.hero-cta { display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap; }
.hero-trust {
  margin-top: var(--space-5);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  color: var(--text-tertiary);
  display: flex; align-items: center; gap: var(--space-3); justify-content: center; flex-wrap: wrap;
}
.hero-trust .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--text-ghost); }

/* ─── Hero mockup (three-pane reader) ─── */
.mockup-wrap {
  margin-top: var(--space-9);
  position: relative;
  perspective: 2000px;
}
.mockup-wrap::before {
  content: '';
  position: absolute;
  left: 50%; top: 8%;
  width: 70%; height: 70%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(140,160,220,0.18), transparent 70%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}
.mockup {
  width: 100%;
  height: 600px;
  display: grid;
  grid-template-columns: 232px 340px 1fr;
  background: rgba(14,14,16,0.72);
  backdrop-filter: blur(var(--blur-heavy));
  -webkit-backdrop-filter: blur(var(--blur-heavy));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-float);
  text-align: left;
}
.mockup .pane { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--glass-border); }
.mockup .pane:last-child { border-right: 0; }
.mockup .pane-head {
  display: flex; align-items: center; gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--glass-border);
  background: var(--glass-bg-header);
  backdrop-filter: blur(var(--blur-header));
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: 500;
  flex-shrink: 0;
  height: 52px;
}
.mockup .pane-head .traffic { display: flex; gap: 7px; }
.mockup .pane-head .traffic i { width: 11px; height: 11px; border-radius: 50%; background: var(--glass-bg-active); }
.mockup .pane-body { flex: 1; overflow: hidden; padding: var(--space-3); }
.mockup .pane-body.flush { padding: 0; }

/* sidebar */
.mk-brand {
  font-family: var(--font-mono); font-weight: 500; font-size: 1rem;
  letter-spacing: -0.02em; display: flex; align-items: center; gap: var(--space-2);
}
.mk-brand .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.mk-group-label {
  font-family: var(--font-mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-tertiary); padding: 0 var(--space-2); margin: var(--space-4) 0 var(--space-2);
}
.mk-group-label:first-child { margin-top: var(--space-1); }
.mk-feed {
  display: flex; align-items: center; gap: var(--space-2);
  padding: 6px var(--space-2); border-radius: var(--radius-sm);
  font-size: var(--text-sm); color: var(--text-secondary); position: relative;
}
.mk-feed .fav { width: 14px; height: 14px; border-radius: 3px; flex-shrink: 0; }
.mk-feed .nm { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-feed .ct { font-family: var(--font-mono); font-size: 9.5px; color: var(--text-tertiary); }
.mk-feed.active { background: var(--glass-bg-active); color: var(--text-primary); }
.mk-feed.active::before { content:''; position:absolute; left:0; top:6px; bottom:6px; width:2px; border-radius: var(--radius-pill); background: var(--accent); }
.mk-feed.active .ct { color: var(--text-primary); }

/* article list */
.mk-list { display: flex; flex-direction: column; }
.mk-entry {
  display: grid; grid-template-columns: 8px 1fr; gap: var(--space-3);
  padding: var(--space-4); border-bottom: 1px solid var(--glass-border);
  position: relative;
}
.mk-entry .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-top: 5px; }
.mk-entry.read .dot { background: transparent; border: 1px solid var(--text-ghost); }
.mk-entry .t { font-size: var(--text-base); font-weight: 500; color: var(--text-primary); line-height: var(--lh-snug);
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.mk-entry.read .t { color: var(--text-secondary); font-weight: 400; }
.mk-entry .m { font-family: var(--font-mono); font-size: 9.5px; color: var(--text-tertiary); margin-top: 5px;
  letter-spacing: 0.04em; text-transform: uppercase; display: flex; align-items: center; gap: var(--space-2); }
.mk-entry .m .star { color: var(--warning); }
.mk-entry.active { background: var(--glass-bg-active); }
.mk-entry.active::before { content:''; position:absolute; left:0; top:0; bottom:0; width:2px; background: var(--accent); }

/* reader */
.mk-reader { padding: var(--space-6) var(--space-7); overflow: hidden; }
.mk-reader .crumb { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: var(--space-4); }
.mk-reader h2 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.18; margin-bottom: var(--space-3); }
.mk-reader .byline { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: var(--space-5); padding-bottom: var(--space-5); border-bottom: 1px solid var(--glass-border); display: flex; gap: var(--space-3); align-items: center; }
.mk-reader p { color: var(--text-secondary); font-size: var(--text-md); line-height: var(--lh-relaxed); margin-bottom: var(--space-4); max-width: 60ch; }
.mk-reader p .lead { color: var(--text-primary); }

/* ─── Generic section scaffold ─── */
.section { padding: var(--space-10) 0; }
.section-head { max-width: 720px; margin-bottom: var(--space-8); }
.section-head h2 {
  font-size: var(--text-3xl);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: var(--space-4) 0 var(--space-4);
  text-wrap: balance;
}
.section-head p { font-size: var(--text-lg); color: var(--text-secondary); font-weight: 300; line-height: var(--lh-snug); max-width: 56ch; text-wrap: pretty; }

/* ─── Value pills ─── */
.pills { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
.pill {
  display: flex; gap: var(--space-4); align-items: flex-start;
  padding: var(--space-6);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(var(--blur-glass));
  -webkit-backdrop-filter: blur(var(--blur-glass));
  transition: border-color var(--duration-base) var(--ease), background var(--duration-base) var(--ease);
}
.pill:hover { border-color: var(--glass-border-hover); background: var(--glass-bg-hover); }
.pill .ic {
  width: 44px; height: 44px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: var(--radius-md);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  color: var(--text-primary);
}
.pill .ic .i { width: 22px; height: 22px; }
.pill h3 { font-size: var(--text-lg); font-weight: 500; letter-spacing: -0.01em; margin-bottom: var(--space-2); }
.pill p { color: var(--text-secondary); font-size: var(--text-base); line-height: var(--lh-normal); }

/* ─── Feature grid ─── */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.feature {
  padding: var(--space-6);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(var(--blur-glass));
  -webkit-backdrop-filter: blur(var(--blur-glass));
  display: flex; flex-direction: column; gap: var(--space-3);
  transition: border-color var(--duration-base) var(--ease), background var(--duration-base) var(--ease), transform var(--duration-base) var(--ease);
}
.feature:hover { border-color: var(--glass-border-hover); background: var(--glass-bg-hover); transform: translateY(-2px); }
.feature .ftop { display: flex; align-items: center; justify-content: space-between; }
.feature .ic { width: 38px; height: 38px; display: grid; place-items: center; border-radius: var(--radius-md); background: var(--glass-bg-active); border: 1px solid var(--glass-border); color: var(--text-primary); }
.feature .ic .i { width: 19px; height: 19px; }
.feature .fnum { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; color: var(--text-ghost); }
.feature h3 { font-size: var(--text-lg); font-weight: 500; letter-spacing: -0.01em; margin-top: var(--space-1); }
.feature p { color: var(--text-secondary); font-size: var(--text-base); line-height: var(--lh-normal); }

/* Keyboard-shortcuts card spans two tracks on the wide grid */
.feature.span-2 { grid-column: span 2; }
/* Closing "small stuff" card — quiet, dashed, single track */
.feature.note { grid-column: span 1; justify-content: center; align-items: flex-start; background: transparent; border-style: dashed; }
.feature.note h3 { font-weight: 400; color: var(--text-secondary); letter-spacing: -0.01em; }
.feature.note p { color: var(--text-tertiary); }

/* kbd list inside a feature */
.kbds { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-1); }
.kbd-pair { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-xs); color: var(--text-tertiary); font-family: var(--font-mono); }
.kbd {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px; padding: 0 var(--space-2);
  font-family: var(--font-mono); font-size: var(--text-xs); color: var(--text-secondary);
  background: var(--glass-bg-hover); border: 1px solid var(--glass-border);
  border-bottom-width: 2px; border-radius: var(--radius-sm); line-height: 1;
}

/* feature mono detail list */
.fdetails { list-style: none; display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-1); }
.fdetails li { display: flex; gap: var(--space-2); align-items: baseline; font-size: var(--text-sm); color: var(--text-secondary); }
.fdetails li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--text-ghost); flex-shrink: 0; transform: translateY(-2px); }

/* ─── Mobile coming-soon ─── */
.mobile {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-8); align-items: center;
  padding: var(--space-8);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  backdrop-filter: blur(var(--blur-glass));
  -webkit-backdrop-filter: blur(var(--blur-glass));
  overflow: hidden;
}
.soon-badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
  background: var(--glass-bg-active);
  border: 1px solid var(--glass-border);
  font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-5);
}
.soon-badge .led { width: 6px; height: 6px; border-radius: 50%; background: var(--warning); box-shadow: 0 0 8px var(--warning); }
.mobile h2 { font-size: var(--text-2xl); font-weight: 600; letter-spacing: -0.02em; margin-bottom: var(--space-3); line-height: 1.15; }
.mobile p { color: var(--text-secondary); font-size: var(--text-md); font-weight: 300; line-height: var(--lh-snug); max-width: 42ch; margin-bottom: var(--space-5); }
.platform-tags { display: flex; gap: var(--space-2); }
.platform-tag {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  font-size: var(--text-base); color: var(--text-secondary);
}
.platform-tag .i { width: 16px; height: 16px; }

/* phone mock */
.phones { position: relative; display: flex; justify-content: center; align-items: center; height: 320px; }
.phone {
  width: 168px; height: 340px;
  border-radius: 28px;
  border: 1px solid var(--glass-border);
  background: rgba(14,14,16,0.85);
  box-shadow: var(--shadow-float);
  padding: var(--space-3);
  display: flex; flex-direction: column; gap: var(--space-2);
  position: relative;
}
.phone::before { content:''; position:absolute; top:10px; left:50%; transform:translateX(-50%); width:44px; height:5px; border-radius: 999px; background: var(--glass-bg-active); }
.phone .ph-head { margin-top: var(--space-5); font-family: var(--font-mono); font-size: 12px; letter-spacing: -0.02em; color: var(--text-primary); display:flex; align-items:center; gap: var(--space-1); }
.phone .ph-head .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.phone .ph-row { display: flex; flex-direction: column; gap: 5px; padding: var(--space-2) 0; border-bottom: 1px solid var(--glass-border); }
.phone .ph-row .bar { height: 6px; border-radius: 3px; background: var(--glass-bg-active); }
.phone .ph-row .bar.s { width: 60%; background: var(--glass-bg-hover); }
.phone .ph-row .bar.lead { background: rgba(255,255,255,0.22); }

/* ─── Pricing ─── */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); align-items: stretch; }
.tier {
  display: flex; flex-direction: column;
  padding: var(--space-6);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(var(--blur-glass));
  -webkit-backdrop-filter: blur(var(--blur-glass));
  position: relative;
  transition: border-color var(--duration-base) var(--ease);
}
.tier.featured { border-color: var(--accent-border); background: var(--glass-bg-hover); }
.tier .tier-name { font-family: var(--font-mono); font-size: var(--text-sm); letter-spacing: 0.04em; color: var(--text-primary); }
.tier .status {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase;
  margin-top: var(--space-3);
  color: var(--text-tertiary);
}
.tier .status .led { width: 6px; height: 6px; border-radius: 50%; background: var(--text-ghost); }
.tier.available .status { color: var(--success); }
.tier.available .status .led { background: var(--success); box-shadow: 0 0 8px var(--success); }
.tier .tier-desc { color: var(--text-secondary); font-size: var(--text-base); line-height: var(--lh-normal); margin: var(--space-4) 0 var(--space-5); min-height: 3.5em; }
.tier ul { list-style: none; display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-6); flex: 1; }
.tier li { display: flex; gap: var(--space-2); align-items: baseline; font-size: var(--text-sm); color: var(--text-secondary); }
.tier li .chk { color: var(--text-tertiary); flex-shrink: 0; transform: translateY(2px); }
.tier.available li .chk { color: var(--accent); }
.tier .tier-cta { margin-top: auto; }
.tier .btn { width: 100%; }

/* ─── Final CTA ─── */
.final {
  text-align: center;
  padding: var(--space-10) var(--space-6);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--glass-border);
  background:
    radial-gradient(ellipse 60% 100% at 50% 0%, rgba(140,160,220,0.12), transparent 70%),
    var(--glass-bg);
  backdrop-filter: blur(var(--blur-glass));
  -webkit-backdrop-filter: blur(var(--blur-glass));
  position: relative; overflow: hidden;
}
.final h2 { font-size: var(--text-4xl); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: var(--space-4); text-wrap: balance; }
.final p { color: var(--text-secondary); font-size: var(--text-lg); font-weight: 300; max-width: 46ch; margin: 0 auto var(--space-7); }
.final .hero-cta { margin-bottom: var(--space-4); }

/* ─── Footer ─── */
.footer { border-top: 1px solid var(--glass-border); padding: var(--space-7) 0 var(--space-9); margin-top: var(--space-10); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); flex-wrap: wrap; }
.footer-left { display: flex; flex-direction: column; gap: var(--space-2); }
.footer .tag { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--text-tertiary); letter-spacing: 0.04em; }
.footer-links { display: flex; gap: var(--space-5); flex-wrap: wrap; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-size: var(--text-base); transition: color var(--duration-fast) var(--ease); }
.footer-links a:hover { color: var(--text-primary); }

/* ─── Reveal on scroll ─── */
/* Only hide content when JS is present (html.js is set before first paint).
   With JS disabled or failing, .reveal elements stay fully visible. */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }

/* ─── Icons ─── */
.i { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ─── Responsive ─── */
@media (max-width: 1000px) {
  :root { --text-5xl: 3rem; --text-4xl: 2.5rem; --text-3xl: 2rem; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .mobile { grid-template-columns: 1fr; }
  .phones { height: 280px; }
  .mockup { height: 520px; grid-template-columns: 200px 280px 1fr; }
}
@media (max-width: 720px) {
  .container { padding: 0 var(--space-4); }
  .hero { padding: var(--space-9) 0 var(--space-8); }
  .pills, .features, .tiers { grid-template-columns: 1fr; }
  /* Single-column grid: drop the two-track span so the card doesn't force
     an implicit second column / overflow. */
  .feature.span-2 { grid-column: auto; }
  .nav-links .nav-link { display: none; }
  .nav-links .btn-accent { display: inline-flex; }
  .mockup { grid-template-columns: 1fr; height: auto; }
  .mockup .pane:not(.reader-pane) { display: none; }
  .mockup .reader-pane { border-right: 0; }
  .hero h1 { font-size: 2.5rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  /* Never leave reveal content stuck hidden when motion is suppressed */
  .js .reveal { opacity: 1 !important; transform: none !important; }
}
