/* ── Nubylo Website ── */

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

/* ── Tokens ── */
:root {
  --color-ink: #1a1a2e;
  --color-ink-soft: #4a4a6a;
  --color-ink-muted: #8888a4;
  --color-surface: #fefefe;
  --color-surface-warm: #faf9f7;
  --color-surface-tinted: #f0eef8;
  --color-brand: #5252d4;
  --color-brand-light: #6b6bef;
  --color-brand-glow: rgba(82, 82, 212, 0.12);
  --color-brand-dark: #3737a0;
  --color-accent: #e8845a;
  --color-success: #2e7d32;
  --color-border: #e8e6f0;

  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Inter', -apple-system, system-ui, sans-serif;

  --text-hero: clamp(3.2rem, 2rem + 5vw, 5.5rem);
  --text-section: clamp(2rem, 1.4rem + 2.5vw, 3rem);
  --text-sub: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  --text-body: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-small: 0.875rem;
  --text-caption: 0.75rem;

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 96px;
  --space-section: clamp(80px, 6vw + 40px, 160px);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-soft: 0 2px 20px rgba(26, 26, 46, 0.06);
  --shadow-card: 0 4px 32px rgba(82, 82, 212, 0.08);
  --shadow-elevated: 0 12px 48px rgba(26, 26, 46, 0.12);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 200ms;
  --duration-normal: 400ms;
  --duration-slow: 700ms;
}

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

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--color-ink);
  background: var(--color-surface);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-brand); text-decoration: none; transition: color var(--duration-fast); }
a:hover { color: var(--color-brand-dark); }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-section); }
h3 { font-size: var(--text-sub); }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-brand);
}

/* ── Layout ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--narrow { max-width: 800px; }

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-md) 0;
  transition: background var(--duration-normal), box-shadow var(--duration-normal);
}

.nav.scrolled {
  background: rgba(254, 254, 254, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--color-border);
}

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

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-ink);
  letter-spacing: -0.03em;
}

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

.nav__icon {
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.nav__wordmark span { color: var(--color-brand); }

.nav__links {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
  list-style: none;
}

.nav__links a {
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--color-ink-soft);
  transition: color var(--duration-fast);
}

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

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 20px;
  background: var(--color-ink);
  color: var(--color-surface) !important;
  border-radius: var(--radius-full);
  font-size: var(--text-small);
  font-weight: 600;
  transition: transform var(--duration-fast) var(--ease-spring), background var(--duration-fast);
}

.nav__cta:hover {
  background: var(--color-brand);
  color: white !important;
  transform: scale(1.04);
}

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-ink);
  margin: 5px 0;
  transition: transform var(--duration-fast), opacity var(--duration-fast);
}

/* ── Hero ── */
.hero {
  padding-top: calc(80px + var(--space-3xl));
  padding-bottom: var(--space-section);
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--color-brand-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero__tagline {
  margin-bottom: var(--space-lg);
}

.hero h1 {
  margin-bottom: var(--space-lg);
  color: var(--color-ink);
}

.hero h1 em {
  font-style: italic;
  color: var(--color-brand);
}

.hero__desc {
  font-size: var(--text-sub);
  color: var(--color-ink-soft);
  max-width: 540px;
  margin-bottom: var(--space-xl);
  line-height: 1.5;
}

.hero__highlight {
  background: linear-gradient(180deg, transparent 60%, var(--color-brand-glow) 60%);
  color: var(--color-ink);
  font-weight: 500;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  flex-wrap: wrap;
}

.btn-appstore {
  display: inline-block;
  transition: transform var(--duration-fast) var(--ease-spring), opacity var(--duration-fast);
}

.btn-appstore:hover { transform: scale(1.05); }
.btn-appstore img { height: 52px; }

.hero__note {
  font-size: var(--text-small);
  color: var(--color-ink-muted);
  margin-top: var(--space-lg);
}

.hero__visual {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-45%);
  z-index: 1;
}

/* Phone mockup */
.phone-mockup {
  width: 300px;
  height: 620px;
  background: var(--color-ink);
  border-radius: 44px;
  padding: 12px;
  box-shadow: var(--shadow-elevated), inset 0 0 0 2px rgba(255,255,255,0.08);
  position: relative;
}

