/* ===== Design tokens ===== */
:root {
  /* Colors */
  --navy: #0a2540;
  --navy-light: #1a3a5c;
  --navy-muted: #5a6c7d;
  --blue: #0281C8;
  --blue-dark: #004C98;
  --blue-light: #e8f1ff;
  --blue-lighter: #f0f6ff;
  --white: #ffffff;
  --bg: #f8f9fb;
  --bg-alt: #eef2f7;
  --surface: #ffffff;
  --text: #0a2540;
  --text-secondary: #4a5a6a;
  --text-muted: #7a8a9a;
  --border: #e0e6ee;
  --border-light: #eef1f6;
  --success: #34c759;
  --warning: #ff9f0a;
  --error: #ff3b30;
  --shadow-sm: 0 1px 3px rgba(10, 37, 64, 0.06), 0 1px 2px rgba(10, 37, 64, 0.04);
  --shadow-md: 0 4px 12px rgba(10, 37, 64, 0.08), 0 2px 4px rgba(10, 37, 64, 0.04);
  --shadow-lg: 0 12px 40px rgba(10, 37, 64, 0.12), 0 4px 12px rgba(10, 37, 64, 0.06);
  --shadow-xl: 0 24px 64px rgba(10, 37, 64, 0.16), 0 8px 24px rgba(10, 37, 64, 0.08);

  /* Typography */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Spacing */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;

  /* Transitions */
  --t-fast: 150ms ease;
  --t-base: 250ms ease;
  --t-slow: 400ms ease;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }

/* ===== Skip link ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 var(--r-sm) 0;
  z-index: 1000;
  font-size: 0.875rem;
}
.skip-link:focus { top: 0; color: #fff; }

/* ===== Container ===== */
.container { max-width: 1120px; margin: 0 auto; padding: 0 var(--space-3); }
.container-narrow { max-width: 760px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--r-full);
  padding: 0.7rem 1.5rem;
  cursor: pointer;
  transition: all var(--t-base);
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline: 3px solid rgba(10, 132, 255, 0.4); outline-offset: 2px; }

.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.875rem; }
.btn-lg { padding: 0.9rem 2rem; font-size: 1.0625rem; }

.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 4px 14px rgba(10, 132, 255, 0.3);
}
.btn-primary:hover {
  background: var(--blue-dark);
  color: #fff;
  border-color: var(--blue-dark);
  box-shadow: 0 6px 20px rgba(10, 132, 255, 0.4);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-1px);
}

.btn-light {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-light:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
  color: var(--navy);
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--t-base), background var(--t-base);
}
.navbar.scrolled { box-shadow: var(--shadow-sm); background: rgba(255, 255, 255, 0.95); }

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--navy);
  flex-shrink: 0;
}
.nav-brand:hover { color: var(--navy); }
.nav-brand-icon { border-radius: 6px; flex-shrink: 0; width: 28px; height: 28px; }
.nav-brand-text { letter-spacing: -0.02em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color var(--t-fast);

  &.nav-download-button { color: white; }
}
.nav-links a:not(.btn):hover { color: var(--navy); }

.nav-cta { margin-left: var(--space-1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--r-sm);
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--t-base);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Section headers ===== */
.section-header {
  text-align: center;
  margin-bottom: var(--space-6);
}
.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.03em;
}
.section-sub {
  margin-top: var(--space-2);
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding-top: 120px;
  padding-bottom: var(--space-7);
  background: linear-gradient(180deg, var(--blue-lighter) 0%, var(--bg) 100%);
  overflow: hidden;
}
.hero-bg-decor {
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
  position: relative;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 0.35rem 0.8rem;
  border-radius: var(--r-full);
  margin-bottom: var(--space-3);
}
.hero-text h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: -0.03em;
}
.hero-sub {
  margin-top: var(--space-3);
  font-size: 1.1875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 520px;
}
.hero-cta-group {
  margin-top: var(--space-4);
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}
.hero-small-line {
  margin-top: var(--space-3);
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ===== Phone mockups ===== */
.screenshot {
    max-height: 550px;
    object-fit: contain;
}

@media (max-width: 960px) {
    .screenshot {
        max-height: 500px;
    }
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone-mockup {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.phone-frame {
  position: relative;
  width: 300px;
  border-radius: 44px;
  background: linear-gradient(145deg, #1a1a2e 0%, #2a2a3e 100%);
  padding: 10px;
  box-shadow: var(--shadow-xl), inset 0 0 0 2px rgba(255,255,255,0.05);
  transition: transform var(--t-slow);
}
.phone-mockup-hero .phone-frame { width: 320px; }
.phone-mockup:hover .phone-frame { transform: translateY(-4px); }

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 22px;
  background: #1a1a2e;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

.phone-screen {
  border-radius: 34px;
  background: #f5f7fa;
  overflow: hidden;
  position: relative;
}

/* --- Mock UI content --- */
.mock-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy);
}
.mock-status-icons { letter-spacing: -1px; color: var(--text-muted); }

.mock-app-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px 16px;
}
.mock-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, #4a9fff 100%);
  flex-shrink: 0;
}
.mock-greeting { font-size: 0.875rem; font-weight: 700; color: var(--navy); }
.mock-sub { font-size: 0.75rem; color: var(--text-muted); }

