/* Aisha Landing Page — Design Tokens */

/* Self-hosted Google Fonts: Playfair Display + DM Sans (latin + cyrillic)
   Eliminates render-blocking third-party CDN chain — see PageSpeed baseline 2026-05-09. */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/dm-sans-300-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: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/dm-sans-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: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/dm-sans-500-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: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/dm-sans-600-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: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/dm-sans-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: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/playfair-display-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: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/playfair-display-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/playfair-display-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: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/playfair-display-400-italic-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/playfair-display-600-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: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/playfair-display-600-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/playfair-display-600-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: 'Playfair Display';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/playfair-display-600-italic-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/playfair-display-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: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/playfair-display-700-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

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

:root {
  /* Brand */
  --color-primary: #B45309;
  --color-primary-light: #FEF3C7;
  --color-primary-dark: #92400E;
  --color-accent: #0F766E;
  --color-accent-light: #CCFBF1;

  /* Surfaces */
  --surface-page: #FAF8F5;
  --surface-card: #FFFFFF;
  --surface-input: #F5F0E8;
  --surface-divider: #E7E5E4;

  /* Text */
  --text-primary: #1C1917;
  --text-secondary: #44403C;
  --text-muted: #78716C;
  --text-inverse: #FFFFFF;
  --text-link: #B45309;

  /* CTA */
  --cta-primary: #B45309;
  --cta-primary-hover: #92400E;
  --cta-dark: #1C1917;
  --cta-dark-hover: #292524;

  /* Semantic */
  --semantic-success: #059669;
  --semantic-warning: #D97706;
  --semantic-error: #DC2626;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-base: 16px;
  --space-lg: 20px;
  --space-xl: 24px;
  --space-2xl: 32px;
  --space-3xl: 48px;
  --space-4xl: 64px;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-card-hover: 0 4px 16px rgba(15, 23, 42, 0.10);
  --shadow-elevated: 0 8px 24px rgba(15, 23, 42, 0.12);

  /* Motion */
  --motion-fast: 100ms;
  --motion-base: 200ms;
  --motion-slow: 260ms;
  --ease-spring: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Design-system aliases (used by the Get-App modal design tokens) */
  --color-amber: var(--color-primary);
  --color-amber-light: var(--color-primary-light);
  --fg-1: var(--text-primary);
  --fg-2: var(--text-secondary);
  --fg-muted: var(--text-muted);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans: 'DM Sans', sans-serif;
  --cta-cream-hover: #EBE5DA;
  --radius-sheet: 20px;
  --radius-input: 12px;
}

/* ---- Base ---- */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  color: var(--text-primary);
  background: var(--surface-page);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* Body-prose links — overrides the global a-reset for content areas where
   links should LOOK like links (FAQ answers, future blog body, etc.). Uses
   --text-link (brand amber) + underline. Per page-specific section classes
   (.work-copy, .work-section-sub, .work-cluster-note) the same treatment is
   applied inline in those drafts. Keep this list narrow — components that
   should NOT look like body-prose links (navbar, footer, cards) stay reset. */
.faq-content-inner a {
  color: var(--text-link);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ---- Layout ---- */
.container {
  max-width: 980px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section { padding: 64px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }

/* ---- Navbar ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 64px;
  display: flex;
  align-items: center;
  background: transparent;
  transition: all var(--motion-base) ease;
}

.navbar.scrolled {
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--surface-divider);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-logo-mark {
  width: 32px;
  height: 32px;
}
.navbar-logo-mark svg {
  width: 100%;
  height: 100%;
}

.navbar-brand {
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
}

.navbar-links {
  display: none;
  align-items: center;
  gap: 28px;
}

@media (min-width: 768px) {
  .navbar-links { display: flex; }
}

.navbar-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--motion-fast) ease;
}
.navbar-links a:hover { color: var(--text-primary); }

/* Right-side group in the global header (cross-page link + CTA) — per seo.md
   two-layer nav rule. Used by both the homepage's inline navbar and the shared
   Header.astro so the global header stays visually identical across pages. */
.navbar-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.navbar-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--motion-fast) ease;
}
.navbar-link:hover { color: var(--text-primary); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all var(--motion-fast) ease;
  padding: 14px 28px;
  white-space: nowrap;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--cta-primary);
  color: var(--text-inverse);
}
.btn-primary:hover { background: var(--cta-primary-hover); }

