/* ============================================================
   Reflect — Design System v3 (premium, unified across all pages)
   ============================================================ */

:root {
  /* Color */
  --bg:          #ffffff;
  --bg-alt:      #f8f7f5;     /* warm off-white for alternating sections */
  --bg-dark:     #0a0908;     /* deep section bg / footer */
  --surface:     #ffffff;
  --surface-alt: #f4f3f0;
  --text:        #0a0908;
  --text-dim:    #57534e;
  --muted:       #78716c;
  --light:       #a8a29e;
  --border:      #e7e5e4;
  --border-strong: #d6d3d1;
  --accent:      #0a0908;     /* near-black — used for CTAs and emphasis */
  --on-accent:   #ffffff;

  /* Spacing scale */
  --gutter:        max(24px, 5vw);
  --gutter-tight:  max(20px, 4vw);
  --container:     1280px;
  --container-prose: 720px;
  --section-py:    clamp(80px, 12vw, 160px);
  --section-py-sm: clamp(56px, 8vw, 96px);

  /* Radii */
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(10, 9, 8, 0.04), 0 1px 4px rgba(10, 9, 8, 0.04);
  --shadow-md: 0 8px 24px rgba(10, 9, 8, 0.06), 0 2px 8px rgba(10, 9, 8, 0.04);
  --shadow-lg: 0 24px 48px rgba(10, 9, 8, 0.10), 0 8px 16px rgba(10, 9, 8, 0.06);
  --shadow-phone: 0 40px 80px rgba(10, 9, 8, 0.16), 0 8px 24px rgba(10, 9, 8, 0.08);

  /* Type */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display: var(--font-sans);
  --tracking-tight: -0.02em;
  --tracking-tighter: -0.035em;
  --tracking-tightest: -0.05em;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:           #0a0908;
    --bg-alt:       #14110f;
    --bg-dark:      #000000;
    --surface:      #14110f;
    --surface-alt:  #1f1c19;
    --text:         #fafaf9;
    --text-dim:     #a8a29e;
    --muted:        #a8a29e;
    --light:        #57534e;
    --border:       #292524;
    --border-strong: #44403c;
    --accent:       #fafaf9;
    --on-accent:    #0a0908;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 24px 48px rgba(0, 0, 0, 0.5);
    --shadow-phone: 0 40px 80px rgba(0, 0, 0, 0.6), 0 8px 24px rgba(0, 0, 0, 0.4);
  }
}

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

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

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

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

a { color: inherit; }

::selection { background: var(--text); color: var(--bg); }

/* ============================================================
   Layout primitives
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.container-prose {
  width: 100%;
  max-width: var(--container-prose);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding-top: var(--section-py); padding-bottom: var(--section-py); }
.section-sm { padding-top: var(--section-py-sm); padding-bottom: var(--section-py-sm); }

.bg-alt { background: var(--bg-alt); }
.bg-dark { background: var(--bg-dark); color: #fafaf9; }
.bg-dark .text-dim { color: rgba(250, 250, 249, 0.65); }

/* ============================================================
   Top navigation — sticky, frosted on scroll
   ============================================================ */

.site-nav {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px var(--gutter) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Optional wrapper if HTML uses .site-nav > .site-nav__inner pattern */
.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex: 1;
}

.site-nav__brand {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.site-nav__brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: inline-block;
  background: url('/apple-touch-icon.png') center/cover;
}

.site-nav__links {
  display: flex;
  gap: 28px;
  flex-wrap: nowrap;
  align-items: center;
}

.site-nav__links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
  white-space: nowrap;
}

.site-nav__links a:hover { color: var(--text); }

.site-nav__cta {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.site-nav__cta:hover { transform: translateY(-1px); opacity: 0.9; }

/* ============================================================
   Typography utilities
   ============================================================ */

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.display-1 {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 700;
  letter-spacing: var(--tracking-tightest);
  line-height: 1.02;
}

.display-2 {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 700;
  letter-spacing: var(--tracking-tighter);
  line-height: 1.05;
}

.display-3 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  line-height: 1.15;
}

.lede {
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--text-dim);
  line-height: 1.5;
  max-width: 600px;
}

/* ============================================================
   Breadcrumb
   ============================================================ */

.breadcrumb {
  max-width: var(--container);
  margin: 0 auto;
  padding: 32px var(--gutter) 0;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb__sep { margin: 0 10px; opacity: 0.5; }

/* ============================================================
   Hero — home page (split layout, full container width)
   ============================================================ */

.home-hero {
  padding-top: clamp(64px, 10vw, 120px);
  padding-bottom: clamp(64px, 10vw, 120px);
  overflow: hidden;
  position: relative;
}

.home-hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

.home-hero__copy h1 {
  font-size: clamp(44px, 6.5vw, 88px);
  font-weight: 700;
  letter-spacing: var(--tracking-tightest);
  line-height: 1.02;
  margin-bottom: 28px;
}

.home-hero__lede {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 36px;
  max-width: 540px;
}

.home-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  margin-top: 28px;
  font-size: 13.5px;
  color: var(--muted);
}