.mock-section-label {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  padding: 0 20px 12px;
}

.mock-activity-list {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mock-activity {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  border-radius: var(--r-md);
  padding: 10px 12px;
  box-shadow: 0 1px 3px rgba(10,37,64,0.05);
}
.mock-activity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}
.mock-activity-dot.urgent { background: var(--error); box-shadow: 0 0 0 3px rgba(255,59,48,0.15); }
.mock-activity-dot.warning { background: var(--warning); box-shadow: 0 0 0 3px rgba(255,159,10,0.15); }
.mock-activity-dot.normal { background: var(--success); box-shadow: 0 0 0 3px rgba(52,199,89,0.15); }
.mock-activity-title { font-size: 0.8125rem; font-weight: 600; color: var(--navy); }
.mock-activity-date { font-size: 0.6875rem; color: var(--text-muted); margin-top: 2px; }

.mock-notification {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 16px 16px;
  padding: 10px 12px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-radius: var(--r-md);
  color: #fff;
  box-shadow: 0 4px 12px rgba(10,132,255,0.3);
}
.mock-notif-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.mock-notif-title { font-size: 0.75rem; font-weight: 700; }
.mock-notif-text { font-size: 0.6875rem; opacity: 0.95; margin-top: 1px; }

/* --- Notification screen mock --- */
.mock-notification-screen { padding: 8px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.mock-big-notif {
  display: flex;
  gap: 10px;
  background: #fff;
  border-radius: var(--r-md);
  padding: 12px;
  box-shadow: 0 1px 3px rgba(10,37,64,0.06);
}
.mock-big-notif-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.mock-notif-time { font-size: 0.625rem; color: var(--text-muted); margin-top: 2px; }

/* --- SIASE mock --- */
.mock-siase-menu { padding: 0 16px; display: flex; flex-direction: column; gap: 6px; }
.mock-siase-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border-radius: var(--r-sm);
  padding: 10px 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: 0 1px 2px rgba(10,37,64,0.04);
}
.mock-chevron { color: var(--text-muted); font-size: 1.125rem; }

.mock-schedule-mini {
  margin: 10px 16px 16px;
  background: #fff;
  border-radius: var(--r-md);
  padding: 10px 12px;
  box-shadow: 0 1px 3px rgba(10,37,64,0.05);
}
.mock-schedule-title { font-size: 0.75rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.mock-schedule-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.6875rem;
  color: var(--text-secondary);
  padding: 3px 0;
}

