/* ============================================================
   Voyiq — marketing site
   "Captain's Log" palette, mirrored from the iOS app design tokens
   (../voyiq-ios/Voyiq/DesignSystem/VoyiqColor.swift + design/theme.jsx)
   ============================================================ */

:root {
  /* Surfaces (dark — the app's premium night palette) */
  --bg:          #0B0E13;
  --bg-deep:     #070A0E;
  --elev1:       #161A22;
  --elev2:       #1E2330;

  /* Ink (warm cream at descending opacities) */
  --label:   #F2EDE0;
  --label2:  rgba(235, 225, 200, 0.62);
  --label3:  rgba(235, 225, 200, 0.40);
  --label4:  rgba(235, 225, 200, 0.22);
  --sep:     rgba(235, 225, 200, 0.12);

  /* Brand */
  --accent:      #6FAED9;   /* sky blue — primary action (dark) */
  --accent-deep: #0B3F66;   /* deep navy — the daylight brand colour */
  --accent-tint: rgba(111, 174, 217, 0.16);
  --brass:       #D9A856;   /* brass — highlights, current voyage */
  --brass-2:     #F5C76A;   /* lighter brass for gradients/glow */
  --brass-tint:  rgba(217, 168, 86, 0.16);
  --danger:      #FF6A57;

  /* Atlas sky (globe backdrop) */
  --sky-top:     #07111E;
  --sky-bottom:  #020610;

  /* Glass */
  --glass-fill:        rgba(40, 46, 58, 0.55);
  --glass-fill-strong: rgba(40, 46, 58, 0.82);
  --glass-border:      rgba(255, 253, 240, 0.10);
  --glass-shine:       rgba(255, 255, 255, 0.10);
  --glass-shadow:      0 1px 3px rgba(0,0,0,0.4), 0 8px 24px rgba(0,0,0,0.45);

  /* Type */
  --font-display: -apple-system, "SF Pro Display", "SF Pro Text", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-text:    -apple-system, "SF Pro Text", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono:    "SF Mono", ui-monospace, "Menlo", "Cascadia Code", "Courier New", monospace;

  /* Layout */
  --maxw: 1160px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius-lg: 28px;
  --radius:    20px;
  --radius-sm: 14px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-text);
  color: var(--label);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--brass-tint); color: var(--label); }

/* page-level ambient background: a soft aurora over deep navy,
   echoing the app's hero radial gradient */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 70% at 50% -8%, rgba(35, 70, 120, 0.45) 0%, rgba(11, 14, 19, 0) 60%),
    radial-gradient(90% 60% at 100% 0%, rgba(217, 168, 86, 0.10) 0%, rgba(11, 14, 19, 0) 55%),
    linear-gradient(180deg, #0d1118 0%, var(--bg) 40%, var(--bg-deep) 100%);
}
body::after { /* faint film-grain / star dust */
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
  background-image: radial-gradient(rgba(255,255,255,0.035) 0.5px, transparent 0.5px);
  background-size: 3px 3px;
}

/* ---------- layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(72px, 11vw, 140px); position: relative; }
.section--tight { padding-block: clamp(48px, 7vw, 88px); }
/* tighter cushion around the final CTA — half the usual gap above and below */
.section--cta { padding-block: clamp(36px, 5.5vw, 70px); }
#live { padding-bottom: clamp(36px, 5.5vw, 70px); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: linear-gradient(90deg, var(--brass), transparent);
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; margin: 0; }
h2.section-title {
  font-size: clamp(30px, 4.6vw, 50px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 16ch;
}
.section-lede {
  margin: 18px 0 0;
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--label2);
  max-width: 46ch;
}
.section-head { margin-bottom: clamp(40px, 6vw, 64px); }

