/* ==========================================================================
   Orbitz — marketing site styles
   ========================================================================== */

:root {
  /* Brand */
  --brand:        #2E7D32;
  --brand-dark:   #1B5E20;
  --brand-light:  #4CAF50;
  --amber:        #F59E0B;
  --red:          #DC2626;

  /* Neutrals */
  --ink:          #0B1220;
  --ink-soft:     #1c2637;
  --text:         #111827;
  --muted:        #5b6472;
  --line:         #e7ebf0;
  --bg:           #ffffff;
  --bg-soft:      #f6f8fa;
  --card:         #ffffff;

  /* Effects */
  --radius:       18px;
  --radius-lg:    26px;
  --shadow-sm:    0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.10);
  --shadow-md:    0 10px 30px -12px rgba(16,24,40,.22);
  --shadow-lg:    0 30px 60px -24px rgba(16,24,40,.35);
  --ring:         0 0 0 4px rgba(46,125,50,.14);

  --maxw:         1160px;
  --nav-h:        68px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Space Grotesk', var(--font);
}

@media (prefers-color-scheme: dark) {
  :root {
    --text:     #e8ecf2;
    --muted:    #9aa6b6;
    --line:     #1f2733;
    --bg:       #0b1017;
    --bg-soft:  #0f1620;
    --card:     #121a25;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow-md: 0 12px 34px -14px rgba(0,0,0,.6);
    --shadow-lg: 0 34px 70px -26px rgba(0,0,0,.7);
  }
}

/* ---- Reset-ish ---------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--text); }
p { margin: 0 0 1em; }
::selection { background: rgba(46,125,50,.22); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-weight: 600; font-size: 13px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--brand);
  background: rgba(46,125,50,.10); padding: 7px 14px; border-radius: 999px;
}
@media (prefers-color-scheme: dark) { .eyebrow { background: rgba(76,175,80,.14); color: var(--brand-light); } }

.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font); font-weight: 600; font-size: 15px;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .25s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn-light:hover { background: rgba(255,255,255,.24); color: #fff; transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }

/* ---- Navbar ------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--text); letter-spacing: -.02em; }
.brand:hover { color: var(--text); }
.brand .mark { width: 34px; height: 34px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: var(--muted); font-weight: 500; font-size: 15px; padding: 9px 14px; border-radius: 10px;
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--bg-soft); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; color: var(--text); }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 820px) {
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 14px 20px 20px;
    transform: translateY(-130%); transition: transform .35s cubic-bezier(.2,.8,.2,1); box-shadow: var(--shadow-md);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 14px; font-size: 16px; }
  .nav-cta { margin: 6px 0 0; }
  .nav-toggle { display: inline-flex; }
}

/* ---- Hero --------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 600px at 78% -10%, rgba(76,175,80,.28), transparent 60%),
    radial-gradient(900px 520px at 10% 110%, rgba(46,125,50,.35), transparent 55%),
    linear-gradient(160deg, #0d2b17 0%, #0b1220 55%, #0b1220 100%);
  color: #eef4ee;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  padding: clamp(56px, 9vw, 104px) 0 clamp(64px, 9vw, 110px);
}
.hero .eyebrow { color: #d7f3d9; background: rgba(255,255,255,.10); }
.hero h1 {
  color: #ffffff; font-size: clamp(38px, 6vw, 62px); margin: 18px 0 20px;
}
.hero h1 .grad {
  background: linear-gradient(100deg, #7ee196, #b8f5c1 60%, #ffe08a);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p.lead { color: rgba(232,240,232,.82); max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 20px 28px; margin-top: 38px; }
.hero-badge { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(232,240,232,.9); font-weight: 500; }
.hero-badge svg { width: 20px; height: 20px; color: #8ce89b; flex: none; }

/* subtle drifting glow */
.hero::before {
  content: ""; position: absolute; z-index: 1; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  right: -12%; top: -18%; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,225,150,.30), transparent 62%);
  filter: blur(20px); animation: drift 16s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(-40px,30px,0) scale(1.08); }
}

/* ---- Orbit graphic ------------------------------------------------------ */
.orbit-wrap { position: relative; aspect-ratio: 1; width: 100%; max-width: 440px; margin: 0 auto; }
.orbit-core {
  position: absolute; inset: 0; margin: auto; width: 132px; height: 132px; border-radius: 30px;
  background: linear-gradient(150deg, #34a853, #1b5e20);
  box-shadow: 0 24px 60px -18px rgba(52,168,83,.7), inset 0 2px 6px rgba(255,255,255,.25);
  display: grid; place-items: center; animation: bob 6s ease-in-out infinite;
}
.orbit-core svg { width: 66px; height: 66px; color: #fff; }
@keyframes bob { 50% { transform: translateY(-12px); } }

.ring {
  position: absolute; inset: 0; margin: auto; border-radius: 50%;
  border: 1.5px dashed rgba(255,255,255,.16);
}
.ring.r1 { width: 72%; height: 72%; animation: spin 18s linear infinite; }
.ring.r2 { width: 100%; height: 100%; animation: spin 30s linear infinite reverse; }
.ring .sat {
  position: absolute; top: -1px; left: 50%; width: 44px; height: 44px; margin-left: -22px;
  border-radius: 14px; display: grid; place-items: center;
  background: var(--card); color: var(--brand); box-shadow: var(--shadow-md);
  animation: spin-rev 18s linear infinite;
}
.ring.r2 .sat { animation: spin 30s linear infinite; }
.ring .sat svg { width: 22px; height: 22px; }
.ring .sat.amber { color: var(--amber); }
.ring .sat.red { color: var(--red); }
@keyframes spin      { to { transform: rotate(360deg); } }
@keyframes spin-rev  { to { transform: rotate(-360deg); } }

/* ---- Sections ----------------------------------------------------------- */
section { padding: clamp(64px, 9vw, 112px) 0; }
.section-head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 60px); text-align: center; }
.section-head h2 { font-size: clamp(28px, 4.2vw, 44px); margin-top: 14px; }
.bg-soft { background: var(--bg-soft); }

