/* ==========================================================================
   Nest Note — Landing Page Stylesheet
   Pure Flexbox • Distinct Watercolor Section Themes • Generous Ambient Glows
   ========================================================================== */

:root {
  /* Warm serene canvas */
  --bg-canvas: #faf8f5;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  
  /* Text */
  --text-main: #181b20;
  --text-muted: #565d6a;
  --text-subtle: #848c9b;
  
  /* Borders */
  --border-subtle: rgba(0, 0, 0, 0.06);
  --border-light: rgba(0, 0, 0, 0.10);

  /* Rainbow Palette Tokens (from Nest Note Design System) */
  --robins-egg-bg: #eefafb;
  --robins-egg-tint: #d8f5f8;
  --robins-egg-border: #aee5ed;
  --robins-egg-text: #0b687a;
  --robins-egg-glow: rgba(75, 215, 230, 0.42);

  --peach-bg: #fff5ed;
  --peach-tint: #ffe4d1;
  --peach-border: #f8cfb0;
  --peach-text: #b35615;
  --peach-glow: rgba(255, 160, 110, 0.35);

  --amber-bg: #fffcf2;
  --amber-tint: #ffeed0;
  --amber-border: #fadc96;
  --amber-text: #9e6400;
  --amber-glow: rgba(255, 195, 80, 0.38);

  --sky-bg: #f4f9ff;
  --sky-tint: #ddecfe;
  --sky-border: #bcd9fb;
  --sky-text: #1459a0;
  --sky-glow: rgba(110, 185, 255, 0.38);

  --mint-bg: #f2fbf6;
  --mint-tint: #d8f5e5;
  --mint-border: #b8e9cc;
  --mint-text: #166e3b;
  --mint-glow: rgba(100, 225, 160, 0.35);

  --lilac-bg: #faf5ff;
  --lilac-tint: #eedcff;
  --lilac-border: #ddbeff;
  --lilac-text: #6b26a6;
  --lilac-glow: rgba(195, 140, 255, 0.32);

  /* Primary Button */
  --primary: #191c21;
  --primary-hover: #2e343d;
  --primary-text: #ffffff;

  /* Typography & Radii */
  --font-sans: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-phone: 38px;
  --radius-full: 9999px;

  /* Responsive Spacing Defaults (Mobile First) */
  --container-padding: 1.25rem;
  --section-padding-y: 4.25rem;
  --content-gap: 2.5rem;
}

/* ==========================================================================
   Responsive Breakpoints: Progressively scale padding and margins
   ========================================================================== */

/* Tablet & Phablet (640px+) */
@media (min-width: 640px) {
  :root {
    --container-padding: 2rem;
    --section-padding-y: 5.25rem;
    --content-gap: 3.25rem;
  }
}

/* Desktop (920px+) */
@media (min-width: 920px) {
  :root {
    --container-padding: 2.5rem;
    --section-padding-y: 6.75rem;
    --content-gap: 4.5rem;
  }
}

/* Large Screens (1120px+) */
@media (min-width: 1120px) {
  :root {
    --container-padding: 2.5rem;
    --section-padding-y: 7.5rem;
    --content-gap: 5.5rem;
  }
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--text-main);
  line-height: 1.6;
  position: relative;
  overflow-x: clip;
  width: 100%;
  min-height: 100vh;
}

/* Container */
.container {
  width: 100%;
  max-width: 1060px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Ambient Section Glows (Contained within each section, zero overflow)
   ========================================================================== */
.section-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
  will-change: transform;
}

/* Hero Glows: Robin's Egg Blue Theme */
.glow-hero-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--robins-egg-glow) 0%, rgba(185, 245, 252, 0.25) 50%, transparent 75%);
  top: -80px;
  right: -80px;
}

.glow-hero-2 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(125, 225, 245, 0.38) 0%, rgba(210, 250, 255, 0.2) 50%, transparent 75%);
  bottom: 0;
  left: -80px;
}