.btn-dark {
  background: var(--cta-dark);
  color: var(--text-inverse);
}
.btn-dark:hover { background: var(--cta-dark-hover); }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--surface-divider);
  color: var(--text-primary);
}
.btn-outline:hover { background: var(--color-primary-light); border-color: var(--color-primary); }

/* Sitewide-secondary waitlist button (global header). White fill + black
   border + black text so it reads as a secondary action, visually distinct
   from the dark-filled / amber primary CTAs in the page body. */
/* `.btn.btn-waitlist` (not bare `.btn-waitlist`) so the border wins over the
   homepage's `<style is:global>` `.btn { border: none }`, which Astro injects
   after this linked stylesheet at equal single-class specificity. */
.btn.btn-waitlist {
  background: var(--surface-card);          /* white */
  border: 1.5px solid #000;                 /* black border (brand-distinction) */
  color: var(--text-secondary);             /* rgb(68,64,60) — same grey as body text */
}
.btn.btn-waitlist:hover { background: #000; color: var(--text-inverse); }

.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-full { width: 100%; }

/* (Hero styles intentionally live on each page that needs them; the homepage
   defines its own .hero / .hero-* inline. No vestigial centered-layout rules
   here — they were leaking text-align: center into the homepage hero grid.) */

/* ---- Store Badges ---- */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--motion-fast) ease;
  text-decoration: none;
}

.store-badge-rustore {
  background: #0077FF;
  color: white;
}
.store-badge-rustore:hover { background: #0066DD; }

.store-badge-google {
  background: var(--text-primary);
  color: white;
}
.store-badge-google:hover { background: var(--cta-dark-hover); }

.store-badge-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.store-badge-label {
  font-size: 10px;
  font-weight: 400;
  opacity: 0.8;
}

.store-badge-store {
  font-size: 16px;
  font-weight: 600;
}

/* ---- Features ---- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

.feature-card {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--motion-base) ease;
}

.feature-card:hover { box-shadow: var(--shadow-card-hover); }

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.feature-icon-ai { background: var(--color-primary-light); }
.feature-icon-ai svg { stroke: var(--color-primary); }

.feature-icon-personal { background: var(--color-accent-light); }
.feature-icon-personal svg { stroke: var(--color-accent); }

.feature-icon-analytics { background: #DCFCE7; }
.feature-icon-analytics svg { stroke: #16A34A; }

.feature-icon-languages { background: #FEF3C7; }
.feature-icon-languages svg { stroke: #D97706; }

.feature-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- How it works ---- */
.steps-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  counter-reset: step;
}

