/* ============================================================
   Potatofy marketing site
   Dark theme, one accent (#4caf50), restrained motion.
   ============================================================ */

:root {
  --bg: #0f0f0f;
  --surface: #161616;
  --surface-2: #1a1a1a;
  --surface-3: #202020;
  --border: #232323;
  --border-strong: #2f2f2f;

  --text: #f5f5f5;
  --text-mute: #a0a0a0;
  --text-dim: #666666;

  --accent: #4caf50;
  --accent-soft: rgba(76, 175, 80, 0.12);
  --accent-border: rgba(76, 175, 80, 0.32);

  --gpu-color: #4caf50;
  --rend-color: #6ec1ff;
  --brow-color: #c08aff;

  --radius: 10px;
  --radius-lg: 14px;
  --radius-pill: 999px;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 5rem;
  --space-7: 7rem;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  --container: 1200px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(76, 175, 80, 0.06), transparent 60%),
    radial-gradient(900px 500px at 0% 30%, rgba(76, 175, 80, 0.04), transparent 60%),
    var(--bg);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
code, .num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 14px clamp(20px, 4vw, 48px);
  height: 64px;
  background: rgba(15, 15, 15, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.nav-logo { border-radius: 6px; }
.nav-wordmark { font-size: 15px; }

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--text-mute);
}
.nav-links a {
  position: relative;
  transition: color 180ms ease;
}
.nav-links a:hover { color: var(--text); }

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform 140ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: #062a09;
  border-color: var(--accent);
  box-shadow: 0 8px 28px -10px rgba(76, 175, 80, 0.6);
}
.btn-primary:hover { background: #5cb860; border-color: #5cb860; }

.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #3a3a3a;
}

.btn-mini {
  height: 32px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 6px;
  background: var(--surface-3);
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-mini:hover { background: #2a2a2a; }
.btn-mini.copied { background: var(--accent); color: #062a09; border-color: var(--accent); }

.btn-github { padding-left: 14px; }

/* ============================================================
   GENERIC SECTION HEAD
   ============================================================ */

.section-head {
  max-width: 720px;
  margin: 0 0 var(--space-5);
}
.section-head h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
}
.section-head p {
  font-size: 1.05rem;
  color: var(--text-mute);
  margin: 0;
  max-width: 60ch;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  margin: 0 0 var(--space-3);
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  padding: clamp(48px, 7vw, 96px) clamp(20px, 4vw, 48px) clamp(64px, 9vw, 120px);
  max-width: var(--container);
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}

.hero-copy { max-width: 620px; }

.hero-headline {
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 0 0 var(--space-3);
}
.hero-headline em {
  font-style: italic;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
  padding-bottom: 4px;
  display: inline-block;
}

.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-mute);
  max-width: 56ch;
  margin: 0 0 var(--space-4);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Popup mockup (real recreation of the actual extension popup) */
.hero-mock {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-mock::before {
  content: "";
  position: absolute;
  inset: -40px -10px;
  background:
    radial-gradient(closest-side, rgba(76, 175, 80, 0.18), transparent 70%);
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
}

.popup-mock {
  position: relative;
  z-index: 1;
  width: 320px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow:
    0 30px 80px -20px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  transform: rotate(-1.5deg);
  transition: transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-mock:hover .popup-mock { transform: rotate(0deg); }

.popup-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}
.popup-logo { border-radius: 7px; }
.popup-title strong {
  display: block;
  font-size: 15px;
  color: #f5f5f5;
  font-weight: 600;
}
.popup-title span {
  font-size: 11px;
  color: var(--text-dim);
}

.popup-stats {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 14px;
}
.popup-stats-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.popup-stats-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.popup-stats-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
}
.popup-stats-chip::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}

.popup-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  color: var(--text-mute);
  padding: 4px 0;
}
.popup-stat-row .num { color: var(--text); font-size: 13px; }
.popup-stat-row .num.accent { color: var(--accent); font-weight: 600; }
.popup-stat-row .num.warn { color: #ff9800; font-weight: 600; }

.popup-scope-select {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: transparent;
  border: none;
  outline: none;
  cursor: default;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}

.popup-section-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 8px 4px 4px;
  margin-top: 6px;
  border-top: 1px solid var(--border);
}
.popup-section-label--max { color: #ff9800; opacity: 0.8; }

.popup-toggles {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.popup-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--text);
  padding: 8px 4px;
  border-bottom: 1px solid var(--border);
}
.popup-toggle:last-child { border-bottom: 0; }

