/* ============================================================
   FONTS — self-hosted (SIL OFL 1.1, licences in fonts/). No third-party requests.
   ============================================================ */
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/atkinson-hyperlegible-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/atkinson-hyperlegible-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/atkinson-hyperlegible-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/atkinson-hyperlegible-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/atkinson-hyperlegible-400-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/atkinson-hyperlegible-400-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/atkinson-hyperlegible-700-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/atkinson-hyperlegible-700-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg:not(.lucide) { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input { font: inherit; color: inherit; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* Skip link: visible only when focused */
.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 8px 16px;
  background: var(--c-accent);
  color: var(--c-accent-text);
  border-radius: var(--radius-md);
  font-weight: 600;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

main:focus { outline: none; }

/* Hidden container for the <symbol> icon sprite */
.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ============================================================
   LUCIDE ICONS
   ============================================================ */
.icon { width: 1em; height: 1em; }
.icon--sm { width: 0.85em; height: 0.85em; }
.icon--input { width: 18px; height: 18px; color: var(--c-text-muted); flex-shrink: 0; }
.icon--social { width: 18px; height: 18px; flex-shrink: 0; }

/* Inline SVG sprite icons (same stroke defaults the Lucide runtime used to set) */
.lucide {
  display: inline-block;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================================
   CSS CUSTOM PROPERTIES — CELESTIAL ROSE
   ============================================================ */
:root {
  /* Typography */
  --font-display: 'Atkinson Hyperlegible', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-weight-display: 300;
  --font-weight-body: 400;
  --font-weight-bold: 600;
  --letter-spacing-display: 0.04em;
  --letter-spacing-body: -0.01em;
  --text-transform-display: uppercase;
  --font-style-display: normal;

  /* Colors — Deep navy base + electric rose/pink accents */
  --c-bg: oklch(11% 0.025 280);
  --c-bg-alt: oklch(14% 0.03 280);
  --c-bg-card: oklch(17% 0.035 280);
  --c-surface: oklch(19% 0.035 280);
  --c-border: oklch(28% 0.04 290);
  --c-text: oklch(92% 0.01 290);
  --c-text-muted: oklch(68% 0.02 290);
  --c-accent: oklch(72% 0.19 335);
  --c-accent-hover: oklch(78% 0.21 335);
  --c-accent-text: oklch(10% 0.02 280);
  --c-accent-secondary: oklch(72% 0.12 210);
  --c-hero-gradient-1: oklch(10% 0.025 280);
  --c-hero-gradient-2: oklch(13% 0.04 310);
  --c-feature-icon: oklch(72% 0.19 335);
  --c-step-number: oklch(72% 0.19 335);
  --c-deck-bg: oklch(15% 0.035 280);
  --c-quote-border: oklch(72% 0.19 335);
  --c-footer-bg: oklch(9% 0.02 280);
  --c-input-bg: oklch(15% 0.035 280);
  --c-input-border: oklch(28% 0.04 290);
  --c-btn-secondary-bg: transparent;
  --c-btn-secondary-border: oklch(72% 0.19 335);
  --c-btn-secondary-text: oklch(72% 0.19 335);

  /* Layout */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Decorative */
  --hero-decoration: '';
  --section-separator: none;
  --card-shadow: 0 4px 24px oklch(72% 0.19 335 / 0.08);
  --btn-shadow: 0 0 24px oklch(72% 0.19 335 / 0.2);

  /* Component colors (extracted from hardcoded oklch) */
  --c-navbar-glass: oklch(11% 0.025 280 / 0.85);
  --c-navbar-glass-border: oklch(28% 0.04 290 / 0.4);
  --c-mobile-menu-bg: oklch(11% 0.025 280 / 0.92);
  --c-hero-glow-1: oklch(72% 0.19 335 / 0.2);
  --c-hero-glow-2: oklch(72% 0.19 335 / 0.06);
  --c-phone-bg: oklch(8% 0.02 280);
  --c-phone-notch: oklch(5% 0.01 280);
  --c-hero-circle-1: oklch(72% 0.15 335 / 0.1);
  --c-hero-circle-2: oklch(72% 0.15 335 / 0.07);
  --c-hero-circle-3: oklch(70% 0.1 210 / 0.05);
  --c-deck-card-border-1: oklch(72% 0.12 210 / 0.25);
  --c-deck-card-border-2: oklch(72% 0.19 335 / 0.3);
  --c-deck-card-border-3: oklch(72% 0.12 210 / 0.2);
}

/* ---- Light theme ---- */
[data-theme="light"] {
  --c-bg: oklch(78% 0.018 290);
  --c-bg-alt: oklch(75% 0.02 290);
  --c-bg-card: oklch(77% 0.019 290);
  --c-surface: oklch(74% 0.022 290);
  --c-border: oklch(65% 0.022 290);
  --c-text: oklch(16% 0.025 280);
  --c-text-muted: oklch(35% 0.02 290);
  /* Darker accent for WCAG AA: >= 4.5:1 as text on bg/alt/card/surface/deck, 9.4:1 for button text */
  --c-accent: oklch(36% 0.2 335);
  --c-accent-hover: oklch(31% 0.18 335);
  --c-accent-text: oklch(95% 0.01 290);
  --c-accent-secondary: oklch(52% 0.14 210);
  --c-hero-gradient-1: oklch(77% 0.019 290);
  --c-hero-gradient-2: oklch(74% 0.024 310);
  --c-feature-icon: oklch(36% 0.2 335);
  --c-step-number: oklch(36% 0.2 335);
  --c-deck-bg: oklch(73% 0.02 290);
  --c-quote-border: oklch(62% 0.22 335);
  --c-footer-bg: oklch(72% 0.022 290);
  --c-input-bg: oklch(76% 0.018 290);
  --c-input-border: oklch(65% 0.022 290);
  --c-btn-secondary-bg: transparent;
  --c-btn-secondary-border: oklch(36% 0.2 335);
  --c-btn-secondary-text: oklch(36% 0.2 335);
  --card-shadow: 0 4px 24px oklch(62% 0.22 335 / 0.1);
  --btn-shadow: 0 0 24px oklch(62% 0.22 335 / 0.18);
  --c-navbar-glass: oklch(78% 0.018 290 / 0.85);
  --c-navbar-glass-border: oklch(65% 0.022 290 / 0.4);
  --c-mobile-menu-bg: oklch(78% 0.018 290 / 0.92);
  --c-hero-glow-1: oklch(62% 0.22 335 / 0.12);
  --c-hero-glow-2: oklch(62% 0.22 335 / 0.04);
  --c-phone-bg: oklch(73% 0.02 290);
  --c-phone-notch: oklch(69% 0.022 290);
  --c-hero-circle-1: oklch(62% 0.15 335 / 0.1);
  --c-hero-circle-2: oklch(62% 0.15 335 / 0.06);
  --c-hero-circle-3: oklch(52% 0.1 210 / 0.05);
  --c-deck-card-border-1: oklch(52% 0.14 210 / 0.22);
  --c-deck-card-border-2: oklch(62% 0.22 335 / 0.28);
  --c-deck-card-border-3: oklch(52% 0.14 210 / 0.18);
}

/* ============================================================
   GLOBAL LAYOUT
   ============================================================ */
body {
  font-family: var(--font-body);
  font-weight: var(--font-weight-body);
  letter-spacing: var(--letter-spacing-body);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.6;
}

.container {
  width: min(90%, 1200px);
  margin-inline: auto;
}

.container--narrow {
  width: min(90%, 800px);
  margin-inline: auto;
}

[id] { scroll-margin-top: 80px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: background-color 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}

.navbar__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
}

.navbar--scrolled {
  background: var(--c-navbar-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--c-navbar-glass-border);
}

.navbar__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: var(--font-weight-display);
  font-size: 1.3rem;
  letter-spacing: var(--letter-spacing-display);
  text-transform: var(--text-transform-display);
  color: var(--c-text);
  margin-right: auto;
}

.navbar__logo-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.navbar__links {
  display: flex;
  gap: 20px;
}

.navbar__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--c-text-muted);
  position: relative;
  transition: color 0.25s ease;
}

