/* ==========================================================================
   AgePony — site styles
   Warm-editorial aesthetic recolored to the brand teal. Instrument Serif
   headings, Geist body, JetBrains Mono for labels/code. Sibling to PGPony's
   terminal-green sheet; deliberately its own voice.
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS variables
   -------------------------------------------------------------------------- */
:root {
  /* Surfaces — cool near-black, tuned to the icon's teal */
  --bg:           #0a0f0f;
  --bg-alt:       #0c1413;
  --bg-card:      #101817;
  --bg-card-2:    #14201e;
  --bg-card-hov:  rgba(46, 201, 214, 0.05);

  /* Borders */
  --line:         #1d2826;
  --line-strong:  #283633;
  --line-accent:  rgba(46, 201, 214, 0.35);

  /* Text */
  --fg:           #f5f0e8;
  --text:         #f5f0e8;
  --fg-muted:     #8a948f;
  --text-dim:     #8a948f;
  --fg-dim:       #586460;
  --text-faint:   #4a544f;

  /* Accent — brand teal (from the icon), single secondary in warm gold */
  --accent:       #2ec9d6;
  --accent-bright:#5fe3ec;
  --teal-deep:    #0aaeb0;
  --accent-glow:  rgba(46, 201, 214, 0.18);
  --gold:         #d4a574;
  --gold-bright:  #e8be8f;

  /* Semantic */
  --ok:           #2ec9d6;
  --warn:         #e8be8f;
  --danger:       #e2705a;

  /* Type */
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans:  'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono:  'JetBrains Mono', 'SF Mono', ui-monospace, Menlo, Monaco, Consolas, monospace;

  /* Layout */
  --maxw: 1140px;
  --maxw-narrow: 780px;
  --gutter: 28px;
  --radius: 10px;
  --radius-sm: 6px;
}

/* --------------------------------------------------------------------------
   Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(46, 201, 214, 0.09), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(212, 165, 116, 0.045), transparent 60%),
    var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle film grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  z-index: 1;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-bright); }

code {
  font-family: var(--mono);
  font-size: 0.86em;
  color: var(--accent-bright);
  background: var(--bg-card-2);
  padding: 1px 6px;
  border-radius: 3px;
}

::selection { background: var(--accent); color: #06201f; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: #06201f; padding: 8px 12px; z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

.ital, .ital-gold { font-family: var(--serif); font-style: italic; }
.ital { color: var(--accent); }
.ital-gold { color: var(--gold); }
.dim { color: var(--fg-dim); }
.accent { color: var(--accent); }

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 2; }
.wrap-narrow { max-width: var(--maxw-narrow); }

.section { padding: 92px 0; position: relative; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 52px; max-width: 720px; }

.section-label {
  font-family: var(--mono);
  font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}

h1, h2, h3 { font-weight: 400; line-height: 1.12; letter-spacing: -0.01em; }
.section h2, .prose h2, .hero-title, .final-cta h2 {
  font-family: var(--serif);
}
h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
h3 { font-size: 18px; margin-bottom: 8px; }

.lede {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(19px, 2.3vw, 24px);
  color: var(--fg-muted); line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Header / nav
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 15, 15, 0.82);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 60px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); flex-shrink: 0; }
.wordmark:hover { color: var(--fg); }
.wordmark .brand-icon { border-radius: 6px; }
.wm-text { font-family: var(--serif); font-size: 23px; letter-spacing: -0.01em; }
.wm-ital { font-style: italic; color: var(--accent); }
.site-nav { display: flex; gap: 16px; margin-left: auto; flex-wrap: wrap; }
.site-nav a { font-family: var(--mono); font-size: 12.5px; color: var(--fg-muted); letter-spacing: 0.01em; }
.site-nav a:hover { color: var(--accent); }
.nav-cta {
  font-family: var(--mono); font-size: 12.5px; color: var(--accent);
  border: 1px solid var(--line-accent); border-radius: var(--radius-sm);
  padding: 7px 14px; flex-shrink: 0;
}
.nav-cta:hover { background: var(--bg-card-hov); color: var(--accent-bright); }

/* --------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */
.breadcrumbs { font-family: var(--mono); font-size: 12px; color: var(--fg-dim); margin: 26px 0 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; }
.breadcrumbs li { display: inline-flex; align-items: center; }
.breadcrumbs a { color: var(--fg-muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current="page"] { color: var(--fg); }
.breadcrumbs .bc-sep { color: var(--fg-dim); padding: 0 8px; }
[id] { scroll-margin-top: 80px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { padding: 84px 0 72px; position: relative; }
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero-title { font-size: clamp(42px, 7vw, 76px); line-height: 0.98; letter-spacing: -0.025em; margin: 18px 0 24px; }
.hero-title .accent { color: var(--accent); font-style: italic; }
.cursor {
  display: inline-block; width: 9px; height: 0.78em; background: var(--accent);
  margin-left: 4px; vertical-align: baseline; animation: blink 1.1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.hero-sub { font-size: 17px; color: var(--fg-muted); line-height: 1.62; max-width: 560px; margin-bottom: 32px; }
.hero-sub strong { color: var(--fg); font-weight: 500; }

.store-row { display: flex; gap: 14px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--bg-card-2); border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: 11px 20px 11px 16px; color: var(--fg);
  transition: border-color 0.2s, background 0.2s;
}
.store-btn:hover { color: var(--fg); border-color: var(--line-accent); background: var(--bg-card-hov); }
.store-icon { color: var(--accent); display: flex; }
.store-text { display: flex; flex-direction: column; line-height: 1.15; }
.store-pre { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-dim); }
.store-name { font-family: var(--sans); font-weight: 500; font-size: 16px; }

.trust-row { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 30px; }
.trust-item { font-family: var(--mono); font-size: 12px; color: var(--fg-muted); }
.trust-item .check { color: var(--accent); margin-right: 5px; }

/* Hero visual — icon + recipient terminal */
.hero-visual { position: relative; }
.hero-icon-wrap { position: relative; width: 100%; display: flex; justify-content: center; margin-bottom: 22px; }
.hero-icon { width: 168px; height: 168px; border-radius: 28px; }
.hero-icon-glow { position: absolute; inset: 18% 20% auto; height: 120px; background: radial-gradient(ellipse at center, var(--accent-glow), transparent 70%); filter: blur(22px); z-index: -1; }
.hero-terminal {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; position: relative;
}
.hero-terminal::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: 0.5; }
.term-chrome { display: flex; align-items: center; gap: 7px; padding: 11px 16px; border-bottom: 1px solid var(--line); }
.term-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.term-title { font-family: var(--mono); font-size: 11px; color: var(--fg-dim); margin-left: 6px; }
.term-body { font-family: var(--mono); font-size: 12.5px; line-height: 1.9; padding: 16px 18px; color: var(--fg-muted); white-space: pre-wrap; word-break: break-word; }
.t-dim { color: var(--fg-dim); }
.t-ok { color: var(--accent); }
.t-accent { color: var(--gold); }

