/* DO NOT EDIT — generated file */
/* Shared base styles for all allme.fyi / allus.fyi static pages.
   Pair with theme-allme.css or theme-allus.css (brand tokens). */

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

:root {
  --bg: #ffffff;
  --bg-card: #ffffff;
  --text: #374151;
  --text-heading: #111827;
  --text-muted: #6b7280;
  --text-faint: #9ca3af;
  --nav-bg: rgba(255, 255, 255, 0.85);
  --border: #e5e7eb;
  --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  --green: #059669;
  --ghost-border: #d1d5db;
  --ghost-text: #374151;
  --dash-color: #d1d5db;
  --dash-text: #9ca3af;
  --section-alt: #f9fafb;
  --nav-height: 78px;
}

[data-theme="dark"] {
  --bg: #0f172a;
  --bg-card: #1e293b;
  --text: #cbd5e1;
  --text-heading: #ffffff;
  --text-muted: #94a3b8;
  --text-faint: #475569;
  --nav-bg: rgba(15, 23, 42, 0.8);
  --border: rgba(148, 163, 184, 0.15);
  --card-shadow: none;
  --green: #34d399;
  --ghost-border: #334155;
  --ghost-text: #cbd5e1;
  --dash-color: #334155;
  --dash-text: #334155;
  --section-alt: rgba(148, 163, 184, 0.04);
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 1rem); }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nav-border);
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.nav-logo-mark { height: 28px; width: auto; flex-shrink: 0; }
.nav-logo-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.02em;
}
.nav-logo-text span { font-weight: 500; color: var(--text-muted); }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-heading); }
.nav-cta {
  padding: 0.5rem 1.25rem;
  background: var(--brand-1);
  color: #ffffff !important;
  border-radius: 0.5rem;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.15s !important;
}
.nav-cta:hover { background: var(--brand-2); transform: translateY(-1px); }

#theme-toggle, .mobile-theme-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.4rem;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, border-color 0.2s;
}
#theme-toggle:hover, .mobile-theme-btn:hover { color: var(--text-heading); border-color: var(--border-hover); }
#theme-toggle svg, .mobile-theme-btn svg { width: 18px; height: 18px; }

/* ── MOBILE NAV ── */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 0.25rem;
  transition: color 0.2s;
}
.nav-hamburger:hover { color: var(--text-heading); }
.nav-hamburger svg { width: 24px; height: 24px; }

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: var(--bg);
  padding: 5rem 2rem 2rem;
  flex-direction: column;
  gap: 0.25rem;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  color: var(--text);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--text-heading); }
.mobile-menu .mobile-cta {
  margin-top: 0.75rem;
  padding: 0.85rem;
  background: var(--brand-1);
  color: #ffffff;
  border-radius: 0.625rem;
  font-weight: 600;
  text-align: center;
  border-bottom: none;
  transition: background 0.2s;
}
.mobile-menu .mobile-cta:hover { background: var(--brand-2); color: #ffffff; }
.mobile-theme-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.mobile-theme-row span { font-size: 1.1rem; font-weight: 500; color: var(--text); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 6rem;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  max-width: 1100px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 4rem;
}
.hero-text { flex: 1; }
.hero-visual { flex: 1.1; display: flex; justify-content: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--badge-color);
  margin-bottom: 2rem;
}
.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--badge-dot);
  border-radius: 50%;
}
.hero h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 400;
  color: var(--text-heading);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}
.hero h1 .gradient {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-glow {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  pointer-events: none;
}

/* ── HERO PHOTO ── */
.hero-photo { position: relative; width: 100%; max-width: 520px; }
.hero-photo > picture > img, .hero-photo > img {
  width: 100%;
  border-radius: 1rem;
  display: block;
  box-shadow: 0 18px 50px var(--accent-soft);
}
.float-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.16);
  padding: 0.6rem 0.8rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text);
}
.float-card b { display: block; }
.float-card.good b { color: var(--green); }
.float-card.locked b { color: var(--brand-1); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 0.625rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--brand-1);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--brand-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-border);
}
.btn-ghost {
  background: transparent;
  color: var(--ghost-text);
  border: 1px solid var(--ghost-border);
}
.btn-ghost:hover {
  border-color: var(--border-hover);
  color: var(--text-heading);
  transform: translateY(-2px);
}
.btn svg { width: 18px; height: 18px; }