.phone-mockup__screen {
  width: 100%;
  height: 100%;
  border-radius: 34px;
  background: linear-gradient(170deg, #e8e6f0 0%, #f0eef8 30%, #faf9f7 100%);
  overflow: hidden;
  position: relative;
}

.phone-mockup__notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: var(--color-ink);
  border-radius: 0 0 20px 20px;
  z-index: 2;
}

/* Map illustration inside phone */
.map-illustration {
  width: 100%;
  height: 100%;
  position: relative;
  background: #e8e4d8;
}

.map-illustration__grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(200, 195, 180, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 195, 180, 0.4) 1px, transparent 1px);
  background-size: 40px 40px;
}

.map-illustration__road {
  position: absolute;
  background: #d4d0c4;
}

.map-illustration__road--h {
  height: 16px;
  width: 100%;
  top: 45%;
}

.map-illustration__road--v {
  width: 16px;
  height: 100%;
  left: 55%;
}

.map-illustration__road--d {
  width: 200%;
  height: 12px;
  top: 30%;
  left: -20%;
  transform: rotate(-25deg);
  transform-origin: center;
}

.map-pin {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 3;
}

.map-pin__dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.map-pin__dot--user {
  background: #007AFF;
  width: 20px;
  height: 20px;
  box-shadow: 0 0 0 6px rgba(0, 122, 255, 0.2);
}

.map-pin__dot--contact { background: var(--color-brand); }

.map-pin__label {
  font-size: 10px;
  font-weight: 600;
  color: var(--color-ink);
  background: white;
  padding: 2px 8px;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  white-space: nowrap;
}

.map-pin__status {
  font-size: 9px;
  color: white;
  background: var(--color-brand);
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
  position: absolute;
  top: -20px;
}

/* ── Problem section ── */
.problem {
  padding: var(--space-section) 0;
  background: var(--color-surface-warm);
}

.problem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.problem h2 {
  margin-bottom: var(--space-lg);
  font-size: clamp(2.2rem, 1.6rem + 3vw, 3.4rem);
  font-weight: 600;
  line-height: 1.1;
}

.problem__text {
  color: var(--color-ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

.problem__visual {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.scenario-card {
  padding: var(--space-lg);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border-left: 3px solid var(--color-brand-glow);
  transition: transform var(--duration-normal) var(--ease-out), border-color var(--duration-normal);
}

.scenario-card:hover {
  transform: translateX(4px);
  border-left-color: var(--color-brand);
}

.scenario-card__emoji { font-size: 1.5rem; margin-bottom: var(--space-sm); }

.scenario-card__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.scenario-card__desc {
  font-size: var(--text-small);
  color: var(--color-ink-muted);
  line-height: 1.6;
}

/* ── Stories ── */
.stories {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
  background: #111118;
  color: white;
}

.stories__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.stories__header h2 {
  margin-top: var(--space-md);
  font-size: clamp(2.2rem, 1.6rem + 3vw, 3.4rem);
  font-weight: 600;
  line-height: 1.1;
  color: white;
}

.stories__header .eyebrow { color: var(--color-brand-light); }

/* Collage grid — all 5 images in one frame */
.story__collage {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0d0d1a;
  box-shadow: 0 16px 64px rgba(0,0,0,0.4);
  max-width: 1100px;
  margin: 0 auto;
}

.story__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
}

/* Cell base */
.story__cell {
  position: relative;
  overflow: hidden;
}

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

/* Top-left: wide scene shot spanning full height of row */
.story__cell--wide {
  grid-row: 1;
  grid-column: 1;
}

.story__cell--wide img { min-height: 240px; }

/* Bottom row: 3 equal cells */
.story__grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: auto auto;
  gap: 3px;
}

.story__cell:nth-child(1) { grid-column: 1; grid-row: 1; }
.story__cell:nth-child(2) { grid-column: 2; grid-row: 1; }
.story__cell:nth-child(3) { grid-column: 1; grid-row: 2; }
.story__cell:nth-child(4) { grid-column: 2; grid-row: 2; }
.story__cell:nth-child(5) { grid-column: 1 / -1; grid-row: 3; }

/* Override for bento layout */
.story__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: 340px 280px;
  gap: 3px;
}

.story__cell:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
.story__cell:nth-child(2) { grid-column: 3; grid-row: 1; }
.story__cell:nth-child(3) { grid-column: 1; grid-row: 2; }
.story__cell:nth-child(4) { grid-column: 2; grid-row: 2; }
.story__cell:nth-child(5) { grid-column: 3; grid-row: 2; }

