/* SDRecover — Modern Apple Pro Aesthetic Design System (Default Light Theme) */

/* ==========================================================================
   Design Tokens & Variables (Light Theme as Default)
   ========================================================================== */
:root {
  /* Default: Modern Studio Light Theme */
  --bg: #f8fafc;
  --bg-gradient: radial-gradient(1100px 550px at 50% -5%, rgba(2, 132, 199, 0.07), transparent 70%),
                 radial-gradient(900px 450px at 90% 10%, rgba(99, 102, 241, 0.04), transparent 60%),
                 linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  --surface: #ffffff;
  --surface-secondary: #f1f5f9;
  --surface-tertiary: #e2e8f0;
  --surface-glass: rgba(255, 255, 255, 0.85);
  --surface-glass-border: rgba(255, 255, 255, 0.6);
  --surface-card: #ffffff;
  --surface-card-hover: #ffffff;

  --ink: #090d16;
  --ink-soft: #334155;
  --muted: #64748b;
  --muted-light: #94a3b8;

  --border: rgba(15, 23, 42, 0.09);
  --border-subtle: rgba(15, 23, 42, 0.05);
  --border-highlight: rgba(2, 132, 199, 0.35);

  /* Recovery Sapphire Accent */
  --accent: #0284c7;
  --accent-hover: #0369a1;
  --accent-light: #38bdf8;
  --accent-soft: rgba(2, 132, 199, 0.1);
  --accent-glow: rgba(2, 132, 199, 0.22);
  --accent-amber: #d97706;
  --accent-amber-soft: rgba(217, 119, 6, 0.12);
  --accent-emerald: #059669;
  --accent-emerald-soft: rgba(5, 150, 105, 0.12);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.02);
  --shadow-md: 0 10px 30px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 24px 60px -12px rgba(15, 23, 42, 0.12), 0 8px 24px -4px rgba(15, 23, 42, 0.04);
  --shadow-window: 0 28px 70px -15px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(15, 23, 42, 0.08);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro", "Inter", system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", "Inter", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;

  --max: 1140px;
  --narrow: 780px;

  color-scheme: light;
}

/* Explicit Dark Theme */
[data-theme="dark"] {
  --bg: #0b0f17;
  --bg-gradient: radial-gradient(1200px 600px at 50% -10%, rgba(2, 132, 199, 0.15), transparent 70%),
                 radial-gradient(900px 500px at 90% 15%, rgba(99, 102, 241, 0.08), transparent 60%),
                 linear-gradient(180deg, #0b0f17 0%, #070a10 100%);
  --surface: #111827;
  --surface-secondary: #182235;
  --surface-tertiary: #1f293d;
  --surface-glass: rgba(17, 24, 39, 0.84);
  --surface-glass-border: rgba(255, 255, 255, 0.12);
  --surface-card: rgba(255, 255, 255, 0.038);
  --surface-card-hover: rgba(255, 255, 255, 0.065);

  --ink: #f8fafc;
  --ink-soft: #cbd5e1;
  --muted: #94a3b8;
  --muted-light: #64748b;

  --border: rgba(255, 255, 255, 0.09);
  --border-subtle: rgba(255, 255, 255, 0.04);
  --border-highlight: rgba(56, 189, 248, 0.45);

  --accent: #38bdf8;
  --accent-hover: #7dd3fc;
  --accent-light: #bae6fd;
  --accent-soft: rgba(56, 189, 248, 0.16);
  --accent-glow: rgba(56, 189, 248, 0.35);
  --accent-amber: #fbbf24;
  --accent-amber-soft: rgba(251, 191, 36, 0.18);
  --accent-emerald: #34d399;
  --accent-emerald-soft: rgba(52, 211, 153, 0.18);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px -4px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 60px -12px rgba(0, 0, 0, 0.7);
  --shadow-window: 0 30px 80px -15px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.1);

  color-scheme: dark;
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  font: 16px/1.6 var(--font-body);
  color: var(--ink);
  background: var(--bg);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}

a:hover {
  color: var(--accent-hover);
}

::selection {
  background: var(--accent-soft);
  color: var(--accent);
}

.wrap,
.site-header__inner,
.site-footer__inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ==========================================================================
   Navigation Bar (Frosted Glass Header)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  background: var(--surface-glass);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-decoration: none;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 3px 10px var(--accent-glow);
  overflow: hidden;
}

.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-icon svg {
  width: 18px;
  height: 18px;
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 550;
  letter-spacing: -0.01em;
}

