/* jetsetalarm.com — Option A "Two skies" (Figma: Website — jetsetalarm.com, node 51:27) */

:root {
  --accent: #5856d6;
  --accent-text: #5856d6;
  --sky-dawn: #514fc5;
  --sky-day: #4b49b6;
  --sky-dusk: #39388b;
  --sky-night: #232256;
  --bg: #f2f2f7;
  --card: #ffffff;
  --label: #000000;
  --label-2: #6e6e73;
  --separator: rgba(60, 60, 67, 0.18);
  --on-sky: #ffffff;
  --radius-card: 24px;
  --gutter: 16px;
  --max: 1248px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --accent: #5e5ce6;
    --accent-text: #8e8cf5;
    --bg: #000000;
    --card: #1c1c1e;
    --label: #ffffff;
    --label-2: #a1a1a6;
    --separator: rgba(84, 84, 88, 0.6);
  }
}
:root[data-theme="dark"] {
  --accent: #5e5ce6;
  --accent-text: #8e8cf5;
  --bg: #000000;
  --card: #1c1c1e;
  --label: #ffffff;
  --label-2: #a1a1a6;
  --separator: rgba(84, 84, 88, 0.6);
}

*, *::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;
  background: var(--bg);
  color: var(--label);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sky :focus-visible, .band-night :focus-visible { outline-color: #fff; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--gutter); top: 8px; z-index: 10; background: var(--card); color: var(--label); padding: 8px 14px; border-radius: 10px; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
@media (min-width: 900px) { :root { --gutter: 64px; } }

/* ---------- nav ---------- */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; flex-wrap: wrap; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 19px; letter-spacing: -0.01em; color: inherit; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; font-size: 15px; font-weight: 500; }
.nav-links a { color: inherit; opacity: 0.85; }
.nav-links a:hover { opacity: 1; }
@media (max-width: 720px) { .nav-links .hide-sm { display: none; } .nav-links { gap: 18px; } .nav { flex-wrap: nowrap; gap: 12px; } }
@media (max-width: 430px) { .nav-links .hide-xs { display: none; } }