/* ── SECTION COMMON ── */
section { padding: 6rem 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-1);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  color: var(--text-heading);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}
.section-header-center { text-align: center; margin-bottom: 4rem; }
.section-header-center .section-subtitle { margin: 0 auto; }

/* ── PROBLEM SECTION ── */
.problem-grid { display: flex; gap: 2.5rem; align-items: center; }
.problem-grid > * { flex: 1; }
.problem-grid picture img, .problem-grid > img { width: 100%; border-radius: 0.875rem; }
.bubbles { display: flex; flex-direction: column; gap: 0.6rem; }
.bubble {
  padding: 0.6rem 0.9rem;
  border-radius: 1rem 1rem 1rem 0.25rem;
  background: var(--section-alt);
  border: 1px solid var(--border);
  font-size: 0.92rem;
  align-self: flex-start;
  max-width: 85%;
}
.bubble.alt {
  border-radius: 1rem 1rem 0.25rem 1rem;
  background: var(--accent-soft);
  border-color: transparent;
  align-self: flex-end;
}
.pivot {
  margin-top: 2rem;
  text-align: center;
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(90deg, var(--accent-soft), transparent 50%, var(--accent-soft));
}
.pivot .pivot-lead {
  font-family: 'Instrument Serif', serif;
  font-size: 1.15rem;
  color: var(--text-heading);
}
.pivot .pivot-punch {
  display: block;
  margin-top: 0.25rem;
  font-weight: 600;
  color: var(--brand-1);
}

/* ── STEPS (photo grid) ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 980px;
  margin: 0 auto;
}
.steps-grid picture img, .steps-grid .step-photo {
  width: 100%;
  border-radius: 0.75rem;
  aspect-ratio: 1;
  object-fit: cover;
}
.steps-grid h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-heading);
  margin: 1rem 0 0.35rem;
}
.steps-grid .step-num { color: var(--brand-1); margin-right: 0.4rem; font-weight: 700; }
.steps-grid p { font-size: 0.95rem; line-height: 1.6; }

/* ── STEPS (legacy numbered list — deep-dive/secondary use) ── */
.steps { display: flex; flex-direction: column; gap: 0; max-width: 640px; margin: 0 auto; }
.step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-content { flex: 1; }
.step-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 0.4rem;
}
.step-content p { font-size: 0.95rem; line-height: 1.6; }

/* ── FEATURE ROWS (image + text) ── */
.feature-row {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 4rem;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse { flex-direction: row-reverse; }
.feature-row > * { flex: 1; }
.feature-row picture img, .feature-row > img { width: 100%; border-radius: 0.875rem; }
.feature-row h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--text-heading);
  margin-bottom: 0.75rem;
}
.feature-row p { font-size: 1rem; color: var(--text-muted); line-height: 1.7; }
.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--brand-1);
  text-decoration: none;
  transition: color 0.2s;
}
.learn-more:hover { color: var(--brand-2); }
.learn-more svg { width: 14px; height: 14px; }

/* ── MINI CARDS ── */
.mini-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
.mini-card {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.25rem;
  background: var(--bg-card);
  transition: border-color 0.2s;
}
.mini-card:hover { border-color: var(--border-hover); }
.mini-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 0.35rem;
}
.mini-card p { font-size: 0.85rem; line-height: 1.55; margin-bottom: 0.5rem; }