.nav-links a {
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  transition: all 0.15s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"],
.nav-links a.current {
  color: var(--ink);
  background: var(--surface-secondary);
}

/* Language Switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  background: var(--surface-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.18rem 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.lang-btn {
  padding: 0.18rem 0.38rem;
  border-radius: 4px;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.15s ease;
}

.lang-btn:hover {
  color: var(--ink);
}

.lang-btn.active {
  color: var(--accent);
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.lang-divider {
  color: var(--muted-light);
  opacity: 0.4;
  font-size: 0.75rem;
  user-select: none;
}

/* Theme Toggle Button */
.theme-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ink-soft);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  padding: 0;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.theme-toggle:hover {
  background: var(--surface-secondary);
  color: var(--ink);
  border-color: var(--muted-light);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

/* Light Theme shows Moon icon (click to make dark), Dark Theme shows Sun icon */
.theme-toggle .sun-icon { display: none; }
.theme-toggle .moon-icon { display: block; }

[data-theme="dark"] .theme-toggle .sun-icon { display: block; }
[data-theme="dark"] .theme-toggle .moon-icon { display: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff !important;
  box-shadow: 0 2px 10px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--surface-secondary);
  border-color: var(--border-highlight);
  color: var(--ink);
  transform: translateY(-1px);
}

.btn-lg {
  font-size: 1.02rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-md);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.45rem;
  cursor: pointer;
  color: var(--ink);
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 4.5rem 0 3.5rem;
  text-align: center;
}

.hero__header {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--border-highlight);
  margin-bottom: 1.5rem;
}

.pill-badge svg {
  width: 14px;
  height: 14px;
}

.pill-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin: 0 0 1.25rem;
  color: var(--ink);
}

.hero__headline {
  font-size: clamp(1.2rem, 2.8vw, 1.65rem);
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: -0.025em;
  line-height: 1.35;
  margin: 0 0 1.1rem;
}

.hero__lead {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 660px;
  margin: 0 0 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.proof-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.86rem;
  font-weight: 550;
  color: var(--ink-soft);
  padding: 0.75rem 1.25rem;
  border-radius: 100px;
  background: var(--surface-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.proof-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.proof-item svg {
  width: 15px;
  height: 15px;
  color: var(--accent-emerald);
}

/* ==========================================================================
   Hero / docs screenshots
   ========================================================================== */
.hero-screenshot {
  margin: 3.5rem auto 0;
  max-width: 1040px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-window);
  overflow: hidden;
  background: var(--surface);
}

.hero-screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

.docs-screenshot {
  margin: 1.5rem 0 2rem;
  max-width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  background: var(--surface);
}

.docs-screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Sections & Typography
   ========================================================================== */
.section {
  padding: 5rem 0;
}

.section--tight {
  padding: 3.5rem 0;
}

.section--secondary {
  background: var(--surface-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section__intro {
  max-width: 680px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section__intro--left {
  text-align: left;
  margin-inline: 0;
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.18;
  margin: 0 0 0.9rem;
  color: var(--ink);
}

.section__text {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}

/* ==========================================================================
   Workflow Steps
   ========================================================================== */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.workflow-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.workflow-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-md);
}

.workflow-card__number {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.workflow-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
  color: var(--ink);
}

.workflow-card__text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* ==========================================================================
   Bento Grid Section
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.bento-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-md);
}

.bento-card--span-2 {
  grid-column: span 2;
}

.bento-card--span-3 {
  grid-column: span 3;
}

.bento-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
}

.bento-card__icon svg {
  width: 22px;
  height: 22px;
}

.bento-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 0.75rem;
  color: var(--ink);
}

.bento-card__text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.bento-card__media {
  margin: 1.5rem 0 0.5rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-secondary);
}

.bento-card__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
}

.bento-card__link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* ==========================================================================
   Pricing Section & Lemon Squeezy Box
   ========================================================================== */
.pricing-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--surface);
  border: 2px solid var(--border-highlight);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.4;
}

.pricing-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.85rem;
}

.pricing-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.8rem;
  color: var(--ink);
}