@media (min-width: 640px) {
  .steps-row { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
}

.step-item {
  text-align: center;
  counter-increment: step;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ---- Section headings ---- */
.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

@media (min-width: 768px) {
  .section-title { font-size: 36px; }
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  text-align: center;
  max-width: 520px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

/* ---- CTA Section ---- */
.cta-section {
  background: var(--color-primary);
  border-radius: var(--radius-xl);
  padding: 48px 24px;
  text-align: center;
  color: white;
}

@media (min-width: 768px) {
  .cta-section { padding: 64px 48px; }
}

.cta-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .cta-title { font-size: 36px; }
}

.cta-subtitle {
  font-size: 16px;
  opacity: 0.85;
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

@media (min-width: 480px) {
  .cta-badges {
    flex-direction: row;
    justify-content: center;
  }
}

/* ---- Footer ----
   Sitewide footer per seo.md §Footer-architecture. Brand block (logo + name +
   tagline) on the left, link columns on the right; copyright bar below.
   Stacks single-column on narrow phones. */
.site-footer {
  border-top: 1px solid var(--surface-divider);
  padding: 32px 0 16px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .footer-main {
    grid-template-columns: minmax(180px, 1fr) 2.4fr;
    gap: 48px;
    align-items: start;
  }
}

.footer-brand-block { display: block; }

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.footer-brand-mark {
  width: 28px;
  height: 28px;
  display: inline-block;
}
.footer-brand-mark svg { width: 100%; height: 100%; display: block; }

.footer-brand-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
  max-width: 260px;
  line-height: 1.5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.footer-col-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-col-links a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color var(--motion-fast) ease;
}
.footer-col-links a:hover { color: var(--text-primary); }

.footer-bottom {
  border-top: 1px solid var(--surface-divider);
  padding-top: 12px;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

/* ---- Legal page styles ----
   Top padding matches the homepage's hero (.hero) so the gap below the
   64px global header is consistent across pages:
     mobile : 96 - 64 = 32px gap
     ≥768px : 112 - 64 = 48px gap
   Horizontal padding lives on .container; .legal-page handles only vertical. */
.legal-page {
  padding: 96px 0 60px;
  min-height: 100vh;
}

@media (min-width: 768px) {
  .legal-page { padding: 112px 0 80px; }
}

.legal-container {
  max-width: 720px;
  margin: 0; /* left-align to container so content starts at the logo's x */
}

.legal-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

@media (min-width: 768px) {
  .legal-title { font-size: 36px; }
}

.legal-date {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.legal-body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.legal-body h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal-body h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-body p {
  margin-bottom: 12px;
}

.legal-body ul, .legal-body ol {
  margin-bottom: 12px;
  padding-left: 24px;
}

.legal-body li {
  margin-bottom: 6px;
}

.legal-body a {
  color: var(--text-link);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-body a:hover { opacity: 0.8; }

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
  font-size: 14px;
}
.legal-table th, .legal-table td {
  border: 1px solid var(--surface-divider);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}
.legal-table th {
  background: var(--surface-input);
  font-weight: 600;
  color: var(--text-primary);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-link);
  font-size: 14px;
  font-weight: 500;
  /* Locked rule: gap below = ½ the gap above. .legal-page padding-top jumps
     32→48px at 768px, so margin-bottom jumps 16→24px in lockstep. */
  margin-bottom: 16px;
  transition: opacity var(--motion-fast) ease;
}
@media (min-width: 768px) {
  .back-link { margin-bottom: 24px; }
}
.back-link:hover { opacity: 0.8; }

/* ---- Contact page ---- */
.contact-card {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 24px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .contact-card { padding: 32px; }
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--surface-divider);
}
.contact-row:last-child { border-bottom: none; }

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-primary);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.contact-value {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.contact-value a {
  color: var(--text-link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---- Delete account page ---- */
.delete-card {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 24px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .delete-card { padding: 32px; }
}

.delete-warning {
  background: #FEF2F2;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.delete-warning svg { flex-shrink: 0; margin-top: 2px; }

.delete-warning-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.delete-warning-text strong {
  color: var(--semantic-error);
  font-weight: 600;
}

.what-gets-deleted h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.what-gets-deleted ul {
  list-style: none;
  padding: 0;
}

.what-gets-deleted li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
}

.what-gets-deleted li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--semantic-error);
}

.what-gets-deleted li.retained::before {
  background: var(--text-muted);
}

.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--text-primary);
  background: var(--surface-input);
  border: 1px solid var(--surface-divider);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--motion-fast) ease;
}

.form-input::placeholder { color: var(--text-muted); }
.form-input:focus { border-color: var(--color-primary); border-width: 2px; padding: 13px 15px; }

.checkbox-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.checkbox-row input[type="checkbox"] {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--semantic-error);
  cursor: pointer;
}

.checkbox-label {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
  cursor: pointer;
}

.btn-delete {
  display: block;
  width: 100%;
  padding: 14px 32px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-inverse);
  background: var(--semantic-error);
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: opacity var(--motion-fast) ease;
}
.btn-delete:hover { opacity: 0.9; }
.btn-delete:active { transform: scale(0.98); }
.btn-delete:disabled { opacity: 0.5; cursor: not-allowed; }

.form-note {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
  line-height: 1.5;
}
.form-note a { color: var(--text-link); }

.form-message {
  font-size: 14px;
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  display: none;
}
.form-message.error {
  display: block;
  background: #FEE2E2;
  color: #DC2626;
}

/* ---- Animations ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================================
   Waitlist page (/waitlist) — ported from apps/landing-aisha/waitlist.html
   ============================================================================ */
.waitlist-page { padding: 120px 0 80px; }
.waitlist-container { max-width: 480px; margin: 0; /* left-align to container, matches logo x */ }
.waitlist-headline {
  font-family: 'Playfair Display', serif;
  font-size: 32px; font-weight: 700; line-height: 1.2;
  color: var(--text-primary); margin-bottom: 12px; letter-spacing: -0.3px;
}
@media (min-width: 768px) { .waitlist-headline { font-size: 40px; } }

.waitlist-subtext {
  font-size: 16px; line-height: 1.6;
  color: var(--text-secondary); margin-bottom: 40px;
}

.waitlist-card {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 32px; margin-bottom: 24px;
}

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