/* ── FEATURE GRID (icon cards — secondary pages) ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}
.feature-card:hover .feature-icon { opacity: 1; }
.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--icon-bg);
  border-radius: 0.75rem;
  margin-bottom: 1.25rem;
  color: var(--icon-color);
  opacity: 0.7;
  transition: opacity 0.2s;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}
.feature-card p { font-size: 0.9rem; line-height: 1.6; }

/* ── BAND (dark accent banner) ── */
.band {
  border-radius: 1rem;
  padding: 3rem 2rem;
  text-align: center;
  background: var(--band-grad);
}
.band h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 0.6rem;
}
.band p { color: rgba(255, 255, 255, 0.75); font-size: 0.98rem; }
.band a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  color: #ffffff;
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 1px;
}
.band a:hover { border-bottom-color: #ffffff; }

/* ── PLATFORMS ── */
.platforms { background: var(--section-alt); text-align: center; }
.platforms-photo { max-width: 760px; margin: 3rem auto 0; }
.platforms-photo picture img, .platforms-photo img { width: 100%; border-radius: 0.875rem; }
.platform-strip {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.platform-item { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.platform-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--icon-bg);
  border-radius: 1rem;
  color: var(--icon-color);
}
.platform-icon svg { width: 28px; height: 28px; }
.platform-item h3 { font-size: 1rem; font-weight: 600; color: var(--text-heading); }
.badge-available {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.25);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
}
.badge-soon {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--badge-color);
}

/* ── PRICING ── */
.pricing { background: var(--section-alt); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto auto;
  gap: 2rem;
}
.pricing-card {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  row-gap: 0;
  padding: 2.5rem 2rem;
  background: var(--bg-card);
  border: none;
  border-radius: 1rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s;
  position: relative;
}
.pricing-card:hover { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1); }
.pricing-card.popular {
  border-top: 3px solid var(--brand-1);
  box-shadow: var(--popular-shadow);
}
.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 1rem;
  background: var(--brand-grad);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
}
.pricing-header-inner {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.pricing-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}
.pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.2;
}
.pricing-price span { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.pricing-annual { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.25rem; }
.pricing-rate { font-size: 0.85rem; color: var(--text-heading); font-weight: 600; margin-top: 0.5rem; }
.pricing-verified-note { text-align: center; color: var(--text-heading); font-weight: 600; font-size: 0.85rem; margin: 1.5rem auto 0; }
.pricing-metering-note { text-align: center; color: var(--text-muted); font-size: 0.85rem; margin-top: 2rem; }
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}
.pricing-features li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; }
.check-icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--green); }
.dash-icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--dash-color); }
.dash-text { color: var(--dash-text); }

/* ── CTA ── */
.cta-section { padding: 6rem 2rem; text-align: center; }
.cta-box {
  max-width: 640px;
  margin: 0 auto;
  padding: 4rem 3rem;
  background: var(--accent-soft);
  border: none;
  border-radius: 1.5rem;
}
.cta-box h2, .cta-photo h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 400;
  color: var(--text-heading);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.cta-box p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.cta-photo {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 1.25rem;
  overflow: hidden;
}
.cta-photo picture img, .cta-photo > img { width: 100%; display: block; filter: brightness(0.45); }
.cta-photo .cta-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}
.cta-photo h2 { color: #ffffff; }
.cta-photo p { color: rgba(255, 255, 255, 0.85); font-size: 1.05rem; margin-bottom: 2rem; }

/* ── BACK LINK ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.back-link:hover { color: var(--text-heading); }

/* ── DEEP-DIVE PAGES ── */
.dd-hero { padding: 9rem 2rem 4rem; }
.dd-hero .section-inner { max-width: 900px; }
.dd-hero h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  font-weight: 400;
  color: var(--text-heading);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}