.sw {
  width: 28px;
  height: 16px;
  background: var(--surface-3);
  border-radius: var(--radius-pill);
  position: relative;
  transition: background 200ms ease;
}
.sw::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  background: #888;
  border-radius: 50%;
  transition: transform 200ms ease, background 200ms ease;
}
.sw.on { background: var(--accent); }
.sw.on::after { transform: translateX(12px); background: #062a09; }

/* ============================================================
   THE NUMBER
   ============================================================ */

.numbers {
  padding: clamp(64px, 9vw, 120px) clamp(20px, 4vw, 48px);
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
}
.numbers-wrap { display: inline-block; max-width: 900px; }

.numbers-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 var(--space-3);
}

.numbers-stat {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(5rem, 17vw, 14rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  color: var(--accent);
  margin: 0 0 var(--space-3);
  display: inline-flex;
  align-items: baseline;
}
.numbers-stat .minus { font-weight: 500; opacity: 0.7; padding-right: 0.05em; }
.numbers-stat .unit {
  font-size: 0.22em;
  letter-spacing: 0.05em;
  margin-left: 0.18em;
  color: var(--accent);
  opacity: 0.85;
  font-weight: 600;
}

.numbers-context {
  font-size: 1.05rem;
  color: var(--text-mute);
  max-width: 56ch;
  margin: 0 auto;
}

/* ============================================================
   FEATURES (bento with rhythm)
   ============================================================ */

.features {
  padding: clamp(56px, 8vw, 100px) clamp(20px, 4vw, 48px);
  max-width: var(--container);
  margin: 0 auto;
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.4vw, 28px);
  transition: border-color 200ms ease, transform 200ms ease, background 200ms ease;
}
.card:hover {
  border-color: #303030;
  background: #181818;
}

.card-feature h3 {
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  color: var(--text);
}
.card-feature p {
  font-size: 0.94rem;
  color: var(--text-mute);
  margin: 0;
  max-width: 52ch;
  line-height: 1.55;
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

/* Group label between feature sections */
.features-group-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
  padding: 0;
}
.features-group-label--max {
  color: #ff9800;
  margin-top: var(--space-5);
}

/* Standard bento: row1 7+5, row2 5+7, row3 6+6, row4 6+6 */
.bento .card:nth-child(1) { grid-column: span 7; }
.bento .card:nth-child(2) { grid-column: span 5; }
.bento .card:nth-child(3) { grid-column: span 5; }
.bento .card:nth-child(4) { grid-column: span 7; }
.bento .card:nth-child(5) { grid-column: span 6; }
.bento .card:nth-child(6) { grid-column: span 6; }
.bento .card:nth-child(7) { grid-column: span 6; }
.bento .card:nth-child(8) { grid-column: span 6; }

/* Maximum savings bento: wide+narrow, narrow+wide, full */
.bento-max .card:nth-child(1) { grid-column: span 8; }
.bento-max .card:nth-child(2) { grid-column: span 4; }
.bento-max .card:nth-child(3) { grid-column: span 6; }
.bento-max .card:nth-child(4) { grid-column: span 6; }
.bento-max .card:nth-child(5) { grid-column: span 12; }

.card-wide {
  background:
    radial-gradient(600px 200px at 0% 0%, rgba(76, 175, 80, 0.08), transparent 70%),
    var(--surface);
}

.card-wide-max {
  background:
    radial-gradient(600px 200px at 0% 0%, rgba(255, 152, 0, 0.07), transparent 70%),
    var(--surface);
}

/* Warn-tinted icon for max-savings cards */
.card-icon--warn {
  background: rgba(255, 152, 0, 0.1);
  border-color: rgba(255, 152, 0, 0.28);
  color: #ff9800;
}

/* Site killers pill list */
.site-killers-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.site-killers-list span {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 152, 0, 0.08);
  border: 1px solid rgba(255, 152, 0, 0.22);
  color: #ffa733;
  white-space: nowrap;
}

/* ============================================================
   COMPARE (before/after bars)
   ============================================================ */

.compare {
  padding: clamp(56px, 8vw, 100px) clamp(20px, 4vw, 48px);
  max-width: var(--container);
  margin: 0 auto;
}

.bars {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.bar-group { display: flex; flex-direction: column; gap: 10px; }

.bar-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
}
.bar-name { color: var(--text-mute); }
.bar-name.accent { color: var(--accent); }
.bar-total { color: var(--text); font-weight: 600; }
.bar-total.accent { color: var(--accent); }