/* ---------- glass primitive ---------- */
.glass {
  position: relative;
  background: var(--glass-fill);
  border: 0.5px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow), inset 1.2px 1.2px 0.5px var(--glass-shine);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding-inline: 24px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 0.5px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--primary {
  color: #08243b;
  background: linear-gradient(180deg, #8cc3e8 0%, var(--accent) 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset, 0 6px 22px rgba(111,174,217,0.30);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset, 0 12px 30px rgba(111,174,217,0.40); }
.btn--ghost {
  color: var(--label);
  background: var(--glass-fill);
  border-color: var(--glass-border);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
}
.btn--ghost:hover { transform: translateY(-2px); border-color: rgba(255,253,240,0.22); }

/* App Store badge (built, not an image, so it stays crisp) */
.appstore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 22px 0 18px;
  border-radius: 14px;
  background: #000;
  border: 0.5px solid rgba(255,255,255,0.18);
  color: #fff;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  box-shadow: 0 8px 26px rgba(0,0,0,0.5);
}
.appstore:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,0.6); }
.appstore svg { width: 26px; height: 26px; flex: none; }
.appstore .appstore__top { font-size: 11px; line-height: 1; letter-spacing: 0.02em; opacity: 0.85; }
.appstore .appstore__big { font-size: 20px; line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; font-family: var(--font-display); }
.appstore[aria-disabled="true"] { opacity: 0.92; cursor: default; }
.appstore[aria-disabled="true"]:hover { transform: none; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
  border-bottom: 0.5px solid transparent;
}
.nav.is-scrolled {
  background: rgba(11, 14, 19, 0.72);
  border-bottom-color: var(--sep);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.brand__mark { width: 32px; height: 32px; border-radius: 9px; box-shadow: 0 2px 8px rgba(0,0,0,0.5), 0 0 0 0.5px rgba(255,255,255,0.12); }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: 15px; color: var(--label2); transition: color 0.2s; }
.nav__links a:hover { color: var(--label); }
.nav__cta { display: inline-flex; align-items: center; gap: 14px; }
.nav__menu-btn { display: none; }
@media (max-width: 860px) {
  .nav__links { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding-top: clamp(40px, 8vw, 86px); padding-bottom: clamp(40px, 7vw, 80px); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__title {
  font-size: clamp(44px, 7.2vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0;
}
.hero__title .shine {
  background: linear-gradient(100deg, var(--brass-2) 0%, var(--brass) 45%, #b9863a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  margin: 26px 0 0;
  font-size: clamp(17px, 2.1vw, 21px);
  color: var(--label2);
  max-width: 40ch;
}
.hero__cta { margin-top: 38px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero__meta { margin-top: 22px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; color: var(--label3); font-size: 13.5px; }
.hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero__meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--brass); }

.hero__stage { position: relative; display: flex; justify-content: center; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__sub, .hero__title { margin-inline: auto; }
  .hero__cta, .hero__meta { justify-content: center; }
  .hero__stage { margin-top: 20px; }
}

/* ---------- device / phone mockup ---------- */
.device {
  position: relative;
  width: 300px;
  aspect-ratio: 300 / 620;
  /* Safari treats the aspect-ratio height as indefinite inside a flex parent and
     lets align-items:stretch grow the phone taller than 620px — which narrows the
     screen box and makes object-fit:cover crop the screenshot's sides. Pin the
     size so the aspect-ratio is the only thing driving height. */
  height: 620px;
  flex: 0 0 auto;
  align-self: center;
  border-radius: 52px;
  background: linear-gradient(160deg, #2a2f3a 0%, #14171d 60%, #0a0c10 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 2px 4px rgba(0,0,0,0.6),
    0 40px 80px -20px rgba(0,0,0,0.75),
    0 18px 50px -10px rgba(20, 60, 110, 0.45);
}
.device::after { /* side button highlight */
  content: ""; position: absolute; right: -2px; top: 140px; width: 3px; height: 64px;
  border-radius: 3px; background: linear-gradient(180deg, #2c313c, #4a505d);
}
.device__screen {
  position: absolute;
  inset: 13px; /* positioned (not height:100%) so WebKit fills correctly inside an aspect-ratio parent */
  border-radius: 40px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--sky-top), var(--bg) 35%, var(--bg-deep));
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.6);
}
.device__notch {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 30px; border-radius: 16px; background: #000; z-index: 5;
}
.device--floats { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-0.6deg); } 50% { transform: translateY(-14px) rotate(0.4deg); } }
@media (prefers-reduced-motion: reduce) { .device--floats { animation: none; } }

/* a glow puck behind the hero device */
.hero__stage::before {
  content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(111,174,217,0.30), transparent 65%);
  filter: blur(20px); z-index: -1;
}