/* Feature Amber Glows */
.glow-amber-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--amber-glow) 0%, rgba(255, 230, 160, 0.25) 50%, transparent 75%);
  top: 10%;
  right: -100px;
}

/* Feature Sky Glows */
.glow-sky-1 {
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, var(--sky-glow) 0%, rgba(190, 225, 255, 0.25) 50%, transparent 75%);
  top: 15%;
  left: -100px;
}

/* Feature Mint Glows */
.glow-mint-1 {
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, var(--mint-glow) 0%, rgba(180, 245, 210, 0.25) 50%, transparent 75%);
  top: 15%;
  right: -100px;
}

/* Social Lilac Glows */
.glow-lilac-1 {
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, var(--lilac-glow) 0%, rgba(235, 215, 255, 0.25) 50%, transparent 75%);
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
}

/* ==========================================================================
   Navigation (Flexbox & Frosted Glass Sticky Header)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(238, 250, 251, 0.55);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border-bottom: 1px solid rgba(11, 104, 122, 0.08);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.02);
  padding: 0.85rem 0;
  margin-bottom: -68px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  display: block;
}

/* ==========================================================================
   Buttons (Flexbox)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-text);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

.btn-lg {
  padding: 0.85rem 1.85rem;
  font-size: 1rem;
}

/* ==========================================================================
   Hero Section (Robin's Egg Blue Theme)
   ========================================================================== */
.hero-section {
  padding-top: calc(var(--section-padding-y) + 68px);
  padding-bottom: var(--section-padding-y);
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--robins-egg-bg) 0%, #faf8f5 100%);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.95rem;
  background: #ffffff;
  border: 1px solid var(--robins-egg-border);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--robins-egg-text);
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 10px rgba(35, 175, 195, 0.16);
}

.hero-pill-sparkle {
  color: #0b8fa8;
}

.hero-title {
  font-size: 2.15rem;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1.15rem;
  color: var(--text-main);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 2.85rem;
  }
}

@media (min-width: 920px) {
  .hero-title {
    font-size: 3.35rem;
  }
}

.hero-title span {
  background: linear-gradient(135deg, #097086 0%, #175492 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.85rem;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 1.18rem;
  }
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 3rem;
}

.hero-micro-text {
  font-size: 0.82rem;
  color: var(--text-subtle);
}

.hero-section .phone-frame {
  box-shadow: 0 24px 52px -10px rgba(20, 160, 185, 0.25), 0 8px 16px -6px rgba(0, 0, 0, 0.08);
}