.navbar__link-icon.lucide {
  width: 17px;
  height: 17px;
  opacity: 0.5;
  transition: opacity 0.25s ease;
}

.navbar__link:hover .navbar__link-icon {
  opacity: 1;
}

.navbar__link--active .navbar__link-icon {
  opacity: 1;
  color: var(--c-accent);
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--c-accent);
  transition: width 0.25s ease;
}

.navbar__link:hover {
  color: var(--c-text);
}

.navbar__link--active {
  color: var(--c-accent);
}

.navbar__link--active::after {
  width: 100%;
}

.navbar__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--c-accent);
  color: var(--c-accent-text);
  border-radius: 100px;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

@keyframes cta-nudge {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(1.5deg); }
  50%  { transform: rotate(-1.5deg); }
  75%  { transform: rotate(0.5deg); }
  100% { transform: rotate(0deg); }
}

.navbar__cta--nudge {
  animation: cta-nudge 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar__cta {
  overflow: hidden;
  position: relative;
}

.navbar__cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 20%,
    rgba(255, 255, 255, 0.25) 45%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0.25) 55%,
    transparent 80%
  );
  transform: translateX(-110%);
  pointer-events: none;
}

.navbar__cta--nudge::after {
  animation: cta-shimmer 600ms cubic-bezier(0.25, 1, 0.5, 1) 100ms;
}

@keyframes cta-shimmer {
  to { transform: translateX(110%); }
}

@media (prefers-reduced-motion: reduce) {
  .navbar__cta--nudge,
  .navbar__cta--nudge::after {
    animation: none;
  }
}

.navbar__cta:hover {
  background: var(--c-accent-hover);
  transform: translateY(-1px) scale(1.05);
}

.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 0;
}

.navbar__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--c-text);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ---- Mobile menu ---- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  background: var(--c-mobile-menu-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}

.mobile-menu--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.35s ease, visibility 0s linear 0s;
}

.mobile-menu__link {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: var(--letter-spacing-display);
  text-transform: var(--text-transform-display);
  color: var(--c-text);
  transition: color 0.2s ease;
}

.mobile-menu__link:hover {
  color: var(--c-accent);
}

/* ---- Lang toggle (navbar) ---- */
.navbar__lang {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}

.navbar__lang-btn {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--c-text-muted);
  padding: 4px 6px;
  transition: color 0.2s ease;
}

.navbar__lang-btn--active {
  color: var(--c-accent);
}

.navbar__lang-sep {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  opacity: 0.5;
}

/* ---- Theme toggle (navbar) ---- */
.navbar__theme-btn {
  font-size: 1.1rem;
  color: var(--c-text-muted);
  padding: 4px;
  margin-left: 8px;
  transition: color 0.2s ease;
  line-height: 1;
}

.navbar__theme-btn:hover {
  color: var(--c-text);
}

/* ---- Mobile menu lang + theme ---- */
.mobile-menu__lang {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-menu__lang-btn {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--c-text-muted);
  padding: 4px 8px;
  transition: color 0.2s ease;
}

.mobile-menu__lang-btn--active {
  color: var(--c-accent);
}

.mobile-menu__lang-sep {
  font-size: 1rem;
  color: var(--c-text-muted);
  opacity: 0.5;
}

.mobile-menu__theme-btn {
  font-size: 1.4rem;
  color: var(--c-text-muted);
  padding: 4px;
  transition: color 0.2s ease;
  line-height: 1;
}

.mobile-menu__theme-btn:hover {
  color: var(--c-text);
}

@media (max-width: 768px) {
  .navbar__links,
  .navbar__inner > .navbar__cta,
  .navbar__lang,
  .navbar__theme-btn {
    display: none;
  }
  .navbar__burger {
    display: flex;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: clamp(120px, 16vh, 200px) 24px clamp(32px, 4vh, 60px);
  background: linear-gradient(170deg, var(--c-hero-gradient-1), var(--c-hero-gradient-2));
  position: relative;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .hero__content {
    align-items: flex-start;
  }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .hero__actions {
    justify-content: flex-start;
  }
}

.hero__mockup {
  display: flex;
  justify-content: center;
}

.hero__overline {
  font-family: var(--font-body);
  font-size: clamp(0.7rem, 1.2vw, 0.85rem);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: var(--font-weight-display);
  font-style: var(--font-style-display);
  font-size: clamp(2.5rem, 7vw, 6rem);
  letter-spacing: var(--letter-spacing-display);
  text-transform: var(--text-transform-display);
  line-height: 0.95;
  color: var(--c-text);
  margin-bottom: 24px;
  text-shadow: 0 0 80px var(--c-hero-glow-1), 0 0 160px var(--c-hero-glow-2);
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--c-text-muted);
  max-width: 540px;
  margin-bottom: 48px;
}