/* Labels overlaid at bottom of each cell */
.story__cell-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 56px 16px 14px;
  background: linear-gradient(0deg, rgba(13,10,30,0.95) 0%, rgba(13,10,30,0.8) 45%, rgba(13,10,30,0.4) 70%, transparent 100%);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: white;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.story__cell-label span {
  display: block;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 11px;
  font-weight: 700;
  color: #a5a0ff;
  letter-spacing: 0.8px;
  margin-bottom: 3px;
}

.story__cell-label--quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  color: white;
  padding: 56px 16px 14px;
  background: linear-gradient(0deg, rgba(13,10,30,0.95) 0%, rgba(13,10,30,0.8) 45%, rgba(13,10,30,0.4) 70%, transparent 100%);
}

.story__cell-label--hope {
  background: linear-gradient(0deg, rgba(30,20,80,0.95) 0%, rgba(30,20,80,0.7) 45%, rgba(30,20,80,0.3) 70%, transparent 100%);
  color: #dde4ff;
  font-weight: 700;
  font-size: 15px;
  padding: 56px 16px 14px;
}

.story__cell-label--finale {
  background: linear-gradient(0deg, rgba(13,10,30,0.95) 0%, rgba(13,10,30,0.8) 45%, rgba(13,10,30,0.3) 70%, transparent 100%);
  font-family: var(--font-display);
  font-size: 18px;
  color: white;
  text-align: center;
  padding: 56px 16px 14px;
}

/* Story summary below collage */
.story__summary {
  padding: var(--space-lg) var(--space-xl);
  text-align: center;
}

.story__summary p {
  font-size: var(--text-small);
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto;
}

/* 4-image grid variant */
.story__grid--four {
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 320px 320px;
}

.story__grid--four .story__cell:nth-child(1) { grid-column: 1; grid-row: 1; }
.story__grid--four .story__cell:nth-child(2) { grid-column: 2; grid-row: 1; }
.story__grid--four .story__cell:nth-child(3) { grid-column: 1; grid-row: 2; }
.story__grid--four .story__cell:nth-child(4) { grid-column: 2; grid-row: 2; }

/* Light variant for daytime story — soft purple-gray */
.story__collage--light {
  background: #3d3856;
  box-shadow: 0 16px 64px rgba(61,56,86,0.35);
}

.story__collage--light .story__summary p {
  color: rgba(255,255,255,0.5);
}

.story__cell-label--light {
  background: linear-gradient(0deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 50%, transparent 100%);
  color: #1c1c1e;
  padding: 40px 14px 12px;
}

.story__cell-label--light span {
  color: var(--color-brand);
}

.story__cell-label--light-hope {
  background: linear-gradient(0deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.6) 55%, transparent 100%);
  color: var(--color-brand-dark);
  font-weight: 600;
  padding: 40px 14px 12px;
}

.story__cell-label--light-hope span {
  color: var(--color-brand);
}

.story__cell-label--light-finale {
  background: linear-gradient(0deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.6) 55%, transparent 100%);
  font-family: var(--font-display);
  font-size: 14px;
  color: #1c1c1e;
  text-align: center;
  padding: 44px 14px 12px;
}

.story__summary--light {
  background: transparent;
}

.story__summary--light p {
  color: rgba(0,0,0,0.45);
}

/* Story bands — full-width background sections */
.story__band {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: var(--space-3xl) 0;
}

.story__band--white {
  background: #ffffff;
}

.story__band .story__divider { margin-top: 0; }

/* Story 2 — white variant */
.story__collage--white {
  background: #f8f8fa;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}

.story__band--white .story__divider-line {
  background: rgba(0,0,0,0.1);
}

.story__band--white .story__divider-label {
  color: var(--color-ink-muted);
}

.story__collage--white .story__summary p {
  color: var(--color-ink-muted);
}

/* Story dividers */
.story__divider {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.story__divider-line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.1);
}

.story__divider-label {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  flex-shrink: 0;
}

/* Spacing between collages */
.story__collage + .story__divider {
  margin-top: var(--space-3xl);
  padding-top: var(--space-xl);
}

@media (max-width: 768px) {
  .story__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 200px 220px;
  }

  .story__cell:nth-child(1) { grid-column: 1 / -1; grid-row: 1; }
  .story__cell:nth-child(2) { grid-column: 1; grid-row: 2; }
  .story__cell:nth-child(3) { grid-column: 2; grid-row: 2; }
  .story__cell:nth-child(4) { grid-column: 1; grid-row: 3; }
  .story__cell:nth-child(5) { grid-column: 2; grid-row: 3; }
}

