/* photostash.app: the app's own look (CLAUDE.md, Phase 4 step 5).
   The logo's colours in a light and a dark mode; Gabarito for the name,
   headings and numbers, Figtree for the rest. Fonts are served from this
   site, so nothing loads from anyone else's servers. */

@font-face {
  font-family: 'Gabarito';
  src: url('/fonts/Gabarito-Variable.ttf') format('truetype');
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('/fonts/Figtree-Variable.ttf') format('truetype');
  font-weight: 300 900;
  font-display: swap;
}

/* ---- Tokens: light (the default) ---- */
:root {
  --display: 'Gabarito', 'Segoe UI', sans-serif;
  --body: 'Figtree', 'Segoe UI', sans-serif;
  --r: 24px;
  --r-sm: 16px;

  --bg: #F1F5FB;
  --surface: #FFFFFF;
  --surface-2: #E6EEFA;
  --line: #DCE5F2;
  --line-strong: #A8B8D0;
  --text: #0B1B33;
  --muted: #4D5F7C;
  --accent: #1F63D8;
  --accent-soft: #E3EDFC;
  --grad: linear-gradient(110deg, #1F63D8 0%, #19B8DE 100%);
  --btn: linear-gradient(110deg, #1D58CF 0%, #1F86E2 100%);
  --on-btn: #FFFFFF;
  --good: #12996A;
  --sun: #F7B32B;
  --shadow: 0 18px 50px rgba(11, 27, 51, 0.09);
  --shadow-up: 0 26px 70px rgba(31, 99, 216, 0.18);

  /* The night: the hero and the pricing band, in both modes. */
  --night: #0A1730;
  --night-2: #112443;
  --night-text: #F1F6FF;
  --night-muted: #A3B5D1;
  --night-line: rgba(160, 200, 255, 0.14);
  --night-grad: linear-gradient(110deg, #4B95FF 0%, #3CD2F0 100%);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0A1730;
    --surface: #112443;
    --surface-2: #183058;
    --line: rgba(160, 200, 255, 0.12);
    --line-strong: rgba(160, 200, 255, 0.32);
    --text: #F1F6FF;
    --muted: #A3B5D1;
    --accent: #6FAEFF;
    --accent-soft: rgba(75, 149, 255, 0.16);
    --grad: linear-gradient(110deg, #4B95FF 0%, #3CD2F0 100%);
    --btn: linear-gradient(110deg, #4B95FF 0%, #3CD2F0 100%);
    --on-btn: #04122A;
    --good: #43D9A8;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.30);
    --shadow-up: 0 26px 70px rgba(60, 210, 240, 0.16);
    --night: #071226;
    --night-2: #0E2140;
    color-scheme: dark;
  }
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); font-weight: 800; line-height: 1.02; max-width: 21ch; text-wrap: balance; }
h3 { font-size: 1.3rem; font-weight: 700; line-height: 1.2; }
p { margin: 0; }
:focus-visible { outline: 3px solid #3CD2F0; outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  padding: 10px 16px; border-radius: 999px;
  background: var(--surface); color: var(--text);
}
.skip:focus { top: 12px; }

.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
section { position: relative; padding-block: clamp(64px, 8.5vw, 120px); }
/* Jumping to a section leaves room for the fixed bar. */
section[id] { scroll-margin-top: 64px; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
  font: 700 0.82rem/1 var(--display);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
}
.kicker::before { content: ''; width: 28px; height: 3px; border-radius: 3px; background: var(--grad); }
.soft { color: var(--muted); }

/* ---- Wordmark and buttons ---- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.wordmark { font: 800 1.45rem/1 var(--display); letter-spacing: -0.02em; }
.wordmark b {
  font-weight: inherit;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.pill {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px;
  background: var(--btn); color: var(--on-btn);
  font: 700 1.05rem/1 var(--display); text-decoration: none;
  box-shadow: 0 10px 30px rgba(31, 99, 216, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s;
}
.pill svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pill::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  translate: -120% 0; transition: translate .7s ease;
}
.pill:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(31, 99, 216, 0.45), inset 0 1px 0 rgba(255,255,255,.25); }
.pill:hover::after { translate: 120% 0; }
.pill--small { padding: 10px 18px; font-size: 0.95rem; }

.ghost {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 24px; border-radius: 999px;
  border: 1.5px solid currentColor;
  font: 700 1.02rem/1 var(--display); text-decoration: none;
  transition: background .2s, transform .25s;
}
.ghost:hover { transform: translateY(-2px); }
.ghost--solid { border-color: var(--line-strong); color: var(--text); }
.ghost--solid:hover { background: var(--accent-soft); border-color: var(--accent); }

/* ---- Navigation: light text over the night hero, then the page's own ---- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px max(24px, (100% - 1180px) / 2);
  color: var(--night-text);
  transition: background .3s, color .3s, padding .3s, box-shadow .3s;
}
.nav nav { display: flex; align-items: center; gap: 28px; }
.nav nav a:not(.pill) { font-weight: 600; font-size: 0.98rem; text-decoration: none; opacity: .85; }
.nav nav a:not(.pill):hover { opacity: 1; }
.nav .wordmark b { background: var(--night-grad); -webkit-background-clip: text; background-clip: text; }
.nav .pill { background: var(--night-grad); color: #04122A; box-shadow: none; }
.nav.is-scrolled {
  padding-block: 12px;
  color: var(--text);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav.is-scrolled .wordmark b { background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.nav.is-scrolled .pill { background: var(--btn); color: var(--on-btn); }

/* ============ Hero ============ */
.hero {
  min-height: min(100svh, 980px);
  padding-block: 130px 0;
  display: flex; flex-direction: column; justify-content: center;
  color: var(--night-text);
  background:
    radial-gradient(70% 55% at 82% 100%, rgba(247, 179, 43, 0.20), transparent 70%),
    radial-gradient(60% 60% at 20% 20%, rgba(75, 149, 255, 0.16), transparent 70%),
    linear-gradient(180deg, #050D1E 0%, var(--night) 45%, #12346A 100%);
  overflow: hidden;
}
.sky { position: absolute; inset: 0; pointer-events: none; }
.stars, .stars::after {
  position: absolute; inset: 0 0 30%;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 18%, #fff, transparent),
    radial-gradient(1px 1px at 28% 42%, #cfe3ff, transparent),
    radial-gradient(1.6px 1.6px at 46% 12%, #fff, transparent),
    radial-gradient(1px 1px at 63% 32%, #cfe3ff, transparent),
    radial-gradient(1.3px 1.3px at 78% 8%, #fff, transparent),
    radial-gradient(1px 1px at 90% 38%, #cfe3ff, transparent),
    radial-gradient(1.2px 1.2px at 6% 55%, #fff, transparent),
    radial-gradient(1px 1px at 37% 64%, #cfe3ff, transparent);
  background-size: 520px 360px;
  opacity: .55;
}
.stars::after {
  content: ''; inset: 0;
  background-size: 340px 260px; background-position: 120px 70px;
  animation: twinkle 5s ease-in-out infinite alternate;
}
.sun {
  position: absolute; right: 7%; bottom: clamp(20px, 3.4vw, 70px);
  width: clamp(90px, 10vw, 160px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #FFE3A1, var(--sun) 60%, #E99A12);
  box-shadow: 0 0 80px 30px rgba(247, 179, 43, 0.35), 0 0 220px 90px rgba(247, 179, 43, 0.16);
  animation: sunrise 2.6s cubic-bezier(.2,.7,.2,1) .2s both;
}

.hero__inner {
  position: relative; z-index: 2;
  width: min(1180px, 100% - 48px); margin-inline: auto;
  display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: clamp(24px, 4vw, 64px);
  padding-bottom: clamp(90px, 13vw, 200px);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; margin-bottom: 26px;
  border: 1px solid var(--night-line); border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-weight: 600; font-size: 0.92rem; color: var(--night-muted);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 0 rgba(247,179,43,.6); animation: beacon 2.4s infinite; }
.hero h1 {
  font-size: clamp(2.8rem, 6.2vw, 5.4rem); font-weight: 800; line-height: 0.98; letter-spacing: -0.035em;
  max-width: 11ch;
}
.hero h1 em {
  font-style: normal;
  background: var(--night-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { margin-top: 26px; max-width: 36ch; font-size: clamp(1.1rem, 1.5vw, 1.28rem); color: var(--night-muted); }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero .pill { background: var(--night-grad); color: #04122A; box-shadow: 0 12px 40px rgba(60, 210, 240, 0.30); }
.hero .ghost { color: var(--night-text); border-color: rgba(241, 246, 255, 0.35); }
.hero .ghost:hover { background: rgba(255, 255, 255, 0.06); }
.hero__facts { display: flex; flex-wrap: wrap; gap: 6px 0; list-style: none; padding: 0; margin: 30px 0 0; color: var(--night-muted); font-size: 0.95rem; font-weight: 600; }
.hero__facts li + li::before { content: '·'; margin-inline: 12px; opacity: .6; }

/* The stage. Everything inside is placed in cqw (hundredths of the stage's
   width), so the scene keeps its shape at any size. */
.stage {
  position: relative; width: 100%; aspect-ratio: 100 / 92;
  container-type: inline-size;
}
.arc { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.arc path {
  fill: none; stroke: #3CD2F0; stroke-width: 0.7; stroke-linecap: round;
  stroke-dasharray: 0.01 2.6; opacity: .75;
  animation: march 1.6s linear infinite;
}

.phone {
  position: absolute; left: 3cqw; top: 36cqw; width: 29cqw; height: 52cqw;
  border-radius: 5cqw; padding: 1.6cqw;
  background: linear-gradient(160deg, #1B3561, #0B1A33);
  box-shadow: inset 0 0 0 0.5cqw rgba(160, 200, 255, 0.18), 0 3cqw 6cqw rgba(0, 0, 0, 0.45);
  rotate: -8deg;
}
.phone::before {
  content: ''; position: absolute; top: 2.6cqw; left: 50%; translate: -50% 0; z-index: 1;
  width: 7cqw; height: 1.5cqw; border-radius: 2cqw; background: #050D1E;
}
.phone__screen {
  height: 100%; border-radius: 3.6cqw; overflow: hidden;
  padding: 5.2cqw 1.6cqw 1.6cqw;
  background: #0A1730;
  display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 7.4cqw; gap: 0.9cqw;
}
.phone__screen .tile { border-radius: 1cqw; }

.vault { position: absolute; left: 44cqw; top: 8cqw; width: 54cqw; animation: bob 7s ease-in-out infinite; }
.vault img { position: relative; z-index: 1; width: 100%; height: auto; filter: drop-shadow(0 4cqw 6cqw rgba(0, 20, 60, .55)); }
.ring {
  position: absolute; left: 50%; top: 58%; width: 70%; aspect-ratio: 1; border-radius: 50%;
  translate: -50% -50%;
  border: 0.4cqw solid rgba(60, 210, 240, 0.55);
  animation: pulse 4.2s cubic-bezier(.2,.6,.3,1) infinite;
}
.r2 { animation-delay: 1.4s; }
.r3 { animation-delay: 2.8s; }

/* A flying photo: the outer box moves across, the inner tile up and over,
   so together they trace an arc from the phone into the vault. */
.fly { position: absolute; left: 0; top: 0; z-index: 2; animation: fly-x 6s cubic-bezier(.45,.05,.55,.95) infinite both; }
.fly i {
  display: block; width: 8cqw; aspect-ratio: 1; border-radius: 1.4cqw;
  box-shadow: 0 1.5cqw 3cqw rgba(0, 0, 0, .35), 0 0 0 0.45cqw rgba(255, 255, 255, .9);
  animation: fly-y 6s linear infinite both;
}
.f1 { --sx: 8cqw;  --sy: 46cqw; }
.f2 { --sx: 16cqw; --sy: 50cqw; }
.f3 { --sx: 11cqw; --sy: 58cqw; }
.f4 { --sx: 19cqw; --sy: 44cqw; }
.f5 { --sx: 7cqw;  --sy: 54cqw; }
.f6 { --sx: 15cqw; --sy: 62cqw; }
.f1, .f1 i { animation-delay: 0s; }
.f2, .f2 i { animation-delay: 1s; }
.f3, .f3 i { animation-delay: 2s; }
.f4, .f4 i { animation-delay: 3s; }
.f5, .f5 i { animation-delay: 4s; }
.f6, .f6 i { animation-delay: 5s; }

.chip {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 0.6em 1em; border-radius: 999px;
  font: 700 max(11px, 2.4cqw)/1 var(--display); white-space: nowrap;
  color: var(--night-text);
  background: rgba(17, 36, 67, 0.78);
  border: 1px solid var(--night-line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.chip i { width: 0.6em; height: 0.6em; border-radius: 50%; background: #3CD2F0; box-shadow: 0 0 10px #3CD2F0; }
.chip--wifi { left: 2cqw; top: 14cqw; animation: bob 6s ease-in-out -2s infinite; }
.chip--check { right: 0; top: 70cqw; animation: bob 6s ease-in-out -4s infinite; }
.chip--check i { background: #43D9A8; box-shadow: 0 0 10px #43D9A8; }

.status {
  position: absolute; z-index: 3; left: 36cqw; top: 80cqw;
  display: flex; align-items: center; gap: 2cqw;
  padding: 1.8cqw 3cqw 1.8cqw 2cqw; border-radius: 3.2cqw;
  background: rgba(241, 246, 255, 0.96); color: #0B1B33;
  font-size: max(11px, 2.3cqw); line-height: 1.3;
  box-shadow: 0 3cqw 6cqw rgba(0, 0, 0, .35);
}
.status b { font-family: var(--display); font-size: 1.12em; }
.status__orb {
  flex: none; width: 6cqw; aspect-ratio: 1; border-radius: 50%;
  background: linear-gradient(125deg, #1F5FD6 0%, #1A9FE8 60%, #22D2EA 100%);
  box-shadow: 0 0 0 0 rgba(34, 210, 234, .5); animation: beacon 2.8s infinite;
}

.ridge { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; width: 100%; height: clamp(80px, 13vw, 210px); }
.ridge__far { fill: #163868; }
.ridge__mid { fill: #0F2A55; }
.ridge__near { fill: var(--bg); }

/* ============ Where the photos live ============ */
.where { padding-top: clamp(40px, 6vw, 80px); }
.where h2 { margin-inline: auto; text-align: center; max-width: none; }
.versus {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  margin-top: 56px;
}
.versus__side { padding: clamp(28px, 4vw, 48px); border-radius: var(--r); }
.versus__them {
  border: 1.5px dashed var(--line-strong);
  rotate: -1.6deg; translate: 12px 10px;
  color: var(--muted);
}
.versus__us {
  position: relative; z-index: 1;
  background: var(--surface); box-shadow: var(--shadow-up);
  rotate: 1.2deg; translate: -12px -8px;
}
.versus__us::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 2px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.tag { font: 800 0.8rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.versus__us .tag { color: var(--accent); }
.versus ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; font-size: 1.12rem; font-weight: 500; }
.versus li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.versus li::before {
  content: ''; width: 26px; height: 26px; border-radius: 50%; translate: 0 1px;
  background: var(--surface-2) center / 14px no-repeat;
}
.versus__them li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 3.5l7 7m0-7l-7 7' stroke='%238193AE' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.versus__us li::before {
  background-color: transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.4l2.6 2.6L11 4.4' stroke='%23fff' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"), linear-gradient(135deg, #1F63D8, #19B8DE);
  background-size: 14px, cover;
}
.versus__us li { color: var(--text); }
.versus__vs {
  position: relative; z-index: 2;
  width: 64px; height: 64px; margin-inline: -20px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--night); color: var(--night-text);
  font: 800 1.1rem/1 var(--display); letter-spacing: .04em;
  box-shadow: 0 0 0 6px var(--bg);
}

/* ============ How it works: three steps on a downhill diagonal ============ */
.steps { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.step { padding-top: 8px; }
.step:nth-child(2) { margin-top: 70px; }
.step:nth-child(3) { margin-top: 140px; }
.step__n {
  display: block; margin-bottom: 8px;
  font: 900 clamp(5.5rem, 10vw, 8.5rem)/0.85 var(--display); letter-spacing: -0.05em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { margin-bottom: 10px; font-size: 1.45rem; }
.step p { color: var(--muted); max-width: 32ch; }

/* ============ Pricing: a band of night ============ */
.band {
  color: var(--night-text);
  border: 1px solid var(--night-line);
  background:
    radial-gradient(50% 70% at 0% 0%, rgba(75, 149, 255, 0.20), transparent 70%),
    radial-gradient(40% 60% at 100% 100%, rgba(247, 179, 43, 0.12), transparent 70%),
    var(--night);
  border-radius: clamp(28px, 4vw, 56px);
  margin-inline: clamp(8px, 1.5vw, 20px);
}
.band .kicker { color: #6FAEFF; }
.band .kicker::before { background: var(--night-grad); }
.band__head { text-align: center; }
.band__head .kicker { justify-content: center; }
.band__head h2 { margin-inline: auto; font-size: clamp(2.6rem, 6vw, 5rem); max-width: none; }
.band__head p:last-child { margin: 20px auto 0; max-width: 40ch; color: var(--night-muted); font-size: 1.18rem; }
.band__foot { margin-top: 40px; text-align: center; color: var(--night-muted); }

.prices {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 22px; align-items: stretch;
  max-width: 940px; margin: 60px auto 0;
}
.price {
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(28px, 3.5vw, 40px); border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--night-line);
}
.price--family {
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(60, 210, 240, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(75, 149, 255, 0.14), rgba(255, 255, 255, 0.03));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.price--family::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 2px; pointer-events: none;
  background: var(--night-grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.price h3 { font-size: 1.35rem; }
.price__amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; }
.price__num { font: 800 clamp(3.4rem, 6vw, 4.6rem)/1 var(--display); letter-spacing: -0.04em; }
.price--family .price__num { background: var(--night-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price__was { font: 700 1.5rem/1 var(--display); color: var(--night-muted); }
.price__was s { text-decoration-thickness: 2px; text-decoration-color: var(--sun); }
.price__once { font-weight: 600; color: var(--night-muted); }
.price__for { font: 700 1.05rem/1.3 var(--display); }
.price__list { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 12px; flex: 1; }
.price__list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--night-muted); }
.price__list li::before {
  content: ''; width: 22px; height: 22px; border-radius: 50%; translate: 0 1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.4l2.6 2.6L11 4.4' stroke='%2304122A' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat, var(--night-grad);
}
.price__badge {
  position: absolute; top: -13px; right: 26px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--sun); color: #2A1A00;
  font: 800 0.75rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase;
}
.price__note { font-size: 0.92rem; color: var(--night-muted); text-align: center; }
.soon-btn {
  display: flex; align-items: center; justify-content: center;
  padding: 15px 24px; border-radius: 999px;
  border: 1.5px dashed rgba(241, 246, 255, 0.3);
  font: 700 1.02rem/1 var(--display); color: var(--night-muted);
  cursor: default; user-select: none;
}
.soon-btn--bright { border-style: solid; border-color: rgba(60, 210, 240, 0.5); color: var(--night-text); background: rgba(60, 210, 240, 0.08); }

/* ============ The library: a bento ============ */
.library h2 { max-width: 20ch; }
.bento {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.bento article {
  padding: 28px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.bento article:hover { transform: translateY(-4px); }
.bento h3 { margin-bottom: 8px; }
.bento p { color: var(--muted); font-size: 1rem; }
.bento__big { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; gap: 26px; }
.bento__text { max-width: 46ch; }
.bento__wide { grid-column: span 2; }
.mosaic {
  flex: 1; min-height: 260px;
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(80px, 1fr); gap: 8px;
}
.mosaic .tile { border-radius: 12px; }
.mosaic .w2 { grid-column: span 2; }

/* ============ Download ============ */
.soon__card {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center;
  padding: clamp(30px, 5vw, 64px); border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-up);
}
.soon .sub { margin-top: 18px; max-width: 44ch; color: var(--muted); font-size: 1.12rem; }
.soon__side { display: grid; gap: 22px; justify-items: start; }
/* One row per platform: its name and what it needs, its button, then a line of help. */
.get { list-style: none; padding: 0; margin: 0; width: 100%; display: grid; gap: 10px; }
.get li {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 16px;
  padding: 16px 18px; border-radius: var(--r-sm);
  background: var(--surface-2);
}
.get li > div { display: flex; flex-direction: column; gap: 2px; }
.get li > div b { font-family: var(--display); font-size: 1.08rem; }
.get li > div span { font-size: 0.9rem; color: var(--accent); font-weight: 600; }
.get .later span { color: var(--muted); }
.get p { grid-column: 1 / -1; font-size: 0.92rem; color: var(--muted); }
.get p b { color: var(--text); }
.ghost--small { padding: 9px 16px; font-size: 0.95rem; }

/* On the night band, buttons take the night gradient, as in the hero. */
.band .pill { background: var(--night-grad); color: #04122A; box-shadow: 0 12px 40px rgba(60, 210, 240, 0.25); }
.price .pill { display: flex; }

/* ============ Questions ============ */
.faq { padding-top: 40px; }
.faq__grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0;
  font: 700 1.2rem/1.3 var(--display);
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ''; flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 2.5v9M2.5 7h9' stroke='%231F86E2' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: rotate .3s cubic-bezier(.2,.8,.2,1);
}
.faq__list details[open] summary::after { rotate: 45deg; }
.faq__list details p { padding: 0 50px 26px 0; color: var(--muted); max-width: 62ch; }
.faq__list details a { color: var(--accent); }

/* ============ Footer ============ */
.foot { padding: 60px 0 44px; border-top: 1px solid var(--line); }
.foot__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px 30px; }
.foot__line { color: var(--muted); }
.foot nav { display: flex; gap: 24px; font-weight: 600; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--accent); }
.foot__small { grid-column: 1 / -1; font-size: 0.88rem; color: var(--muted); }

/* ============ Plain pages: privacy, 404 ============ */
.doc { width: min(1180px, 100% - 48px); margin-inline: auto; padding: 150px 0 100px; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 6vw, 90px); align-items: start; }
.doc__head { position: sticky; top: 110px; }
.doc h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; }
.doc__date { margin-top: 18px; color: var(--muted); font-size: 0.95rem; }
.doc__body section { padding: 0 0 34px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }
.doc__body section:last-child { border-bottom: 0; }
.doc__body h2 { font-size: 1.45rem; max-width: none; margin-bottom: 12px; }
.doc__body p, .doc__body li { color: var(--muted); }
.doc__body p + p, .doc__body p + ul { margin-top: 12px; }
.doc__body ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.doc__body li::marker { color: var(--accent); }
.doc__body a { color: var(--accent); }

.lost {
  min-height: 100svh; padding: 40px 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center;
}
.lost img { width: 160px; height: auto; animation: bob 6s ease-in-out infinite; }
.lost h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); font-weight: 800; }
.lost p { color: var(--muted); max-width: 36ch; margin-bottom: 10px; }

/* ============ Horizon tiles: stand-ins for photos, like the mockups ============ */
.tile {
  position: relative; overflow: hidden; display: block;
  background: linear-gradient(180deg, var(--s1), var(--s2));
}
.tile::before {
  content: ''; position: absolute; left: -10%; right: -10%; top: 44%; bottom: 0;
  background: linear-gradient(180deg, var(--m1), var(--m2));
  clip-path: polygon(0 100%, 0 58%, 26% 12%, 50% 62%, 72% 26%, 100% 66%, 100% 100%);
}
.tile::after {
  content: ''; position: absolute; top: 16%; right: 18%; height: 30%; aspect-ratio: 1; border-radius: 50%;
  background: var(--sun-c);
}
.t-dawn  { --s1: #FFD9A0; --s2: #F59F72; --m1: #2C5596; --m2: #1A3768; --sun-c: #FFF4D6; }
.t-day   { --s1: #9AD8FF; --s2: #3A8DEB; --m1: #1F63D8; --m2: #19B8DE; --sun-c: #F7B32B; }
.t-teal  { --s1: #C4F6F2; --s2: #3CD2F0; --m1: #148FA2; --m2: #0D6683; --sun-c: #FFFFFF; }
.t-dusk  { --s1: #F7B32B; --s2: #E0685C; --m1: #2A3B5E; --m2: #172442; --sun-c: #FFE6A8; }
.t-night { --s1: #23447C; --s2: #0A1730; --m1: #132B52; --m2: #0B1A33; --sun-c: #E9F1FF; }

/* ============ Motion ============ */
.load { animation: rise 1s cubic-bezier(.2,.7,.2,1) both; }
.d0 { animation-delay: .10s; }
.d1 { animation-delay: .22s; }
.d2 { animation-delay: .36s; }
.d3 { animation-delay: .50s; }
.d4 { animation-delay: .64s; }

/* Hidden only when the script runs, so the page reads fine without it. */
.js .reveal { opacity: 0; translate: 0 34px; transition: opacity .8s ease, translate .9s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; translate: 0 0; }
/* These two already sit at an angle; they arrive by fading. */
.js .versus__them.reveal, .js .versus__us.reveal { translate: none; }

@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes sunrise { from { transform: translateY(70%); opacity: .3; } to { transform: none; opacity: 1; } }
@keyframes twinkle { from { opacity: .2; } to { opacity: .9; } }
@keyframes beacon {
  0% { box-shadow: 0 0 0 0 rgba(247, 179, 43, .55); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(247, 179, 43, 0); }
}
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -1.2cqw; } }
@keyframes pulse {
  0% { scale: 0.75; opacity: 0; }
  20% { opacity: .9; }
  100% { scale: 1.55; opacity: 0; }
}
@keyframes march { to { stroke-dashoffset: -2.61; } }
@keyframes fly-x {
  0% { translate: var(--sx) 0; }
  12% { translate: var(--sx) 0; }
  92%, 100% { translate: 64cqw 0; }
}
@keyframes fly-y {
  0% { translate: 0 var(--sy); scale: 0.4; opacity: 0; rotate: -8deg; animation-timing-function: ease-out; }
  12% { translate: 0 var(--sy); scale: 1; opacity: 1; rotate: -8deg; animation-timing-function: cubic-bezier(.2,.6,.4,1); }
  50% { translate: 0 1cqw; scale: 1.15; rotate: 6deg; animation-timing-function: cubic-bezier(.6,0,.8,.4); }
  82% { opacity: 1; scale: 0.8; }
  92%, 100% { translate: 0 26cqw; scale: 0.35; opacity: 0; rotate: 0deg; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .fly { display: none; }
  .js .reveal { opacity: 1; translate: none; }
}

/* ============ Smaller screens ============ */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; padding-bottom: clamp(100px, 18vw, 160px); }
  .stage { width: min(560px, 100%); margin-inline: auto; }
  .faq__grid { grid-template-columns: 1fr; }
  .prices, .soon__card { grid-template-columns: 1fr; }
  .doc { grid-template-columns: 1fr; padding-top: 120px; }
  .doc__head { position: static; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__big { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 720px) {
  .wrap, .hero__inner { width: calc(100% - 32px); }
  .nav { padding-inline: 16px; }
  .nav nav a:not(.pill) { display: none; }
  .hero { padding-top: 110px; }
  .versus { grid-template-columns: 1fr; justify-items: center; }
  .versus__side { width: 100%; translate: none; }
  .versus__vs { margin: -18px 0; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .step:nth-child(n) { margin-top: 0; }
  .step:nth-child(2) { margin-left: 12%; }
  .step:nth-child(3) { margin-left: 24%; }
  .bento { grid-template-columns: 1fr; }
  .bento__wide { grid-column: auto; }
  .mosaic { min-height: 200px; grid-auto-rows: 64px; }
  .foot__inner { grid-template-columns: 1fr; }
  .foot nav a, .foot .brand { min-height: 44px; display: inline-flex; align-items: center; }
  .soon__side { width: 100%; }
  .band__head h2 { font-size: clamp(2.3rem, 11vw, 3rem); }
}
@media (max-width: 420px) {
  .cta > * { flex: 1 1 auto; }
  .price__amount { gap: 4px 10px; }
  .pill, .ghost { white-space: nowrap; }
  .nav .wordmark { font-size: 1.25rem; }
  .nav .brand img { width: 30px; height: 30px; }
  .pill--small { padding: 9px 14px; }
  .soon__card { padding: 26px 20px; }
  .get li { padding: 14px; gap: 10px 12px; }
  .get .pill svg { display: none; }
  .price { padding: 26px 22px; }
  .faq__list details p { padding-right: 0; }
}