/* ---- App Store badge (reusable) ---- */
.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: oklch(0% 0 0);
  color: oklch(100% 0 0);
  border-radius: var(--radius-md);
  border: 1px solid oklch(40% 0 0);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.app-store-badge:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 20px oklch(0% 0 0 / 0.4);
}

.app-store-badge__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.app-store-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.app-store-badge__label {
  font-size: 0.6rem;
  font-weight: 400;
}

.app-store-badge__store {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ---- Hero ghost button ---- */
.hero__cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1.5px solid var(--c-btn-secondary-border);
  color: var(--c-btn-secondary-text);
  background: transparent;
  border-radius: var(--radius-sm);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.25s ease, color 0.25s ease;
}

.hero__cta-secondary:hover {
  transform: translateY(-2px) scale(1.05);
  background: var(--c-accent);
  color: var(--c-accent-text);
  border-color: var(--c-accent);
}

.hero__cta-secondary .icon {
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero__cta-secondary:hover .icon {
  transform: translateX(3px);
}

/* ---- Phone frame (reusable) ---- */
.phone-frame {
  position: relative;
  width: 260px;
  height: 520px;
  background: var(--c-phone-bg);
  border: 2px solid var(--c-border);
  border-radius: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.phone-frame__notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: var(--c-phone-notch);
  border-radius: 12px;
}

.phone-frame__placeholder {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  text-align: center;
}

.phone-frame__placeholder-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  opacity: 0.3;
}

.phone-frame__placeholder-icon .lucide {
  width: 48px;
  height: 48px;
}

.phone-frame--sm {
  width: 200px;
  height: 400px;
  border-radius: 28px;
}

.phone-frame--sm .phone-frame__notch {
  width: 60px;
  height: 18px;
  top: 10px;
  border-radius: 9px;
}

.hero__symbol {
  position: absolute;
  width: clamp(300px, 50vw, 600px);
  height: clamp(300px, 50vw, 600px);
  border-radius: 50%;
  border: 1px solid var(--c-hero-circle-1);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0.5;
}

.hero__symbol::before {
  content: '';
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  border: 1px solid var(--c-hero-circle-2);
  opacity: 0.6;
}

.hero__symbol::after {
  content: '';
  position: absolute;
  inset: 90px;
  border-radius: 50%;
  border: 1px solid var(--c-hero-circle-3);
  opacity: 0.4;
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  padding: clamp(80px, 10vh, 140px) 24px;
  background: var(--c-bg);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.section-header .section-label {
  margin-bottom: 0;
}

.section-header__icon.lucide {
  width: 36px;
  height: 36px;
  color: var(--c-accent);
  opacity: 0.35;
  flex-shrink: 0;
}

.section-label {
  font-family: var(--font-body);
  font-size: clamp(0.65rem, 1vw, 0.75rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: var(--font-weight-display);
  font-style: var(--font-style-display);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  letter-spacing: var(--letter-spacing-display);
  text-transform: var(--text-transform-display);
  line-height: 1.1;
  color: var(--c-text);
  margin-bottom: clamp(32px, 6vw, 64px);
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .features__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px;
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.feature__icon {
  width: 40px;
  height: 40px;
  color: var(--c-feature-icon);
  flex-shrink: 0;
}

.feature__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--c-text);
}

.feature__desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--c-text-muted);
}

/* Alternating cyan accent on even feature icons */
.feature:nth-child(even) .feature__icon {
  color: var(--c-accent-secondary);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  padding: clamp(80px, 10vh, 140px) 24px;
  background: var(--c-bg-alt);
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 16px;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-top: 2px solid var(--c-accent);
  border-radius: var(--radius-md);
  overflow: visible;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.step__number {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.8rem, 5vw, 3.5rem);
  line-height: 1;
  color: var(--c-step-number);
  opacity: 0.55;
  margin-bottom: 0;
}

.step__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: oklch(72% 0.19 335 / 0.08);
  color: var(--c-accent);
  opacity: 1;
  margin-bottom: 20px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.step__icon .lucide {
  width: 22px;
  height: 22px;
}

.step__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  text-transform: none;
  color: var(--c-text);
  margin-bottom: 12px;
}

.step__desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--c-text-muted);
}

/* Dashed connector between steps (desktop only) */
@media (min-width: 768px) {
  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 56px;
    left: 100%;
    width: 40px;
    height: 0;
    border-top: 1px dashed var(--c-border);
  }
}

/* Cyan on second step */
.step:nth-child(2) {
  border-top-color: var(--c-accent-secondary);
}

.step:nth-child(2) .step__number {
  color: var(--c-accent-secondary);
}

.step:nth-child(2) .step__icon {
  color: var(--c-accent-secondary);
  background: oklch(72% 0.12 210 / 0.08);
}

/* ============================================================
   DECK
   ============================================================ */
.deck {
  padding: clamp(80px, 10vh, 140px) 24px;
  background: var(--c-bg);
}

.deck__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
}

@media (min-width: 768px) {
  .deck__inner {
    grid-template-columns: 1fr 1fr;
  }
}

.deck__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.deck__cards {
  position: relative;
  width: 220px;
  height: 340px;
}

.deck__card {
  position: absolute;
  width: 200px;
  height: 310px;
  background: var(--c-deck-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--card-shadow);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.deck__card:nth-child(1) {
  transform: rotate(-8deg) translateX(-10px);
  z-index: 1;
  border-color: var(--c-deck-card-border-1);
}
.deck__card:nth-child(2) {
  transform: rotate(-2deg) translateX(0);
  z-index: 2;
  border-color: var(--c-deck-card-border-2);
}
.deck__card:nth-child(3) {
  transform: rotate(5deg) translateX(10px);
  z-index: 3;
  border-color: var(--c-deck-card-border-3);
}

.deck__card-symbol {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--c-accent);
  opacity: 0.6;
}