/* ---------- app screen mockups (CSS, swap for real screenshots later) ---------- */
.scr { position: absolute; inset: 0; padding: 44px 16px 16px; display: flex; flex-direction: column; gap: 12px; font-family: var(--font-text); }
.scr__statusbar { position: absolute; top: 14px; left: 24px; right: 24px; display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--label); z-index: 6; }
.scr__title { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.scr__kicker { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); }

/* a logbook card inside a mock screen */
.mock-card {
  border-radius: 16px; padding: 13px; background: var(--elev1);
  border: 0.5px solid var(--sep); box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}
.mock-card--current { background: linear-gradient(155deg, rgba(217,168,86,0.16), rgba(22,26,34,0.9)); border-color: var(--brass-tint); }
.mock-card__row { display: flex; align-items: center; justify-content: space-between; }
.mock-badge { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); border: 0.5px solid var(--brass-tint); border-radius: 999px; padding: 3px 8px; }
.mock-badge--blue { color: var(--accent); border-color: var(--accent-tint); }
.mock-card__ship { font-weight: 600; font-size: 15px; margin-top: 8px; }
.mock-card__route { font-size: 12px; color: var(--label2); margin-top: 2px; }
.mock-progress { height: 5px; border-radius: 99px; background: rgba(255,255,255,0.10); margin-top: 11px; overflow: hidden; }
.mock-progress > i { display: block; height: 100%; width: 62%; border-radius: 99px; background: linear-gradient(90deg, var(--brass), var(--brass-2)); }
.mock-meta { display: flex; gap: 14px; margin-top: 9px; font-size: 11px; color: var(--label3); }

/* ---------- feature grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 940px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .features { grid-template-columns: 1fr; } }

.feature {
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(30,35,48,0.55), rgba(22,26,34,0.35));
  border: 0.5px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.feature:hover { transform: translateY(-4px); border-color: rgba(255,253,240,0.18); background: linear-gradient(180deg, rgba(34,40,54,0.7), rgba(24,28,38,0.45)); }
.feature--wide { grid-column: span 2; }
@media (max-width: 560px) { .feature--wide { grid-column: span 1; } }
.feature__icon {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--brass-tint); border: 0.5px solid var(--brass-tint);
  color: var(--brass);
}
.feature__icon--blue { background: var(--accent-tint); border-color: var(--accent-tint); color: var(--accent); }
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 19px; margin-bottom: 8px; letter-spacing: -0.02em; }
.feature p { margin: 0; color: var(--label2); font-size: 15px; }

/* ---------- showcase split (atlas / emotional) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--reverse .split__media { order: -1; }
.split__media { display: flex; justify-content: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }

.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 0.5px solid var(--glass-border);
  background: linear-gradient(160deg, var(--sky-top), var(--bg-deep));
  box-shadow: var(--glass-shadow);
  aspect-ratio: 4 / 3;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
/* placeholder marker */
.placeholder {
  position: absolute; inset: 0; display: grid; place-content: center; place-items: center; gap: 10px; text-align: center;
  color: var(--label3); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
}
.placeholder svg { width: 34px; height: 34px; opacity: 0.6; }
.placeholder span { padding: 4px 10px; border: 1px dashed var(--label4); border-radius: 8px; }

/* ---------- atlas globe motif ---------- */
.globe-stage { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.globe-stage img { width: min(78%, 340px); border-radius: 50%; box-shadow: 0 30px 80px -20px rgba(0,0,0,0.8), 0 0 70px rgba(111,174,217,0.25); }
.globe-stage::before {
  content: ""; position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(111,174,217,0.22), transparent 65%); filter: blur(24px);
}

