/*
 * ============================================================
 * HPL GLOBAL STYLESHEET
 * ============================================================
 * This file controls the look of the entire site globally.
 * Page-specific styles live inside a <style> block on that page,
 * or in assets/css/page-specific.css if they get large.
 *
 * HOW TO EDIT COMMON THINGS:
 * ---------------------------
 * Brand colors      → edit the :root { } block below
 * Fonts             → change the Google Fonts link in each HTML file
 *                     and update font-family in body/h1-h4 rules here
 * Nav links         → edit the <nav> HTML in each page file
 * Nav CTA button    → find .site-nav-cta in each page's <nav> block
 * Footer disclaimer → find .footer-disc in each page's <footer> block
 * Footer links      → edit the <footer> HTML in each page file
 * Countdown date    → open assets/js/countdown.js — top of file
 * Spots counter     → open assets/js/global.js — top of file
 * Mobile breakpoint → search "@media" below — uses 640px / 1024px
 * ============================================================
 */

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body { overflow-x: hidden; max-width: 100vw; }

/* ── BRAND COLOR TOKENS ── */
:root {
  /* Blues (b0 = lightest, b9 = darkest) */
  --b9: #042C53;
  --b8: #0C447C;
  --b6: #185FA5;
  --b4: #378ADD;
  --b2: #85B7EB;
  --b1: #B5D4F4;
  --b0: #E6F1FB;

  /* Neutrals */
  --w:       #FAF9F7;   /* off-white background */
  --w-card:  #FFFFFF;
  --g0:      #F4F6F9;
  --g1:      #ECEEF2;
  --g2:      #DDE1E9;
  --g3:      #C8CED7;
  --g5:      #6B7280;
  --g7:      #374151;
  --g8:      #1F2937;

  /* Semantic aliases */
  --ink:       var(--g8);
  --ink-soft:  var(--g5);
  --accent:    var(--b4);
  --accent-deep: var(--b9);
  --accent-soft: var(--b0);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(4,44,83,.06), 0 1px 1px rgba(4,44,83,.04);
  --shadow-md: 0 4px 12px rgba(4,44,83,.08), 0 1px 3px rgba(4,44,83,.05);
  --shadow-lg: 0 20px 60px -20px rgba(4,44,83,.25), 0 8px 20px -10px rgba(4,44,83,.15);

  /* Border radius */
  --r-sm: 7px;
  --r-md: 14px;
  --r-lg: 20px;
}

/* ── BASE TYPOGRAPHY ── */
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--w);
  color: var(--g8);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--b9);
  letter-spacing: -.025em;
  line-height: 1.08;
  font-weight: 700;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--b4); color: #fff; }
.mono { font-family: 'JetBrains Mono', monospace; }

/* ── LAYOUT CONTAINERS ── */
.container       { max-width: 1320px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }
.container--wide { max-width: 1400px; margin: 0 auto; padding: 0 4%; }
.container--narrow { max-width: 860px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }

/* ── LAUNCH BANNER (countdown bar) ── */
.launch-banner {
  background: var(--b9);
  padding: .75rem 1.5rem;
  text-align: center;
  position: relative;
  z-index: 200;
}
.launch-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.launch-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--b2);
  font-weight: 600;
}
.countdown { display: flex; gap: 1.25rem; align-items: center; }
.cd-unit   { display: flex; flex-direction: column; align-items: center; gap: .15rem; }
.cd-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  min-width: 2ch;
  text-align: center;
}
.cd-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--b2);
  opacity: .7;
}
.cd-sep { font-size: 1.2rem; color: var(--b4); font-weight: 700; margin-bottom: .6rem; }

.spots-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(55,138,221,.15);
  border: 1px solid rgba(55,138,221,.3);
  border-radius: 100px;
  padding: .35rem .9rem;
}
.spots-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 1.8s ease-in-out infinite;
}
.spots-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--b1);
  font-weight: 600;
}