/* --------------------------------------------------------------------------
   Feature grid
   -------------------------------------------------------------------------- */
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.feat {
  padding: 34px 30px; border-bottom: 1px solid var(--line);
  position: relative;
}
.feat:nth-child(odd) { border-right: 1px solid var(--line); padding-left: 0; }
.feat:nth-child(even) { padding-right: 0; }
.feat .num { font-family: var(--mono); font-size: 11px; color: var(--fg-dim); margin-bottom: 14px; letter-spacing: 0.08em; }
.feat h3 { font-family: var(--serif); font-size: 25px; line-height: 1.18; margin-bottom: 12px; color: var(--fg); }
.feat p { font-size: 14.5px; color: var(--fg-muted); line-height: 1.62; }
.feat .badge-new { display: inline-block; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-deep); border: 1px solid var(--line-accent); border-radius: 4px; padding: 1px 7px; margin-left: 8px; vertical-align: middle; }

/* Generic 3-up card grid (how, use-cases, etc.) */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px; transition: border-color 0.2s, background 0.2s;
}
.card:hover { border-color: var(--line-accent); background: var(--bg-card-hov); }
.card .knum { font-family: var(--mono); font-size: 11px; color: var(--accent); margin-bottom: 12px; }
.card h3 { font-family: var(--serif); font-size: 22px; margin-bottom: 10px; color: var(--fg); }
.card p { font-size: 14px; color: var(--fg-muted); line-height: 1.6; }

