/* Vitrine. One idea per section, the screen is the hero, the covers are the color. */
:root {
  color-scheme: dark;
  --bg: #07080b;
  --panel: #0d0f14;
  --panel-2: #12151c;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f5f6fa;
  --muted: #9aa1b2;
  --dim: #646b7d;
  --gold: #f2c75c;
  --blue: #93b4ff;
  --orange: #ffb47c;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
html.reduced { scroll-behavior: auto; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.55; font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
br.narrow { display: none; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(38px, 5.4vw, 72px); }
h3 { font-size: 21px; letter-spacing: -0.015em; line-height: 1.25; font-weight: 650; }
p { margin: 0; }
.center { text-align: center; }
.lede { font-size: clamp(18px, 1.55vw, 21px); color: var(--muted); line-height: 1.5; letter-spacing: -0.005em; }
.fine { font-size: 13px; color: var(--dim); }
.eyebrow { font-size: 15px; font-weight: 650; letter-spacing: 0; color: var(--blue); margin-bottom: 18px; }
.eyebrow.gold { color: var(--gold); } .eyebrow.blue { color: var(--blue); } .eyebrow.orange { color: var(--orange); }

/* ---------------------------------------------------------------- nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 56px;
  display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter);
  transition: background 0.3s, border-color 0.3s; border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(7, 8, 11, 0.72); backdrop-filter: saturate(1.6) blur(20px); -webkit-backdrop-filter: saturate(1.6) blur(20px); border-color: var(--line); }
.wordmark { font-weight: 700; font-size: 19px; letter-spacing: -0.03em; text-decoration: none; }
.nav nav { display: flex; gap: clamp(16px, 2.6vw, 32px); }
.nav nav a { font-size: 14px; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.nav nav a:hover { color: var(--text); }

/* ---------------------------------------------------------------- buttons */
.ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; height: 48px; padding: 0 26px; border-radius: 999px;
  font-size: 16px; font-weight: 600; text-decoration: none; letter-spacing: -0.01em;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--text); color: #08090c; }
.btn.primary:hover { background: #fff; }
.btn.ghost { border: 1px solid rgba(255, 255, 255, 0.22); color: var(--text); }
.btn.ghost:hover { border-color: rgba(255, 255, 255, 0.5); }

/* ---------------------------------------------------------------- the device: a glass bezel around the menu's screen */
.device { position: relative; margin: 0; }
.device::before {                       /* the screen's light on the page */
  content: ""; position: absolute; inset: -14% -18%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--glow, 140, 150, 180), 0.42), rgba(var(--glow, 140, 150, 180), 0.12) 55%, transparent 75%);
  filter: blur(30px);
}
.bezel {
  padding: clamp(9px, 2.1%, 22px); border-radius: clamp(18px, 3.4%, 36px);
  background: linear-gradient(170deg, #1b1e26 0%, #0e1015 60%, #0a0b0f 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), inset 0 0 0 1px rgba(255, 255, 255, 0.05),
              0 60px 120px -40px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(0, 0, 0, 0.7);
}
.screen { position: relative; aspect-ratio: 10 / 9; border-radius: clamp(6px, 1.4%, 14px); overflow: hidden; background: #000; }
.screen > video, .screen > img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.screen::after {                        /* a faint reflection on the glass */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.015) 32%, transparent 33%);
}

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: clamp(112px, 17vh, 168px) var(--gutter) clamp(56px, 9vh, 96px); text-align: center; isolation: isolate; }
.hero h1 { font-size: clamp(44px, 8.2vw, 116px); letter-spacing: -0.045em; line-height: 0.97; margin-bottom: 26px; }
.hero .lede { max-width: 640px; margin: 0 auto 34px; }
.hero-device {
  width: min(860px, 92vw, calc((100vh - 76px) * 1.02)); margin: clamp(56px, 8vh, 88px) auto 0;
  transform: perspective(1800px) rotateX(var(--tilt, 14deg)) scale(var(--sc, 0.94)); transform-origin: 50% 30%;
  will-change: transform;
}
.hero-fine { margin-top: 40px; }
.wall-wrap {
  position: absolute; z-index: -2; left: 50%; top: 50%; width: min(1500px, 150vw); pointer-events: none;
  transform: translate(-50%, var(--wy, 0px)) perspective(900px) rotateX(62deg);
  transform-origin: 50% 0;
  -webkit-mask-image: radial-gradient(ellipse 46% 56% at 50% 28%, #000 10%, transparent 72%);
          mask-image: radial-gradient(ellipse 46% 56% at 50% 28%, #000 10%, transparent 72%);
  opacity: 0.34;
}
.wall { width: 100%; height: auto; filter: saturate(0.9) brightness(0.62) blur(0.6px); }

.rise { animation: rise 1.1s var(--ease) both; }
.hero-copy .rise:nth-child(2) { animation-delay: 0.06s; }
.hero-copy .rise:nth-child(3) { animation-delay: 0.12s; }
.hero-copy .rise:nth-child(4) { animation-delay: 0.18s; }
.hero-device.rise { animation-delay: 0.28s; animation-duration: 1.4s; }
@keyframes rise { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }

/* ---------------------------------------------------------------- before and after */
.compare { position: relative; height: 230vh; }
.compare-stick {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(22px, 3.5vh, 40px); padding: 72px var(--gutter) 24px; text-align: center;
}
.compare-copy h2 { margin-bottom: 14px; font-size: clamp(34px, 4.6vw, 62px); }
.compare-copy .lede { max-width: 560px; margin: 0 auto; }
.compare-device { width: min(680px, 88vw, calc(100vh - 310px)); --glow: 120, 140, 200; }
.ba { touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; }
.ba img { width: 100%; height: 100%; object-fit: cover; }
.ba-after { position: absolute; inset: 0; image-rendering: pixelated; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; margin-left: -1px;
  background: rgba(255, 255, 255, 0.92); box-shadow: 0 0 24px rgba(255, 255, 255, 0.35); outline: none;
}
.ba-handle span {
  position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; translate: -50% -50%; border-radius: 50%;
  background: rgba(245, 246, 250, 0.96); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
}
.ba-handle span::before, .ba-handle span::after {
  content: ""; position: absolute; top: 50%; width: 0; height: 0; translate: 0 -50%;
  border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
.ba-handle span::before { left: 9px; border-right: 7px solid #0b0c10; }
.ba-handle span::after { right: 9px; border-left: 7px solid #0b0c10; }
.ba-handle:focus-visible span { outline: 3px solid var(--blue); outline-offset: 3px; }
.ba-labels { display: flex; justify-content: space-between; padding: 14px 6px 0; font-size: 14px; font-weight: 600; }
.ba-labels span { transition: color 0.3s, opacity 0.3s; }
.ba-tag-l { color: var(--muted); }
.ba-tag-r { color: var(--text); }
.compare-device.at-before .ba-tag-r, .compare-device.at-after .ba-tag-l { opacity: 0.35; }

/* ---------------------------------------------------------------- pillars */
.pillar {
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(36px, 6vw, 104px); align-items: center;
  max-width: 1240px; margin: 0 auto; padding: clamp(96px, 15vh, 180px) var(--gutter);
}
.pillar.flip .pillar-media { order: 2; }
.pillar-media { position: relative; }
.pillar-copy h2 { margin-bottom: 22px; }
.pillar-copy .lede { margin-bottom: 30px; }
.points { list-style: none; margin: 0; padding: 0; }
.points li { padding: 16px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 16px; }
.points strong { color: var(--text); font-weight: 600; margin-right: 4px; }
.inset { display: grid; grid-template-columns: 40% 1fr; gap: 22px; align-items: center; margin-top: 26px; }
.inset::before { display: none; }
.inset .bezel { padding: clamp(5px, 2.4%, 10px); border-radius: clamp(12px, 2.4%, 20px); }
.inset figcaption { font-size: 15px; color: var(--muted); line-height: 1.45; max-width: 300px; }

/* ---------------------------------------------------------------- the small things */
.wins { max-width: 1240px; margin: 0 auto; padding: clamp(120px, 18vh, 200px) var(--gutter) clamp(60px, 10vh, 120px); }
.wins > h2 { margin-bottom: clamp(48px, 7vh, 80px); }
.win-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.win {
  background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: 30px;
  padding: clamp(28px, 3.4vw, 44px); display: flex; flex-direction: column; overflow: hidden;
}
.win h3 { margin-top: 28px; margin-bottom: 8px; }
.win p { color: var(--muted); font-size: 16px; }
.win-device { width: 72%; margin: 4px auto 0; }
.win-device .bezel { padding: clamp(6px, 2.6%, 12px); }
.win-legend { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 22px; min-height: 240px; background: #000; border-radius: 18px; padding: clamp(20px, 3vw, 32px); }
.leg-row span { display: block; font-size: 12px; color: var(--dim); margin-bottom: 8px; }
.leg-row img { height: clamp(16px, 1.9vw, 24px); width: auto; max-width: 100%; image-rendering: pixelated; }
.win-type .big {
  font-size: clamp(72px, 10vw, 136px); font-weight: 750; letter-spacing: -0.06em; line-height: 0.9; margin-top: 8px;
  background: linear-gradient(180deg, #ffffff 10%, #7d8bb0 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.win-type { justify-content: flex-end; min-height: 380px; }

/* ---------------------------------------------------------------- setup */
.setup { max-width: 1240px; margin: 0 auto; padding: clamp(80px, 11vh, 130px) var(--gutter) 40px; }
.setup-head { text-align: center; margin-bottom: clamp(48px, 7vh, 80px); }
.setup-head .eyebrow { color: var(--muted); }
.setup-head h2 { margin-bottom: 18px; }
.steps { list-style: none; margin: 0 0 clamp(48px, 7vh, 72px); padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { padding: 28px; border-radius: 24px; background: var(--panel); border: 1px solid var(--line); }
.steps .n {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; margin-bottom: 22px;
  background: rgba(255, 255, 255, 0.08); font-size: 15px; font-weight: 650;
}
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 16px; }
.app-shot { margin: 0 auto 22px; max-width: 1100px; border-radius: 16px; overflow: hidden; background: #c9c7c2;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 50px 120px -40px rgba(0, 0, 0, 0.95); }
.window { height: 34px; display: flex; gap: 8px; align-items: center; padding: 0 14px; background: #2a2c31; }
.window span { width: 12px; height: 12px; border-radius: 50%; background: #4a4d55; }
.window span:nth-child(1) { background: #ff5f57; } .window span:nth-child(2) { background: #febc2e; } .window span:nth-child(3) { background: #28c840; }
.app-shot img { width: 100%; height: auto; }

/* ---------------------------------------------------------------- availability */
.soon { padding: clamp(80px, 12vh, 140px) var(--gutter); }
.soon-card {
  max-width: 980px; margin: 0 auto; text-align: center; padding: clamp(48px, 7vw, 96px) clamp(24px, 6vw, 80px);
  border-radius: 36px; position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, rgba(147, 180, 255, 0.16), transparent 60%), var(--panel);
  border: 1px solid rgba(147, 180, 255, 0.18);
}
.soon-card h2 { font-size: clamp(32px, 4.4vw, 56px); margin-bottom: 20px; }
.soon-card .lede { max-width: 620px; margin: 0 auto 34px; }

/* ---------------------------------------------------------------- questions */
.faq { max-width: 860px; margin: 0 auto; padding: clamp(80px, 12vh, 140px) var(--gutter); }
.faq > h2 { margin-bottom: 40px; }
.qa details { border-top: 1px solid var(--line); }
.qa details:last-child { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative;
  font-size: 19px; font-weight: 600; letter-spacing: -0.015em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); rotate: 45deg; transition: rotate 0.25s var(--ease), margin 0.25s;
}
.qa details[open] summary::after { rotate: 225deg; margin-top: -2px; }
.qa details p { padding: 0 44px 26px 0; color: var(--muted); }

/* ---------------------------------------------------------------- footer */
.foot { border-top: 1px solid var(--line); padding: 40px var(--gutter) 56px; max-width: 1240px; margin: 40px auto 0; color: var(--dim); font-size: 13px; }
.foot-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; color: var(--text); }
.foot-row nav { display: flex; gap: 24px; }
.foot-row nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.foot-row nav a:hover { color: var(--text); }
.foot p + p { margin-top: 6px; }

/* ---------------------------------------------------------------- reveal on scroll */
html.js [data-reveal] { opacity: 0; translate: 0 26px; transition: opacity 0.9s var(--ease), translate 0.9s var(--ease); }
html.js [data-reveal].in { opacity: 1; translate: 0 0; }
html.reduced [data-reveal], html.reduced .rise { opacity: 1 !important; translate: none !important; animation: none !important; transition: none !important; }
html.reduced .hero-device { transform: none; }

/* ---------------------------------------------------------------- small screens */
@media (max-width: 900px) {
  .pillar { grid-template-columns: 1fr; padding-top: 88px; padding-bottom: 88px; }
  .pillar.flip .pillar-media { order: 0; }
  .pillar-copy { order: -1; }
  .inset { grid-template-columns: 46% 1fr; gap: 16px; }
  .win-grid, .steps { grid-template-columns: 1fr; }
  .win-type { min-height: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  br.wide { display: none; }
  br.narrow { display: inline; }
  .nav nav a:not(.nav-gh) { display: none; }
  .ctas .btn { flex: 1 1 100%; justify-content: center; }
  .compare { height: 190vh; }
  .compare-device { width: min(560px, 92vw, calc((100vh - 300px) * 1.02)); }
  .foot-row { flex-direction: column; align-items: flex-start; gap: 14px; }
}