.home-hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.home-hero__trust .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  font-size: 10px;
  font-weight: 700;
}

/* ============================================================
   Hero — landing pages (centered, smaller)
   ============================================================ */

.hero {
  text-align: center;
  padding-top: clamp(64px, 10vw, 120px);
  padding-bottom: clamp(48px, 8vw, 80px);
}

.hero__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: var(--tracking-tighter);
  line-height: 1.04;
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: clamp(17px, 1.3vw, 20px);
  color: var(--text-dim);
  line-height: 1.5;
  max-width: 620px;
  margin: 0 auto 32px;
}

.hero__meta {
  font-size: 13.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* Back-compat for older landing-page markup */
.hero--landing { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero--landing h1 { font-size: clamp(36px, 5vw, 56px); }
.hero .subtitle { font-size: clamp(16px, 1.3vw, 19px); color: var(--text-dim); max-width: 620px; margin: 0 auto 32px; line-height: 1.5; }
.hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface-alt);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  margin-bottom: 28px;
}

/* ============================================================
   CTA buttons (App Store / Google Play)
   ============================================================ */

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.cta-row--center { justify-content: center; }

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent);
  color: var(--on-accent);
  height: 56px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: var(--shadow-sm);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cta-btn:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 4px;
}

.cta-btn__icon { width: 22px; height: 22px; flex-shrink: 0; }
.cta-btn__copy { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.cta-btn__small { font-size: 10.5px; font-weight: 500; letter-spacing: 0.04em; opacity: 0.8; }
.cta-btn__big { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }

/* ============================================================
   Phone screenshot frame — clean, no gimmick rotation
   ============================================================ */

.phone-frame {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  background: #0a0908;
  border-radius: 44px;
  padding: 10px;
  box-shadow: var(--shadow-phone);
  position: relative;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #0a0908;
  border-radius: 16px;
  z-index: 2;
}

.phone-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 34px;
  position: relative;
  z-index: 1;
}

.phone-frame--lg { max-width: 360px; }

/* ============================================================
   Section header (used above every major section)
   ============================================================ */

.section-head {
  max-width: var(--container);
  margin: 0 auto clamp(48px, 6vw, 80px);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  text-align: center;
}

.section-head h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  letter-spacing: var(--tracking-tighter);
  line-height: 1.05;
  margin-bottom: 16px;
}

.section-head p {
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--text-dim);
  line-height: 1.55;
  max-width: 620px;
  margin: 0 auto;
}

/* ============================================================
   Pillar grid (3 strategic differentiators)
   ============================================================ */

.pillar-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 40px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.pillar__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 24px;
}

.pillar h3 {
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  line-height: 1.2;
  margin-bottom: 12px;
}

.pillar p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* ============================================================
   Showcase — alternating screenshot + text sections
   ============================================================ */

.showcase {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

.showcase__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 8vw, 120px);
}

.showcase--reverse .showcase__inner > :first-child { order: 2; }
.showcase--reverse .showcase__inner > :last-child { order: 1; }

.showcase__copy h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: var(--tracking-tighter);
  line-height: 1.05;
  margin-bottom: 20px;
}

.showcase__copy p {
  font-size: clamp(16px, 1.2vw, 18px);
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 520px;
}

.showcase__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.showcase__list li {
  font-size: 15.5px;
  padding: 14px 0 14px 32px;
  position: relative;
  line-height: 1.4;
  border-top: 1px solid var(--border);
  color: var(--text);
}

.showcase__list li:last-child { border-bottom: 1px solid var(--border); }

.showcase__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--text);
}

.showcase__list li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 22px;
  width: 8px;
  height: 4px;
  border-left: 1.5px solid var(--bg);
  border-bottom: 1.5px solid var(--bg);
  transform: rotate(-45deg);
}

/* ============================================================
   Languages strip
   ============================================================ */

.langs {
  text-align: center;
}

.langs__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.langs__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 880px;
  margin: 40px auto 0;
}