.deck__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.deck__title {
  font-family: var(--font-display);
  font-weight: var(--font-weight-display);
  font-style: var(--font-style-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: var(--letter-spacing-display);
  text-transform: var(--text-transform-display);
  line-height: 1.1;
  color: var(--c-text);
}

.deck__desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-text-muted);
  max-width: 460px;
}

.deck__price {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  color: var(--c-accent);
}

.deck__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1.5px solid var(--c-btn-secondary-border);
  color: var(--c-btn-secondary-text);
  background: var(--c-btn-secondary-bg);
  border-radius: var(--radius-sm);
  width: fit-content;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.25s ease, color 0.25s ease;
}

.deck__cta:hover {
  background: var(--c-accent);
  color: var(--c-accent-text);
  border-color: var(--c-accent);
  transform: translateY(-2px) scale(1.05);
}

.deck__details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 460px;
}

.deck__details li {
  font-size: 0.9rem;
  color: var(--c-text-muted);
  padding-left: 20px;
  position: relative;
}

.deck__details li::before {
  content: '\2726';
  position: absolute;
  left: 0;
  color: var(--c-accent);
  font-size: 0.7rem;
  top: 3px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: clamp(80px, 10vh, 140px) 24px;
  background: var(--c-bg-alt);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.testimonial {
  padding: 32px 0;
  border-top: 2px solid var(--c-quote-border);
}

.testimonial__text {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.7;
  color: var(--c-text);
  margin-bottom: 20px;
}

.testimonial__author {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--c-text-muted);
  letter-spacing: 0.02em;
}

.testimonial__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-accent);
  color: var(--c-accent-text);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  flex-shrink: 0;
}

/* Cyan border + avatar on second testimonial */
.testimonial:nth-child(2) {
  border-top-color: var(--c-accent-secondary);
}

.testimonial:nth-child(2) .testimonial__avatar {
  background: var(--c-accent-secondary);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: clamp(80px, 10vh, 140px) 24px;
  background: var(--c-bg-alt);
}

.faq__list {
  display: flex;
  flex-direction: column;
  max-width: 800px;
  margin-inline: auto;
}

.faq__category {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-accent);
  padding-top: 40px;
  padding-bottom: 8px;
}

.faq__category:first-child {
  padding-top: 0;
}

.faq__item {
  border-bottom: 1px solid var(--c-border);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 24px 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  text-align: left;
  color: var(--c-text);
  cursor: pointer;
  list-style: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::marker {
  content: '';
}

.faq__question::after {
  content: '+';
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--c-accent);
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq__item[open] .faq__question::after {
  transform: rotate(45deg);
}

.faq__answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq__item[open] .faq__answer-wrap {
  grid-template-rows: 1fr;
}

.faq__item--closing .faq__answer-wrap {
  grid-template-rows: 0fr !important;
}

.faq__answer {
  overflow: hidden;
}

.faq__answer p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--c-text-muted);
  padding-bottom: 24px;
}

/* ============================================================
   SOCIAL PROOF
   ============================================================ */
.social-proof {
  padding: clamp(24px, 3vh, 40px) 24px;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
}

.social-proof__strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 48px);
  flex-wrap: wrap;
}

.social-proof__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.social-proof__number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: var(--c-text);
}

.social-proof__label {
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 1.2vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

.social-proof__divider {
  width: 1px;
  height: 28px;
  background: var(--c-border);
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .social-proof__strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    justify-items: center;
  }
  .social-proof__divider {
    display: none;
  }
}

/* ============================================================
   SECTION CTA (inline conversion points)
   ============================================================ */
.section-cta {
  display: flex;
  justify-content: center;
  padding: clamp(32px, 4vh, 48px) 24px;
  background: var(--c-bg);
}

.section-cta--alt {
  background: var(--c-bg-alt);
}

.section-cta__ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1.5px solid var(--c-btn-secondary-border);
  color: var(--c-btn-secondary-text);
  background: transparent;
  border-radius: var(--radius-sm);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              background-color 0.25s ease, color 0.25s ease;
}

.section-cta__ghost-btn:hover {
  transform: translateY(-2px) scale(1.05);
  background: var(--c-accent);
  color: var(--c-accent-text);
  border-color: var(--c-accent);
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  padding: clamp(80px, 10vh, 140px) 24px;
  background: var(--c-bg);
}

.pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 860px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .pricing__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pricing__card {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 40px) clamp(24px, 3.5vw, 36px);
  background: var(--c-bg-card);
  border: 2px solid var(--c-border);
  border-radius: 36px;
  transition: transform 0s, border-color 0s, box-shadow 0s;
}

.pricing__card--featured {
  border-top: 3px solid var(--c-accent);
  box-shadow: var(--card-shadow);
}

.pricing__card-header {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--c-border);
}

.pricing__card-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 12px;
}

.pricing__card-price {
  font-family: var(--font-display);
  font-weight: var(--font-weight-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--c-text);
  line-height: 1;
  margin-bottom: 12px;
}

.pricing__card-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--c-text-muted);
}

.pricing__card-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  flex: 1;
}

.pricing__card-list li {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--c-text-muted);
  padding-left: 24px;
  position: relative;
}

.pricing__card-list li::before {
  content: '\2726';
  position: absolute;
  left: 0;
  color: var(--c-accent);
  font-size: 0.7rem;
  top: 4px;
}

.pricing__card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--c-accent);
  color: var(--c-accent-text);
  border: 1.5px solid var(--c-accent);
  border-radius: var(--radius-sm);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.25s ease, color 0.25s ease;
  margin-top: auto;
}

.pricing__card-cta:hover {
  background: var(--c-accent-hover);
  border-color: var(--c-accent-hover);
  transform: translateY(-2px) scale(1.05);
}

.pricing__card-cta--secondary {
  background: transparent;
  color: var(--c-btn-secondary-text);
  border-color: var(--c-btn-secondary-border);
}

.pricing__card-cta--secondary:hover {
  background: var(--c-accent);
  color: var(--c-accent-text);
  border-color: var(--c-accent);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: clamp(80px, 10vh, 140px) 24px;
  background: var(--c-bg-alt);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 800px;
}

