/* Vibex site design system: dark only, like the app. */
:root {
  --bg: #0c0c0f; --surface: #131317; --surface-2: #1d1d22; --card: #17171b;
  --line: rgba(255,255,255,.08); --line-strong: rgba(255,255,255,.16);
  --text: #f1f1f4; --muted: #9b9ba7; --faint: #62626c;
  --accent: #8194ff; --green: #3dd68c; --red: #ff6369; --orange: #f0a05a; --violet: #a78bfa; --pink: #f17cc5; --yellow: #f5d76e;
  --spring: cubic-bezier(.23,1,.32,1);
  --sans: "Google Sans", system-ui, -apple-system, sans-serif;
  --mono: "Google Sans Code", ui-monospace, SFMono-Regular, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 64px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font: inherit; color: inherit; }
code { font-family: var(--mono); }
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
vx-nav, vx-footer, vx-install, vx-reveal, vx-film, vx-scene { display: block; }
vx-window { display: flex; }

/* Type: tight display, relaxed body. */
h1, h2, h3 { margin: 0; font-weight: 650; text-wrap: balance; }
h1 { font-size: clamp(44px, 7.4vw, 92px); line-height: 1.02; letter-spacing: -.035em; }
h2 { font-size: clamp(32px, 4.3vw, 56px); line-height: 1.06; letter-spacing: -.028em; }
h3 { font-size: 19px; line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0; }
.lede { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.42; color: var(--muted); text-wrap: pretty; }
.eyebrow { font-size: 13px; font-weight: 600; color: var(--tint, var(--accent)); margin-bottom: 14px; }