.waitlist-input {
  width: 100%; height: 56px; padding: 0 20px;
  font-family: 'DM Sans', sans-serif; font-size: 16px;
  background: var(--surface-page);
  border: 1px solid var(--surface-divider);
  border-radius: var(--radius-pill);
  color: var(--text-primary); outline: none;
  transition: border-color var(--motion-fast) ease;
}
.waitlist-input::placeholder { color: var(--text-muted); }
.waitlist-input:focus {
  border-color: var(--color-primary);
  border-width: 2px; padding: 0 19px;
}

.waitlist-submit {
  width: 100%; height: 56px;
  background: var(--cta-primary); color: var(--text-inverse);
  font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600;
  border: none; border-radius: var(--radius-pill); cursor: pointer;
  transition: background var(--motion-fast) ease; margin-top: 4px;
}
.waitlist-submit:hover:not(:disabled) { background: var(--cta-primary-hover); }
.waitlist-submit:active:not(:disabled) { transform: scale(0.98); }
.waitlist-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.waitlist-message {
  font-size: 14px; margin-top: 12px; padding: 12px 16px;
  border-radius: var(--radius-md); display: none;
}
.waitlist-message.success { display: block; background: #e8f5e9; color: #2e7d32; }
.waitlist-message.error { display: block; background: #FEE2E2; color: #DC2626; }

.waitlist-footer {
  font-size: 14px; color: var(--text-muted); line-height: 1.6;
  text-align: center; margin-top: 32px;
}
.waitlist-footer a {
  color: var(--text-link); text-decoration: underline;
  text-underline-offset: 2px;
}
.waitlist-footer a:hover { opacity: 0.8; }

/* Success-confirmation view (shared by waitlist + delete-account). */
.confirm-view { display: none; text-align: center; }
.confirm-view.visible { display: block; }

.confirm-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--color-primary-light);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}
@media (min-width: 768px) {
  .confirm-icon { width: 80px; height: 80px; }
  .confirm-icon svg { width: 36px; height: 36px; }
}

.confirm-title {
  font-size: 26px; font-weight: 700; line-height: 1.2;
  color: var(--text-primary); margin-bottom: 12px;
}
@media (min-width: 768px) { .confirm-title { font-size: 36px; } }

.confirm-text {
  font-size: 15px; line-height: 1.7;
  color: var(--text-secondary); margin-bottom: 8px;
}

.confirm-back {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text-link); font-size: 14px; font-weight: 500;
  margin-top: 32px;
  transition: opacity var(--motion-fast) ease;
}
.confirm-back:hover { opacity: 0.8; }

/* ============================================================================
   404 page — ported from apps/landing-aisha/404.html
   ============================================================================ */
.nf-page {
  display: flex; align-items: center; justify-content: center;
  padding: 96px 24px 32px;
  min-height: calc(100vh - 200px);
}
.nf-inner { max-width: 560px; text-align: center; margin: 0 auto; }
.nf-code {
  font-family: 'Playfair Display', serif;
  font-size: 96px; line-height: 1; font-weight: 700;
  color: var(--color-primary); margin-bottom: 24px; letter-spacing: -0.02em;
}
@media (min-width: 768px) { .nf-code { font-size: 128px; margin-bottom: 32px; } }
.nf-headline {
  font-family: 'Playfair Display', serif;
  font-size: 36px; line-height: 1.15; font-weight: 600;
  color: var(--text-primary); margin-bottom: 20px;
}
@media (min-width: 768px) { .nf-headline { font-size: 48px; margin-bottom: 24px; } }
.nf-body {
  font-size: 16px; line-height: 1.55;
  color: var(--text-secondary); margin-bottom: 36px;
}
@media (min-width: 768px) { .nf-body { font-size: 18px; margin-bottom: 44px; } }
.nf-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 480px) { .nf-actions .btn { width: 100%; } }

/* =========================================================
   GET-APP MODAL  ·  v2 design (store picker → iOS notify → success)
   Implemented from the external design-system delivery.
   .sb-glyph holds our official store-icon SVGs (RuStore/AppGallery/App Store).
   ========================================================= */

/* ---------- overlay ---------- */
.ga-overlay {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(28, 25, 23, 0.38);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none;
  transition: opacity var(--motion-slow) ease;
}
.ga-overlay.open { opacity: 1; pointer-events: auto; }

/* ---------- dialog shell ---------- */
.ga-dialog {
  position: relative;
  width: 400px; max-width: 100%;
  background: var(--surface-card);
  border-radius: 22px;
  box-shadow: var(--shadow-elevated);
  padding: 28px 28px 24px;
  overflow: hidden;
  transform: translateY(14px) scale(0.985);
  transition: transform var(--motion-slow) var(--ease-spring);
}
.ga-overlay.open .ga-dialog { transform: none; }