@media (min-width: 768px) {
  .about__inner {
    grid-template-columns: 48px 1fr;
    gap: 0;
  }
}

.about__accent {
  display: none;
}

@media (min-width: 768px) {
  .about__accent {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-top: 8px;
  }

  .about__accent::before {
    content: '';
    width: 2px;
    height: 60px;
    background: var(--c-accent);
    flex-shrink: 0;
  }

  .about__accent-symbol {
    font-size: 1rem;
    color: var(--c-accent);
    opacity: 0.6;
  }

  .about__accent::after {
    content: '';
    width: 1px;
    flex: 1;
    background: var(--c-border);
  }
}

.about__content {
  display: flex;
  flex-direction: column;
}

.about__title {
  font-family: var(--font-display);
  font-weight: var(--font-weight-display);
  font-style: var(--font-style-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: var(--letter-spacing-display);
  text-transform: var(--text-transform-display);
  line-height: 1.1;
  color: var(--c-text);
  margin-bottom: clamp(24px, 4vw, 40px);
}

.about__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.6;
  color: var(--c-text);
  border-left: 2px solid var(--c-accent);
  padding-left: 24px;
  margin-bottom: 32px;
}

.about__text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--c-text-muted);
  margin-bottom: 16px;
}

.about__signature {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--c-accent);
  margin-top: 16px;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  padding: clamp(80px, 10vh, 140px) 24px;
  background: var(--c-bg-alt);
  text-align: center;
}

.final-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.final-cta__title {
  font-family: var(--font-display);
  font-weight: var(--font-weight-display);
  font-style: var(--font-style-display);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  letter-spacing: var(--letter-spacing-display);
  text-transform: var(--text-transform-display);
  line-height: 1.1;
  color: var(--c-text);
}

.final-cta__subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--c-text-muted);
  max-width: 500px;
}

.final-cta__actions {
  margin-top: 8px;
}

.final-cta__icon {
  margin-bottom: 8px;
}

.final-cta__logo {
  width: 112px;
  height: 112px;
  object-fit: contain;
  opacity: 0.5;
}

.final-cta__signup {
  display: flex;
  gap: 0;
  width: min(100%, 480px);
  margin-top: 8px;
}

.final-cta__input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  padding: 0 0 0 16px;
  background: var(--c-input-bg);
  border: 1px solid var(--c-input-border);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  transition: border-color 0.25s ease;
}

.final-cta__input-wrap:focus-within {
  border-color: var(--c-accent);
}

.final-cta__input-wrap .footer__input {
  border: none;
  border-radius: 0;
  padding-left: 0;
  background: transparent;
}

.footer__submit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer__submit .icon {
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer__submit:hover .icon {
  transform: translateX(2px);
}

/* ============================================================
   FOOTER — redesigned
   ============================================================ */
.footer {
  padding: clamp(64px, 8vh, 100px) 24px clamp(48px, 6vh, 80px);
  background: var(--c-footer-bg);
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px 64px;
  padding-bottom: clamp(40px, 5vh, 64px);
}

.footer__brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: var(--font-weight-display);
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  letter-spacing: var(--letter-spacing-display);
  text-transform: var(--text-transform-display);
  color: var(--c-text);
  width: fit-content;
}

.footer__brand-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.footer__tagline {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--c-text-muted);
  max-width: 320px;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__nav-heading {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text);
  margin-bottom: 4px;
}

.footer__nav-link {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--c-text-muted);
  transition: color 0.2s ease;
  width: fit-content;
}

