/* ============================================================
   PeePal — Flat Static Site Stylesheet
   Design tokens from shared/design-tokens/tokens.json
   Font: Switzer (local woff2, no external CDN)
   Additional :root aliases/extensions may diverge from tokens.json;
   they are site-only (see PEE-485).
   ============================================================ */

/* ── Fonts ───────────────────────────────────── */
@font-face {
  font-family: 'Switzer';
  src: url('/fonts/Switzer-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Switzer';
  src: url('/fonts/Switzer-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Switzer';
  src: url('/fonts/Switzer-Semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Switzer';
  src: url('/fonts/Switzer-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── Design Tokens ───────────────────────────────── */
:root {
  /* Colours */
  --primary:            #2B6CB0;
  --primary-dark:       #1A4B7A;
  --primary-light:      #EBF4FF;
  --primary-10:         rgba(43, 108, 176, 0.10);
  --primary-15:         rgba(43, 108, 176, 0.15);
  --primary-30:         rgba(43, 108, 176, 0.30);
  --accent:             #E8985A;
  /* Sage: panels/fills; Success: positive status text/icons on white (WCAG AA ~4.5:1) */
  --sage:               #68A67D;
  --success:            #2C6B47;
  --warning:            #C27516;
  --error:              #C53030;

  /* Semantic aliases */
  --ring:               var(--primary);
  --bg-primary-soft:    var(--primary-10);

  /* Neutral elevation (rest → raised → overlay drawer) */
  --shadow-sm:          0 2px 10px rgba(0, 0, 0, 0.06); /* guide-card hover */
  --shadow-md:          0 2px 12px rgba(0, 0, 0, 0.07); /* use-case-card hover */
  --shadow-lg:          0 4px 16px rgba(0, 0, 0, 0.08); /* mobile nav panel */

  /* Backgrounds */
  --bg:                 #FFFFFF;
  --bg-warm:            #F5F1EB;
  --bg-muted:           #EDEAE5;

  /* Text */
  --fg:                 #1A1A1A;
  --fg-muted:           #4A5568;
  --fg-subtle:          #718096;

  /* Borders */
  --border:             #E2E8F0;
  --border-strong:      #CBD5E0;

  /* Primary foreground (text on primary bg) */
  --primary-fg:         #FFFFFF;

  /* Typography */
  --font:               'Switzer', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --max-w:              1024px;
  --max-w-prose:        768px;
  --max-w-narrow:       640px;
  --px:                 1.5rem;
  --section-py:         4rem;
}

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

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

body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  text-wrap: pretty;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
ul, ol { list-style: none; }
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--fg);
  text-wrap: balance;
}

/* ── Skip link ────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  z-index: 9999;
  font-weight: 600;
}
.skip-link:focus { left: 1rem; }

/* ── Layout helpers ─────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}
.container--prose  { max-width: var(--max-w-prose);  margin-inline: auto; padding-inline: var(--px); }
.container--narrow { max-width: var(--max-w-narrow); margin-inline: auto; padding-inline: var(--px); }

main { flex: 1; }

section { padding-block: var(--section-py); }

/* ── Header / Nav ──────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--fg);
  text-decoration: none;
}
.site-header__brand:hover { text-decoration: none; }
.site-header__brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg-muted);
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.site-nav a:hover {
  background: var(--bg-warm);
  color: var(--fg);
  text-decoration: none;
}
.site-nav a[aria-current="page"] {
  color: var(--primary);
  font-weight: 600;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--fg);
  border-radius: 6px;
}
.nav-toggle:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ── Footer ───────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-warm);
  padding-block: 2.5rem;
  margin-top: auto;
}

.site-footer__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 2rem;
  align-items: start;
}

.site-footer__brand {
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.site-footer__brand img { width: 22px; height: 22px; border-radius: 4px; }
.site-footer__tagline {
  font-size: 0.85rem;
  color: var(--fg-subtle);
  margin-bottom: 0.75rem;
}
.site-footer__legal {
  font-size: 0.75rem;
  color: var(--fg-subtle);
  line-height: 1.5;
}
.site-footer__legal a { color: var(--fg-subtle); text-decoration: underline; text-underline-offset: 2px; }

.site-footer__nav h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  margin-bottom: 0.75rem;
}
.site-footer__nav ul { display: flex; flex-direction: column; gap: 0.4rem; }
.site-footer__nav a {
  font-size: 0.875rem;
  color: var(--fg-muted);
}
.site-footer__nav a:hover { color: var(--primary); text-decoration: none; }

/* ── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.1s;
  padding: 0.65rem 1.4rem;
  line-height: 1.3;
}
.btn:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; }
.btn:hover { text-decoration: none; opacity: 0.88; }
.btn:active { transform: scale(0.98); }

.btn--primary  { background: var(--primary); color: #fff; }
.btn--outline  { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }

/* ── Store badges ────────────────────────────────── */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  transition: opacity 0.15s, transform 0.15s;
}
.store-badge:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; }
.store-badge:hover { opacity: 0.82; transform: scale(1.03); text-decoration: none; }
.store-badge img { height: 44px; width: auto; }

/* ── Trust bar ──────────────────────────────────── */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  font-size: 0.875rem;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  margin-top: 0.5rem;
}
.trust-bar__sep { color: var(--border-strong); }
.trust-bar__muted { color: var(--fg-subtle); }
.trust-bar__strong { font-weight: 700; color: var(--primary); }
.trust-bar a { font-weight: 500; color: var(--primary); }