.pricing-desc {
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.pricing-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.pricing-feature-item svg {
  width: 17px;
  height: 17px;
  color: var(--accent-emerald);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.pricing-checkout-box {
  background: var(--surface-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 0.35rem;
}

.pricing-amount .currency {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
}

.pricing-amount .price {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--ink);
  line-height: 1;
}

.pricing-period {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.pricing-trust-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 1rem;
}

.pricing-trust-notice svg {
  width: 14px;
  height: 14px;
  color: var(--accent-emerald);
}

/* ==========================================================================
   Documentation / Support Layout (Sticky Sidebar + Article)
   ========================================================================== */
.docs-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 3.5rem;
  padding: 3rem 0 6rem;
  align-items: start;
}

.docs-sidebar {
  position: sticky;
  top: 5.5rem;
  padding-bottom: 2rem;
  max-height: calc(100vh - 6rem);
  overflow-y: auto;
}

.docs-toc {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.9rem;
}

.docs-toc strong {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-light);
  margin-bottom: 0.75rem;
  display: block;
}

.docs-toc a {
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-sm);
  color: var(--muted);
  transition: all 0.15s ease;
  line-height: 1.4;
}

.docs-toc a:hover {
  color: var(--ink);
  background: var(--surface-secondary);
}

.docs-toc a.active {
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 600;
}

.docs-content {
  min-width: 0;
}

.docs-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 2rem;
  margin-bottom: 2.5rem;
}

.docs-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--ink);
}

.docs-lead {
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.platform-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.platform-pill {
  padding: 0.35rem 0.8rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--surface-secondary);
  color: var(--ink-soft);
  border: 1px solid var(--border);
  transition: all 0.15s ease;
}

.platform-pill:hover,
.platform-pill.active {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--border-highlight);
}

.docs-content section {
  margin-bottom: 4rem;
}

.docs-content h2 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 1.15rem;
  padding-top: 1rem;
  color: var(--ink);
  border-top: 1px solid var(--border-subtle);
}

.docs-content section:first-of-type h2 {
  border-top: none;
  padding-top: 0;
}

.docs-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 1.75rem 0 0.8rem;
  color: var(--ink);
}

.docs-content p, .docs-content ul, .docs-content ol {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 1.2rem;
}

.docs-content ul, .docs-content ol {
  padding-left: 1.4rem;
}

.docs-content li {
  margin-bottom: 0.5rem;
}

/* Callouts */
.callout-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
  margin: 1.5rem 0;
  box-shadow: var(--shadow-sm);
}

.callout-card--highlight {
  border-left-color: var(--accent-emerald);
  background: var(--accent-emerald-soft);
}

.callout-card--warning {
  border-left-color: var(--accent-amber);
  background: var(--accent-amber-soft);
}

.callout-card p:last-child {
  margin-bottom: 0;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  text-align: left;
}

.data-table th {
  background: var(--surface-secondary);
  color: var(--ink);
  font-weight: 650;
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.data-table td {
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--ink-soft);
  vertical-align: top;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: var(--surface-secondary);
}

/* Badges */
.badge-yes {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
  color: var(--accent-emerald);
  background: var(--accent-emerald-soft);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-size: 0.82rem;
}

.badge-info {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-size: 0.82rem;
}

.badge-no {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface-tertiary);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-size: 0.82rem;
}

/* Code & Shortcuts */
kbd {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--surface-secondary);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 1px 1px rgba(0,0,0,0.05);
  color: var(--ink);
}

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  background: var(--surface-secondary);
  color: var(--accent);
  border: 1px solid var(--border-subtle);
}

pre {
  background: var(--surface-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.4rem;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 1.25rem 0;
}

pre code {
  background: none;
  border: none;
  padding: 0;
  color: var(--ink);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 2.75rem 0 3.5rem;
  margin-top: auto;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--ink);
  font-size: 1.05rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.88rem;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-meta {
  width: 100%;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--muted-light);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 960px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card--span-2,
  .bento-card--span-3 {
    grid-column: span 1;
  }
  .pricing-card {
    grid-template-columns: 1fr;
    padding: 2.25rem 1.75rem;
  }
  .docs-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .docs-sidebar {
    position: static;
    max-height: none;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
  }
}

@media (max-width: 1100px) {
  .nav-links {
    gap: 0.15rem;
    font-size: 0.86rem;
  }
  .nav-links a {
    padding: 0.4rem 0.55rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1.25rem;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .site-header {
    position: relative;
  }
  .nav-actions .btn-primary span,
  .nav-actions .btn-secondary span {
    display: none;
  }
  .nav-actions .btn {
    padding: 0.55rem 0.7rem;
  }
  .hero {
    padding: 3rem 0 2rem;
  }
  .proof-bar {
    border-radius: var(--radius-md);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}
