/* Statlas marketing site
 *
 * Brand carried from the app: the splash-screen sky blue (#76CCE7, sampled from
 * statlas-icon_2048.png) is the site's signature ground, Montserrat + Inter from
 * styleguide.md, Ocean Blue for links, Explorer Orange for the pin. Static HTML,
 * one hand-written file, no build step — pages stay indexable without JavaScript.
 */

:root {
  /* Brand */
  --sky: #76CCE7;            /* splash-screen blue — the signature */
  --sky-deep: #4FB3D9;
  --ocean: #0077B6;
  --orange: #FF6B1A;
  --navy: #14202F;
  --navy-deep: #0D1622;

  /* Semantic — light */
  --bg: #FFFFFF;
  --bg-sunk: #EFF6FA;
  --bg-ink: #0D1622;
  --surface: #FFFFFF;
  --text: #16202F;
  --text-2: #43536A;
  --text-3: #67788D;
  --rule: #D9E4EC;
  --rule-2: #BFD2DE;
  --accent: var(--ocean);
  --shadow: 0 1px 2px rgba(20, 32, 47, .06), 0 12px 32px -14px rgba(20, 32, 47, .28);

  --font-display: Montserrat, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1120px;
  --measure: 66ch;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0C121C;
    --bg-sunk: #10192a;
    --bg-ink: #080D15;
    --surface: #141F2E;
    --text: #E8EEF6;
    --text-2: #A8B6C8;
    --text-3: #7E8C9E;
    --rule: #223046;
    --rule-2: #2F415C;
    --accent: #5FB4E4;
    --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 12px 32px -14px rgba(0, 0, 0, .8);
  }
}