/* ── Hero section ──────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(43,108,176,0.04) 0%, var(--bg) 50%, rgba(43,108,176,0.04) 100%);
  padding-block: 3rem 4rem;
}
@media (min-width: 768px) { .hero { padding-block: 5rem 6rem; } }

.hero blockquote p {
  font-size: clamp(1.5rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--fg);
}
.hero blockquote p span { color: var(--primary); }
.hero blockquote footer {
  margin-top: 1rem;
}
.hero blockquote cite {
  font-style: normal;
  font-size: 0.875rem;
  color: var(--fg-subtle);
}

.hero__sub {
  margin-top: 1.25rem;
  font-size: 1rem;
  color: var(--fg-muted);
  max-width: 42rem;
  line-height: 1.65;
}
@media (min-width: 768px) { .hero__sub { font-size: 1.0625rem; } }

.hero__badges { margin-top: 1.75rem; }

/* ── Privacy Promise ───────────────────────────── */
.privacy-promise {
  background: var(--primary);
  color: #fff;
  overflow: hidden;
}
.privacy-promise h2 {
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1.15;
}
.privacy-promise h2 span { display: block; color: rgba(255,255,255,0.65); }
.privacy-promise p { color: rgba(255,255,255,0.8); }

.privacy-promise__grid {
  display: grid;
  gap: 1.5rem 3rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .privacy-promise__grid { grid-template-columns: 1.4fr 1fr; }
}

.privacy-promise__left { display: flex; flex-direction: column; gap: 1rem; }
.privacy-promise__sub { font-size: 0.8rem; color: rgba(255,255,255,0.45); margin-top: 0.5rem; }

.privacy-promise__cards { display: flex; flex-direction: column; gap: 0.75rem; }

.promise-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
}
.promise-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.promise-card__icon svg { width: 18px; height: 18px; }
.promise-card h3 { font-size: 0.9375rem; color: #fff; font-weight: 600; margin-bottom: 0.2rem; }
.promise-card p  { font-size: 0.8125rem; color: rgba(255,255,255,0.68); line-height: 1.5; }

/* ── How It Works ──────────────────────────────── */
.how-it-works { background: var(--bg); }

.steps {
  max-width: 38rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.step {
  display: flex;
  gap: 1.25rem;
  position: relative;
}

.step__badge-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.step__badge {
  width: 3rem;
  height: 3rem;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  flex-shrink: 0;
  z-index: 1;
}
.step__line {
  width: 2px;
  flex: 1;
  background: var(--border);
  margin-top: 0.5rem;
}

.step__content { flex: 1; padding-bottom: 0.5rem; }
.step__content h3 { font-size: 1.1875rem; font-weight: 700; color: var(--fg); margin-bottom: 0.2rem; }
.step__subtitle { font-size: 0.875rem; font-weight: 600; color: var(--primary); margin-bottom: 0.5rem; }
.step__desc { color: var(--fg-muted); line-height: 1.6; font-size: 0.9375rem; }

/* ── User Types ─────────────────────────────────── */
.user-types { background: var(--bg-warm); }

.use-cases-primary {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .use-cases-primary { grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.25rem; } }

.use-case-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.use-case-card:hover { border-color: rgba(43,108,176,0.3); box-shadow: var(--shadow-md); }

.use-case-card__icon {
  width: 3rem;
  height: 3rem;
  background: var(--primary-10);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}
.use-case-card__icon svg { width: 24px; height: 24px; }
.use-case-card h3 { font-size: 1.0625rem; font-weight: 600; color: var(--fg); margin-bottom: 0.25rem; }
.use-case-card p  { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.5; }

.use-cases-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (min-width: 1024px) { .use-cases-secondary { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }

.use-case-card--sm {
  padding: 1rem;
  border-radius: 12px;
  transition: border-color 0.15s;
  flex-direction: column;
}
.use-case-card--sm:hover { border-color: rgba(43,108,176,0.2); }
.use-case-card--sm .use-case-card__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}
.use-case-card--sm .use-case-card__icon svg { width: 18px; height: 18px; }
.use-case-card--sm h3 { font-size: 0.875rem; font-weight: 600; margin-bottom: 0.25rem; }
.use-case-card--sm p  { font-size: 0.8125rem; color: var(--fg-muted); }

.user-types__note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--fg-muted);
  margin-top: 2rem;
}
.user-types__note strong { font-weight: 600; color: var(--fg); }