@media (max-width: 768px) {
  .story__grid--four {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px;
  }
}

@media (max-width: 480px) {
  .story__grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 180px);
  }

  .story__cell:nth-child(1) { grid-column: 1; grid-row: 1; }
  .story__cell:nth-child(2) { grid-column: 1; grid-row: 2; }
  .story__cell:nth-child(3) { grid-column: 1; grid-row: 3; }
  .story__cell:nth-child(4) { grid-column: 1; grid-row: 4; }
  .story__cell:nth-child(5) { grid-column: 1; grid-row: 5; }
}

/* Outro */
.story__outro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-lg) 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.story__outro-text {
  font-family: var(--font-display);
  font-size: var(--text-sub);
  color: rgba(255,255,255,0.7);
  line-height: 1.45;
  font-style: italic;
}

@media (max-width: 600px) {
  .story__quote { font-size: 1.1rem; }
  .story__answer { font-size: 1rem; }
  .story__image--hero img { max-height: 300px; }
}

/* ── Features ── */
.features {
  padding: var(--space-section) 0;
}

.features__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-3xl);
}

.features__header h2 { margin-top: var(--space-md); margin-bottom: var(--space-md); }
.features__header p { color: var(--color-ink-soft); }

/* ── Feature Showcase (alternating layout) ── */
.feature-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  padding: var(--space-3xl) 0;
  border-bottom: 1px solid var(--color-border);
}

.feature-showcase:last-child { border-bottom: none; }

.feature-showcase--reverse { direction: rtl; }
.feature-showcase--reverse > * { direction: ltr; }