.langs__pills span {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

/* ============================================================
   FAQ
   ============================================================ */

.faq {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.faq details {
  border-top: 1px solid var(--border);
  padding: 24px 0;
}

.faq details:last-of-type { border-bottom: 1px solid var(--border); }

.faq summary {
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: '';
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 6px;
}

.faq details > p {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.65;
  margin-top: 16px;
  padding-right: 32px;
}

/* ============================================================
   Article body (landing pages, blog posts)
   ============================================================ */

.article {
  max-width: var(--container-prose);
  margin: 0 auto;
  padding: 24px var(--gutter) 64px;
}

.article h2 {
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  line-height: 1.2;
  margin: 64px 0 20px;
}

.article h2:first-child { margin-top: 0; }

.article h3 {
  font-size: clamp(19px, 1.7vw, 22px);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  line-height: 1.3;
  margin: 40px 0 14px;
}

.article p,
.article li {
  font-size: 17px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 18px;
}

.article p.lede,
.article .lede {
  font-size: clamp(18px, 1.4vw, 22px);
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 40px;
  max-width: 640px;
}

.article ul,
.article ol {
  margin: 12px 0 28px 22px;
  padding: 0;
}

.article li { margin-bottom: 12px; }

.article blockquote {
  border-left: 3px solid var(--border-strong);
  padding: 8px 0 8px 24px;
  margin: 28px 0;
  color: var(--text-dim);
  font-style: italic;
}

.article a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.15s ease;
}

.article a:hover { text-decoration-color: var(--text); }

/* Buttons inside articles must not inherit the article-link underline */
.article a.cta-btn,
.article a.cta-btn:hover {
  text-decoration: none;
  color: var(--on-accent);
}

.article strong { font-weight: 700; }
.article em { font-style: italic; }

.article hr { border: none; height: 1px; background: var(--border); margin: 56px 0; }

.post-meta {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ============================================================
   Inline CTA card (mid-article)
   ============================================================ */

.cta-card {
  background: var(--surface-alt);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 4vw, 48px);
  margin: 56px 0;
  text-align: center;
}

.cta-card h2,
.cta-card h3 {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  margin-bottom: 12px;
  line-height: 1.2;
}

.cta-card p {
  font-size: 15.5px;
  color: var(--text-dim);
  margin: 0 auto 24px;
  line-height: 1.55;
  max-width: 480px;
}

.cta-card .cta-row { justify-content: center; }

/* ============================================================
   Related grid (cross-links between pages)
   ============================================================ */

.related {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.related h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: var(--tracking-tighter);
  margin-bottom: 32px;
  text-align: center;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.related-grid a {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.related-grid a:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.related-grid h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  margin-bottom: 6px;
  color: var(--text);
}

.related-grid p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* ============================================================
   Big closing CTA section (full-bleed dark)
   ============================================================ */

.big-cta {
  background: var(--bg-dark);
  color: #fafaf9;
  text-align: center;
  padding-top: clamp(80px, 12vw, 140px);
  padding-bottom: clamp(80px, 12vw, 140px);
}

.big-cta__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.big-cta h2 {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 700;
  letter-spacing: var(--tracking-tighter);
  line-height: 1.04;
  margin-bottom: 20px;
  color: #fafaf9;
}

.big-cta p {
  font-size: clamp(16px, 1.3vw, 19px);
  color: rgba(250, 250, 249, 0.7);
  line-height: 1.55;
  margin: 0 auto 36px;
  max-width: 520px;
}

.big-cta .cta-btn {
  background: #fafaf9;
  color: #0a0908;
}

.big-cta .cta-row { justify-content: center; }

/* ============================================================
   Blog list (blog index)
   ============================================================ */

.blog-list {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.blog-list__item {
  display: block;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: opacity 0.15s ease;
}

.blog-list__item:last-of-type { border-bottom: 1px solid var(--border); }
.blog-list__item:hover { opacity: 0.7; }

.blog-list__meta {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.blog-list__title {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  margin-bottom: 8px;
  line-height: 1.25;
}

.blog-list__excerpt {
  font-size: 15.5px;
  color: var(--text-dim);
  line-height: 1.55;
}

/* ============================================================
   Footer — full-bleed dark
   ============================================================ */

.divider { display: none; } /* legacy — we use bg color transitions now */

.site-footer {
  background: var(--bg-dark);
  color: #fafaf9;
  padding-top: clamp(64px, 10vw, 96px);
  padding-bottom: clamp(40px, 6vw, 56px);
}

.site-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 48px;
  align-items: start;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(250, 250, 249, 0.08);
}

.site-footer__brand {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  color: #fafaf9;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.site-footer__tagline {
  font-size: 14.5px;
  color: rgba(250, 250, 249, 0.55);
  max-width: 320px;
  line-height: 1.55;
}

.site-footer__col-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250, 250, 249, 0.5);
  margin-bottom: 16px;
}

.site-footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer__col a {
  font-size: 14.5px;
  color: rgba(250, 250, 249, 0.78);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer__col a:hover { color: #fafaf9; }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 36px;
  font-size: 13px;
  color: rgba(250, 250, 249, 0.5);
}

.site-footer__social {
  display: flex;
  gap: 14px;
}

.site-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(250, 250, 249, 0.06);
  color: rgba(250, 250, 249, 0.7);
  transition: background 0.15s ease, color 0.15s ease;
  text-decoration: none;
}

.site-footer__social a:hover {
  background: rgba(250, 250, 249, 0.12);
  color: #fafaf9;
}

.site-footer__social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.site-footer__langs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 13px;
  color: rgba(250, 250, 249, 0.55);
}