.dd-hero .dd-promise {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.7;
}
.dd-hero picture img, .dd-hero .dd-hero-img {
  width: 100%;
  border-radius: 1rem;
  margin-top: 2.5rem;
}
.dd-sections { padding-top: 2rem; }
.dd-sections .section-inner { max-width: 900px; }
.related-row { margin-top: 4rem; }
.related-row h4 {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.related-row .mini-cards { margin-top: 0; grid-template-columns: repeat(2, 1fr); }
.dd-block { margin-bottom: 4.5rem; }
.dd-block > .section-title { text-align: center; margin-bottom: 2rem; }

/* Deep-dive "why" cards: three benefits side by side. */
.dd-why {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.dd-why-card {
  border: 1px solid var(--border);
  border-radius: 0.875rem;
  padding: 1.5rem;
  background: var(--bg-card);
}
.dd-why-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 0.4rem;
}
.dd-why-card p { font-size: 0.93rem; line-height: 1.6; color: var(--text-muted); }

/* Deep-dive steps illustrated with app screenshots: two columns, each screenshot shown
   whole at its own portrait ratio inside a phone-like frame. */
.steps-grid.dd-shots { grid-template-columns: repeat(2, 1fr); gap: 3rem 2.5rem; max-width: 820px; }
.steps-grid.dd-shots picture { display: block; text-align: center; }
.steps-grid.dd-shots picture img {
  width: auto;
  max-width: 100%;
  max-height: 540px;
  aspect-ratio: auto;
  object-fit: contain;
  border: 7px solid #111827;
  border-radius: 1.75rem;
  box-shadow: 0 0 0 1px var(--border), 0 14px 36px rgba(0, 0, 0, 0.14);
}

/* Deep-dive hero animation: a <figure class="dd-anim" data-anim> holding the captions (one
   per scene, above the drawing), one inline SVG with one <g class="dd-anim-scene"> per scene,
   and a replay button. Without the player (no script, or prefers-reduced-motion) the LAST
   scene is shown still, every caption is listed and the replay button stays hidden; the player
   adds .is-running and moves .is-active from scene to scene. */
.dd-anim {
  position: relative;
  margin-top: 2.5rem;
  padding: 1.25rem 1.25rem 1rem;
  border-radius: 1rem;
  background: var(--accent-soft);
  --anim-surface: var(--bg-card);
  --anim-ink: var(--text-heading);
  --anim-muted: var(--text-faint);
  --anim-warm: #f59e0b;
  --anim-warm-soft: rgba(245, 158, 11, 0.2);
  --anim-love: #f43f5e;
  --anim-alert: #ef4444;
  --anim-wood: #d9a877;
}
.dd-anim-stage { display: block; width: 100%; height: auto; color: var(--anim-ink); overflow: visible; }
.dd-anim-scene { opacity: 0; visibility: hidden; transition: opacity 0.45s ease, visibility 0s linear 0.45s; }
.dd-anim:not(.is-running) .dd-anim-scene:last-of-type,
.dd-anim.is-running .dd-anim-scene.is-active { opacity: 1; visibility: visible; transition: opacity 0.45s ease; }
.dd-anim.is-paused .dd-anim-scene,
.dd-anim.is-paused .dd-anim-scene * { animation-play-state: paused; }
.dd-anim-captions { margin-bottom: 0.75rem; }
.dd-anim-caption { font-size: 1.3rem; font-weight: 600; line-height: 1.55; color: var(--text); text-align: center; }
.dd-anim:not(.is-running) .dd-anim-captions { list-style: decimal; padding-left: 1.4rem; }
.dd-anim:not(.is-running) .dd-anim-caption { display: list-item; text-align: left; margin-bottom: 0.35rem; }
/* While running, every caption sits in the same grid cell, so the caption block is as tall as
   the longest caption and the drawing below it never moves between scenes. The side padding
   keeps the text clear of the replay button in the top-right corner. */
.dd-anim.is-running .dd-anim-captions { display: grid; padding: 0 2.5rem; }
.dd-anim.is-running .dd-anim-caption { grid-area: 1 / 1; align-self: center; visibility: hidden; }
.dd-anim.is-running .dd-anim-caption.is-active { visibility: visible; }
.dd-anim-replay {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.dd-anim.is-running .dd-anim-replay { display: flex; }
.dd-anim-replay:hover { color: var(--text-heading); border-color: var(--border-hover); }
.dd-anim-replay:focus-visible { outline: 2px solid var(--brand-1); outline-offset: 2px; }
.dd-anim-replay svg { width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) {
  .dd-anim-scene, .dd-anim-scene * { animation: none !important; transition: none !important; }
}

/* ── FAQ ── */
.faq { max-width: 760px; margin: 0 auto; }
.faq h2 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-heading);
  margin: 2.5rem 0 0.5rem;
}
.faq details { border-bottom: 1px solid var(--border); padding: 1rem 0; }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text-heading);
  font-size: 1rem;
  list-style-position: outside;
}
.faq summary:hover { color: var(--brand-1); }
.faq details p { margin-top: 0.6rem; font-size: 0.95rem; line-height: 1.7; }

