/* PointsPilot site: quiet, large type, lots of white, one accent (the aviators' lens blue). */
:root {
  --bg: #fbfbfd; --fg: #1d1d1f; --muted: #6e6e73; --line: #d2d2d7;
  --lens: #034792; --sky: #2f86e6; --gold: #c99a2e;
  --good: #1a7f37; --warn: #9a6700; --bad: #cf222e;
  --nav-h: 48px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section { scroll-margin-top: var(--nav-h); }
body { margin: 0; background: var(--bg); color: var(--fg); font-size: 17px; line-height: 1.47; letter-spacing: -0.022em; }
a { color: #0066cc; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 10; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between;
  padding: 0 max(22px, calc((100vw - 1000px) / 2)); background: rgba(251, 251, 253, .72);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.06); }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--fg); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.nav nav { display: flex; align-items: center; gap: 26px; font-size: 13px; }
.nav nav a { color: var(--fg); opacity: .8; }
.nav nav a:hover { opacity: 1; text-decoration: none; }
.cta { display: inline-block; border-radius: 980px; background: var(--lens); color: #fff !important; opacity: 1 !important; font-weight: 500; }
.cta.small { padding: 4px 12px; font-size: 12px; }
.cta.big { padding: 13px 26px; font-size: 17px; background: linear-gradient(180deg, var(--sky), var(--lens)); cursor: default; }
.cta:hover { text-decoration: none; filter: brightness(1.08); }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: 48px; max-width: 1180px; margin: 0 auto;
  padding: calc(var(--nav-h) + 56px) 32px 72px; min-height: 100vh; }