.site-footer__langs a {
  color: rgba(250, 250, 249, 0.65);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer__langs a:hover { color: #fafaf9; }
.site-footer__langs a[aria-current="true"] { color: #fafaf9; font-weight: 600; }

/* ============================================================
   Legacy class compatibility (existing pages still use these)
   ============================================================ */

.links-section,
.social-section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) 32px;
  text-align: center;
}

.links-section h2,
.social-section h2 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.links a:hover {
  border-color: var(--border-strong);
  background: var(--surface-alt);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  text-decoration: none;
}

.social-links a:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: var(--surface-alt);
}

.social-links svg { width: 16px; height: 16px; fill: currentColor; }

.footer {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px var(--gutter) 64px;
  text-align: center;
}

.footer p { font-size: 13px; color: var(--muted); }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--text); }
.footer .sep { margin: 6px 0; }

.lang-switcher {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) 32px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  line-height: 2;
}

.lang-switcher a {
  color: var(--muted);
  text-decoration: none;
  padding: 0 8px;
  transition: color 0.15s ease;
}

.lang-switcher a:hover { color: var(--text); }
.lang-switcher a[aria-current="true"] { color: var(--text); font-weight: 600; }
.lang-switcher .sep { opacity: 0.4; padding: 0 2px; }

/* Legacy .features grid — for any page still using the 8-card layout */
.features {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(64px, 8vw, 96px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature:hover { transform: translateY(-2px); border-color: var(--border-strong); }

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
}

.feature h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  margin-bottom: 6px;
}

.feature p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

.hero-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
  font-size: 13.5px;
  color: var(--muted);
}

.hero-trust .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--light);
  opacity: 0.6;
}

/* ============================================================
   Waitlist signup (Kit form embed)
   ============================================================ */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.signup {
  display: flex;
  gap: 8px;
  max-width: 440px;
  margin: 24px auto 14px;
}

.signup input[type="email"] {
  flex: 1 1 0%;
  min-width: 0;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 16px;
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
}

.signup input[type="email"]::placeholder { color: var(--muted); }

.signup input[type="email"]:focus {
  outline: none;
  border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(168, 162, 158, 0.16);
}

.signup button {
  height: 52px;
  padding: 0 22px;
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}

.signup button:hover { transform: translateY(-1px); opacity: 0.9; }
.signup button:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

.signup-note {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.3px;
  text-align: center;
}

.signup-success {
  display: none;
  max-width: 440px;
  margin: 0 auto 14px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  font-size: 15px;
  color: var(--text);
  text-align: left;
}

.signup-success.is-visible { display: block; }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 980px) {
  .home-hero__inner { grid-template-columns: 1fr; text-align: center; }
  .home-hero__copy h1 { margin-left: auto; margin-right: auto; }
  .home-hero__lede { margin-left: auto; margin-right: auto; }
  .home-hero__trust { justify-content: center; }
  .home-hero .cta-row { justify-content: center; }
  .pillar-grid { grid-template-columns: 1fr; }
  .showcase__inner { grid-template-columns: 1fr; gap: 48px; }
  .showcase--reverse .showcase__inner > :first-child { order: 1; }
  .showcase--reverse .showcase__inner > :last-child { order: 2; }
  .site-footer__top { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .site-nav__links { display: none; }
  .site-nav__cta { display: inline-flex; }
  .site-footer__top { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .home-hero__copy h1 { font-size: clamp(36px, 10vw, 52px); }
  .cta-btn { height: 52px; padding: 0 18px; flex: 1 1 auto; justify-content: center; min-width: 0; }
  .cta-row { gap: 10px; }
  .phone-frame { max-width: 280px; padding: 8px; border-radius: 36px; }
  .phone-frame img { border-radius: 28px; }
  .phone-frame::before { width: 80px; height: 22px; }
  .signup { flex-direction: column; gap: 10px; max-width: 100%; }
  .signup input[type="email"], .signup button { width: 100%; height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* RTL */
[dir="rtl"] .cta-btn__copy { text-align: right; }
[dir="rtl"] .breadcrumb__sep { transform: scaleX(-1); display: inline-block; }
[dir="rtl"] .showcase__list li { padding-left: 0; padding-right: 32px; }
[dir="rtl"] .showcase__list li::before,
[dir="rtl"] .showcase__list li::after { left: auto; right: 0; }
[dir="rtl"] .showcase__list li::after { right: 5px; }
[dir="rtl"] .faq summary::after { transform: rotate(135deg); }
[dir="rtl"] .faq details[open] summary::after { transform: rotate(-45deg); }