/* Feature grid */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: 15.5px; }
.ficon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: rgba(46,125,50,.10); color: var(--brand);
}
.ficon svg { width: 26px; height: 26px; }
.ficon.amber { background: rgba(245,158,11,.12); color: var(--amber); }
.ficon.red   { background: rgba(220,38,38,.10);  color: var(--red); }
.ficon.ink   { background: color-mix(in srgb, var(--text) 8%, transparent); color: var(--text); }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 66px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: -4px; width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 19px;
  color: #fff; background: linear-gradient(150deg, var(--brand-light), var(--brand-dark)); box-shadow: var(--shadow-md);
}

/* Split / highlight */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 34px; } }
.checklist { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-weight: 500; }
.checklist li svg { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 2px; }
.checklist li span { color: var(--muted); font-weight: 400; display: block; font-size: 14.5px; }

.privacy-visual {
  position: relative; border-radius: var(--radius-lg); padding: 44px; overflow: hidden;
  background: linear-gradient(160deg, #0d2b17, #0b1220); color: #fff; box-shadow: var(--shadow-lg);
}
.privacy-visual .lock { width: 84px; height: 84px; color: #8ce89b; margin-bottom: 20px; }
.privacy-visual h3 { color: #fff; font-size: 26px; }
.privacy-visual p { color: rgba(232,240,232,.8); margin: 0; }
.privacy-visual::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,225,150,.35), transparent 65%); filter: blur(8px);
}

/* Stat row */
.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
@media (max-width: 620px) { .stats { grid-template-columns: 1fr; } }
.stat { text-align: center; padding: 26px; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(34px,5vw,46px); color: var(--brand); line-height: 1; }
.stat span { color: var(--muted); font-weight: 500; font-size: 15px; }

/* CTA band */
.cta {
  position: relative; overflow: hidden; text-align: center; color: #fff; border-radius: var(--radius-lg);
  padding: clamp(48px,7vw,80px) 28px;
  background:
    radial-gradient(700px 340px at 20% 0%, rgba(76,175,80,.4), transparent 60%),
    linear-gradient(150deg, #164e26, #0b1220);
  box-shadow: var(--shadow-lg);
}
.cta h2 { color: #fff; font-size: clamp(28px,4.2vw,42px); }
.cta p { color: rgba(232,240,232,.85); max-width: 54ch; margin: 0 auto 28px; }
.cta .hero-cta { justify-content: center; }

/* ---- Legal / article pages --------------------------------------------- */
.page-hero {
  background:
    radial-gradient(900px 460px at 82% -20%, rgba(76,175,80,.22), transparent 60%),
    linear-gradient(160deg, #0d2b17, #0b1220);
  color: #fff; padding: clamp(56px,8vw,96px) 0 clamp(40px,6vw,64px);
}
.page-hero h1 { color: #fff; font-size: clamp(32px,5vw,52px); }
.page-hero p { color: rgba(232,240,232,.82); max-width: 60ch; margin: 0; }
.page-hero .updated { margin-top: 18px; font-size: 14px; color: rgba(232,240,232,.6); }

.prose { max-width: 780px; margin: 0 auto; padding: clamp(48px,7vw,80px) 24px; }
.prose h2 { font-size: 26px; margin-top: 46px; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin-top: 28px; }
.prose p, .prose li { color: var(--muted); font-size: 16.5px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--text); }
.callout {
  border: 1px solid var(--line); border-left: 4px solid var(--brand); background: var(--bg-soft);
  border-radius: 12px; padding: 18px 20px; margin: 26px 0;
}
.callout p { margin: 0; color: var(--text); font-size: 15.5px; }

/* ---- Footer ------------------------------------------------------------- */
.footer { background: var(--ink); color: #c6cedb; padding: 64px 0 32px; }
.footer a { color: #c6cedb; }
.footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
@media (max-width: 720px) { .footer-top { grid-template-columns: 1fr; gap: 28px; } }
.footer .brand { color: #fff; }
.footer .brand:hover { color: #fff; }
.footer-col h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; font-family: var(--font); }
.footer-col a { display: block; padding: 6px 0; font-size: 15px; }
.footer-blurb { color: #97a3b4; font-size: 14.5px; max-width: 34ch; margin: 16px 0 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: 14px; color: #8b96a6; }

/* ---- Scroll reveal ------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