.hero-copy { text-align: left; }
.hero h1 { font-size: clamp(44px, 5.6vw, 76px); }
.hero .lede { margin-left: 0; }
.badge { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 5px 14px 5px 5px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 500; }
.badge span { padding: 2px 9px; border-radius: 999px; background: linear-gradient(180deg, var(--sky), var(--lens)); color: #fff; font-weight: 700; font-size: 11px; letter-spacing: .03em; text-transform: uppercase; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px; }
.ghost { font-size: 17px; }
.ghost::after { content: ' ›'; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 28px 0 0; padding: 0; color: var(--muted); font-size: 14px; }
.trust li::before { content: '✓'; color: var(--good); font-weight: 700; margin-right: 6px; }

/* The product shot: a results page with pills, and the real panel laid over it. */
.hero-shot { position: relative; padding: 0 0 300px 0; }
.browser { border-radius: 16px; background: #fff; border: 1px solid rgba(0,0,0,.08); overflow: hidden;
  box-shadow: 0 30px 80px rgba(16, 40, 80, .16), 0 4px 14px rgba(0,0,0,.06); transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #f5f5f7; border-bottom: 1px solid rgba(0,0,0,.06); }
.bar i { width: 10px; height: 10px; border-radius: 50%; background: #d2d2d7; }
.bar span { margin-left: 10px; padding: 4px 12px; border-radius: 8px; background: #fff; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rows { padding: 6px 0; }
.frow { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid #f0f0f2; }
.frow:last-child { border-bottom: 0; }
.al { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--c); color: #fff; font: 700 12px system-ui, sans-serif; }
.fl b { display: block; font-size: 15px; font-weight: 600; }
.fl sup { font-size: 9px; }
.fl small { color: var(--muted); font-size: 12px; }
.fp { display: grid; justify-items: end; gap: 6px; }
.fp > b { font-size: 16px; }
.shot-panel { position: absolute; left: -48px; top: 262px; width: 290px; height: auto; border-radius: 14px;
  box-shadow: 0 30px 70px rgba(16, 40, 80, .22), 0 4px 12px rgba(0,0,0,.08); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1000px; margin: 0 auto 40px; border: 1px solid var(--line); border-radius: 22px; background: #fff; overflow: hidden; }
.stats div { padding: 26px 24px; border-left: 1px solid var(--line); }
.stats div:first-child { border-left: 0; }
.stats b { display: block; font-size: 44px; letter-spacing: -0.03em; line-height: 1; background: linear-gradient(90deg, var(--sky), var(--lens)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: var(--muted); font-size: 14px; }

/* ---------- how it works ---------- */
.how { max-width: 1080px; margin: 0 auto; padding: 100px 32px 60px; }
.steps3 { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps3 li { position: relative; padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.steps3 .n { position: absolute; top: 18px; left: 22px; color: var(--sky); font-weight: 700; font-size: 13px; }
.steps3 .vis { display: grid; place-items: center; height: 120px; margin: 22px 0 18px; border-radius: 16px; background: linear-gradient(180deg, #f2f7fe, #e8f1fc); }
.steps3 b { display: block; font-size: 19px; }
.steps3 p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.search { padding: 9px 16px; border-radius: 999px; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.08); color: var(--muted); font-size: 14px; }
.search::before { content: '⌕ '; }
.mini-verdict { padding: 10px 14px; border-radius: 12px; color: #fff; font-size: 14px; background: linear-gradient(225deg, #2f86e6 0%, #0b5cc0 45%, #034792 100%); box-shadow: 0 6px 18px rgba(3, 71, 146, .28); }

/* ---------- up close ---------- */
.closeup { max-width: 1080px; margin: 0 auto; padding: 110px 32px 120px; text-align: center; }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 56px; align-items: start; }
.shots figure { margin: 0; }
.shots img { width: 100%; max-width: 440px; height: auto; border-radius: 18px; box-shadow: 0 30px 70px rgba(16, 40, 80, .14), 0 4px 12px rgba(0,0,0,.06); }
.shots figcaption { margin: 18px auto 0; max-width: 380px; color: var(--muted); font-size: 15px; }
.shots figcaption b { display: block; color: var(--fg); font-size: 19px; margin-bottom: 4px; }

/* ---------- globe story ---------- */
.stage { position: relative; /* height set by globe.js */ height: 900vh; }
/* Resting points at each city, so a flick of the wheel settles on a stop rather than flying past it. */
html { scroll-snap-type: y proximity; }
.snaps { position: absolute; inset: 0; pointer-events: none; }
.snaps i { position: absolute; left: 0; height: 1px; width: 1px; scroll-snap-align: start; }
.sticky { position: sticky; top: 0; height: 100vh; display: grid; grid-template-rows: 58% 42%; padding-top: var(--nav-h); overflow: hidden; }
.globe-wrap { position: relative; display: grid; place-items: center; min-height: 0; }
#globe { width: 100%; height: 100%; display: block; }
.copy { position: relative; }
.step { position: absolute; inset: 0 0 auto; margin: 0 auto; max-width: 720px; padding: 6px 24px 0; text-align: center;
  opacity: 0; transform: translateY(18px); pointer-events: none; will-change: opacity, transform; }
.step.on { pointer-events: auto; }
.eyebrow { margin: 0 0 6px; color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
h1, h2 { margin: 0; font-weight: 700; letter-spacing: -0.03em; line-height: 1.06; }
h1 { font-size: clamp(40px, 6.4vw, 72px); }
h2 { font-size: clamp(32px, 4.6vw, 52px); }
.grad { background: linear-gradient(90deg, var(--sky), var(--lens)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { margin: 14px auto 0; max-width: 600px; color: var(--muted); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.4; }
.scroll-hint { margin-top: 22px; color: var(--muted); font-size: 13px; animation: hint 2.4s ease-in-out infinite; }
@keyframes hint { 0%, 100% { transform: translateY(0); opacity: .55; } 50% { transform: translateY(5px); opacity: 1; } }

/* Small replicas of the extension, so each point shows what you'll actually see. */
.demo-row { display: inline-flex; align-items: center; gap: 14px; margin-top: 22px; padding: 12px 18px; border-radius: 16px; background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.06); }
.demo-fare { font-weight: 600; font-size: 20px; }
.demo-fare small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; }
/* The points pill, as the extension draws it. */
.pp { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 7px; border-radius: 999px; font: 700 13px system-ui, sans-serif; white-space: nowrap;
  background: #e8f2fd; border: 1.5px solid #1a7f37; color: #0b3566; box-shadow: 0 1px 2px rgba(11, 53, 102, .12); }
.pp img { height: 13px; }
.pp em { font-style: normal; font-size: 8.5px; padding: 0 4px; border-radius: 4px; border: 1px solid #9ec4ee; color: #3f6894; }
.pp span { font-weight: 500; color: #3f6894; }
.pp.big { font-size: 16px; padding: 5px 13px 5px 9px; } .pp.big img { height: 16px; }
.demo-verdict { display: inline-flex; align-items: center; gap: 14px; margin-top: 22px; padding: 12px 18px; border-radius: 14px; color: #fff; font-size: 16px; text-align: left;
  background: linear-gradient(225deg, #2f86e6 0%, #0b5cc0 45%, #034792 100%); box-shadow: 0 8px 24px rgba(3, 71, 146, .3); }
.demo-verdict b { font-size: 18px; margin-right: 4px; }
.demo-verdict img { height: 22px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.chips span { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.chips.fees span::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.chips .low::before { background: var(--good); } .chips .avg::before { background: var(--warn); } .chips .high::before { background: var(--bad); }

/* ---------- Pro ---------- */
.pro { background: #000; color: #f5f5f7; padding: 120px 24px; text-align: center; }
.pro-inner { max-width: 980px; margin: 0 auto; }
.pro-pilot { width: 200px; height: auto; filter: drop-shadow(0 20px 40px rgba(47, 134, 230, .35)); }
.eyebrow.light, .lede.light { color: #a1a1a6; }
.pro h2 { margin-top: 4px; font-size: clamp(36px, 5.4vw, 64px); background: linear-gradient(90deg, #8ccdff, #2f86e6 60%, #7aa7ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pro-grid { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: left; }
.pro-grid li { padding: 22px; border-radius: 18px; background: #1d1d1f; }
.pro-grid b { display: block; font-size: 19px; margin-bottom: 6px; }
.pro-grid span { color: #a1a1a6; font-size: 15px; }
.price { margin: 56px auto 0; max-width: 560px; padding: 34px 28px; border-radius: 24px; background: linear-gradient(180deg, #1d1d1f, #111);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 30px 80px rgba(47, 134, 230, .18); }
.amount { margin: 0; font-size: 64px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.amount span { font-size: 22px; font-weight: 500; color: #a1a1a6; letter-spacing: -0.01em; }
.note { margin: 10px 0 24px; color: #8ccdff; font-weight: 600; font-size: 15px; }
.price .cta { cursor: pointer; }
.terms { margin: 18px auto 0; max-width: 460px; color: #86868b; font-size: 13px; }

/* ---------- get it ---------- */
.get { padding: 120px 24px 100px; text-align: center; }
.get-shades { width: 180px; }
.get h2 { margin-top: 18px; }
.get .cta { margin-top: 30px; }
.sites { margin: 40px auto 0; max-width: 720px; color: var(--muted); font-size: 14px; }

.foot { border-top: 1px solid var(--line); padding: 22px max(22px, calc((100vw - 1000px) / 2)) 40px; color: var(--muted); font-size: 12px; }
.foot p { margin: 0 0 8px; max-width: 900px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: calc(var(--nav-h) + 36px); min-height: 0; }
  .hero-shot { padding-bottom: 0; margin-right: 0; }
  .browser { transform: none; }
  .shot-panel { display: none; }
  .stats { grid-template-columns: 1fr 1fr; margin: 0 20px 20px; }
  .stats div:nth-child(3) { border-left: 0; } .stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps3, .shots { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav nav a:not(.cta) { display: none; }
  .sticky { grid-template-rows: 50% 50%; }
  .pro-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-hint { animation: none; }
}