/* Buttons respond on press, not on release. */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: 13px; border: 1px solid transparent; font-weight: 600; font-size: 16px; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, transform .12s var(--spring); }
.btn:active { transform: scale(.97); transition-duration: .06s; }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: #fff; }
.btn-quiet { background: rgba(255,255,255,.07); border-color: var(--line); }
.btn-quiet:hover { background: rgba(255,255,255,.12); }
.btn-sm { height: 34px; padding: 0 13px; border-radius: 9px; font-size: 13.5px; }
.cmd { display: inline-flex; align-items: center; gap: 12px; height: 50px; max-width: 100%; padding: 0 8px 0 16px; background: var(--card); border: 1px solid var(--line-strong); border-radius: 13px; cursor: pointer; transition: border-color .15s, transform .12s var(--spring); }
.cmd:hover { border-color: rgba(255,255,255,.28); }
.cmd:active { transform: scale(.985); }
.cmd code { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmd-p { color: var(--accent); font-family: var(--mono); }
.cmd-state { flex: none; min-width: 58px; padding: 6px 10px; border-radius: 8px; background: rgba(255,255,255,.08); font-size: 12.5px; font-weight: 600; color: var(--muted); text-align: center; }
vx-install.done .cmd-state { color: var(--green); background: rgba(61,214,140,.14); }
vx-install { max-width: 100%; min-width: 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.assure { font-size: 14px; color: var(--faint); margin-top: 14px; }

/* Navigation: a translucent layer the page scrolls under. */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; background: rgba(12,12,15,.66); backdrop-filter: blur(22px) saturate(170%); -webkit-backdrop-filter: blur(22px) saturate(170%); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; height: 56px; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 650; font-size: 17px; letter-spacing: -.01em; }
.brand img { border-radius: 6px; }
.nav nav { display: flex; gap: 24px; font-size: 14px; color: var(--muted); }
.nav nav a { transition: color .15s; }
.nav nav a:hover { color: var(--text); }
.nav-cta { margin-left: auto; display: flex; gap: 8px; }
.stars { color: var(--muted); font-weight: 500; }
.star-btn { background: rgba(255,255,255,.07); border-color: var(--line-strong); }
.star-btn:hover { background: rgba(255,255,255,.13); }
.star-ic { color: #ffc65c; flex: none; transition: transform .35s var(--spring); }
.star-btn:hover .star-ic, .star-float:hover .star-ic { transform: rotate(72deg) scale(1.15); }
.star-float { position: fixed; z-index: 40; right: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 21px; font-size: 14px; font-weight: 600; background: rgba(38,38,44,.72); backdrop-filter: blur(20px) saturate(170%); -webkit-backdrop-filter: blur(20px) saturate(170%); box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 14px 30px -10px #000; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .3s, transform .45s var(--spring); }
vx-star-float.on .star-float { opacity: 1; transform: none; pointer-events: auto; }
vx-star-float { display: block; }
vx-star { display: inline-block; }
@media (max-width: 820px) { .nav nav { display: none; } }
@media (prefers-reduced-transparency: reduce) { .nav { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; } }

/* ---------- Stages ---------- */
vx-scene { position: relative; --tint: 129,148,255; }
.stage { position: sticky; top: 0; height: 100svh; min-height: 520px; overflow: clip; background: #000; isolation: isolate; }
.glow { position: absolute; inset: -20%; z-index: -1; pointer-events: none; background: radial-gradient(50% 45% at 50% 55%, rgba(var(--tint), .26), rgba(var(--tint), .07) 45%, transparent 72%); opacity: var(--glow, 1); }
.stage::after { content: ""; position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: 24svh; pointer-events: none; background: linear-gradient(transparent, rgba(0,0,0,.82) 70%); opacity: var(--scrim, 0); }
vx-scene[static] .stage::after, html:not(.js) .stage::after { display: none; }
.world { position: absolute; left: 50%; top: 50%; width: 1600px; height: 1000px; margin: -500px 0 0 -800px; transform: scale(var(--fit, .6)); perspective: 2200px; }
.cam { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.at { position: absolute; }
.statement { position: absolute; z-index: 5; left: 50%; top: 50%; width: min(1180px, 100% - 40px); margin: 0; transform-origin: center; translate: -50% -50%; text-align: center; font-size: clamp(38px, 6.6vw, 104px); line-height: 1.04; letter-spacing: -.04em; font-weight: 620; pointer-events: none; }
.statement small { display: block; font-size: 15px; letter-spacing: 0; font-weight: 600; color: rgb(var(--tint)); margin-bottom: 16px; }
.word { display: inline-block; will-change: opacity; }
.notes { position: absolute; z-index: 6; left: 50%; bottom: clamp(26px, 6svh, 64px); width: min(720px, 100% - 44px); translate: -50% 0; margin: 0; padding: 0; list-style: none; display: grid; text-align: center; font-size: clamp(18px, 1.9vw, 25px); line-height: 1.32; letter-spacing: -.012em; color: #a4a4ae; font-weight: 450; text-wrap: balance; pointer-events: none; }
.notes li { grid-area: 1 / 1; opacity: 0; visibility: hidden; align-self: end; text-shadow: 0 2px 26px #000, 0 0 8px #000; }
.notes strong { color: #fff; font-weight: 600; }
.notes code { font-size: .88em; color: #fff; }

/* Motion off: each stage is a finished picture with its words above it. */
vx-scene[static] .stage { position: static; height: auto; min-height: 0; overflow: hidden; padding-block: 80px 30px; background: var(--bg); }
vx-scene[static] .statement, vx-scene[static] .notes { position: static; translate: none; margin: 0 auto 18px; opacity: 1 !important; transform: none !important; visibility: visible !important; }
vx-scene[static] .statement { font-size: clamp(32px, 5vw, 56px); }
vx-scene[static] .notes { display: grid; gap: 10px; margin-bottom: 26px; }
vx-scene[static] .notes li { grid-area: auto; opacity: 1 !important; visibility: visible !important; transform: none !important; }
vx-scene[static] .word { opacity: 1 !important; visibility: visible !important; }
vx-scene[static] .world-box { position: relative; overflow: hidden; }
vx-scene[static] .world { top: 0; left: 50%; margin: 0 0 0 -800px; transform-origin: top center; }
.world-box { position: absolute; inset: 0; }
html:not(.js) .world-box, html:not(.js) .glow { display: none; }
html:not(.js) .stage { position: static; height: auto; min-height: 0; padding-block: 90px 20px; background: var(--bg); }
html:not(.js) .statement, html:not(.js) .notes { position: static; translate: none; margin: 0 auto 18px; }
html:not(.js) .notes { display: grid; gap: 10px; }
html:not(.js) .notes li { grid-area: auto; opacity: 1; visibility: visible; }

/* ---------- Real-size product parts ---------- */
vx-window { background: #131317; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 0 0 1px rgba(255,255,255,.13), 0 50px 120px -30px #000, 0 90px 160px -40px rgba(0,0,0,.8); }
.win-bar { display: flex; align-items: center; height: 44px; padding: 0 16px; background: #1a1a1f; border-bottom: 1px solid var(--line); flex: none; position: relative; }
.lights { display: flex; gap: 8px; }
.lights i { width: 13px; height: 13px; border-radius: 50%; background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.win-title { position: absolute; left: 50%; transform: translateX(-50%); font-size: 14px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.win-body { flex: 1; min-height: 0; position: relative; display: flex; }

/* An iPhone with some physicality: brushed edge, side buttons and a sheen. */
vx-phone { position: relative; display: block; width: 417px; height: 876px; padding: 12px; border-radius: 68px; flex: none; background: linear-gradient(135deg, #5e5e62, #2a2a2d 22%, #1b1b1e 50%, #2c2c30 78%, #66666a); box-shadow: inset 0 0 0 2px #09090a, inset 0 0 0 3.5px rgba(255,255,255,.1), 0 70px 110px -30px rgba(0,0,0,.95), 0 20px 50px -10px rgba(0,0,0,.6); }
.ph-btn { position: absolute; background: linear-gradient(90deg, #4c4c50, #29292c); border-radius: 2px; width: 3px; }
.ph-btn.a { left: -2px; top: 170px; height: 34px; }
.ph-btn.b { left: -2px; top: 232px; height: 66px; }
.ph-btn.c { left: -2px; top: 312px; height: 66px; }
.ph-btn.d { right: -2px; top: 262px; height: 104px; background: linear-gradient(270deg, #4c4c50, #29292c); }
.ph-screen { position: relative; width: 100%; height: 100%; border-radius: 56px; overflow: hidden; background: var(--ph-bg, #f6f6f8); color: var(--ph-fg, #111114); display: flex; flex-direction: column; font-family: -apple-system, "SF Pro Display", system-ui, sans-serif; }
.ph-status { flex: none; height: 62px; display: flex; align-items: center; justify-content: space-between; padding: 12px 34px 0 42px; font-size: 17px; position: relative; z-index: 3; }
.ph-status b { font-weight: 600; }
.ph-icons { display: flex; gap: 6px; align-items: center; }
.ph-island { position: absolute; z-index: 4; left: 50%; top: 13px; transform: translateX(-50%); width: 124px; height: 36px; border-radius: 20px; background: #000; }
.ph-content { flex: 1; min-height: 0; position: relative; display: flex; flex-direction: column; padding: 14px 22px 30px; gap: 14px; }
.ph-home { position: absolute; bottom: 9px; left: 50%; transform: translateX(-50%); width: 139px; height: 5px; border-radius: 3px; background: currentColor; z-index: 3; }
.ph-shot { position: absolute; left: -10px; top: -10px; width: 413px; height: 872px; max-width: none; }
.sheen { position: absolute; inset: 0; z-index: 8; pointer-events: none; border-radius: inherit; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.2) 46%, rgba(255,255,255,.04) 54%, transparent 66%); mix-blend-mode: screen; background-size: 300% 100%; background-position: var(--sheen, 100%) 0; }

.real .ph-status, .real .ph-island, .real .ph-home { display: none; }
.real .ph-screen { background: #0a0a0c; }
.real .ph-content { position: absolute; inset: 0; padding: 0; display: block; }
.shot { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; display: block; }

/* ---------- Page sections ---------- */
.section { padding-block: clamp(80px, 11vw, 150px); }
.center { text-align: center; }
.center .lede { max-width: 660px; margin: 18px auto 0; }
vx-reveal.armed { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--spring), transform .9s var(--spring); }
vx-reveal.in { opacity: 1; transform: none; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 48px; }
.tile { padding: 24px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.tile p { margin-top: 8px; color: var(--muted); font-size: 15.5px; line-height: 1.45; }
.free { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.free .figure { font-size: clamp(90px, 15vw, 190px); font-weight: 650; line-height: .95; letter-spacing: -.05em; background: linear-gradient(180deg, #fff, #8a8a98); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; color: var(--muted); }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.honest { padding: 26px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.honest h3 { margin-bottom: 12px; }
.honest ul { margin: 0; padding-left: 18px; color: var(--muted); display: grid; gap: 8px; font-size: 15.5px; }
.faq { max-width: 780px; margin: 40px auto 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: 19px 0; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--faint); font-weight: 400; font-size: 22px; line-height: 1; transition: transform .25s var(--spring); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--muted); font-size: 16px; }
.faq code, .ticks code { font-size: .88em; }
.steps { list-style: none; padding: 0; margin: 40px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 900px; text-align: left; }
.steps li { padding: 20px; border-radius: 16px; background: rgba(16,14,22,.62); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,.14); color: #c9c5d0; font-size: 15.5px; }
.steps b { display: block; color: var(--text); margin-bottom: 4px; font-weight: 600; }
.final { position: relative; overflow: clip; padding-block: clamp(120px, 15vw, 220px) clamp(70px, 8vw, 110px); }
.final-art { position: absolute; inset: 0; z-index: -1; background: linear-gradient(#0c0c0f 2%, rgba(12,12,15,.35) 32%, rgba(12,12,15,.05) 60%, rgba(12,12,15,.8)), url(/assets/ridge/art/dusk.jpg) center 62% / cover; }
.final h2 { font-size: clamp(46px, 7.4vw, 108px); letter-spacing: -.045em; line-height: 1; }
.final .lede { color: #e8e4ee; max-width: 620px; margin: 22px auto 0; }
.final .cta-row { justify-content: center; margin-top: 32px; }
.final .assure { color: #d6d0dc; }
.final .assure a { text-decoration: underline; }
.final .star-btn { background: rgba(255,255,255,.14); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.final-icon { width: 96px; height: 96px; margin: 0 auto 26px; border-radius: 22px; box-shadow: 0 20px 50px -10px rgba(0,0,0,.6); }
.foot { border-top: 1px solid var(--line); padding-block: 40px; color: var(--muted); font-size: 14.5px; }
.foot-row { display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; }
.foot p { margin-top: 10px; }
.foot p a, .foot nav a:hover { color: var(--text); }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-legal { grid-column: 1 / -1; color: var(--faint); font-size: 13px; }
@media (max-width: 820px) {
  .bento, .steps, .free { grid-template-columns: 1fr; }
  .cta-row { flex-direction: column; }
  .cta-row > .btn { width: 100%; justify-content: center; }
  .hero-copy { top: 72px; }
  .hero-copy .lede { margin-block: 14px 18px; }
  .stage::after { height: 30svh; }
  .foot-row { grid-template-columns: 1fr; }
}
.load-in { animation: load-in .9s var(--spring) both; animation-delay: var(--d, 0s); }
@keyframes load-in { from { opacity: 0; transform: translateY(18px); } }
@media (prefers-reduced-motion: reduce) { .load-in { animation: none; } }