.feature-showcase__badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.feature-showcase__badge--blue { background: #e8f0fe; color: #1a73e8; }
.feature-showcase__badge--pink { background: #fce4ec; color: #c62828; }
.feature-showcase__badge--orange { background: #fff3e0; color: #e65100; }
.feature-showcase__badge--amber { background: #fff8e1; color: #f57f17; }
.feature-showcase__badge--green { background: #e8f5e9; color: #2e7d32; }

.feature-showcase h3 {
  font-family: var(--font-display);
  font-size: var(--text-sub);
  margin-bottom: var(--space-md);
}

.feature-showcase__desc {
  color: var(--color-ink-soft);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.feature-showcase__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.feature-showcase__list li {
  font-size: var(--text-small);
  color: var(--color-ink-soft);
  padding-left: 24px;
  position: relative;
  line-height: 1.6;
}

.feature-showcase__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-brand-glow);
  border: 2px solid var(--color-brand);
}

/* ── Phone Frame (feature screens) ── */
.feature-showcase__phone {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 260px;
  height: 540px;
  background: #1a1a2e;
  border-radius: 38px;
  padding: 10px;
  box-shadow: var(--shadow-elevated), inset 0 0 0 1.5px rgba(255,255,255,0.06);
  position: relative;
}

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

.phone-frame__screen {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: #f2f2f7;
  position: relative;
}

/* ── Screen: Map ── */
.screen-map {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.screen-map__bg {
  position: absolute;
  inset: 0;
  background: #e8e4d8;
}

.screen-map__grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(200, 195, 180, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 195, 180, 0.35) 1px, transparent 1px);
  background-size: 32px 32px;
}

.screen-map__road {
  position: absolute;
  background: #d4d0c4;
}

.screen-map__road--h1 { height: 14px; width: 100%; top: 42%; }
.screen-map__road--h2 { height: 10px; width: 100%; top: 68%; }
.screen-map__road--v1 { width: 14px; height: 100%; left: 52%; }
.screen-map__road--v2 { width: 10px; height: 100%; left: 28%; }
.screen-map__road--d1 { width: 200%; height: 10px; top: 25%; left: -20%; transform: rotate(-30deg); }

.screen-map__park {
  position: absolute;
  width: 50px;
  height: 40px;
  background: #c8dbb0;
  border-radius: 8px;
  top: 55%;
  left: 8%;
  opacity: 0.6;
}

/* SF Bay water element */
.screen-map__water {
  position: absolute;
  top: 0;
  right: 0;
  width: 35%;
  height: 25%;
  background: linear-gradient(200deg, #b3d4e8 0%, #c9dfe8 60%, transparent 100%);
  opacity: 0.5;
  border-radius: 0 0 0 40%;
}

/* Street labels */
.screen-map__label {
  position: absolute;
  font-size: 6px;
  font-weight: 500;
  color: rgba(100, 95, 85, 0.5);
  font-family: var(--font-body);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 1;
  pointer-events: none;
}

.screen-map__label--1 { top: 40%; left: 8%; transform: rotate(-2deg); }
.screen-map__label--2 { top: 66%; left: 35%; }

/* SF-tinted background */
.screen-map__bg--sf {
  background: #e4dfcf;
}

.screen-map__updating {
  position: absolute;
  top: 36px;
  right: 10px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 9px;
  font-weight: 600;
  color: var(--color-ink-soft);
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 5;
}

.screen-map__updating-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34c759;
  display: inline-block;
}

.screen-map__locate {
  position: absolute;
  bottom: 60px;
  right: 10px;
  width: 34px;
  height: 34px;
  background: rgba(245, 245, 248, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  z-index: 5;
}

/* Screen pins (shared across mockups) */
.s-pin {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  z-index: 4;
}

.s-pin__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-brand);
  color: white;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  box-shadow: 0 2px 6px rgba(82, 82, 212, 0.3);
}

.s-pin__user {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(0, 122, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.s-pin__user-inner {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #007AFF;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.25);
}

.s-pin__name {
  font-size: 8px;
  font-weight: 600;
  font-family: var(--font-body);
  background: rgba(255,255,255,0.85);
  padding: 1px 6px;
  border-radius: 8px;
  white-space: nowrap;
  color: var(--color-ink);
}

.s-pin__name--you { color: #007AFF; }

.s-pin__status {
  font-size: 7px;
  font-weight: 500;
  color: white;
  background: rgba(82, 82, 212, 0.85);
  padding: 2px 6px;
  border-radius: 8px;
  white-space: nowrap;
}

/* ── Screen: Tab bar (shared) ── */
.screen-tabbar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 52px;
  background: rgba(248, 248, 250, 0.92);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-bottom: 6px;
  border-top: 1px solid rgba(0,0,0,0.06);
  z-index: 8;
}

.screen-tabbar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 8px;
  font-weight: 500;
  font-family: var(--font-body);
  color: rgba(60, 60, 67, 0.5);
}

.screen-tabbar__item--active {
  color: var(--color-brand);
  font-weight: 600;
}

.screen-tabbar__item--active svg { fill: var(--color-brand); }

.screen-tabbar__item--active .screen-tabbar__icon-wrap {
  background: rgba(82, 82, 212, 0.12);
}

.screen-tabbar__icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Screen: People ── */
.screen-people {
  width: 100%;
  height: 100%;
  background: #f2f2f7;
  display: flex;
  flex-direction: column;
  position: relative;
}

.screen-people__statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 14px 0;
  font-size: 10px;
  font-weight: 600;
  font-family: var(--font-body);
  height: 28px;
  flex-shrink: 0;
}

.screen-people__statusbar-right {
  display: flex;
  align-items: center;
  gap: 4px;
}

.screen-people__header {
  padding: 2px 12px 4px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-shrink: 0;
}

.screen-people__title {
  font-size: 20px;
  font-weight: 700;
  font-family: var(--font-body);
}

.screen-people__action {
  font-size: 10px;
  color: var(--color-brand);
  font-weight: 500;
}

.screen-people__search {
  margin: 2px 12px 4px;
  padding: 5px 8px;
  background: rgba(120, 120, 128, 0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: #8e8e93;
  flex-shrink: 0;
  font-family: var(--font-body);
}

.screen-people__scroll {
  flex: 1;
  overflow: hidden;
  padding-bottom: 52px;
}

.screen-people__section {
  padding: 0 12px;
}

.screen-people__section-header {
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
  color: #8e8e93;
  padding: 8px 0 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.04em;
  font-family: var(--font-body);
}

.screen-people__card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
}

.screen-people__row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 0.5px solid rgba(0,0,0,0.06);
}

.screen-people__row--last { border-bottom: none; }
.screen-people__row--dim { opacity: 0.5; }

.screen-people__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-brand);
  color: white;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.screen-people__avatar--dim { background: #aaa; }

.screen-people__info {
  flex: 1;
  min-width: 0;
}

.screen-people__name {
  display: block;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-body);
  line-height: 1.3;
  color: #1c1c1e;
}