/* App Store button (replace with Apple's official badge artwork before launch) */
.store {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px 10px 16px; border-radius: 14px;
  background: var(--label); color: var(--bg); font-weight: 600; line-height: 1.05;
  border: 1px solid transparent;
}
.store:hover { text-decoration: none; filter: brightness(1.08); }
.store svg { width: 22px; height: 26px; flex: none; fill: currentColor; }
.store small { display: block; font-size: 11px; font-weight: 500; }
.store span span { display: block; font-size: 20px; letter-spacing: -0.02em; }
.store.on-sky { background: #fff; color: #000; }
.store.compact { padding: 7px 14px 7px 12px; border-radius: 11px; }
.store.compact span span { font-size: 16px; }
.store.compact svg { width: 17px; height: 20px; }

/* ---------- hero: two skies ---------- */
.hero { color: var(--on-sky); background: linear-gradient(90deg, var(--here-sky, var(--sky-night)) 50%, var(--home-sky, var(--sky-day)) 50%); }
.hero-grid {
  display: grid; grid-template-columns: 1fr 300px 1fr; gap: 0 48px;
  grid-template-areas: "here phone home";
  padding-block: 48px 72px; align-items: start;
}
.here { grid-area: here; }
.home { grid-area: home; text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.hero-phone { grid-area: phone; margin: 160px 0 0; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.88; margin: 0; }
.eyebrow .glyph { display: inline-block; width: 1.2em; }
.clock { font-size: clamp(64px, 9vw, 132px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin: 6px 0 6px; font-variant-numeric: tabular-nums; }
.date { font-size: 18px; font-weight: 500; opacity: 0.82; margin: 0; }
.hero h1 { font-size: clamp(40px, 4.4vw, 58px); line-height: 1.04; letter-spacing: -0.035em; margin: 96px 0 20px; font-weight: 700; max-width: 12ch; }
.lede { font-size: 19px; line-height: 1.45; opacity: 0.88; margin: 0 0 28px; max-width: 30em; }
.ctas { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.price-note { font-size: 15px; font-weight: 500; opacity: 0.82; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; margin: 120px 0 28px;
  padding: 10px 18px 10px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.16);
  font-size: 16px; font-weight: 600;
}
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 17px; font-weight: 500; opacity: 0.88; }

.phone { position: relative; border-radius: 52px; background: #141418; padding: 10px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45); }
.phone img { border-radius: 44px; width: 100%; aspect-ratio: 644 / 1400; object-fit: cover; }

@media (max-width: 1080px) {
  .hero { background: none; }
  .hero-grid, .hero-grid.wrap { width: 100%; grid-template-columns: 1fr; grid-template-areas: "here" "home" "phone"; padding: 0; gap: 0; }
  .here, .home { padding: 40px var(--gutter); }
  .here { background: var(--here-sky, var(--sky-night)); }
  .home, .hero-phone { background: var(--home-sky, var(--sky-day)); }
  .home { text-align: left; align-items: flex-start; }
  .hero h1 { margin-top: 48px; }
  .chip { margin-top: 24px; }
  .hero-phone { margin: 0; padding: 8px var(--gutter) 56px; display: flex; justify-content: center; }
  .hero-phone .phone { width: min(300px, 78vw); }
  .hero .nav-wrap { background: var(--here-sky, var(--sky-night)); }
}

/* ---------- sections ---------- */
section { padding-block: 96px; }
@media (max-width: 720px) { section { padding-block: 64px; } }
.section-head { text-align: center; max-width: 900px; margin: 0 auto 48px; }
.kicker { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 12px; }
.section-head h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.1; letter-spacing: -0.03em; margin: 0; font-weight: 700; }
.section-head p { color: var(--label-2); font-size: 19px; margin: 16px auto 0; max-width: 40em; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.tile { background: var(--card); border-radius: var(--radius-card); padding: 28px; }
.tile h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.015em; margin: 14px 0 10px; font-weight: 600; }
.tile p { margin: 0; color: var(--label-2); font-size: 16px; line-height: 1.45; }
.icon-tile { width: 44px; height: 44px; border-radius: 12px; background: var(--accent); display: grid; place-items: center; }
.icon-tile svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }

.band-night { background: var(--sky-night); color: var(--on-sky); }
.band-night .kicker { color: rgba(255, 255, 255, 0.85); }
.band-night .section-head p { color: rgba(255, 255, 255, 0.82); }
.phones { display: flex; justify-content: center; align-items: center; gap: 24px; }
.phones figure { margin: 0; flex: 0 1 270px; text-align: center; }
.phones figure:nth-child(1), .phones figure:nth-child(5) { flex-basis: 204px; }
.phones figure:nth-child(2), .phones figure:nth-child(4) { flex-basis: 234px; }
.phones figcaption { margin-top: 16px; font-size: 15px; font-weight: 500; opacity: 0.85; }
@media (max-width: 900px) {
  .phones { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .phones figure, .phones figure:nth-child(n) { flex: 0 0 220px; scroll-snap-align: center; }
}

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 472px)); justify-content: center; gap: 24px; }
.plan { background: var(--card); border-radius: 28px; padding: 36px; }
.plan h3 { margin: 0; font-size: 20px; font-weight: 600; }
.plan .price { font-size: 44px; font-weight: 700; letter-spacing: -0.03em; margin: 6px 0 18px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--label-2); }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent-text); font-weight: 700; }
.plan.pro { background: var(--accent); color: #fff; }
.plan.pro ul { color: rgba(255, 255, 255, 0.9); }
.plan.pro li::before { color: #fff; }
.plans-note { text-align: center; color: var(--label-2); font-size: 15px; margin-top: 24px; }

.faq { background: var(--card); }
.qa { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px 48px; }
.qa h3 { font-size: 20px; line-height: 1.3; margin: 0 0 8px; font-weight: 600; }
.qa p { margin: 0; color: var(--label-2); }

/* ---------- footer ---------- */
.footer { padding-block: 56px; border-top: 1px solid var(--separator); }
.footer .row { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 15px; }
.footer .row img { width: 28px; height: 28px; border-radius: 7px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 24px 0; font-size: 14px; }
.footer nav a { color: var(--label-2); }
.footer p { color: var(--label-2); font-size: 12px; margin: 0; }

/* ---------- document pages (privacy, terms, support, press) ---------- */
.doc-head { background: var(--sky-night); color: var(--on-sky); }
.doc-head .title { padding-block: 40px 56px; }
.doc-head h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.035em; line-height: 1.05; margin: 8px 0 0; }
.doc-head p { opacity: 0.85; margin: 12px 0 0; }
.doc { max-width: 760px; margin-inline: auto; padding-block: 56px 96px; }
.doc h2 { font-size: 24px; letter-spacing: -0.015em; margin: 44px 0 12px; }
.doc h3 { font-size: 18px; margin: 28px 0 8px; }
.doc p, .doc li { color: var(--label); }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 6px 0; }
.doc .muted { color: var(--label-2); }
.doc .card { background: var(--card); border-radius: 20px; padding: 24px 28px; margin: 24px 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 16px; }
.doc th, .doc td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--separator); vertical-align: top; }
.doc th { color: var(--label-2); font-weight: 500; width: 38%; }
.toc { columns: 2 220px; padding-left: 1.2em; }
.press-assets { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
.press-assets a { display: block; background: var(--card); border-radius: 16px; padding: 12px; text-align: center; font-size: 14px; }
.press-assets img { border-radius: 12px; margin: 0 auto 8px; }

/* sky glyphs (constant SVGs set by skies.js) */
.glyph svg { width: 1.15em; height: 1.15em; vertical-align: -0.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.doc .flush { margin-top: 0; }
