:root {
  --bg: #0A0E1A;
  --surface: #141A2A;
  --surface-elevated: #1C2438;
  --border: #262E44;
  --text-primary: #F4F6FB;
  --text-secondary: #9AA3BC;
  --text-tertiary: #5C6480;
  --accent: #F2A93B;
  --accent-dim: #B9832A;
  --accent-muted: #3A2E18;
  --teal: #4FD8C4;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}
body { line-height: 1.6; }
a { color: inherit; }

.board {
  font-family: "SF Mono", "Courier New", ui-monospace, monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Nav ---------- */
.nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 24px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-brand img { height: 26px; width: auto; }
/* Text wordmark, standing in until a real All Call logo/icon exists —
   swap back to an <img> here once one does. */
.nav-wordmark { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; color: var(--text-primary); }
.nav-wordmark em { font-style: normal; color: var(--accent); }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; font-size: 14px; }
.nav-links a { color: var(--text-secondary); text-decoration: none; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 48px 24px 56px;
  text-align: center;
  background:
    radial-gradient(ellipse 900px 400px at 50% -10%, rgba(242,169,59,0.10), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 12px;
  padding: 6px 14px;
  border: 1px solid var(--accent-muted);
  border-radius: 999px;
  background: rgba(242,169,59,0.06);
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px 2px rgba(242,169,59,0.6);
}
.hero h1 {
  font-size: clamp(28px, 6vw, 46px);
  line-height: 1.15;
  margin: 22px auto 14px;
  max-width: 720px;
  text-wrap: balance;
  color: var(--text-primary);
  font-weight: 800;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.sub {
  max-width: 560px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 17px;
}

/* ---------- Departure board strip ---------- */
.flight-strip {
  max-width: 620px;
  margin: 36px auto 0;
  background: #05070E;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.6);
}
.flight-strip-head {
  display: flex;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: 10px;
  color: var(--accent);
  background: #0A0E1A;
  border-bottom: 1px solid var(--border);
}
.flight-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  padding: 10px 16px;
  font-size: 12px;
  color: var(--text-secondary);
  border-bottom: 1px solid #171d30;
  align-items: center;
}
.flight-row:last-child { border-bottom: none; }
.flight-row span:first-child { color: var(--text-primary); text-transform: none; letter-spacing: 0.02em; font-family: -apple-system, sans-serif; text-align: left; }
.flight-row .status { color: var(--teal); }

/* ---------- Screenshot gallery (auto-scrolling marquee) ---------- */
.gallery {
  overflow: hidden;
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 0 24px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.gallery-track {
  display: flex;
  gap: 22px;
  width: max-content;
  padding: 0 24px;
  animation: gallery-marquee 34s linear infinite;
}
.gallery:hover .gallery-track { animation-play-state: paused; }
@keyframes gallery-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.phone {
  flex: 0 0 auto;
  width: 220px;
  border-radius: 30px;
  border: 6px solid #05070E;
  background: #05070E;
  overflow: hidden;
  box-shadow: 0 24px 50px -18px rgba(0,0,0,0.7), 0 0 0 1px var(--border);
  transition: transform 0.25s ease;
}
.phone:hover { transform: translateY(-6px); }
.phone img { display: block; width: 100%; height: auto; }
@media (prefers-reduced-motion: reduce) {
  .phone { transition: none; }
  .gallery { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .gallery-track { animation: none; padding: 0 24px; }
  .gallery-track .dup { display: none; }
}

/* ---------- Motion: scroll-triggered reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Manifest / feature list ---------- */
.manifest { max-width: 760px; margin: 64px auto 0; padding: 0 24px; }
.manifest-title { font-size: 12px; color: var(--accent); text-align: center; margin-bottom: 28px; }
.manifest-title::before, .manifest-title::after { content: '—— '; color: var(--border); }
.row { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.row:last-child { border-bottom: none; }
.row-gate {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.row h3 { margin: 0 0 6px; font-size: 17px; color: var(--text-primary); }
.row p { margin: 0; color: var(--text-secondary); font-size: 14.5px; }

/* ---------- Home teaser (condensed feature preview) ---------- */
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin: 0 0 28px;
}
.teaser-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 18px;
  text-align: center;
}
.teaser-card .row-gate { margin: 0 auto 14px; }
.teaser-card h3 { margin: 0 0 6px; font-size: 15px; color: var(--text-primary); }
.teaser-card p { margin: 0; font-size: 13.5px; color: var(--text-secondary); }
.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
}
.cta-link:hover { text-decoration: underline; }

/* ---------- Guide (how-to page) ---------- */
.guide-toc {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  max-width: 900px;
  margin: 40px auto 0;
  padding: 0 24px;
}
.guide-toc a {
  font-size: 12.5px;
  color: var(--text-secondary);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px;
  white-space: nowrap;
}
.guide-toc a:hover { color: var(--accent); border-color: var(--accent-muted); }

.guide { max-width: 760px; margin: 56px auto 0; padding: 0 24px; }
.guide-section {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 24px;
}
.guide-section:last-child { border-bottom: none; }
.guide-section h2 { margin: 0 0 6px; font-size: 19px; color: var(--text-primary); }
.guide-section > div > p.deck { margin: 0 0 16px; color: var(--text-secondary); font-size: 14.5px; }
.guide-media { margin: 4px 0 18px; }
.guide-shot {
  display: block;
  max-width: 260px;
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px -18px rgba(0,0,0,0.6);
}
.guide-placeholder {
  max-width: 260px;
  padding: 22px 16px;
  border: 1px dashed var(--border);
  border-radius: 14px;
  color: var(--text-tertiary);
  font-size: 12.5px;
  text-align: center;
  background: var(--surface);
}
.guide-placeholder .row-gate { margin: 0 auto 10px; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 0 34px;
  margin-bottom: 12px;
  color: var(--text-secondary);
  font-size: 14.5px;
}
.steps li:last-child { margin-bottom: 0; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps li strong { color: var(--text-primary); }
.guide-note {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-tertiary);
  font-size: 13px;
}

/* ---------- Article (About page) ---------- */
.article {
  max-width: 640px;
  margin: 56px auto;
  padding: 0 24px 40px;
}
.article h2 {
  font-size: clamp(24px, 4vw, 32px);
  margin: 40px 0 12px;
  color: var(--text-primary);
}
.article h2:first-child { margin-top: 0; }
.article p { color: var(--text-secondary); font-size: 16px; margin: 0 0 16px; }
.article strong { color: var(--text-primary); }
.pull-quote {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 20px;
  margin: 32px 0;
  color: var(--text-primary);
  font-size: 19px;
  font-style: normal;
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin: 24px 0 8px;
}
.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
}
.value-card .board { font-size: 11px; color: var(--accent); display: block; margin-bottom: 8px; }
.value-card p { margin: 0; font-size: 14px; color: var(--text-secondary); }

/* ---------- Closing ---------- */
.closer {
  text-align: center;
  padding: 80px 24px 64px;
  margin-top: 40px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(242,169,59,0.04));
}
.closer h2 { font-size: clamp(22px, 4vw, 30px); margin: 0 0 10px; }
.closer p { color: var(--text-secondary); max-width: 460px; margin: 0 auto; }
.stamp {
  display: inline-block;
  margin-top: 28px;
  padding: 10px 22px;
  border: 1px solid var(--accent-muted);
  color: var(--accent);
  border-radius: 8px;
  font-size: 12px;
}

footer {
  text-align: center;
  padding: 28px 24px;
  color: var(--text-tertiary);
  font-size: 12px;
  border-top: 1px solid var(--border);
}
footer a { color: var(--text-tertiary); text-decoration: underline; }
footer .foot-links { margin-top: 8px; display: flex; gap: 16px; justify-content: center; }

@media (prefers-color-scheme: light) {
  :root { --border: #33405e; }
}