:root[data-theme="dark"] {
  --bg: #0C121C;
  --bg-sunk: #10192a;
  --bg-ink: #080D15;
  --surface: #141F2E;
  --text: #E8EEF6;
  --text-2: #A8B6C8;
  --text-3: #7E8C9E;
  --rule: #223046;
  --rule-2: #2F415C;
  --accent: #5FB4E4;
  --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 12px 32px -14px rgba(0, 0, 0, .8);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--ocean); color: #fff;
  padding: 10px 16px; z-index: 100; border-radius: 0 0 4px 0;
}
.skip:focus { left: 0; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--rule);
}
.site-head .row { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand {
  font-family: var(--font-display); font-weight: 700; font-size: 19px;
  letter-spacing: -.02em; color: var(--text); text-decoration: none; display: flex;
  align-items: center; gap: 10px;
}
.brand img { width: 30px; height: 30px; border-radius: 7px; display: block; }
.site-nav { margin-left: auto; display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.site-nav a { color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.site-nav a:hover { color: var(--text); }

/* ---------- hero: the splash screen, as a web page ---------- */
.hero {
  /* Committed single look: the splash blue IS the brand moment, identical in
     both themes, so every color inside is explicit rather than tokenised. */
  background: linear-gradient(168deg, #8AD4EB 0%, #76CCE7 46%, #57B9DE 100%);
  color: #14202F;
  position: relative; overflow: hidden;
}
.hero .wrap { position: relative; z-index: 2; padding-top: 72px; padding-bottom: 84px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; }
.hero-brandline { display: flex; align-items: center; gap: 14px; margin: 0 0 26px; }
.hero-brandline img { width: 56px; height: 56px; border-radius: 13px; box-shadow: 0 8px 24px -8px rgba(13, 42, 60, .45); }
.hero-brandline span { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -.02em; }
.hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(44px, 6.4vw, 76px); line-height: 1.0; letter-spacing: -.035em;
  margin: 0 0 22px; text-wrap: balance; color: #10202E;
}
.hero p.lede { font-size: 19px; line-height: 1.6; color: #1D3A50; margin: 0 0 30px; max-width: 54ch; }

/* Hex field — the H3 coverage grid, drawn in CSS. */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; opacity: .35;
  background-image:
    radial-gradient(circle at 1.5px 1.5px, rgba(255, 255, 255, .8) 1.5px, transparent 0);
  background-size: 30px 26px;
  mask-image: radial-gradient(ellipse 70% 80% at 80% 30%, #000 25%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 30%, #000 25%, transparent 70%);
}

.cta-pending {
  display: inline-flex; flex-direction: column; gap: 6px;
  border-radius: 14px; padding: 18px 28px; margin: 0; max-width: none;
  background: #14202F; box-shadow: 0 14px 34px -12px rgba(13, 32, 46, .5);
}
.cta-pending-main {
  font-family: var(--font-display); font-weight: 700; font-size: 19px;
  letter-spacing: -.015em; color: #FFFFFF;
}
.cta-pending-sub { font-size: 13.5px; color: #9DB4C6; }

/* Phone frame: straight-on, generic, never imitation Apple hardware. */
.phone {
  width: 100%; max-width: 330px; margin-inline: auto;
  border: 10px solid #10202E; border-radius: 34px; overflow: hidden;
  box-shadow: 0 36px 80px -24px rgba(10, 26, 38, .55); background: #0A1018; display: block;
}
.phone img { display: block; width: 100%; height: auto; }

/* ---------- sections ---------- */
section { padding: 84px 0; }
section.sunk { background: var(--bg-sunk); }
section + section { border-top: 1px solid var(--rule); }

.eyebrow {
  font-family: var(--font-body); font-size: 12.5px; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase; color: var(--accent);
  margin: 0 0 12px;
}
h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; letter-spacing: -.025em;
  margin: 0 0 18px; text-wrap: balance;
}
h3 {
  font-family: var(--font-display); font-weight: 600; font-size: 19px;
  letter-spacing: -.012em; margin: 0 0 8px;
}
p { margin: 0 0 18px; max-width: var(--measure); color: var(--text-2); }
p.lead { font-size: 19px; }
p:last-child { margin-bottom: 0; }

/* Feature rows: copy beside a real screenshot, alternating sides. */
.feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center; }
.feature.flip > .feature-copy { order: 2; }
.feature .phone { max-width: 300px; }
.feature-copy .stat-line {
  display: flex; gap: 28px; flex-wrap: wrap; margin-top: 26px;
}
.stat-line div {
  min-width: 128px; padding: 14px 18px; border-radius: 12px;
  background: color-mix(in srgb, var(--sky) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--sky) 35%, transparent);
}
.stat-line strong {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: 26px; letter-spacing: -.02em; color: var(--text);
  font-variant-numeric: tabular-nums; margin-bottom: 6px;
}
.stat-line span { display: block; font-size: 12px; color: var(--text-3); letter-spacing: .06em; text-transform: uppercase; line-height: 1.4; }

/* The navy differentiator band. */
.band-ink { background: var(--bg-ink); color: #E8EEF6; border-top: 4px solid var(--sky); }
.band-ink h2 { color: #FFFFFF; }
.band-ink p { color: #AFC0D2; }
.band-ink .eyebrow { color: var(--sky); }
.band-ink .stat-line strong { color: #FFFFFF; }
.band-ink .stat-line span { color: #7E93A8; }
.band-ink .phone { border-color: #223349; }

.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; margin-top: 34px; }
.card {
  background: var(--surface); border: 1px solid var(--rule); border-radius: 14px;
  padding: 26px; box-shadow: var(--shadow); border-top: 3px solid var(--sky);
}
.card p { font-size: 15.5px; margin-bottom: 0; }
.card .n {
  font-family: var(--font-display); font-weight: 700; color: var(--sky-deep);
  font-size: 14px; letter-spacing: .08em; display: block; margin-bottom: 10px;
}

.tracked { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 14px; overflow: hidden; margin-top: 34px; }
.tracked div { background: var(--surface); padding: 20px 22px; }
.tracked strong { display: block; font-family: var(--font-display); font-size: 17px; font-weight: 600; margin-bottom: 3px; }
.tracked span { font-size: 13.5px; color: var(--text-3); }
@media (max-width: 900px) { .tracked { grid-template-columns: repeat(2, 1fr); } }

/* CTA band: back to the splash blue to close the loop. */
.cta-band {
  background: linear-gradient(168deg, #83D1EA 0%, #6AC6E4 60%, #4FB3D9 100%);
  color: #14202F; text-align: center;
}
.cta-band h2 { color: #10202E; }
.cta-band p { color: #1D3A50; margin-inline: auto; }

/* ---------- support ---------- */
.contact-card {
  background: var(--surface); border: 1px solid var(--rule);
  border-left: 4px solid var(--sky-deep); border-radius: 14px;
  padding: 28px; box-shadow: var(--shadow); margin: 26px 0 40px;
}
.btn {
  display: inline-block; background: var(--ocean); color: #FFFFFF; text-decoration: none;
  font-weight: 600; font-size: 16px; padding: 13px 24px; border-radius: 8px; margin-top: 6px;
}
.btn:hover { background: color-mix(in srgb, var(--ocean) 86%, #000); }

.faq { margin-top: 12px; }
.faq-item { border-top: 1px solid var(--rule); padding: 26px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-item h3 { margin-bottom: 10px; }
.faq-item p { font-size: 16px; }

ul.plain { margin: 0 0 18px; padding-left: 22px; color: var(--text-2); max-width: var(--measure); }
ul.plain li { margin-bottom: 9px; }

.note {
  background: var(--bg-sunk); border: 1px solid var(--rule); border-radius: 10px;
  padding: 18px 22px; margin: 26px 0; font-size: 15.5px;
}
.note p { margin-bottom: 0; }

/* ---------- footer ---------- */
.site-foot { background: var(--bg-ink); border-top: 4px solid var(--sky); padding: 56px 0 64px; color: #AFC0D2; }
.site-foot .brandrow { display: flex; align-items: center; gap: 10px; margin-bottom: 34px; }
.site-foot .brandrow img { width: 34px; height: 34px; border-radius: 8px; }
.site-foot .brandrow b { font-family: var(--font-display); font-size: 18px; color: #FFFFFF; letter-spacing: -.02em; }
.site-foot .brandrow i { font-style: normal; color: #7E93A8; font-size: 14px; margin-left: 6px; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(178px, 1fr)); gap: 34px; }
.foot-grid h4 { font-family: var(--font-display); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #7E93A8; margin: 0 0 12px; font-weight: 600; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 9px; }
.foot-grid a { color: #C3D2E0; text-decoration: none; font-size: 15px; }
.foot-grid a:hover { color: #FFFFFF; text-decoration: underline; }
.foot-legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid #1E2C3E; font-size: 13.5px; color: #7E93A8; }
.foot-legal p { color: #7E93A8; font-size: 13.5px; }

@media (max-width: 880px) {
  .hero-grid, .feature { grid-template-columns: 1fr; gap: 44px; }
  .feature.flip > .feature-copy { order: 0; }
  .hero .wrap { padding-top: 52px; padding-bottom: 56px; }
  section { padding: 60px 0; }
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 14px; }
}

/* Two phones side by side for the trips feature — list beside detail. */
.phone-duo { display: flex; gap: 18px; justify-content: center; align-items: flex-start; }
.phone-duo .phone { max-width: 220px; margin-inline: 0; }
.phone-duo .phone:last-child { margin-top: 40px; }
@media (max-width: 560px) { .phone-duo { flex-direction: column; align-items: center; } .phone-duo .phone:last-child { margin-top: 0; } }