/* marigold-square brand motif — top-right corner accent (flat-editorial language) */
.ga-dialog::after {
  content: ""; position: absolute; top: -26px; right: -26px;
  width: 104px; height: 104px; pointer-events: none; z-index: 0;
  background: var(--color-amber-light); opacity: 0.8; border-radius: 16px;
  transform: rotate(12deg);
}

/* ---------- close (×) ---------- */
.ga-close {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-input); border: 1px solid var(--surface-divider);
  color: var(--fg-2); cursor: pointer;
  transition: background var(--motion-fast) ease, color var(--motion-fast) ease;
}
.ga-close:hover { background: var(--cta-cream-hover); color: var(--fg-1); }
.ga-close svg { width: 18px; height: 18px; }

/* ---------- back (←) ---------- */
.ga-back {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  width: 34px; height: 34px; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  background: transparent; border: none; color: var(--fg-2); cursor: pointer;
  transition: background var(--motion-fast) ease, color var(--motion-fast) ease;
}
.ga-back:hover { background: var(--surface-input); color: var(--fg-1); }
.ga-back svg { width: 20px; height: 20px; }
.ga-dialog[data-state="ios"] .ga-back { display: flex; }

/* ---------- panels ---------- */
.ga-panel { display: none; flex-direction: column; position: relative; z-index: 2; }
.ga-dialog[data-state="picker"]  .ga-panel-picker  { display: flex; }
.ga-dialog[data-state="ios"]     .ga-panel-ios     { display: flex; }
.ga-dialog[data-state="success"] .ga-panel-success { display: flex; }

/* panel entrance — transform/opacity only (reduced-motion safe) */
@keyframes ga-fwd  { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
@keyframes ga-back { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: none; } }
@keyframes ga-pop  { from { opacity: 0; transform: scale(0.96); }       to { opacity: 1; transform: none; } }
.ga-dialog.anim-fwd  .ga-panel { animation: ga-fwd var(--motion-slow) var(--ease-spring); }
.ga-dialog.anim-back .ga-panel { animation: ga-back var(--motion-slow) var(--ease-spring); }
.ga-dialog.anim-pop  .ga-panel { animation: ga-pop var(--motion-slow) var(--ease-spring); }

/* ---------- header type ---------- */
.ga-head { margin: 4px 0 20px; padding-right: 28px; }
.ga-eyebrow {
  font-family: var(--font-sans); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.6px; color: var(--color-amber);
  margin: 0 0 10px;
}
.ga-title {
  font-family: var(--font-display); font-weight: 600; font-size: 27px; line-height: 1.18;
  color: var(--fg-1); margin: 0; letter-spacing: -0.01em;
}
.ga-title .brand { font-family: var(--font-sans); font-weight: 700; letter-spacing: -0.01em; }
.ga-sub { font-family: var(--font-sans); font-size: 15px; line-height: 1.5; color: var(--fg-2); margin: 10px 0 0; }