/* ---------- stats band ---------- */
.statband {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 0.5px solid var(--glass-border);
  background: var(--sep);
}
@media (max-width: 760px) { .statband { grid-template-columns: repeat(2, 1fr); } }
.stat {
  background: linear-gradient(180deg, rgba(22,26,34,0.85), rgba(11,14,19,0.85));
  padding: 34px 24px; text-align: center;
}
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 4.6vw, 50px); letter-spacing: -0.03em; line-height: 1;
  background: linear-gradient(180deg, var(--label), var(--brass)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { margin-top: 10px; font-size: 13px; color: var(--label3); font-family: var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- widget / live activity row ---------- */
.widgets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .widgets { grid-template-columns: 1fr; } }
.widget {
  border-radius: 22px; padding: 18px 20px;
  background: linear-gradient(165deg, rgba(30,35,48,0.9), rgba(11,14,19,0.92));
  border: 0.5px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}
.widget__head { display: flex; align-items: center; gap: 9px; font-size: 12px; color: var(--label2); }
.widget__head .live { display: inline-flex; align-items: center; gap: 6px; color: var(--brass); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
.widget__head .live i { width: 7px; height: 7px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 0 rgba(217,168,86,0.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(217,168,86,0.5); } 70% { box-shadow: 0 0 0 8px rgba(217,168,86,0); } 100% { box-shadow: 0 0 0 0 rgba(217,168,86,0); } }
.widget__big { font-family: var(--font-display); font-weight: 700; font-size: 30px; letter-spacing: -0.02em; margin-top: 14px; }
.widget__sub { color: var(--label2); font-size: 13.5px; margin-top: 4px; }
.widget__ports { margin-top: 16px; display: flex; align-items: center; gap: 6px; }
.widget__ports .pin { width: 8px; height: 8px; border-radius: 50%; background: var(--label4); }
.widget__ports .pin.on { background: var(--brass); }
.widget__ports .line { flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--label4) 0 3px, transparent 3px 6px); }

/* ---------- privacy band ---------- */
.privacy-band {
  border-radius: var(--radius-lg);
  padding: clamp(34px, 5vw, 56px);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(111,174,217,0.12), transparent 55%),
    linear-gradient(180deg, rgba(22,26,34,0.85), rgba(11,14,19,0.9));
  border: 0.5px solid var(--glass-border);
}
.privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 34px; }
@media (max-width: 760px) { .privacy-grid { grid-template-columns: 1fr; gap: 22px; } }
.privacy-grid h3 { font-size: 17px; margin-bottom: 6px; display: flex; align-items: center; gap: 9px; }
.privacy-grid h3 svg { width: 18px; height: 18px; color: var(--accent); }
.privacy-grid p { margin: 0; color: var(--label2); font-size: 14.5px; }

/* ---------- big CTA ---------- */
.cta {
  text-align: center;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 5vw, 64px) var(--gutter);
  background:
    radial-gradient(100% 120% at 50% 0%, rgba(35,70,120,0.5), transparent 60%),
    radial-gradient(80% 80% at 50% 100%, rgba(217,168,86,0.18), transparent 60%),
    linear-gradient(180deg, var(--elev1), var(--bg-deep));
  border: 0.5px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  position: relative; overflow: hidden;
}
.cta h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.03em; line-height: 1.04; max-width: 18ch; margin-inline: auto; }
.cta p { margin: 14px auto 0; color: var(--label2); max-width: 46ch; font-size: 16.5px; }
.cta__actions { margin-top: 28px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- footer ---------- */
.footer { border-top: 0.5px solid var(--sep); padding-block: 56px 40px; margin-top: clamp(30px, 4.5vw, 60px); }
.footer__grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__brand { max-width: 300px; }
.footer__brand p { color: var(--label3); font-size: 14px; margin: 14px 0 0; }
.footer__cols { display: flex; gap: clamp(40px, 8vw, 90px); flex-wrap: wrap; }
.footer__col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--label3); margin: 0 0 16px; font-weight: 500; }
.footer__col a { display: block; color: var(--label2); font-size: 14.5px; margin-bottom: 11px; transition: color 0.2s; }
.footer__col a:hover { color: var(--label); }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 0.5px solid var(--sep); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--label4); font-size: 13px; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* =========================================================
   Screenshot placeholders — real drop-slots for App Store
   screenshots. Never fill these with a CSS recreation of an
   app view; swap in an <img> of an actual screenshot.
   ========================================================= */