.hero-section .screenshot-placeholder-content {
  background: linear-gradient(180deg, #f7fdfe 0%, #e8f8fa 100%);
  border-color: var(--robins-egg-border);
}

.hero-section .placeholder-badge {
  background: var(--robins-egg-tint);
  color: var(--robins-egg-text);
}

/* ==========================================================================
   Section Color Themes
   ========================================================================== */

/* Base Section */
.feature-section {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
}

/* 1. Theme Amber (Nesting & Organization) */
.theme-amber {
  background: linear-gradient(180deg, var(--amber-bg) 0%, #faf8f5 100%);
}

.theme-amber .feature-tag {
  background: var(--amber-tint);
  color: var(--amber-text);
  border: 1px solid var(--amber-border);
}

.theme-amber .feature-bullet-icon {
  background: #ffffff;
  color: var(--amber-text);
  border: 1.5px solid var(--amber-border);
  box-shadow: 0 2px 8px rgba(230, 160, 20, 0.15);
}

.theme-amber .phone-frame {
  box-shadow: 0 24px 50px -10px rgba(220, 140, 20, 0.22), 0 8px 16px -6px rgba(0, 0, 0, 0.08);
}

.theme-amber .screenshot-placeholder-content {
  background: linear-gradient(180deg, #fffdf8 0%, #fff7e8 100%);
  border-color: var(--amber-border);
}

/* 2. Theme Sky (Bird's-Eye Calendar) */
.theme-sky {
  background: linear-gradient(180deg, var(--sky-bg) 0%, #faf8f5 100%);
}

.theme-sky .feature-tag {
  background: var(--sky-tint);
  color: var(--sky-text);
  border: 1px solid var(--sky-border);
}

.theme-sky .feature-bullet-icon {
  background: #ffffff;
  color: var(--sky-text);
  border: 1.5px solid var(--sky-border);
  box-shadow: 0 2px 8px rgba(20, 120, 220, 0.15);
}

.theme-sky .phone-frame {
  box-shadow: 0 24px 50px -10px rgba(30, 120, 230, 0.22), 0 8px 16px -6px rgba(0, 0, 0, 0.08);
}

.theme-sky .screenshot-placeholder-content {
  background: linear-gradient(180deg, #fbfdff 0%, #ebf4fe 100%);
  border-color: var(--sky-border);
}

/* 3. Theme Mint (Privacy & Local-First Speed) */
.theme-mint {
  background: linear-gradient(180deg, var(--mint-bg) 0%, #faf8f5 100%);
}

.theme-mint .feature-tag {
  background: var(--mint-tint);
  color: var(--mint-text);
  border: 1px solid var(--mint-border);
}

.theme-mint .feature-bullet-icon {
  background: #ffffff;
  color: var(--mint-text);
  border: 1.5px solid var(--mint-border);
  box-shadow: 0 2px 8px rgba(20, 170, 80, 0.15);
}

.theme-mint .phone-frame {
  box-shadow: 0 24px 50px -10px rgba(20, 160, 80, 0.20), 0 8px 16px -6px rgba(0, 0, 0, 0.08);
}

.theme-mint .screenshot-placeholder-content {
  background: linear-gradient(180deg, #fafffc 0%, #e6faef 100%);
  border-color: var(--mint-border);
}

/* 4. Theme Lilac (Social Proof) */
.theme-lilac {
  background: linear-gradient(180deg, var(--lilac-bg) 0%, #faf8f5 100%);
}

.theme-lilac .section-eyebrow {
  color: var(--lilac-text);
}

/* ==========================================================================
   Feature Layout (Flexbox)
   ========================================================================== */
.feature-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--content-gap);
  width: 100%;
}

@media (min-width: 920px) {
  .feature-layout {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .feature-layout.reversed {
    flex-direction: row-reverse;
  }
}

.feature-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  text-align: left;
}

@media (min-width: 920px) {
  .feature-content {
    flex: 1;
    max-width: 490px;
  }
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  width: fit-content;
  margin-bottom: 1.15rem;
}

.feature-title {
  font-size: 1.85rem;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--text-main);
}

@media (min-width: 640px) {
  .feature-title {
    font-size: 2.15rem;
  }
}

.feature-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feature-bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.feature-bullet-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-bullet-text strong {
  display: block;
  font-size: 0.98rem;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.feature-bullet-text span {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Screenshot Placeholders (Flexbox Centered)
   ========================================================================== */
.screenshot-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 920px) {
  .screenshot-wrapper {
    flex: 1;
  }
}

.phone-frame {
  width: 100%;
  max-width: 300px;
  background: #15181d;
  border-radius: var(--radius-phone);
  padding: 10px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (min-width: 640px) {
  .phone-frame {
    max-width: 320px;
  }
}

@media (min-width: 920px) {
  .phone-frame {
    max-width: 340px;
  }
}

.phone-frame:hover {
  transform: translateY(-4px);
}

.phone-notch {
  width: 76px;
  height: 16px;
  background: #000000;
  border-radius: var(--radius-full);
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.phone-screen {
  background: #ffffff;
  border-radius: calc(var(--radius-phone) - 8px);
  overflow: hidden;
  position: relative;
  aspect-ratio: 9 / 19.5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.screenshot-placeholder-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.25rem;
  width: 100%;
  height: 100%;
  border: 2px dashed;
  border-radius: calc(var(--radius-phone) - 10px);
  gap: 0.55rem;
}

.placeholder-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-muted);
}

.placeholder-icon {
  font-size: 2.25rem;
  margin: 0.2rem 0;
}

.placeholder-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.placeholder-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 220px;
  line-height: 1.4;
}

.placeholder-file-name {
  font-family: monospace;
  font-size: 0.75rem;
  background: rgba(0, 0, 0, 0.06);
  color: var(--text-main);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-top: 0.4rem;
  word-break: break-all;
  max-width: 90%;
}

/* ==========================================================================
   Social Proof Section (Lilac Theme with Tinted Cards)
   ========================================================================== */
.social-proof-section {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
}

.section-eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.section-heading {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
  line-height: 1.25;
}

@media (min-width: 640px) {
  .section-heading {
    font-size: 2.25rem;
  }
}

.reviews-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: left;
}

@media (min-width: 920px) {
  .reviews-grid {
    flex-direction: row;
    gap: 1.5rem;
  }
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
}

.review-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.review-card.card-peach::before { background: #fca56e; }
.review-card.card-sky::before   { background: #60a5fa; }
.review-card.card-mint::before  { background: #34d399; }

@media (min-width: 920px) {
  .review-card {
    flex: 1;
  }
}

.review-quote-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.review-text {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
}

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-peach {
  background: var(--peach-tint);
  color: var(--peach-text);
}

.avatar-sky {
  background: var(--sky-tint);
  color: var(--sky-text);
}

.avatar-mint {
  background: var(--mint-tint);
  color: var(--mint-text);
}

.review-meta-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
}

.review-meta-role {
  font-size: 0.8rem;
  color: var(--text-subtle);
}

/* ==========================================================================
   Closing CTA Section
   ========================================================================== */
.closing-cta-section {
  padding-top: calc(var(--section-padding-y) * 0.75);
  padding-bottom: var(--section-padding-y);
  position: relative;
  overflow: hidden;
}

.cta-banner {
  background: linear-gradient(135deg, #1b2029 0%, #111419 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3.5rem var(--container-padding);
  text-align: center;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 170, 110, 0.35) 0%, transparent 70%);
}

.cta-banner::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 190, 255, 0.35) 0%, transparent 70%);
}

.cta-banner-title {
  font-size: 1.85rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

@media (min-width: 640px) {
  .cta-banner-title {
    font-size: 2.35rem;
  }
}

.cta-banner-desc {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 500px;
  margin-bottom: 1.85rem;
  line-height: 1.6;
}

.cta-banner .btn-primary {
  background: #ffffff;
  color: #191c21;
}

.cta-banner .btn-primary:hover {
  background: #f0f0f0;
}

/* ==========================================================================
   Footer (Flexbox)
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 2.5rem 0 3.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 720px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--text-main);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  list-style: none;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--text-main);
  text-decoration: underline;
}

.footer-copy {
  color: var(--text-subtle);
  font-size: 0.82rem;
}

/* ==========================================================================
   Legal Pages (Privacy & Terms)
   ========================================================================== */
.legal-page {
  padding-top: calc(var(--section-padding-y) + 68px);
  padding-bottom: var(--section-padding-y);
}

.legal-header {
  margin-bottom: 2.25rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.25rem;
}

.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.legal-back-link:hover {
  color: var(--text-main);
}

.legal-title {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--text-subtle);
}

.legal-content {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  font-size: 0.98rem;
  color: var(--text-main);
  line-height: 1.7;
}

.legal-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--text-main);
}

.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 0.85rem;
  margin-bottom: 0.35rem;
}

.legal-content p {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.legal-content ul {
  margin-left: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.legal-content li {
  margin-bottom: 0.4rem;
}

.legal-callout {
  background: var(--bg-surface);
  border-left: 3px solid #10b981;
  padding: 1rem 1.15rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1rem 0;
  color: var(--text-main);
  font-size: 0.92rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