/* Steps (how it works) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; position: relative; }
.step .snum { font-family: var(--mono); font-size: 12px; color: var(--accent); margin-bottom: 12px; }
.step h3 { font-family: var(--serif); font-size: 20px; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--fg-muted); }

/* --------------------------------------------------------------------------
   Two-column info (privacy / tech)
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.spec-list { list-style: none; }
.spec-list li { padding: 13px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; font-size: 14.5px; }
.spec-list li:last-child { border-bottom: none; }
.spec-list .k { font-family: var(--mono); font-size: 12.5px; color: var(--accent); min-width: 150px; flex-shrink: 0; }
.spec-list .v { color: var(--fg-muted); }

.checks { list-style: none; }
.checks li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--fg-muted); display: flex; gap: 12px; }
.checks li:last-child { border-bottom: none; }
.checks li::before { content: '✓'; color: var(--accent); flex-shrink: 0; }
.checks li strong { color: var(--fg); font-weight: 500; }

/* --------------------------------------------------------------------------
   Comparison table
   -------------------------------------------------------------------------- */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.cmp { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
table.cmp th, table.cmp td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
table.cmp thead th { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-dim); }
table.cmp thead th.us { color: var(--accent); }
table.cmp tbody td:first-child { color: var(--fg-muted); }
table.cmp .yes { color: var(--accent); }
table.cmp .no { color: var(--fg-dim); }
table.cmp tr:last-child td { border-bottom: none; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; padding: 22px 0; font-family: var(--serif); font-size: 21px; color: var(--fg); list-style: none; display: flex; justify-content: space-between; gap: 18px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--accent); font-family: var(--mono); font-size: 22px; flex-shrink: 0; transition: transform 0.2s; }
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-a { padding: 0 0 24px; color: var(--fg-muted); font-size: 15px; line-height: 1.65; max-width: 760px; }
.faq-item .faq-a a { border-bottom: 1px solid rgba(46,201,214,0.3); }

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */
.final-cta { padding: 96px 0; text-align: center; border-top: 1px solid var(--line); background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(46,201,214,0.06), transparent 70%); }
.final-cta h2 { font-size: clamp(32px, 5vw, 50px); margin-bottom: 16px; }
.final-cta p { color: var(--fg-muted); max-width: 540px; margin: 0 auto 32px; }
.final-cta .store-row { justify-content: center; }

/* --------------------------------------------------------------------------
   Sister-app band (PGPony)
   -------------------------------------------------------------------------- */
.sister-band { border-top: 1px solid var(--line); background: var(--bg-alt); }
.sister-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 40px 0; }
.sister-mark { width: 58px; height: 58px; border-radius: 14px; border: 1px solid rgba(95,255,175,0.3); display: flex; align-items: center; justify-content: center; background: rgba(95,255,175,0.05); }
.sister-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #2ec9d6; margin-bottom: 8px; }
.sister-h { font-family: var(--serif); font-size: clamp(22px, 3vw, 30px); margin-bottom: 8px; color: var(--fg); }
.sister-text p { font-size: 14.5px; color: var(--fg-muted); max-width: 640px; }
.sister-text strong { color: var(--fg); font-weight: 500; }
.sister-cta { flex-shrink: 0; font-family: var(--mono); font-size: 13px; color: #2ec9d6; border: 1px solid rgba(95,255,175,0.4); border-radius: var(--radius-sm); padding: 11px 18px; white-space: nowrap; }
.sister-cta:hover { background: rgba(95,255,175,0.08); color: #a8eef2; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 48px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.foot-logo { display: flex; align-items: center; gap: 9px; font-family: var(--serif); font-size: 19px; color: var(--fg); margin-bottom: 10px; }
.foot-logo img { border-radius: 5px; }
.foot-tag { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--fg-muted); line-height: 1.4; }
.foot-h { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--fg-dim); margin-bottom: 14px; }
.foot-col a { display: block; font-size: 13.5px; color: var(--fg-muted); padding: 4px 0; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.foot-meta { font-family: var(--mono); font-size: 11.5px; color: var(--fg-dim); }
.foot-copy { font-family: var(--mono); font-size: 11.5px; color: var(--fg-dim); }

/* --------------------------------------------------------------------------
   Prose (content pages: about, privacy, terms, security, docs, guides...)
   -------------------------------------------------------------------------- */
.page-head { padding: 64px 0 8px; }
.page-head .eyebrow { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.page-head h1 { font-family: var(--serif); font-size: clamp(38px, 6vw, 60px); line-height: 1.04; letter-spacing: -0.02em; margin-bottom: 20px; }
.page-head .lede { max-width: 720px; }

.prose { padding: 36px 0 8px; max-width: 760px; }
.prose h2 { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 34px); line-height: 1.15; color: var(--fg); margin: 50px 0 16px; }
.prose h3 { font-family: var(--sans); font-weight: 500; font-size: 18px; color: var(--fg); margin: 32px 0 12px; }
.prose p { font-size: 16px; color: var(--fg-muted); margin-bottom: 18px; }
.prose p strong { color: var(--fg); font-weight: 500; }
.prose a { color: var(--accent); border-bottom: 1px solid rgba(46,201,214,0.25); }
.prose a:hover { border-bottom-color: var(--accent); }
.prose ul, .prose ol { margin: 0 0 20px 22px; color: var(--fg-muted); }
.prose li { margin-bottom: 9px; font-size: 16px; }
.prose hr { border: none; border-top: 1px solid var(--line); margin: 40px 0; }

.codeblock {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; font-family: var(--mono); font-size: 12.5px; line-height: 1.85;
  color: var(--fg); overflow-x: auto; margin: 8px 0 24px; position: relative; white-space: pre;
}
.codeblock::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: 0.5; }
.codeblock .c { color: var(--fg-dim); }
.codeblock .k { color: var(--gold); }