/* ── FOOTER ── */
footer {
  padding: 3rem 2rem 2.5rem;
  border-top: 1px solid var(--border);
}
.footer-cols {
  max-width: 1100px;
  margin: 0 auto 2rem;
  display: flex;
  gap: 4rem;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-brand { display: flex; flex-direction: column; gap: 0.5rem; min-width: 140px; }
.footer-brand .nav-logo-text { font-size: 1.1rem; }
.footer-cols h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 0.6rem;
}
.footer-cols a {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: none;
  padding: 0.15rem 0;
  transition: color 0.2s;
}
.footer-cols a:hover { color: var(--text-heading); }
.footer-copy { text-align: center; font-size: 0.85rem; color: var(--text-faint); }
.footer-links { margin-bottom: 1rem; text-align: center; }
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-heading); }
.footer-links span { color: var(--text-faint); margin: 0 0.5rem; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .mini-cards { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero { min-height: auto; padding: 7rem 1.5rem 4rem; }
  .hero-inner { flex-direction: column; gap: 2.5rem; }
  .hero-text { text-align: center; }
  .hero p { margin: 0 auto 2.5rem; }
  .hero-actions { justify-content: center; }
  .hero-photo { max-width: 420px; }
  .float-card { font-size: 0.7rem; }
  section { padding: 4rem 1.5rem; }
  .problem-grid, .feature-row, .feature-row.reverse { flex-direction: column; gap: 1.75rem; }
  .steps-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .mini-cards { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .platform-strip { gap: 2rem; }
  .cta-box { padding: 3rem 1.5rem; }
  .cta-photo picture img, .cta-photo > img { min-height: 300px; object-fit: cover; }
  .related-row .mini-cards { grid-template-columns: 1fr; }
  .footer-cols { gap: 2rem; }
  .dd-hero { padding: 7rem 1.5rem 3rem; }
  .dd-why { grid-template-columns: 1fr; }
  .steps-grid.dd-shots { grid-template-columns: 1fr; max-width: 420px; }
  .steps-grid.dd-shots picture img { max-height: 480px; }
  .dd-anim { padding: 0.75rem 0.75rem 0.75rem; }
}

/* ── COOKIE CONSENT BANNER ── */
/* Each view (the normal choice, and the rare storage-failure notice) is a layout-transparent
   wrapper so its children participate directly in .consent-banner's own flex row — the same
   layout either view uses. JS toggles which one is `display:none`; the other reverts to this
   `contents` value via an empty inline style. */
.consent-banner-view { display: contents; }
.consent-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 300;
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}
.consent-banner p {
  flex: 1 1 260px;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text);
}
.consent-banner p a { color: var(--brand-1); text-decoration: underline; }
.consent-banner-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}
.consent-btn {
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: opacity 0.2s, background 0.2s, border-color 0.2s;
}
.consent-btn-primary {
  background: var(--brand-grad, var(--brand-1));
  color: #fff;
  border: none;
}
.consent-btn-primary:hover { opacity: 0.9; }
.consent-btn-ghost {
  background: none;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.consent-btn-ghost:hover { color: var(--text-heading); border-color: var(--border-hover, var(--border)); }
@media (max-width: 640px) {
  .consent-banner { flex-direction: column; align-items: stretch; }
  .consent-banner-actions { justify-content: flex-end; }
}