.screen-people__meta-row {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 8px;
  color: #8e8e93;
  margin-top: 1px;
  font-family: var(--font-body);
}

.screen-people__sep { color: #c7c7cc; }

.screen-people__distance { color: var(--color-brand); font-weight: 600; }

.screen-people__phone {
  display: block;
  font-size: 7px;
  color: #aeaeb2;
  font-family: var(--font-body);
  margin-top: 1px;
  letter-spacing: 0.2px;
}

.screen-people__meta {
  display: block;
  font-size: 8px;
  color: #8e8e93;
  margin-top: 1px;
  line-height: 1.2;
  font-family: var(--font-body);
}

.screen-people__live {
  font-size: 7px;
  font-weight: 600;
  color: #34c759;
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
  font-family: var(--font-body);
}

.screen-people__live::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #34c759;
  display: inline-block;
}

/* ── Screen: Bottom Sheet ── */
.screen-sheet {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-radius: 18px 18px 0 0;
  padding: 8px 16px 12px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  z-index: 9;
}

.screen-sheet__handle {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: #d1d1d6;
  margin: 0 auto 10px;
}

.screen-sheet__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.screen-sheet__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-brand);
  color: white;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.screen-sheet__name {
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-body);
}

.screen-sheet__live {
  font-size: 9px;
  color: #34c759;
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 1px;
}

.screen-sheet__live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #34c759;
  display: inline-block;
}

.screen-sheet__status-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--color-ink);
  margin-bottom: 8px;
}

.screen-sheet__divider {
  height: 1px;
  background: rgba(0,0,0,0.06);
  margin-bottom: 8px;
}

.screen-sheet__info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.screen-sheet__info-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-family: var(--font-body);
}

.screen-sheet__info-label {
  color: #999;
  flex: 1;
}

.screen-sheet__info-value {
  font-weight: 600;
  color: var(--color-ink);
}

.screen-sheet__actions {
  display: flex;
  gap: 8px;
}

.screen-sheet__btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 0;
  border: none;
  border-radius: 10px;
  font-size: 9px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: default;
}

.screen-sheet__btn--call {
  background: rgba(46, 125, 50, 0.1);
  color: #2e7d32;
}

.screen-sheet__btn--msg {
  background: rgba(25, 118, 210, 0.1);
  color: #1976d2;
}

/* ── Screen: More ── */
.screen-more {
  width: 100%;
  height: 100%;
  background: #f2f2f7;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.screen-more__header {
  padding: 38px 14px 8px;
  background: rgba(248,248,250,0.95);
}

.screen-more__title {
  font-size: 22px;
  font-weight: 700;
  font-family: var(--font-body);
}

.screen-more__section {
  padding: 0 14px;
  margin-top: 12px;
}

.screen-more__section-label {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-ink-muted);
  letter-spacing: 0.04em;
  padding-bottom: 4px;
  display: block;
}

.screen-more__card {
  background: white;
  border-radius: 10px;
  padding: 10px 12px;
}

.screen-more__helper {
  font-size: 8px;
  color: #999;
  display: block;
  padding-top: 3px;
  padding-left: 2px;
}

.screen-more__status-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.screen-more__status-text {
  flex: 1;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-body);
}

.screen-more__status-actions {
  display: flex;
  gap: 8px;
}

.screen-more__edit-btn {
  color: var(--color-brand);
  font-size: 16px;
  cursor: default;
}

.screen-more__clear-btn {
  color: rgba(198, 40, 40, 0.6);
  font-size: 18px;
  font-weight: 300;
  cursor: default;
}

.screen-more__toggle-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.screen-more__toggle-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.screen-more__toggle-icon--on { background: rgba(46, 125, 50, 0.12); }

.screen-more__toggle-label {
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-body);
  display: block;
}

.screen-more__toggle-sub {
  font-size: 9px;
  color: #999;
  display: block;
  margin-top: 1px;
}

.screen-more__switch {
  width: 38px;
  height: 22px;
  border-radius: 11px;
  background: #d1d1d6;
  position: relative;
  margin-left: auto;
  flex-shrink: 0;
}

.screen-more__switch--on { background: #34c759; }

.screen-more__switch-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  position: absolute;
  top: 2px;
  left: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  transition: left var(--duration-fast);
}

.screen-more__switch--on .screen-more__switch-thumb { left: 18px; }