.shot-ph {
  position: relative;
  display: grid; place-items: center; align-content: center; gap: 11px;
  text-align: center; padding: 28px;
  min-height: 220px;
  color: var(--label2);
  background:
    radial-gradient(120% 90% at 50% -12%, rgba(111,174,217,0.12), transparent 62%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.022) 0 11px, transparent 11px 22px);
}
.shot-ph::after { /* dashed inset frame so it reads as "fill me" */
  content: ""; position: absolute; inset: 14px;
  border: 1.5px dashed var(--label4); border-radius: 14px;
  pointer-events: none;
}
.shot-ph--fill { position: absolute; inset: 0; min-height: 0; }
.shot-ph__icon { width: 38px; height: 38px; color: var(--label3); }
.shot-ph__title { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--label2); }
.shot-ph__hint { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; color: var(--label4); }

/* when a real screenshot is dropped into a device / media-frame */
.device__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

.shot-ph__plus { display: grid; place-items: center; }
.shot-ph__plus svg { width: 34px; height: 34px; color: var(--label3); opacity: 0.85; }

/* small sized App Store button in the nav */
.btn--sm { height: 42px; padding-inline: 18px; font-size: 15px; border-radius: 13px; }

/* official Apple "Download on the App Store" badge (assets/app-store-badge.svg) */
.appstore-badge { display: inline-block; transition: transform 0.25s var(--ease), filter 0.25s var(--ease); }
.appstore-badge img { height: 54px; width: auto; display: block; }
.appstore-badge:hover { transform: translateY(-2px); filter: brightness(1.08); }

/* centered section head (countdown, premium) */
.section-head--center { text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .section-title,
.section-head--center .section-lede { margin-inline: auto; }

/* ---------- tick list (map section) ---------- */
.ticks { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.ticks li { display: flex; gap: 11px; align-items: center; color: var(--label2); font-size: 15.5px; }
.ticks .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--brass); flex: none; }