/* ── SITE HEADER / NAV ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 150;
  background: rgba(250,249,247,.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--g2);
  padding: .9rem clamp(1.25rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition: box-shadow .3s;
}
.site-header.scrolled {
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--b9);
  letter-spacing: -.01em;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--b4), var(--b9));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.site-nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.site-nav-links a {
  font-size: .9rem;
  color: var(--g5);
  font-weight: 500;
  transition: color .2s;
  white-space: nowrap;
  text-decoration: none;
  position: relative;
}
.site-nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--b4);
  transition: width .25s;
}
.site-nav-links a:hover { color: var(--b9); }
.site-nav-links a:hover::after { width: 100%; }
.site-nav-links a.active { color: var(--b6); }
.site-nav-links a.active::after { width: 100%; }

.site-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--b4);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  padding: .7rem 1.4rem;
  border-radius: var(--r-sm);
  transition: background .2s, transform .2s;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
}
.site-nav-cta:hover { background: var(--b9); transform: translateY(-1px); }

/* ── MOBILE MENU TOGGLE ── */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  flex-shrink: 0;
}
.mobile-menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--b9);
  transition: all .25s;
  border-radius: 2px;
}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU (full-screen overlay) ── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--b9);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  padding: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -.03em;
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--b2); }
.mobile-menu a.active { color: var(--b4); }
.mobile-menu-cta-link {
  background: var(--b4);
  color: #fff !important;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-size: 1rem !important;
  font-weight: 700;
  text-decoration: none;
  margin-top: 1rem;
}
.mobile-menu-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,.5);
  font-size: 2rem;
  line-height: 1;
  padding: .25rem .5rem;
}
.mobile-menu-close:hover { color: #fff; }

/* ── SHARED BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 1.75rem;
  background: var(--b4);
  color: #fff;
  border: 2px solid var(--b4);
  cursor: pointer;
  transition: transform .2s, background .2s, border-color .2s, box-shadow .2s;
  border-radius: var(--r-sm);
  text-decoration: none;
}
.btn:hover { background: var(--b9); border-color: var(--b9); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(4,44,83,.2); }
.btn.dark { background: var(--b9); border-color: var(--b9); }
.btn.dark:hover { background: var(--b4); border-color: var(--b4); }
.btn.ghost { background: transparent; color: var(--b9); border-color: var(--g3); }
.btn.ghost:hover { border-color: var(--b4); color: var(--b4); background: transparent; transform: translateY(-1px); }
.btn.on-dark { background: #fff; color: var(--b9); border-color: #fff; }
.btn.on-dark:hover { background: var(--b2); border-color: var(--b2); }
.btn.on-dark.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.btn.on-dark.ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.btn-xl { font-size: 1.1rem; padding: 1.15rem 2.25rem; }
.arr { font-size: 1rem; transition: transform .2s; line-height: 0; }
.btn:hover .arr { transform: translateX(3px); }

/* ── EYEBROW LABELS ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--b4);
  font-weight: 600;
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--b4); }
.eyebrow.light { color: var(--b2); }
.eyebrow.light::before { background: var(--b2); }

/* ── SECTION TAG ── */
.section-tag {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--b4);
  margin-bottom: 1rem;
}
.section-tag::before { content: ''; width: 24px; height: 2px; background: var(--b4); flex-shrink: 0; }

/* ── PAGE HERO BASE ── */
.page-hero {
  background: var(--b9);
  padding: 5rem 4% 7rem;
  position: relative;
  overflow: hidden;
}
.ph-orb { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; }
.ph-orb1 { width: min(600px,100vw); height: min(600px,100vw); background: rgba(55,138,221,.1); top: -200px; right: -100px; animation: orbFloat 12s ease-in-out infinite; }
.ph-orb2 { width: 300px; height: 300px; background: rgba(14,165,233,.07); bottom: -100px; left: 5%; animation: orbFloat 9s ease-in-out infinite; animation-delay: -4s; }
.ph-inner { position: relative; z-index: 1; }
.ph-tag {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--b2);
  margin-bottom: 2rem;
  animation: fadeUp .6s .1s ease both;
}
.ph-tag::before { content: ''; width: 24px; height: 2px; background: var(--b2); }
.ph-hl {
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 800;
  line-height: 1.03;
  color: #fff;
  letter-spacing: -.04em;
  margin-bottom: 2rem;
  animation: fadeUp .7s .2s ease both;
}
.ph-hl em { display: block; font-style: italic; font-weight: 300; color: var(--b2); }
.ph-rule {
  width: 48px; height: 3px;
  background: var(--b4);
  margin-bottom: 2rem;
  animation: growW .5s .4s ease both;
  transform-origin: left;
}
.ph-rule.centered { margin-left: auto; margin-right: auto; transform-origin: center; }
.ph-body {
  font-size: 1.2rem;
  line-height: 1.85;
  color: rgba(255,255,255,.5);
  font-weight: 300;
  animation: fadeUp .7s .35s ease both;
}
.ph-body strong { color: rgba(255,255,255,.85); font-weight: 700; }

