/* Pole Passport landing page: black and greys, lots of space, one typeface (the system's). */
:root {
  --bg: #000;
  --raise: #0b0b0c;
  --card: #111113;
  --card-hi: #18181b;
  --line: #1f1f22;
  --line-hi: #34343a;
  --text: #f5f5f7;
  --muted: #a1a1a6;
  --dim: #6e6e73;
  --wrap: 1120px;
  --font: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, figure { margin: 0; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 6px; }

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

/* ---------- navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.nav-in { height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.mark { width: 22px; height: 22px; color: var(--text); }
.links { display: flex; align-items: center; gap: 26px; font-size: 13px; color: var(--muted); }
.links a { transition: color 0.2s; }
.links a:hover { color: var(--text); }
.lang {
  border: 1px solid var(--line-hi); border-radius: 999px; padding: 3px 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
}

/* ---------- type ---------- */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
h1 {
  margin-top: 18px;
  font-size: clamp(44px, 8.2vw, 104px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.045em;
}
h1 span, h2 {
  background: linear-gradient(180deg, #ffffff 0%, #b8b8bd 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
h1 span { background: linear-gradient(180deg, #8e8e93 0%, #48484c 100%); -webkit-background-clip: text; background-clip: text; }
h2 {
  margin-top: 14px;
  font-size: clamp(36px, 5.6vw, 68px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.04em;
}
h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.lead { margin: 26px auto 0; max-width: 640px; font-size: clamp(19px, 2.2vw, 23px); line-height: 1.45; color: var(--muted); letter-spacing: -0.01em; }
.body { margin-top: 22px; max-width: 520px; font-size: 19px; color: var(--muted); letter-spacing: -0.01em; }
.body.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- buttons ---------- */
.ctas { margin-top: 36px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  background: var(--text); color: #000; font-size: 16px; font-weight: 600; letter-spacing: -0.01em;
  transition: transform 0.2s, background 0.2s;
}
.btn:hover { background: #fff; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line-hi); }
.btn.ghost:hover { border-color: #5a5a60; background: rgba(255, 255, 255, 0.04); }
.soon { margin-top: 20px; font-size: 14px; color: var(--dim); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 96px 0 0; text-align: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; left: 50%; top: 52%; width: 1100px; height: 900px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025) 55%, transparent);
  pointer-events: none;
}
.stage {
  position: relative; margin-top: 72px; height: 640px;
  display: flex; justify-content: center; align-items: flex-start;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
}

/* phone frame around a real screenshot */
.phone {
  position: relative; flex: none;
  width: 300px;
  padding: 9px; border-radius: 52px;
  background: linear-gradient(160deg, #3a3a3e 0%, #1c1c1f 38%, #0e0e10 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 0 0 1px #000, 0 50px 100px -20px rgba(0, 0, 0, 0.9), 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.screen { border-radius: 43px; overflow: hidden; background: #15121a; }
.status { display: block; width: 100%; height: auto; font-family: var(--font); }
.screen img { width: 100%; height: auto; }
.phone.side { width: 252px; margin-top: 64px; filter: brightness(0.62) saturate(0.85); }
.phone.left { margin-right: -38px; transform: rotate(-4deg); }
.phone.right { margin-left: -38px; transform: rotate(4deg); }
.phone.main { z-index: 2; }

/* ---------- stats ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--raise); }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 44px 12px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(40px, 5vw, 60px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.stat span { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); }

/* ---------- split: text + phone ---------- */
.split { padding: 140px 0; overflow: hidden; }
main { overflow-x: clip; }
.split-in { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.split-media { display: flex; justify-content: center; position: relative; }
.split-media::before {
  content: ""; position: absolute; inset: -10% -20%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.07), transparent);
  pointer-events: none;
}
.split-media .phone { width: 320px; }
.checks { list-style: none; padding: 0; margin-top: 32px; display: grid; gap: 14px; }
.checks li { display: flex; align-items: center; gap: 12px; font-size: 17px; color: var(--text); }
.tick { width: 22px; height: 22px; color: var(--muted); flex: none; }

/* ---------- feature tiles ---------- */
.features { padding: 140px 0; background: var(--raise); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.grid { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; }
.tile {
  padding: 32px 30px 34px; border-radius: 26px;
  background: var(--card); border: 1px solid var(--line);
  transition: border-color 0.3s, background 0.3s;
}
.tile:hover { border-color: var(--line-hi); background: var(--card-hi); }
.ico { width: 30px; height: 30px; color: var(--text); }
.tile h3 { margin-top: 22px; }
.tile p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--muted); }

/* ---------- testers ---------- */
.testers { padding: 140px 0 120px; text-align: center; }
.cards { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; }
.card {
  display: flex; flex-direction: column; min-height: 280px;
  padding: 30px; border-radius: 28px;
  background: linear-gradient(180deg, var(--card-hi) 0%, var(--card) 100%);
  border: 1px solid var(--line);
  transition: transform 0.3s, border-color 0.3s;
}
.card:hover { transform: translateY(-4px); border-color: #4a4a50; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.go { width: 26px; height: 26px; color: var(--dim); transition: color 0.3s, transform 0.3s; }
.card:hover .go { color: var(--text); transform: translate(2px, -2px); }
.card h3 { margin-top: 28px; font-size: 24px; letter-spacing: -0.025em; }
.card p { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.url { margin-top: auto; padding-top: 24px; font-size: 13px; color: var(--dim); letter-spacing: 0.01em; }
.pilot { margin-top: 36px; font-size: 14px; color: var(--dim); }
.pilot a { color: var(--muted); border-bottom: 1px solid var(--line-hi); }
.pilot a:hover { color: var(--text); }

/* ---------- safety + footer ---------- */
.safety { padding: 0 0 72px; }
.safety p { max-width: 720px; margin: 0 auto; text-align: center; font-size: 13px; line-height: 1.6; color: var(--dim); }
.foot { border-top: 1px solid var(--line); background: var(--raise); }
.foot-in { padding-top: 36px; padding-bottom: 44px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.foot .brand { color: var(--muted); font-size: 14px; }
.foot .mark { width: 18px; height: 18px; color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; font-size: 13px; color: var(--muted); }
.foot-links a:hover { color: var(--text); }
.copy { font-size: 12px; color: var(--dim); }

/* ---------- reveal on scroll (only with JavaScript; without it everything is visible) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .tile, .go { transition: none; }
}

/* ---------- smaller screens ---------- */
@media (max-width: 960px) {
  .grid, .cards { grid-template-columns: 1fr 1fr; }
  .split-in { grid-template-columns: 1fr; gap: 56px; text-align: center; }
  .split-text .body { margin-left: auto; margin-right: auto; }
  .checks { justify-content: center; }
  .stage { height: 560px; }
  .phone { width: 260px; }
  .phone.side { width: 220px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .hide-s { display: none; }
  .links { gap: 18px; }
  .hero { padding-top: 64px; }
  .stage { margin-top: 52px; height: 520px; }
  .phone.side { display: none; }
  .phone, .split-media .phone { width: min(76vw, 290px); border-radius: 46px; padding: 8px; }
  .screen { border-radius: 38px; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stat { padding: 32px 8px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .split, .features, .testers { padding: 96px 0; }
  .grid, .cards { grid-template-columns: 1fr; }
  .grid, .cards { margin-top: 44px; }
  .card { min-height: 0; }
  .body { font-size: 17px; }
  .foot-in { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}

/* 404 page */
.notfound { min-height: 100vh; padding-top: 22vh; }

/* ---------- before launch: only the heading, centred on the screen ---------- */
body { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; display: flex; flex-direction: column; }
.hero.solo { flex: 1; display: flex; align-items: center; padding: 72px 0 104px; }
.hero.solo::before { top: 50%; width: 1200px; height: 820px; transform: translate(-50%, -50%); }
.hero.solo .soon {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 44px; padding: 9px 18px;
  border: 1px solid var(--line-hi); border-radius: 999px; background: rgba(255, 255, 255, 0.03);
  font-size: 14px; color: var(--muted); letter-spacing: 0.01em;
}
.hero.solo .soon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--text); opacity: 0.7; }

/* ---------- top bar links, testers page ---------- */
.links a[aria-current="page"] { color: var(--text); }
.hero.solo .ctas { margin-top: 40px; }
.note { margin-top: 22px; font-size: 14px; color: var(--dim); }
@media (max-width: 520px) {
  .nav .brand span { display: none; }
  .links { gap: 16px; font-size: 14px; }
}
.note a { color: var(--muted); border-bottom: 1px solid var(--line-hi); }
.note a:hover { color: var(--text); }