.footer__nav-link:hover {
  color: var(--c-accent);
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer__social-link .icon {
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.footer__social-link:hover .icon {
  opacity: 1;
}

.footer__divider {
  height: 1px;
  background: var(--c-border);
  opacity: 0.5;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: clamp(24px, 3vh, 40px);
}

.footer__legal {
  font-size: 0.75rem;
  color: var(--c-text-muted);
  opacity: 0.6;
}

.footer__bottom-links {
  display: flex;
  gap: 24px;
}

.footer__bottom-link {
  font-size: 0.75rem;
  color: var(--c-text-muted);
  opacity: 0.6;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.footer__bottom-link:hover {
  opacity: 1;
  color: var(--c-accent);
}

/* Footer input (kept for Final CTA form reuse) */
.footer__input {
  flex: 1;
  padding: 14px 20px;
  background: var(--c-input-bg);
  border: 1px solid var(--c-input-border);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  color: var(--c-text);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.25s ease;
}

.footer__input::placeholder {
  color: var(--c-text-muted);
}

.footer__input:focus {
  border-color: var(--c-accent);
}

.footer__submit {
  padding: 14px 24px;
  background: var(--c-accent);
  color: var(--c-accent-text);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  white-space: nowrap;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.footer__submit:hover {
  background: var(--c-accent-hover);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .footer__top {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .footer__brand-col {
    align-items: center;
  }
  .footer__tagline {
    max-width: none;
  }
  .footer__nav {
    align-items: center;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ============================================================
   FLOATING BACKGROUND ELEMENTS (section-embedded)
   ============================================================ */
.hero,
.features,
.how-it-works,
.deck,
.testimonials,
.faq,
.pricing,
.about,
.final-cta {
  position: relative;
  overflow: hidden;
}

.floating__el {
  position: absolute;
  pointer-events: none;
  line-height: 1;
  z-index: 0;
}

/* — Element 1: Crescent Moon (hero, top-right) — */
.floating__el--1 {
  top: 10%;
  right: 8%;
  font-size: 80px;
  color: var(--c-accent);
  opacity: 0.18;
  animation: drift-1 25s ease-in-out infinite;
}

/* — Element 2: 4-point Star (hero, bottom-left) — */
.floating__el--2 {
  bottom: 15%;
  left: 5%;
  font-size: 60px;
  color: var(--c-accent-secondary);
  opacity: 0.20;
  animation: drift-2 32s ease-in-out infinite;
}

/* — Element 3: Diamond / Compass sparkle (features, top-right) — */
.floating__el--3 {
  top: 8%;
  right: 4%;
  font-size: 90px;
  color: var(--c-accent);
  opacity: 0.15;
  animation: drift-3 28s ease-in-out infinite;
}

/* — Element 4: Saturn (how-it-works, bottom-right) — */
.floating__el--4 {
  bottom: 10%;
  right: 5%;
  font-size: 100px;
  color: var(--c-accent-secondary);
  opacity: 0.16;
  animation: drift-4 35s ease-in-out infinite;
}

/* — Element 5: Eye (deck, top-left) — */
.floating__el--5 {
  top: 12%;
  left: 3%;
  font-size: 72px;
  color: var(--c-accent);
  opacity: 0.17;
  animation: drift-1 30s ease-in-out infinite;
  animation-delay: -8s;
}

/* — Element 6: Constellation (testimonials, bottom-right) — */
.floating__el--6 {
  bottom: 8%;
  right: 6%;
  width: 120px;
  height: 120px;
  color: var(--c-accent-secondary);
  opacity: 0.18;
  animation: drift-2 27s ease-in-out infinite;
  animation-delay: -5s;
}

/* — Element 7: Sun (final-cta, top-left) — */
.floating__el--7 {
  top: 10%;
  left: 6%;
  font-size: 70px;
  color: var(--c-accent);
  opacity: 0.20;
  animation: drift-3 22s ease-in-out infinite;
  animation-delay: -12s;
}

/* — Element 8: 5-point Star (final-cta, bottom-right) — */
.floating__el--8 {
  bottom: 12%;
  right: 8%;
  font-size: 64px;
  color: var(--c-accent-secondary);
  opacity: 0.22;
  animation: drift-4 33s ease-in-out infinite;
  animation-delay: -15s;
}

/* — Element 9: Jupiter (hero, center-left) — */
.floating__el--9 {
  bottom: 20%;
  right: 35%;
  font-size: 68px;
  color: var(--c-accent);
  opacity: 0.14;
  animation: drift-3 29s ease-in-out infinite;
  animation-delay: -10s;
}

/* — Element 10: 6-pointed Star (features, bottom-left) — */
.floating__el--10 {
  bottom: 6%;
  left: 8%;
  font-size: 76px;
  color: var(--c-accent-secondary);
  opacity: 0.16;
  animation: drift-4 26s ease-in-out infinite;
  animation-delay: -7s;
}

/* — Element 11: Double Circle (app-preview, top-right) — */
.floating__el--11 {
  top: 8%;
  right: 5%;
  font-size: 85px;
  color: var(--c-accent);
  opacity: 0.15;
  animation: drift-1 31s ease-in-out infinite;
  animation-delay: -14s;
}

/* — Element 12: Mercury (app-preview, bottom-left) — */
.floating__el--12 {
  bottom: 10%;
  left: 4%;
  font-size: 74px;
  color: var(--c-accent-secondary);
  opacity: 0.18;
  animation: drift-2 24s ease-in-out infinite;
  animation-delay: -3s;
}

/* — Element 13: Starburst (how-it-works, top-left) — */
.floating__el--13 {
  top: 6%;
  left: 6%;
  font-size: 82px;
  color: var(--c-accent);
  opacity: 0.14;
  animation: drift-3 33s ease-in-out infinite;
  animation-delay: -18s;
}

/* — Element 14: Neptune (deck, bottom-right) — */
.floating__el--14 {
  bottom: 8%;
  right: 4%;
  font-size: 88px;
  color: var(--c-accent-secondary);
  opacity: 0.16;
  animation: drift-1 28s ease-in-out infinite;
  animation-delay: -6s;
}

/* — Element 15: Florette (testimonials, top-left) — */
.floating__el--15 {
  top: 10%;
  left: 5%;
  font-size: 72px;
  color: var(--c-accent);
  opacity: 0.17;
  animation: drift-4 30s ease-in-out infinite;
  animation-delay: -11s;
}

/* — Element 16: Triangle (final-cta, center-left) — */
.floating__el--16 {
  top: 35%;
  left: 3%;
  font-size: 96px;
  color: var(--c-accent-secondary);
  opacity: 0.15;
  animation: drift-2 34s ease-in-out infinite;
  animation-delay: -20s;
}

/* — Element 17: Venus (features, bottom-right) — */
.floating__el--17 {
  bottom: 12%;
  right: 6%;
  font-size: 78px;
  color: var(--c-accent);
  opacity: 0.16;
  animation: drift-1 26s ease-in-out infinite;
  animation-delay: -9s;
}

/* — Element 18: Infinity (how-it-works, center-right) — */
.floating__el--18 {
  top: 40%;
  right: 3%;
  font-size: 92px;
  color: var(--c-accent-secondary);
  opacity: 0.14;
  animation: drift-4 31s ease-in-out infinite;
  animation-delay: -16s;
}

/* — Element 19: Diamond (deck, top-right) — */
.floating__el--19 {
  top: 10%;
  right: 8%;
  font-size: 66px;
  color: var(--c-accent);
  opacity: 0.18;
  animation: drift-2 29s ease-in-out infinite;
  animation-delay: -4s;
}

/* — Element 20: 8-pointed Star (testimonials, bottom-left) — */
.floating__el--20 {
  bottom: 12%;
  left: 8%;
  font-size: 84px;
  color: var(--c-accent-secondary);
  opacity: 0.17;
  animation: drift-3 27s ease-in-out infinite;
  animation-delay: -13s;
}

/* — Element 21: Mars (hero, top-left) — */
.floating__el--21 {
  top: 18%;
  left: 3%;
  font-size: 74px;
  color: var(--c-accent-secondary);
  opacity: 0.16;
  animation: drift-2 28s ease-in-out infinite;
  animation-delay: -7s;
}

/* — Element 22: Uranus (hero, bottom-right) — */
.floating__el--22 {
  bottom: 8%;
  right: 10%;
  font-size: 86px;
  color: var(--c-accent);
  opacity: 0.18;
  animation: drift-4 32s ease-in-out infinite;
  animation-delay: -19s;
}

/* — Element 23: Question mark (faq, top-right) — */
.floating__el--23 {
  top: 10%;
  right: 6%;
  font-size: 78px;
  color: var(--c-accent);
  opacity: 0.16;
  animation: drift-1 27s ease-in-out infinite;
  animation-delay: -8s;
}

/* — Element 24: Starburst (faq, bottom-left) — */
.floating__el--24 {
  bottom: 12%;
  left: 5%;
  font-size: 70px;
  color: var(--c-accent-secondary);
  opacity: 0.18;
  animation: drift-3 30s ease-in-out infinite;
  animation-delay: -14s;
}

/* — Element 25: Earth (pricing, top-right) — */
.floating__el--25 {
  top: 10%;
  right: 6%;
  font-size: 76px;
  color: var(--c-accent);
  opacity: 0.16;
  animation: drift-1 29s ease-in-out infinite;
  animation-delay: -10s;
}

/* — Element 26: Hexagon (pricing, bottom-left) — */
.floating__el--26 {
  bottom: 12%;
  left: 4%;
  font-size: 82px;
  color: var(--c-accent-secondary);
  opacity: 0.17;
  animation: drift-2 33s ease-in-out infinite;
  animation-delay: -16s;
}

/* — Element 27: Sparkle (about, top-right) — */
.floating__el--27 {
  top: 8%;
  right: 5%;
  font-size: 70px;
  color: var(--c-accent);
  opacity: 0.15;
  animation: drift-3 26s ease-in-out infinite;
  animation-delay: -12s;
}

/* — Element 28: Star (about, bottom-left) — */
.floating__el--28 {
  bottom: 10%;
  left: 6%;
  font-size: 68px;
  color: var(--c-accent-secondary);
  opacity: 0.18;
  animation: drift-4 28s ease-in-out infinite;
  animation-delay: -8s;
}

@media (max-width: 768px) {
  .floating__el { display: none; }
}

/* ============================================================
   LEGAL PAGES (privacy, terms)
   ============================================================ */
.legal-page {
  padding: clamp(120px, 14vh, 180px) 24px clamp(60px, 8vh, 100px);
}

.legal-page h1 {
  font-family: var(--font-display);
  font-weight: var(--font-weight-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: var(--letter-spacing-display);
  text-transform: var(--text-transform-display);
  color: var(--c-text);
  padding-bottom: 24px;
  border-bottom: 2px solid var(--c-accent);
  margin-bottom: 48px;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--c-text);
  margin-top: 48px;
  margin-bottom: 16px;
}

.legal-page p,
.legal-page li {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--c-text-muted);
  margin-bottom: 12px;
}

.legal-page ul {
  padding-left: 24px;
  list-style: disc;
  margin-bottom: 16px;
}

.legal-page__nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 clamp(16px, 4vw, 48px);
  background: var(--c-navbar-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--c-navbar-glass-border);
}

.legal-page__nav-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.legal-page__nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: var(--font-weight-display);
  font-size: 1.2rem;
  letter-spacing: var(--letter-spacing-display);
  text-transform: var(--text-transform-display);
  color: var(--c-text);
}

.legal-page__nav-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.legal-page__nav-back {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--c-text-muted);
  transition: color 0.2s ease;
}

.legal-page__nav-back:hover {
  color: var(--c-accent);
}

.legal-page__nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-page__footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--c-border);
  text-align: center;
}

.legal-page__footer p {
  font-size: 0.75rem;
  color: var(--c-text-muted);
  opacity: 0.6;
}

.legal-page article a {
  color: var(--c-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page__footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-bottom: 12px;
}

.legal-page__footer-links a {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  transition: color 0.2s ease;
}

.legal-page__footer-links a:hover {
  color: var(--c-accent);
}

/* ============================================================
   404 PAGE
   ============================================================ */
.four-oh-four {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(170deg, var(--c-hero-gradient-1), var(--c-hero-gradient-2));
}

.four-oh-four__logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  opacity: 0.5;
}

.four-oh-four__symbol {
  font-size: clamp(100px, 20vw, 160px);
  color: var(--c-accent);
  opacity: 0.15;
  line-height: 1;
  animation: float 6s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.four-oh-four__code {
  font-family: var(--font-display);
  font-weight: var(--font-weight-display);
  font-size: clamp(5rem, 15vw, 10rem);
  letter-spacing: var(--letter-spacing-display);
  line-height: 1;
  color: var(--c-text);
  text-shadow: 0 0 80px var(--c-hero-glow-1), 0 0 160px var(--c-hero-glow-2);
}

.four-oh-four__title {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--c-text-muted);
  max-width: 400px;
}

.four-oh-four__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1.5px solid var(--c-btn-secondary-border);
  color: var(--c-btn-secondary-text);
  background: transparent;
  border-radius: var(--radius-sm);
  margin-top: 16px;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.25s ease, color 0.25s ease;
}