.screen-more__menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-body);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.screen-more__menu-item:last-child { border-bottom: none; }

.screen-more__menu-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.screen-more__chevron {
  margin-left: auto;
  color: #c7c7cc;
  font-size: 16px;
}

/* ── Screen: Privacy visualization ── */
.screen-privacy {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #f0eef8 0%, #faf9f7 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 16px 60px;
  overflow: hidden;
}

.screen-privacy__header {
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-body);
  color: var(--color-ink);
  margin-bottom: 24px;
  text-align: center;
}

.screen-privacy__flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.screen-privacy__step {
  background: white;
  border-radius: 12px;
  padding: 12px 20px;
  text-align: center;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
  width: 180px;
}

.screen-privacy__step-icon { font-size: 20px; margin-bottom: 4px; }

.screen-privacy__step-label {
  font-size: 10px;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--color-ink);
  display: block;
}

.screen-privacy__step-detail {
  font-size: 9px;
  color: #999;
  font-family: var(--font-body);
  margin-top: 2px;
}

.screen-privacy__step-detail--hash {
  font-family: 'SF Mono', 'Fira Code', monospace;
  color: var(--color-brand);
  letter-spacing: 0.5px;
}

.screen-privacy__arrow {
  display: flex;
  justify-content: center;
}

.screen-privacy__badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  width: 100%;
  max-width: 220px;
}

.screen-privacy__badge {
  background: white;
  border-radius: 8px;
  padding: 8px;
  font-size: 8px;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--color-ink-soft);
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.screen-privacy__badge span { font-size: 12px; }

/* ── How it works ── */
.how {
  padding: var(--space-section) 0;
  background: var(--color-surface-tinted);
}

.how__header {
  text-align: center;
  max-width: 500px;
  margin: 0 auto var(--space-3xl);
}

.how__header h2 { margin-top: var(--space-md); }

.how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.how__steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-brand-glow), var(--color-brand), var(--color-brand-glow));
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step__number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 2px solid var(--color-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-brand);
  box-shadow: var(--shadow-soft);
}

.step h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
  letter-spacing: 0;
}

.step p {
  font-size: var(--text-small);
  color: var(--color-ink-soft);
  max-width: 260px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Trust / Privacy ── */
.trust {
  padding: var(--space-section) 0;
}

.trust__inner {
  background: var(--color-ink);
  border-radius: var(--radius-lg);
  padding: var(--space-3xl) var(--space-2xl);
  color: white;
  position: relative;
  overflow: hidden;
}

.trust__glow {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(107, 107, 239, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.trust__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.trust__text .eyebrow { color: var(--color-brand-light); }
.trust__text h2 { color: white; margin-top: var(--space-md); margin-bottom: var(--space-lg); }
.trust__text p { color: rgba(255,255,255,0.7); line-height: 1.7; }

.trust__points {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.trust-point {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-md);
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.08);
}

.trust-point__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(107, 107, 239, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.trust-point h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-small);
  letter-spacing: 0;
  margin-bottom: 2px;
}

.trust-point p {
  font-size: var(--text-caption);
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

/* ── About ── */
.about {
  padding: var(--space-section) 0;
  background: var(--color-surface-warm);
}

.about__inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about__image {
  position: relative;
}

.about__photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #f0eef8 0%, #e8e6f0 50%, #f0eef8 100%);
  box-shadow: var(--shadow-elevated);
}

.about__photo-frame img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  mix-blend-mode: multiply;
}

.about__circuit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.about__tech-badge {
  position: absolute;
  z-index: 3;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: float-badge 4s ease-in-out infinite;
}

.about__tech-badge--1 {
  top: 12%;
  right: 8%;
  background: rgba(82, 82, 212, 0.15);
  color: var(--color-brand);
  border: 1px solid rgba(82, 82, 212, 0.2);
  animation-delay: 0s;
}

.about__tech-badge--2 {
  top: 35%;
  left: 5%;
  background: rgba(232, 132, 90, 0.15);
  color: #c0623a;
  border: 1px solid rgba(232, 132, 90, 0.2);
  animation-delay: 1s;
}

.about__tech-badge--3 {
  bottom: 28%;
  right: 6%;
  background: rgba(46, 125, 50, 0.15);
  color: #2e7d32;
  border: 1px solid rgba(46, 125, 50, 0.2);
  animation-delay: 2s;
}