/* ── Founder Story ─────────────────────────────── */
.founder-story { background: rgba(245,241,235,0.5); }
.founder-story blockquote { text-align: center; position: relative; padding-top: 1.5rem; }
.founder-story blockquote::before {
  content: '\201C';
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 5rem;
  color: var(--primary-30);
  line-height: 1;
  font-family: Georgia, serif;
  pointer-events: none;
}
.founder-story blockquote p {
  font-size: 1.0625rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.founder-story blockquote footer { margin-top: 1.5rem; }
.founder-story blockquote cite {
  font-style: normal;
  color: var(--fg-muted);
}
.founder-story blockquote cite strong { color: var(--fg); font-weight: 600; }

/* ── CTA Section ───────────────────────────────── */
.cta-section {
  background: linear-gradient(180deg, rgba(245,241,235,0.5) 0%, var(--bg) 100%);
  text-align: center;
}
.cta-section__icon {
  width: 5rem;
  height: 5rem;
  background: var(--primary-10);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 1.5rem;
  color: var(--primary);
}
.cta-section__icon svg { width: 40px; height: 40px; }
.cta-section h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 1rem; }
.cta-section p  { font-size: 1.0625rem; color: var(--fg-muted); margin-bottom: 2rem; line-height: 1.65; max-width: 36rem; margin-inline: auto; }
.cta-section .store-badges { justify-content: center; }
.cta-section__sub { font-size: 0.875rem; color: var(--fg-subtle); margin-top: 1.25rem; }
.cta-section__sub a { color: var(--primary); }
.cta-section__disclaimer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: rgba(113,128,150,0.75);
}
.cta-section__disclaimer a { color: rgba(113,128,150,0.75); text-decoration: underline; text-underline-offset: 2px; }

/* ── Section headers ───────────────────────────── */
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.375rem); margin-bottom: 0.75rem; }
.section-header p  { font-size: 1.0625rem; color: var(--fg-muted); max-width: 30rem; margin-inline: auto; }

/* ── Page hero (inner pages) ──────────────────────── */
.page-hero {
  background: var(--bg-warm);
  padding-block: 3rem 2.5rem;
  text-align: center;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.75rem; }
.page-hero p  { font-size: 1.0625rem; color: var(--fg-muted); max-width: 38rem; margin-inline: auto; }

/* ── Guides page ───────────────────────────────── */
.guides-grid {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px)  { .guides-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .guides-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }

.guide-card {
  padding: 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.guide-card:hover { border-color: rgba(43,108,176,0.2); box-shadow: var(--shadow-sm); }
.guide-card h3 { font-size: 0.9375rem; font-weight: 600; color: var(--fg); margin-bottom: 0.4rem; line-height: 1.35; }
.guide-card p  { font-size: 0.8125rem; color: var(--fg-muted); line-height: 1.55; }

.guides-cta-box {
  margin-top: 3rem;
  background: var(--bg-primary-soft);
  border: 1px solid rgba(43,108,176,0.15);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
}
.guides-cta-box h2 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.guides-cta-box p  { font-size: 0.9375rem; color: var(--fg-muted); margin-bottom: 1.5rem; max-width: 30rem; margin-inline: auto; }

/* ── Support / FAQ ────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--fg);
  gap: 1rem;
  transition: background 0.15s;
  user-select: none;
}
.faq-item summary:hover { background: rgba(245,241,235,0.6); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--fg-subtle);
  transition: transform 0.2s;
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-item[open] summary { color: var(--primary); }
.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--fg-muted);
  line-height: 1.65;
  font-size: 0.9375rem;
}
.faq-answer a { color: var(--primary); }

.contact-box {
  margin-top: 3rem;
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem 2rem 2rem;
  text-align: center;
}
.contact-box__icon {
  width: 3rem;
  height: 3rem;
  background: var(--primary-10);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 1rem;
  color: var(--primary);
}
.contact-box__icon svg { width: 24px; height: 24px; }
.contact-box h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.contact-box p  { font-size: 0.9375rem; color: var(--fg-muted); margin-bottom: 1.25rem; }

/* ── Legal / Privacy ───────────────────────────── */
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.legal-nav a {
  padding: 0.4rem 1rem;
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-muted);
  transition: background 0.15s, color 0.15s;
}
.legal-nav a:hover { background: var(--primary-10); color: var(--primary); text-decoration: none; }

.legal-section {
  padding-block: 2.5rem;
  border-top: 1px solid var(--border);
}
.legal-section:first-of-type { border-top: none; padding-top: 0; }
.legal-section h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.25rem; scroll-margin-top: 5rem; }
.legal-section h3 { font-size: 1.0625rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.legal-section p  { font-size: 0.9375rem; color: var(--fg-muted); line-height: 1.7; margin-bottom: 0.875rem; }
.legal-section ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 0.875rem; }
.legal-section li { font-size: 0.9375rem; color: var(--fg-muted); line-height: 1.65; margin-bottom: 0.3rem; }
.legal-section a  { color: var(--primary); }

.legal-updated {
  font-size: 0.8125rem;
  color: var(--fg-subtle);
  margin-bottom: 2rem;
  text-align: center;
}

/* ── Peedle page ───────────────────────────────── */
.peedle-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(43,108,176,0.04) 0%, var(--bg) 50%, rgba(43,108,176,0.04) 100%);
  padding-block: 3.5rem 4rem;
}
@media (min-width: 768px) { .peedle-hero { padding-block: 5rem 5.5rem; } }

.peedle-hero__grid {
  display: grid;
  gap: 2rem 3rem;
  align-items: center;
}
@media (min-width: 1024px) { .peedle-hero__grid { grid-template-columns: 1fr 1fr; } }

.peedle-hero h1 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); margin-bottom: 1rem; }
.peedle-hero p   { font-size: 1.0625rem; color: var(--fg-muted); line-height: 1.65; margin-bottom: 0.875rem; }

/* SVG gauge illustration */
.gauge-wrap { display: flex; justify-content: center; }
.peedle-gauge {
  width: 100%;
  max-width: 320px;
}

.peedle-content { background: var(--bg); }
.peedle-section { margin-bottom: 3rem; }
.peedle-section:last-child { margin-bottom: 0; }
.peedle-section h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; }
.peedle-section p  { font-size: 0.9375rem; color: var(--fg-muted); line-height: 1.7; margin-bottom: 0.875rem; }
.peedle-section p:last-child { margin-bottom: 0; }
.peedle-section p strong { color: var(--fg); font-weight: 600; }

/* FAQs on peedle page reuse .faq-* */

/* ── 404 page ──────────────────────────────────── */
.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 1.5rem;
  min-height: 60vh;
}
.not-found__code {
  font-size: clamp(5rem, 15vw, 9rem);
  font-weight: 700;
  color: var(--primary-10);
  line-height: 1;
  letter-spacing: -0.05em;
}
.not-found h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 0.5rem; margin-bottom: 0.75rem; }
.not-found p  { font-size: 1rem; color: var(--fg-muted); margin-bottom: 1.5rem; max-width: 28rem; }

/* ── Utilities ──────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Responsive: mobile nav ───────────────────────── */
@media (max-width: 767px) {
  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1rem;
    gap: 0.25rem;
    box-shadow: var(--shadow-lg);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.65rem 0.75rem; border-radius: 8px; font-size: 1rem; }

  .site-header { position: relative; }
  .site-header__inner { position: relative; }
}

@media (max-width: 640px) {
  :root { --section-py: 3rem; }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }
}