.phone-mockup-caption {
  margin-top: var(--space-2);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

/* ===== Features ===== */
.features { padding: var(--space-7) 0; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}
.feature-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: var(--space-4) var(--space-3);
  border: 1px solid var(--border-light);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-light);
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
}
.feature-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ===== How it works ===== */
.how-it-works { padding: var(--space-7) 0; background: var(--surface); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.timeline {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
}
.timeline-step {
  flex: 1;
  max-width: 280px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.timeline-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: var(--space-3);
  transition: transform var(--t-base);
}
.timeline-step:hover .timeline-number { transform: scale(1.08); background: var(--blue); }
.timeline-content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.timeline-content p { font-size: 0.9375rem; color: var(--text-secondary); }
.timeline-line {
  flex: 0 0 60px;
  height: 2px;
  background: var(--border);
  margin-top: 28px;
  position: relative;
}
.timeline-line::after {
  content: '';
  position: absolute;
  right: -4px;
  top: -3px;
  width: 0;
  height: 0;
  border-left: 6px solid var(--border);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

/* ===== Showcase ===== */
.showcase { padding: var(--space-7) 0; }
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  align-items: start;
}
.showcase-item { 
    text-align: center; 
    display: flex;
    flex-direction: column;
}
/* .showcase-item-center { margin-top: -20px; } */
.showcase-item-center .phone-frame { box-shadow: var(--shadow-xl), 0 0 0 4px rgba(10,132,255,0.08); }
.showcase-caption {
  margin-top: var(--space-3);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
}
.showcase-sub-caption {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.showcase-disclaimer {
  text-align: center;
  margin-top: var(--space-5);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Phone small variant */
.phone-mockup-small .phone-frame { width: 240px; padding: 8px; border-radius: 36px; }
.phone-mockup-small .phone-screen { border-radius: 28px; }
.phone-mockup-small .phone-notch { width: 80px; height: 18px; }

/* ===== Download CTA ===== */
.download-cta { padding: var(--space-7) 0; }
.cta-card {
  background: linear-gradient(135deg, var(--navy) 0%, #0d2f54 100%);
  border-radius: var(--r-xl);
  padding: var(--space-6) var(--space-5);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(10,132,255,0.2) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-card h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  position: relative;
}
.cta-card p {
  margin-top: var(--space-2);
  font-size: 1.125rem;
  color: rgba(255,255,255,0.8);
  position: relative;
}
.cta-buttons {
  margin-top: var(--space-4);
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ===== FAQ ===== */
.faq { padding: var(--space-7) 0; background: var(--surface); border-top: 1px solid var(--border-light); }
.accordion { display: flex; flex-direction: column; gap: 0; }
.accordion-item { border-bottom: 1px solid var(--border-light); }
.accordion-item:first-child { border-top: 1px solid var(--border-light); }
.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-2);
  font-family: inherit;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color var(--t-fast);
}
.accordion-trigger:hover { color: var(--blue); }
.accordion-trigger:focus-visible { outline: 3px solid rgba(10,132,255,0.3); outline-offset: -3px; border-radius: var(--r-sm); }
.accordion-chevron { flex-shrink: 0; color: var(--text-muted); transition: transform var(--t-base), color var(--t-fast); }
.accordion-trigger[aria-expanded="true"] .accordion-chevron { transform: rotate(180deg); color: var(--blue); }
.accordion-panel {
  padding: 0 var(--space-2) var(--space-3);
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.accordion-panel p { max-width: 700px; }

/* ===== Footer ===== */
.footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: var(--space-6) 0 var(--space-4); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand-text { font-size: 1.125rem; font-weight: 700; color: #fff; }
.footer-brand-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: var(--space-2); }
.footer-desc { font-size: 0.875rem; line-height: 1.6; max-width: 360px; }
.footer-links-group h4 { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #fff; margin-bottom: var(--space-2); }
.footer-links-group a { display: block; font-size: 0.875rem; color: rgba(255,255,255,0.65); padding: 0.3rem 0; transition: color var(--t-fast); }
.footer-links-group a:hover { color: #fff; }
.footer-bottom { padding-top: var(--space-3); text-align: center; font-size: 0.8125rem; color: rgba(255,255,255,0.5); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .showcase-item-center { margin-top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-3); }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--space-2) var(--space-3);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--t-base), opacity var(--t-base);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 0.875rem 0; border-bottom: 1px solid var(--border-light); }
  .nav-links a:last-child { border-bottom: none; }
  .nav-cta { margin-top: var(--space-1); margin-left: 0; text-align: center; justify-content: center; }

  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: var(--space-5); }
  .hero-text { order: 2; }
  .hero-visual { order: 1; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta-group { justify-content: center; }
  .hero-eyebrow { margin-left: auto; margin-right: auto; }

  .timeline { flex-direction: column; gap: 0; }
  .timeline-step { flex-direction: row; text-align: left; max-width: 100%; width: 100%; gap: var(--space-3); padding: var(--space-2) 0; }
  .timeline-number { margin-bottom: 0; width: 48px; height: 48px; font-size: 1.25rem; }
  .timeline-line { width: 2px; height: 20px; flex: none; margin: 0 auto; margin-left: 24px; }
  .timeline-line::after { top: 14px; right: -3px; border-left: 4px solid transparent; border-top: 6px solid var(--border); border-right: 4px solid transparent; border-bottom: none; }
}

@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand-row { justify-content: center; }
  .footer-desc { margin: 0 auto; }
  .hero-cta-group { flex-direction: column; align-items: stretch; }
  .hero-cta-group .btn { justify-content: center; }
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .cta-buttons .btn { justify-content: center; }
  .phone-mockup-hero .phone-frame { width: 280px; }
}

@media (max-width: 400px) {
  .phone-mockup-hero .phone-frame { width: 260px; }
  .phone-mockup-small .phone-frame { width: 220px; }
}

/* ===== Legal pages ===== */
.legal-hero {
  position: relative;
  padding-top: 120px;
  padding-bottom: var(--space-4);
  background: linear-gradient(180deg, var(--blue-lighter) 0%, var(--bg) 100%);
  overflow: hidden;
}
.legal-hero .hero-bg-decor {
  position: absolute;
  top: -200px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.legal-hero-inner { position: relative; }
.legal-hero-inner h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.03em;
}
.legal-hero-inner p {
  margin-top: var(--space-2);
  font-size: 1.0625rem;
  color: var(--text-secondary);
}

.legal-content {
  padding: var(--space-5) 0 var(--space-7);
}
.legal-content .container-narrow { max-width: 800px; }
.legal-article h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
  letter-spacing: -0.02em;
}
.legal-article h2:first-child { margin-top: 0; }
.legal-article h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: var(--space-3);
  margin-bottom: var(--space-1);
}
.legal-article p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}
.legal-article ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: var(--space-2);
}
.legal-article ul li {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}
.legal-article strong { color: var(--navy); font-weight: 600; }

.legal-divider {
  height: 1px;
  background: var(--border);
  margin: var(--space-4) 0;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: var(--space-3);
  transition: gap var(--t-fast);
}
.legal-back:hover { gap: 0.6rem; color: var(--blue-dark); }

@media (max-width: 768px) {
  .legal-hero { padding-top: 100px; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .phone-mockup:hover .phone-frame { transform: none; }
  .feature-card:hover { transform: none; }
}