/* ---------- metric chips (stats section — labels only, never fake values) ---------- */
.metrics { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.metrics span {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.04em;
  color: var(--label2); padding: 9px 14px; border-radius: 999px;
  border: 0.5px solid var(--glass-border);
  background: linear-gradient(180deg, rgba(30,35,48,0.6), rgba(22,26,34,0.4));
}

/* ---------- screenshot row (Live Activities / widgets) ---------- */
.shots-row { display: grid; grid-template-columns: auto auto; gap: 24px; align-items: stretch; justify-content: center; }
.shots-stack { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
@media (max-width: 700px) { .shots-row { grid-template-columns: 1fr; justify-items: center; } }
.shot-card {
  border-radius: 22px; padding: 14px;
  background: linear-gradient(165deg, rgba(30,35,48,0.9), rgba(11,14,19,0.92));
  border: 0.5px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}
.shot-card__cap { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--label3); padding: 6px 6px 14px; }
.shot-card .shot-ph { min-height: 230px; border-radius: 14px; }
.shot-card--tall .shot-ph { min-height: 430px; }
.shot-card img { display: block; width: 100%; height: auto; border-radius: 14px; }

/* Lock Screen card reads like a phone; widgets are square tiles stacked beside it */
.shot-card--tall { width: 300px; }
.shot-card--widget { width: 236px; background: linear-gradient(165deg, rgba(42,49,64,0.92), rgba(18,22,30,0.94)); }
/* clip the Home Screen wallpaper bleed from the widget captures: rounded mask + slight crop */
.widget-clip { overflow: hidden; border-radius: 19%; }
.widget-clip img { width: 100%; height: auto; border-radius: 0; transform: scale(1.07); }

/* ---------- pricing / premium ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.plan {
  position: relative;
  border-radius: var(--radius-lg); padding: clamp(28px, 3.4vw, 40px);
  background: linear-gradient(180deg, rgba(30,35,48,0.55), rgba(22,26,34,0.35));
  border: 0.5px solid var(--glass-border);
}
.plan--premium {
  border-color: var(--brass-tint);
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(217,168,86,0.16), transparent 55%),
    linear-gradient(180deg, rgba(34,40,54,0.7), rgba(18,21,29,0.6));
  box-shadow: 0 18px 50px -18px rgba(217,168,86,0.25);
}
.plan__badge {
  display: inline-block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brass); border: 0.5px solid var(--brass-tint); background: var(--brass-tint);
  border-radius: 999px; padding: 4px 11px; margin-bottom: 16px;
}
.plan__badge--free { color: var(--accent); border-color: var(--accent-tint); background: var(--accent-tint); }
.plan__name { font-size: 22px; letter-spacing: -0.02em; margin-top: 4px; }
.plan__price { font-family: var(--font-display); font-weight: 700; font-size: 28px; letter-spacing: -0.02em; margin: 10px 0 0; color: var(--label); }
.plan--premium .plan__price { color: var(--brass); }
.plan__lede { color: var(--label2); font-size: 15px; margin: 12px 0 0; }
.plan__list { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.plan__list li { position: relative; padding-left: 28px; color: var(--label2); font-size: 15px; }
.plan__list li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 9px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg); border-radius: 1px;
}
.plan--premium .plan__list li::before { border-color: var(--brass); }
/* inline price placeholder — replace before launch */
.fill-inline {
  font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.04em;
  color: var(--brass); border: 1px dashed var(--brass); background: var(--brass-tint);
  border-radius: 8px; padding: 3px 10px; vertical-align: middle;
}

/* ---------- privacy: one quiet line ---------- */
.privacy-line {
  display: flex; align-items: flex-start; gap: 16px;
  max-width: 760px; margin-inline: auto; text-align: left;
  padding: clamp(24px, 3vw, 34px) clamp(24px, 3.5vw, 40px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(111,174,217,0.1), transparent 55%),
    linear-gradient(180deg, rgba(22,26,34,0.8), rgba(11,14,19,0.85));
  border: 0.5px solid var(--glass-border);
}
.privacy-line svg { width: 26px; height: 26px; color: var(--accent); flex: none; margin-top: 2px; }
.privacy-line p { margin: 0; color: var(--label2); font-size: 16px; line-height: 1.65; }
.privacy-line a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================
   Document pages (privacy / terms / support)
   ========================================================= */
.doc { padding-top: clamp(48px, 8vw, 96px); padding-bottom: 40px; }
.doc__header { max-width: 760px; margin-bottom: 12px; }
.doc__header h1 { font-size: clamp(34px, 5.5vw, 56px); letter-spacing: -0.035em; line-height: 1.04; }
.doc__meta { color: var(--label3); font-size: 14px; margin-top: 16px; font-family: var(--font-mono); letter-spacing: 0.04em; }
.doc__layout { display: grid; grid-template-columns: 220px 1fr; gap: clamp(32px, 5vw, 64px); margin-top: 48px; align-items: start; }
@media (max-width: 860px) { .doc__layout { grid-template-columns: 1fr; } .doc__toc { display: none; } }
.doc__toc { position: sticky; top: 92px; }
.doc__toc h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--label3); margin: 0 0 14px; font-weight: 500; }
.doc__toc a { display: block; color: var(--label2); font-size: 14px; margin-bottom: 10px; padding-left: 12px; border-left: 2px solid transparent; transition: color 0.2s, border-color 0.2s; }
.doc__toc a:hover, .doc__toc a.is-active { color: var(--label); border-color: var(--brass); }

.doc__body { max-width: 720px; }
.doc__body h2 { font-size: 24px; letter-spacing: -0.02em; margin: 44px 0 14px; scroll-margin-top: 92px; }
.doc__body h2:first-child { margin-top: 0; }
.doc__body h3 { font-size: 18px; margin: 28px 0 10px; }
.doc__body p, .doc__body li { color: var(--label2); font-size: 16px; line-height: 1.7; }
.doc__body ul { padding-left: 22px; }
.doc__body li { margin-bottom: 8px; }
.doc__body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.doc__body strong { color: var(--label); font-weight: 600; }

/* placeholder note block — visually obvious so it isn't shipped by accident */
.fill {
  display: block;
  border: 1px dashed var(--brass);
  background: var(--brass-tint);
  color: var(--label);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 14px 0;
  font-size: 14.5px;
  line-height: 1.6;
}
.fill::before {
  content: "✎  PLACEHOLDER — replace before launch";
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 8px;
}

/* support cards */
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 40px 0; }
@media (max-width: 640px) { .support-grid { grid-template-columns: 1fr; } }
.support-card { padding: 26px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(30,35,48,0.55), rgba(22,26,34,0.35)); border: 0.5px solid var(--glass-border); }
.support-card h3 { font-size: 18px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.support-card h3 svg { width: 20px; height: 20px; color: var(--brass); }
.support-card p { margin: 0; color: var(--label2); font-size: 15px; }
.support-card a { color: var(--accent); }