/* ── TICKER ── */
.ticker { background: var(--b4); padding: 1rem 0; overflow: hidden; max-width: 100vw; }
.ticker-inner { display: flex; animation: scroll 30s linear infinite; white-space: nowrap; }
.t-item { font-size: .82rem; font-weight: 700; color: #fff; letter-spacing: .08em; text-transform: uppercase; padding: 0 2.5rem; flex-shrink: 0; }
.t-item::after { content: '·'; margin-left: 2.5rem; opacity: .4; }

/* ── SHARED FOOTER ── */
footer {
  background: var(--g8);
  padding: 3.5rem 4%;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-logo {
  font-size: .95rem;
  font-weight: 800;
  color: rgba(255,255,255,.6);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.footer-links-wrap { display: flex; gap: 3rem; flex-wrap: wrap; }
.footer-col-label {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: .875rem;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.footer-col a {
  font-size: .875rem;
  color: rgba(255,255,255,.4);
  text-decoration: none;
  font-weight: 300;
  transition: color .2s;
}
.footer-col a:hover { color: rgba(255,255,255,.8); }
.footer-col a.footer-cta-link {
  color: rgba(55,138,221,.85);
  font-weight: 600;
}
.footer-col a.footer-cta-link:hover { color: var(--b2); }
.footer-disc {
  max-width: 1400px;
  margin: 0 auto;
  font-size: .78rem;
  color: rgba(255,255,255,.25);
  line-height: 1.75;
}

/* ── SCROLL REVEAL CLASSES ── */
.rv, .rl, .rr {
  opacity: 0;
  transition: opacity .6s ease, transform .6s ease;
}
.rv { transform: translateY(22px); }
.rl { transform: translateX(-28px); }
.rr { transform: translateX(28px); }
.rv.in, .rl.in, .rr.in { opacity: 1; transform: none; }

/* ── SHARED CTA SECTION ── */
.cta {
  background: var(--b9);
  padding: 7rem 4%;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::after {
  content: '';
  position: absolute;
  bottom: -160px; right: -80px;
  width: 500px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(55,138,221,.1), transparent 65%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.cta-tag {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--b2);
  margin-bottom: 1.5rem;
}
.cta-hl {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.04em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.cta-body { font-size: 1.1rem; color: rgba(255,255,255,.45); font-weight: 300; line-height: 1.8; margin-bottom: 2.5rem; }
.cta-disc { font-size: .8rem; color: rgba(255,255,255,.2); font-weight: 300; margin-top: 1.5rem; }

/* Shared button style used across CTAs */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--b4);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 1.1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all .2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--b6); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(55,138,221,.4); }

/* ── KEYFRAMES ── */
@keyframes fadeUp   { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes growW    { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes orbFloat { 0%,100% { transform: translate(0,0); } 50% { transform: translate(20px,-28px); } }
@keyframes scroll   { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse    { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

/* ── RESPONSIVE ── */

/* Tablet and below (1024px) */
@media (max-width: 1024px) {
  .site-nav-links { gap: 1.25rem; }
}

/* Mobile (640px and below) */
@media (max-width: 640px) {
  .site-nav-links { display: none; }
  .site-nav-cta   { display: none; }
  .mobile-menu-toggle { display: flex; }

  .launch-label { display: none; }
  .cd-num { font-size: 1rem; }
  .spots-pill { display: none; }

  .footer-inner { flex-direction: column; }
  .footer-links-wrap { flex-direction: column; gap: 1.5rem; }
}

/* ── ACCORDION / FAQ (shared across faq, how-it-works, start, pricing) ── */
.faq-item {
  border-bottom: 1px solid var(--g2);
}
.faq-item:first-child { border-top: 1px solid var(--g2); }
.faq-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--g8);
  cursor: pointer;
  text-align: left;
  gap: 1.5rem;
  transition: color .2s;
  line-height: 1.4;
}
.faq-btn:hover { color: var(--b6); }
.faq-ico {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--g2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--g5);
  transition: all .3s;
  line-height: 1;
  margin-top: 2px;
}
.faq-btn.open .faq-ico {
  background: var(--b6);
  border-color: var(--b6);
  color: #fff;
  transform: rotate(45deg);
}
.faq-ans {
  font-size: 1rem;
  color: var(--g5);
  line-height: 1.9;
  font-weight: 300;
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s ease, padding .3s;
}
.faq-ans p { margin-bottom: 1rem; }
.faq-ans p:last-child { margin-bottom: 0; }
.faq-ans strong { color: var(--g8); font-weight: 700; }
.faq-ans a { color: var(--b4); text-decoration: none; font-weight: 600; }
.faq-ans a:hover { text-decoration: underline; }
.faq-ans ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-top: .75rem;
}
.faq-ans ul li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: 1rem;
  color: var(--g7);
  line-height: 1.6;
}
.faq-ans ul li::before { content: '→'; color: var(--b4); font-weight: 700; flex-shrink: 0; }
.faq-note {
  margin-top: 1.25rem;
  padding: 1.1rem 1.35rem;
  background: var(--b0);
  border: 1px solid var(--b1);
  border-radius: 10px;
  font-size: .9rem;
  color: var(--b8);
  font-weight: 400;
  line-height: 1.65;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