.about__tech-badge--4 {
  bottom: 12%;
  left: 8%;
  background: rgba(25, 118, 210, 0.15);
  color: #1565c0;
  border: 1px solid rgba(25, 118, 210, 0.2);
  animation-delay: 3s;
}

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

.about__text .eyebrow { margin-bottom: var(--space-sm); }

.about__text h2 {
  margin-bottom: var(--space-lg);
}

.about__intro {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-ink);
  margin-bottom: var(--space-md);
}

.about__body {
  color: var(--color-ink-soft);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.about__values {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.about__value {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.about__value-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.about__value strong {
  display: block;
  font-size: var(--text-small);
  font-weight: 600;
  margin-bottom: 2px;
}

.about__value p {
  font-size: var(--text-small);
  color: var(--color-ink-soft);
  line-height: 1.55;
  margin: 0;
}

.about__linkedin {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 24px;
  background: #0a66c2;
  color: white !important;
  border-radius: var(--radius-full);
  font-size: var(--text-small);
  font-weight: 600;
  transition: transform var(--duration-fast) var(--ease-spring), background var(--duration-fast);
}

.about__linkedin:hover {
  background: #004182;
  color: white !important;
  transform: scale(1.04);
}

/* ── CTA ── */
.cta {
  padding: var(--space-section) 0;
  text-align: center;
  background: var(--color-surface-warm);
}

.cta h2 { margin-bottom: var(--space-md); }
.cta > .container > p { color: var(--color-ink-soft); margin-bottom: var(--space-xl); max-width: 480px; margin-left: auto; margin-right: auto; }

/* ── Footer ── */
.footer {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--color-border);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-ink);
}

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

.footer__icon {
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.footer__wordmark span { color: var(--color-brand); }

.footer__links {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}

.footer__links a {
  font-size: var(--text-small);
  color: var(--color-ink-muted);
}

.footer__links a:hover { color: var(--color-brand); }

.footer__copy {
  font-size: var(--text-caption);
  color: var(--color-ink-muted);
  width: 100%;
  text-align: center;
  margin-top: var(--space-md);
}

/* ── Reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* ── Pulse animation (user dot) ── */
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.2); opacity: 0; }
}

.map-pin__dot--user::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(0, 122, 255, 0.3);
  animation: pulse-ring 2s ease-out infinite;
}

/* ── Legal / Support pages ── */
.page-header {
  padding-top: calc(80px + var(--space-2xl));
  padding-bottom: var(--space-xl);
  background: var(--color-surface-tinted);
}

.page-header h1 {
  font-size: var(--text-section);
}

.page-header p {
  color: var(--color-ink-muted);
  margin-top: var(--space-sm);
}

.page-content {
  padding: var(--space-2xl) 0 var(--space-section);
}

.page-content h2 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.25rem;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  letter-spacing: 0;
}

.page-content p,
.page-content li {
  color: var(--color-ink-soft);
  line-height: 1.75;
  margin-bottom: var(--space-md);
}

.page-content ul {
  padding-left: var(--space-lg);
}

.page-content li { margin-bottom: var(--space-sm); }

.page-content a { text-decoration: underline; }

/* ── Support page extras ── */
.support-card {
  padding: var(--space-xl);
  background: var(--color-surface-tinted);
  border-radius: var(--radius-md);
  text-align: center;
  margin-bottom: var(--space-lg);
}

.support-card__icon { font-size: 2rem; margin-bottom: var(--space-md); }

.support-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
  letter-spacing: 0;
}

.support-card p { color: var(--color-ink-soft); }

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero__visual { display: none; }

  .problem__grid,
  .trust__content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .feature-showcase {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .feature-showcase--reverse { direction: ltr; }

  .feature-showcase__phone { order: -1; }

  .about__inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .about__image { max-width: 320px; margin: 0 auto; }

  .phone-frame { width: 220px; height: 460px; border-radius: 32px; padding: 8px; }
  .phone-frame__notch { width: 80px; height: 20px; border-radius: 0 0 12px 12px; top: 8px; }
  .phone-frame__screen { border-radius: 26px; }

  .how__steps {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .how__steps::before { display: none; }
}

@media (max-width: 600px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }

  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    padding: var(--space-lg);
    box-shadow: var(--shadow-soft);
    border-top: 1px solid var(--color-border);
  }

  .support-grid { grid-template-columns: 1fr; }

  .footer__inner { flex-direction: column; text-align: center; }
  .footer__links { justify-content: center; }
}