/* ---------- store badges ---------- */
.ga-badges { display: flex; flex-direction: column; gap: 12px; }
.store-badge {
  display: flex; align-items: center; gap: 14px;
  width: 100%; text-align: left; cursor: pointer;
  background: var(--surface-card); border: 1px solid var(--surface-divider);
  border-radius: 16px; padding: 13px 16px; min-height: 66px;
  box-shadow: var(--shadow-card); text-decoration: none;
  transition: box-shadow var(--motion-base) ease, border-color var(--motion-base) ease, transform var(--motion-fast) ease;
  font-family: var(--font-sans);
}
.store-badge:hover { box-shadow: var(--shadow-card-hover); border-color: #E3C99A; transform: translateY(-1px); }
.store-badge:active { transform: scale(0.99); }
/* glyph tile — holds our official store-icon SVG (already a colour rounded-square) */
.sb-glyph {
  flex: none; width: 46px; height: 46px; border-radius: 13px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.sb-glyph img { width: 100%; height: 100%; display: block; }
.sb-text { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.sb-cap { font-size: 11px; font-weight: 600; letter-spacing: 0.4px; text-transform: uppercase; color: var(--fg-muted); }
.sb-name { font-size: 19px; font-weight: 700; color: var(--fg-1); letter-spacing: -0.01em; }
.sb-meta { display: flex; align-items: center; gap: 5px; margin-left: auto; flex: none; color: var(--fg-muted); }
.sb-meta svg { width: 18px; height: 18px; }

/* secondary — App Store (coming → notify) */
.store-badge.sb-secondary {
  background: var(--surface-input); box-shadow: none; min-height: 62px;
}
.store-badge.sb-secondary:hover { background: #F3EEE6; border-color: #E3C99A; }
.store-badge.sb-secondary .sb-name { font-size: 18px; color: var(--fg-2); }
.sb-tag {
  margin-left: auto; flex: none; font-size: 10px; font-weight: 700; letter-spacing: 0.6px;
  text-transform: uppercase; color: var(--color-amber); background: var(--color-amber-light);
  padding: 4px 9px; border-radius: 9999px;
}

/* coming-soon caption */
.ga-soon { text-align: center; margin-top: 16px; font-size: 12.5px; font-weight: 500; color: var(--fg-muted); }

/* ---------- iOS form (state ②) ---------- */
.ga-ios-art {
  width: 100%; max-width: 208px; height: auto; margin: 2px auto 14px;
  display: flex; align-items: center; justify-content: center;
}
.ga-ios-art img { width: 100%; height: auto; }
.ga-field { display: flex; flex-direction: column; gap: 7px; margin-top: 14px; }
.ga-field label { font-size: 12px; font-weight: 600; color: var(--fg-2); letter-spacing: 0.2px; }
.ga-field label .opt { color: var(--fg-muted); font-weight: 500; }
.ga-input {
  width: 100%; height: 50px; padding: 0 15px;
  font-family: var(--font-sans); font-size: 15px; color: var(--fg-1);
  background: var(--surface-input); border: 1.5px solid var(--surface-divider);
  border-radius: 12px; transition: border-color var(--motion-fast) ease, background var(--motion-fast) ease;
}
.ga-input::placeholder { color: var(--fg-muted); }
.ga-input:focus { outline: none; border-color: var(--color-amber); border-width: 2px; background: #fff; }
.ga-submit {
  width: 100%; height: 52px; margin-top: 20px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-size: 16px; font-weight: 600;
  background: var(--cta-dark); color: #fff; border: none; border-radius: 9999px; cursor: pointer;
  transition: background var(--motion-fast) ease, transform var(--motion-fast) ease;
}
.ga-submit:hover { background: var(--cta-dark-hover); transform: translateY(-1px); }
.ga-submit:active { transform: scale(0.99); }
.ga-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.ga-fineprint { font-size: 12px; line-height: 1.45; color: var(--fg-muted); margin: 14px 0 0; text-align: center; }
.ga-msg { font-size: 13px; margin-top: 10px; text-align: center; color: var(--semantic-error); display: none; }
.ga-msg.show { display: block; }

/* ---------- success (state ③) ---------- */
.ga-panel-success { align-items: center; text-align: center; }
.ga-success-art { width: 100%; max-width: 230px; height: auto; margin: 6px auto 2px; }
.ga-success-art img { width: 100%; height: auto; }
.ga-panel-success .ga-title { font-size: 28px; }
.ga-panel-success .ga-sub { margin-top: 8px; }
.ga-done { width: 100%; height: 50px; margin-top: 22px; background: transparent; border: none;
  font-family: var(--font-sans); font-size: 15px; font-weight: 600; color: var(--fg-2); cursor: pointer; border-radius: 9999px; }
.ga-done:hover { background: var(--surface-input); color: var(--fg-1); }

/* =========================================================
   MOBILE — bottom sheet (≤767px)
   ========================================================= */
.ga-grab { display: none; }
@media (max-width: 767px) {
  .ga-overlay { align-items: flex-end; padding: 0; }
  .ga-dialog {
    width: 100%; max-width: 100%;
    border-radius: 24px 24px 0 0; padding: 12px 22px calc(24px + env(safe-area-inset-bottom));
    transform: translateY(100%);
  }
  .ga-overlay.open .ga-dialog { transform: none; }
  .ga-grab { display: block; width: 40px; height: 5px; border-radius: 9999px;
    background: var(--surface-divider); margin: 8px auto 14px; }
  .ga-close { top: 14px; }
  .ga-dialog::after { opacity: 0.7; }
}

@media (prefers-reduced-motion: reduce) {
  .ga-overlay, .ga-dialog { transition-duration: 100ms; }
  .ga-dialog.anim-fwd .ga-panel, .ga-dialog.anim-back .ga-panel, .ga-dialog.anim-pop .ga-panel {
    animation-duration: 1ms;
  }
}