.callout {
  border: 1px solid var(--line); border-left: 2px solid var(--accent);
  background: var(--bg-card); border-radius: var(--radius-sm); padding: 18px 22px; margin: 8px 0 28px;
}
.callout.gold { border-left-color: var(--gold); }
.callout .label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.callout.gold .label { color: var(--gold); }
.callout p { font-size: 14.5px; margin-bottom: 0; color: var(--fg-muted); }

/* Download CTA block reused by guides/glossary/compare/for */
.learn-cta, .compare-cta {
  margin: 48px 0 8px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius);
  background: radial-gradient(ellipse 70% 100% at 0% 0%, rgba(46,201,214,0.07), transparent 70%), var(--bg-card); text-align: center;
}
.learn-cta h2, .compare-cta h2 { font-family: var(--serif); font-size: 28px; color: var(--fg); margin-bottom: 8px; }
.learn-cta p, .compare-cta p { font-size: 14.5px; color: var(--fg-muted); margin-bottom: 22px; }
.learn-cta .store-row, .compare-cta .store-row { justify-content: center; }

/* Hub / index card lists (guides, glossary, compare, for) */
.hub-grid { display: grid; grid-template-columns: 1fr; gap: 0; margin: 32px 0 8px; }
.hub-card { display: block; padding: 26px 0; border-bottom: 1px solid var(--line); transition: padding-left 0.2s; }
.hub-card:hover { padding-left: 8px; }
.hub-card:last-child { border-bottom: none; }
.hub-card .gnum { font-family: var(--mono); font-size: 11px; color: var(--fg-dim); margin-bottom: 10px; letter-spacing: 0.08em; }
.hub-card h3 { font-family: var(--serif); font-size: 24px; color: var(--fg); margin-bottom: 8px; }
.hub-card p { font-size: 14.5px; color: var(--fg-muted); }

.gloss-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 28px 0 8px; }
.gloss-tile { display: block; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; transition: border-color 0.2s, background 0.2s; }
.gloss-tile:hover { border-color: var(--line-accent); background: var(--bg-card-hov); }
.gloss-tile h3 { font-family: var(--serif); font-size: 20px; color: var(--fg); margin-bottom: 6px; }
.gloss-tile p { font-size: 13.5px; color: var(--fg-muted); }
.gloss-related { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 0; }
.gloss-related li a { font-family: var(--mono); font-size: 12px; color: var(--fg-muted); border: 1px solid var(--line); border-radius: 4px; padding: 5px 11px; }
.gloss-related li a:hover { border-color: var(--line-accent); color: var(--accent); }

/* Waitlist + store badges (kept for completeness) */
.store-badges { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.badge { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 11px 20px; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--bg-card-2); min-width: 168px; }
.badge .sm { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-dim); }
.badge .lg { font-family: var(--sans); font-weight: 500; font-size: 15px; color: var(--fg); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 460px; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .sister-inner { grid-template-columns: 1fr; gap: 18px; }
  .sister-cta { justify-self: start; }
}
@media (max-width: 680px) {
  :root { --gutter: 20px; }
  .header-inner { height: auto; padding: 12px 0; flex-wrap: wrap; }
  .site-nav { width: 100%; margin-left: 0; gap: 14px; order: 3; }
  .nav-cta { margin-left: auto; }
  .section { padding: 64px 0; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat:nth-child(odd) { border-right: none; }
  .feat { padding: 28px 0; }
  .card-grid, .steps, .gloss-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

/* ----------------------------------------------------------------------------
   Sister-app pill in the header nav — prominent PGPony cross-link (green)
---------------------------------------------------------------------------- */
.nav-sister {
  font-family: var(--mono); font-size: 12.5px; color: #5fffaf;
  border: 1px solid rgba(95,255,175,0.45); border-radius: var(--radius-sm);
  padding: 7px 13px; flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px;
  white-space: nowrap; transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.nav-sister:hover { background: rgba(95,255,175,0.1); color: #b6ffd8; border-color: rgba(95,255,175,0.7); }
.nav-sister-dot { width: 6px; height: 6px; border-radius: 50%; background: #5fffaf; box-shadow: 0 0 6px rgba(95,255,175,0.6); }
@media (max-width: 880px) { .nav-sister { order: 2; } }