.four-oh-four__link:hover {
  transform: translateY(-2px) scale(1.05);
  background: var(--c-accent);
  color: var(--c-accent-text);
  border-color: var(--c-accent);
}

.four-oh-four__controls {
  position: absolute;
  top: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============================================================
   KEYFRAME ANIMATIONS
   ============================================================ */
@keyframes drift-1 {
  0%   { transform: translate(0, 0) rotate(0deg); }
  25%  { transform: translate(30px, -40px) rotate(12deg); }
  50%  { transform: translate(-15px, -70px) rotate(-8deg); }
  75%  { transform: translate(35px, -30px) rotate(16deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes drift-2 {
  0%   { transform: translate(0, 0) rotate(0deg); }
  33%  { transform: translate(-35px, -25px) rotate(-18deg); }
  66%  { transform: translate(20px, -55px) rotate(10deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes drift-3 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate(40px, -45px) rotate(22deg) scale(1.1); }
  100% { transform: translate(0, 0) rotate(0deg) scale(1); }
}

@keyframes drift-4 {
  0%   { transform: translate(0, 0) rotate(0deg); }
  20%  { transform: translate(-25px, -15px) rotate(-10deg); }
  40%  { transform: translate(10px, -50px) rotate(8deg); }
  60%  { transform: translate(-30px, -65px) rotate(-15deg); }
  80%  { transform: translate(15px, -35px) rotate(12deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes spin-slow {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 0.7; }
}

/* Hero symbol — slow rotation */
.hero__symbol {
  animation: spin-slow 90s linear infinite;
}

/* Hero phone — float on wrapper, hover on frame */
.hero__mockup {
  perspective: 800px;
  animation: float 6s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.hero__mockup .phone-frame {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.5s ease;
}

/* Deck CTA arrow nudge */
.deck__cta .icon {
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Feature icon transition base */
.feature__icon {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Step icon transition (handled on .step__icon itself) */

/* Final CTA logo slow pulse */
.final-cta__logo {
  animation: pulse-glow 4s ease-in-out infinite;
}

/* Testimonial avatar transition */
.testimonial__avatar {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* App preview phone — perspective + transition base */
.app-preview__item {
  perspective: 800px;
}

.app-preview__item .phone-frame {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.5s ease;
}

/* Hover effects — only on devices with hover capability */
@media (hover: hover) {
  .hero__mockup:hover .phone-frame {
    transform: rotateY(-6deg) rotateX(3deg) translateY(-8px);
    box-shadow: 0 20px 60px var(--c-hero-glow-1), 0 0 80px var(--c-hero-glow-2);
    border-color: var(--c-accent);
  }
  .deck__cards:hover .deck__card:nth-child(1) {
    transform: rotate(-12deg) translateX(-24px) translateY(-4px);
  }
  .deck__cards:hover .deck__card:nth-child(2) {
    transform: rotate(0deg) translateY(-8px);
  }
  .deck__cards:hover .deck__card:nth-child(3) {
    transform: rotate(8deg) translateX(24px) translateY(-4px);
  }
  .deck__cta:hover .icon {
    transform: translateX(3px);
  }
  .feature:hover {
    border-color: var(--c-accent);
    box-shadow: 0 4px 24px oklch(72% 0.19 335 / 0.1);
  }
  .feature:nth-child(even):hover {
    border-color: var(--c-accent-secondary);
    box-shadow: 0 4px 24px oklch(72% 0.12 210 / 0.1);
  }
  .feature:hover .feature__icon {
    transform: translateY(-4px);
  }
  .step:hover {
    border-color: var(--c-accent);
    box-shadow: 0 4px 24px oklch(72% 0.19 335 / 0.1);
  }
  .step:nth-child(2):hover {
    border-color: var(--c-accent-secondary);
    box-shadow: 0 4px 24px oklch(72% 0.12 210 / 0.1);
  }
  .step:hover .step__icon {
    transform: translateY(-3px);
  }
  .app-preview__item:hover .phone-frame {
    transform: rotateY(-5deg) rotateX(3deg) translateY(-8px);
    border-color: var(--c-accent-secondary);
    box-shadow: 0 16px 48px oklch(72% 0.12 210 / 0.2), 0 0 64px oklch(72% 0.12 210 / 0.08);
  }
  .app-preview__item:nth-child(2):hover .phone-frame {
    transform: rotateY(5deg) rotateX(3deg) translateY(-8px);
    border-color: var(--c-accent);
    box-shadow: 0 16px 48px oklch(72% 0.19 335 / 0.2), 0 0 64px oklch(72% 0.19 335 / 0.08);
  }
  .pricing__card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--c-accent);
    box-shadow: 0 16px 48px oklch(72% 0.19 335 / 0.2), 0 0 64px oklch(72% 0.19 335 / 0.08);
  }
}

/* ============================================================
   SCROLL ANIMATIONS
   Only hide content when JS is running (head-init.js sets html.js),
   so no-JS or failed scripts never leave the page blank.
   ============================================================ */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================================
   RESPONSIVE — MOBILE ENHANCEMENTS
   ============================================================ */

/* ---- 768px: Tablet & below ---- */
@media (max-width: 768px) {
  /* Fix 3: Deck content centering when grid is 1-column */
  .deck__content {
    text-align: center;
    align-items: center;
  }
  .deck__desc,
  .deck__details {
    max-width: none;
  }

  /* Fix 5: Hero sizing — avoid excessive height on mobile */
  .hero {
    min-height: auto;
    padding: clamp(100px, 14vh, 160px) 24px clamp(48px, 6vh, 80px);
  }
  .hero .phone-frame {
    width: 200px;
    height: 400px;
    border-radius: 28px;
  }
  .hero .phone-frame .phone-frame__notch {
    width: 60px;
    height: 18px;
    top: 10px;
    border-radius: 9px;
  }
}

/* ---- 600px: Legal page nav ---- */
@media (max-width: 600px) {
  /* Fix 2: Hide "Astral Compass" text, keep logo image */
  .legal-page__nav-logo span {
    display: none;
  }
  .legal-page__nav-back {
    font-size: 0.78rem;
  }
}

/* ---- 480px: Small phones ---- */
@media (max-width: 480px) {
  /* Fix 1: Email signup form stacks vertically */
  .final-cta__signup {
    flex-direction: column;
  }
  .final-cta__input-wrap {
    border-right: 1px solid var(--c-input-border);
    border-radius: var(--radius-sm);
  }
  .final-cta__input-wrap:focus-within {
    border-color: var(--c-accent);
  }
  .footer__submit {
    border-radius: var(--radius-sm);
    width: 100%;
    justify-content: center;
  }

  /* Fix 7: Tighter spacing for narrow screens */
  .features__grid {
    gap: 12px;
  }
  .steps {
    gap: 16px;
  }
  .testimonials__grid {
    gap: 32px;
  }
  .hero__subtitle {
    margin-bottom: 32px;
  }
}

/* ---- Touch targets ---- */
@media (pointer: coarse) {
  /* Fix 8: Ensure 44px minimum tap targets */
  .navbar__lang-btn {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .navbar__theme-btn {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .footer__bottom-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .footer__nav-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .legal-page__nav .navbar__lang-btn,
  .legal-page__nav .navbar__theme-btn {
    min-width: 44px;
    min-height: 44px;
  }
}

/* ---- Safe area insets ---- */
@supports (padding: env(safe-area-inset-top)) {
  /* Fix 10: iPhone notch/home indicator safe areas */
  .navbar {
    padding-top: env(safe-area-inset-top);
  }
  .mobile-menu {
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  .footer {
    padding-bottom: calc(clamp(48px, 6vh, 80px) + env(safe-area-inset-bottom));
  }
  .legal-page__nav {
    padding-top: env(safe-area-inset-top);
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero__symbol { animation: none; }
  .hero__mockup { animation: none; }
  .hero__mockup .phone-frame,
  .app-preview__item .phone-frame { transform: none !important; }
  .final-cta__logo { animation: none; opacity: 0.5; }
  .floating__el { animation: none; }
}