.bar-track {
  display: flex;
  width: calc((var(--total, 1) / var(--max, 1)) * 100%);
  min-width: 220px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface-3);
  border: 1px solid var(--border);
  transition: width 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.seg {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #062a09;
  white-space: nowrap;
  overflow: hidden;
  /* width is set in JS based on data-w (clamped against the max), keep CSS fallback */
  flex: var(--w, 1) 0 0;
  min-width: 0;
}
.seg span { text-overflow: ellipsis; overflow: hidden; }
.seg-gpu  { background: var(--gpu-color); }
.seg-rend { background: var(--rend-color); color: #042033; }
.seg-brow { background: var(--brow-color); color: #240a3a; }

.bars-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  font-size: 13px;
  color: var(--text-mute);
}
.bars-legend li { display: inline-flex; align-items: center; gap: 8px; }
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

/* ============================================================
   INSTALL
   ============================================================ */

.install {
  padding: clamp(56px, 8vw, 100px) clamp(20px, 4vw, 48px);
  max-width: var(--container);
  margin: 0 auto;
}

.install-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.install-path {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.install-path-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.install-path-head h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}
.install-path-head p {
  font-size: 0.92rem;
  color: var(--text-mute);
  margin: 0;
  line-height: 1.5;
}
.install-path-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  width: fit-content;
}
.install-path-badge--store {
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
}
.install-path-badge--unpacked {
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.28);
  color: #6eb3ff;
}
.install-path-note {
  font-size: 0.83rem;
  color: var(--text-dim);
  margin: 0;
  padding: 10px 12px;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  line-height: 1.55;
}
.install-path .steps {
  grid-template-columns: 1fr;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.step-n {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.step-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
  line-height: 1.35;
}
.step-body h3 em {
  font-style: italic;
  color: var(--accent);
}
.step-body p {
  font-size: 0.92rem;
  color: var(--text-mute);
  margin: 0;
  line-height: 1.55;
}
.step-body code {
  background: var(--surface-3);
  border: 1px solid var(--border-strong);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.86em;
  color: var(--text);
}

.clone {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 8px 8px 8px 12px;
  margin-top: 4px;
}
.clone code {
  font-size: 12.5px;
  color: var(--text);
  background: transparent;
  border: 0;
  padding: 0;
  flex: 1;
  overflow-x: auto;
  white-space: nowrap;
}

/* ============================================================
   FAQ
   ============================================================ */

.faq {
  padding: clamp(56px, 8vw, 100px) clamp(20px, 4vw, 48px);
  max-width: var(--container);
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.faq-list details {
  border-bottom: 1px solid var(--border);
  padding: 18px 4px;
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--text-dim);
  transition: transform 200ms ease, color 200ms ease;
  line-height: 1;
}
.faq-list details[open] summary::after {
  content: "−";
  color: var(--accent);
}
.faq-list details p {
  color: var(--text-mute);
  font-size: 0.98rem;
  margin: 12px 0 4px;
  max-width: 68ch;
}

/* ============================================================
   FOOTER
   ============================================================ */

.foot {
  padding: clamp(40px, 5vw, 64px) clamp(20px, 4vw, 48px);
  max-width: var(--container);
  margin: 0 auto;
  border-top: 1px solid var(--border);
  margin-top: var(--space-5);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  row-gap: 16px;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.foot-brand img { border-radius: 6px; }
.foot-name {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.foot-tag {
  margin: 2px 0 0;
  color: var(--text-mute);
  font-size: 13px;
}
.foot-links { justify-self: end; }
.foot-meta {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

/* ============================================================
   REVEAL ANIMATION (gated by JS + reduced motion)
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .popup-mock { transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-mock { order: 2; }
  .hero-copy { order: 1; }

  .bento .card,
  .bento-max .card { grid-column: span 12 !important; }

  .steps { grid-template-columns: 1fr; }
  .install-paths { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav { padding: 12px 18px; height: 60px; }
  .nav-links { display: none; }
  .nav-wordmark { font-size: 14px; }

  .hero { padding-top: 36px; padding-bottom: 48px; }
  .hero-headline { font-size: clamp(2.25rem, 9vw, 3rem); }
  .popup-mock { width: 100%; max-width: 340px; }

  .numbers { padding: 64px 18px; }
  .numbers-stat { font-size: clamp(4.5rem, 24vw, 7rem); }

  .bar-track { height: 44px; }
  .seg { padding: 0 8px; font-size: 11px; }

  .foot-grid { grid-template-columns: 1fr; }
  .foot-links { justify-self: start; }
}

@media (max-width: 480px) {
  .seg span { display: none; }
}
