@font-face { font-family: "Inter"; src: url("/app/fonts/InterVariable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #070b14; --surface: #0e1524; --surface-2: #131c2e; --line: #1d2940; --text: #f2f5fb; --muted: #a9b6c8; --subtle: #6f8099;
  --accent: #2f8cff; --accent-2: #8b5cf6; --pink: #ff8fc0; --good: #3fbf8f;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased;
}
body.lp { position: relative; }
a { color: inherit; }
.lp-wrap { width: min(1160px, 100% - 32px); margin: 0 auto; }

/* ---- header ------------------------------------------------------------------------- */
.lp-header { position: fixed; inset: 0 0 auto; z-index: 20; transition: background 200ms ease, border-color 200ms ease, backdrop-filter 200ms ease; border-bottom: 1px solid transparent; }
.lp-header::before { content: ""; position: absolute; inset: 0 0 -28px; z-index: -1; pointer-events: none; background: linear-gradient(rgb(7 11 20 / .78), rgb(7 11 20 / 0)); transition: opacity 200ms ease; }
.lp-header.is-solid::before { opacity: 0; }
.lp-header.is-solid { background: rgb(7 11 20 / .82); border-color: var(--line); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); }
.lp-header-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 750; letter-spacing: -.02em; text-decoration: none; }
.lp-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 20px; box-shadow: 0 8px 24px rgb(47 140 255 / .35); }
.lp-nav { display: none; gap: 24px; font-size: 14px; }
.lp-nav a { color: var(--muted); text-decoration: none; transition: color 120ms ease; }
.lp-nav a:hover { color: var(--text); }
.lp-header-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.lp-link { color: var(--muted); font-size: 14px; font-weight: 550; text-decoration: none; }
.lp-link:hover { color: var(--text); }

/* ---- buttons ------------------------------------------------------------------------ */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 14px;
  background: linear-gradient(180deg, #4a9dff, var(--accent)); color: #fff; font-size: 15px; font-weight: 650; text-decoration: none;
  box-shadow: 0 10px 30px rgb(47 140 255 / .35), inset 0 1px 0 rgb(255 255 255 / .25);
  transition: transform 160ms var(--ease), box-shadow 160ms ease, filter 160ms ease;
}
.lp-btn:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 14px 36px rgb(47 140 255 / .45), inset 0 1px 0 rgb(255 255 255 / .25); }
.lp-btn:active { transform: translateY(0) scale(.99); }
.lp-btn-ghost { background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14); }
.lp-btn-ghost:hover { background: rgb(255 255 255 / .1); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .22); }
.lp-btn-sm { min-height: 38px; padding: 0 16px; border-radius: 11px; font-size: 14px; box-shadow: 0 6px 18px rgb(47 140 255 / .3); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---- hero over the pixel studio ------------------------------------------------------ */
.lp-hero { position: relative; z-index: 1; min-height: 100svh; display: grid; justify-items: center; padding: 0 16px 72px; }
.lp-hero-col { position: relative; z-index: 2; width: min(620px, 100%); padding-top: 120px; text-align: center; }
.lp-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border: 1px solid rgb(255 255 255 / .12); border-radius: 999px;
  background: rgb(10 16 30 / .7); color: #cfe0ff; font-size: 13px; font-weight: 550; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.lp-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px rgb(63 191 143 / .2); animation: lp-pulse 2.4s ease-in-out infinite; }
.lp-hero h1 { margin: 18px 0 0; font-size: clamp(34px, 6.2vw, 58px); line-height: 1.04; font-weight: 780; letter-spacing: -.035em; text-wrap: balance; }
.lp-grad { background: linear-gradient(100deg, #8fc4ff, #c4a8ff 45%, var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-lead { margin: 18px auto 0; max-width: 540px; color: var(--muted); font-size: clamp(16px, 1.6vw, 18px); line-height: 1.55; text-wrap: pretty; }
.lp-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.lp-proof { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--subtle); font-size: 13px; }
.lp-proof li { display: inline-flex; align-items: center; gap: 7px; }
.lp-proof li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: rgb(63 191 143 / .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233fbf8f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 9px no-repeat; }
.lp-scroll { position: absolute; left: 50%; bottom: 22px; display: grid; place-items: center; width: 28px; height: 44px; margin-left: -14px; border: 1px solid rgb(255 255 255 / .2); border-radius: 14px; }
.lp-scroll span { width: 3px; height: 8px; border-radius: 2px; background: #cfe0ff; animation: lp-scroll 1.8s ease-in-out infinite; }

/* The pixel studio (pixel-room.js): only behind the hero, never behind the reading. */
.room { position: absolute; inset: 0 0 auto; height: 100svh; z-index: 0; overflow: hidden; pointer-events: none; background: linear-gradient(#0f1a31 0 62%, #0a1020 62%); }
.room::after { content: ""; position: absolute; inset: auto 0 0; height: 160px; background: linear-gradient(to bottom, rgb(7 11 20 / 0), var(--bg)); }
.room canvas { position: absolute; display: block; pointer-events: none; }
.room-px { image-rendering: pixelated; }
.room-fx { image-rendering: auto; mix-blend-mode: screen; }
.room.fallback canvas { display: none; }
.room-scrim { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse var(--rw, 240px) var(--rh, 60%) at var(--cx, 50%) var(--cy, 50%), rgba(7,11,20,.86), rgba(7,11,20,.55) 55%, rgba(7,11,20,0) 100%); }
.room-scrim.band { background: linear-gradient(to bottom, rgba(7,11,20,0) 0, rgba(7,11,20,0) var(--by, 30%), rgba(7,11,20,.7) calc(var(--by, 30%) + 60px), rgba(7,11,20,.92) 100%); }
body.no-room .lp-hero { background: radial-gradient(60% 50% at 50% 30%, rgb(47 140 255 / .18), transparent 70%); }

/* ---- band of facts ---------------------------------------------------------------- */
.lp-band { position: relative; z-index: 1; border-block: 1px solid var(--line); background: rgb(14 21 36 / .7); }
.lp-ticker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.lp-ticker > div { display: grid; gap: 4px; padding: 22px 16px; border-right: 1px solid var(--line); }
.lp-ticker > div:nth-child(2n) { border-right: 0; }
.lp-ticker strong { font-size: 28px; font-weight: 750; letter-spacing: -.02em; background: linear-gradient(100deg, #fff, #9cc7ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-ticker span { color: var(--muted); font-size: 13.5px; line-height: 1.4; }

/* ---- sections --------------------------------------------------------------------- */
.lp-section { position: relative; z-index: 1; padding: 88px 0 0; }
.lp-kicker { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.lp-section h2, .lp-final h2 { margin: 10px 0 0; max-width: 760px; font-size: clamp(28px, 4vw, 42px); line-height: 1.1; font-weight: 750; letter-spacing: -.03em; text-wrap: balance; }
.lp-steps { display: grid; gap: 14px; margin: 36px 0 0; padding: 0; list-style: none; counter-reset: step; }
.lp-steps li { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, rgb(255 255 255 / .03), transparent), var(--surface); }
.lp-step-num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); font-weight: 750; box-shadow: 0 8px 22px rgb(47 140 255 / .3); }
.lp-steps h3, .lp-feature h3, .lp-who h3 { margin: 16px 0 6px; font-size: 18px; letter-spacing: -.01em; }
.lp-steps p, .lp-feature p, .lp-who p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.lp-steps b { color: var(--text); font-weight: 600; }

.lp-features { display: grid; gap: 12px; margin-top: 36px; }
.lp-feature { padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); transition: border-color 200ms ease, transform 200ms var(--ease); }
.lp-feature:hover { border-color: #2a3b5c; transform: translateY(-2px); }
.lp-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: rgb(47 140 255 / .12); color: #7db8ff; }
.lp-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.lp-who { display: grid; gap: 12px; margin-top: 36px; }
.lp-who article { padding: 24px; border-radius: 20px; background: linear-gradient(160deg, rgb(47 140 255 / .12), rgb(139 92 246 / .06) 60%, transparent), var(--surface); border: 1px solid var(--line); }
.lp-who h3 { margin-top: 0; }

.lp-plan {
  display: grid; gap: 20px; margin-top: 32px; padding: 28px; border: 1px solid #23406a; border-radius: 24px;
  background: radial-gradient(80% 120% at 0% 0%, rgb(47 140 255 / .22), transparent 60%), var(--surface);
}
.lp-plan-name { color: #8fc4ff; font-size: 13px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.lp-plan p { margin: 8px 0 20px; color: var(--muted); }
.lp-price { font-size: 44px; font-weight: 780; letter-spacing: -.03em; line-height: 1; }
.lp-price small { display: block; margin-top: 8px; color: var(--subtle); font-size: 14px; font-weight: 500; letter-spacing: 0; }
.lp-disclosure { max-width: 760px; margin: 18px 0 0; color: var(--subtle); font-size: 13px; line-height: 1.55; }

.lp-faq { display: grid; gap: 10px; margin-top: 32px; max-width: 820px; }
.lp-faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.lp-faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; font-weight: 600; list-style: none; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; transition: transform 200ms var(--ease); }
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

.lp-final { position: relative; z-index: 1; margin-top: 96px; padding: 48px 24px; border: 1px solid var(--line); border-radius: 28px; text-align: center;
  background: radial-gradient(70% 120% at 50% 0%, rgb(139 92 246 / .22), transparent 65%), radial-gradient(60% 100% at 50% 100%, rgb(47 140 255 / .18), transparent 70%), var(--surface); }
.lp-final h2 { margin: 0 auto; }
.lp-final p { margin: 14px auto 0; max-width: 560px; color: var(--muted); }

.lp-footer { position: relative; z-index: 1; margin-top: 80px; padding: 28px 0 36px; border-top: 1px solid var(--line); color: var(--subtle); font-size: 13px; }
.lp-footer-inner { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.lp-footer a { color: var(--subtle); }
.lp-footer a:hover { color: var(--text); }

/* ---- reveal on scroll ---------------------------------------------------------------- */
.can-reveal .lp-reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease) var(--d, 0ms), transform 600ms var(--ease) var(--d, 0ms); }
.can-reveal .lp-reveal.is-in { opacity: 1; transform: none; }

@keyframes lp-pulse { 50% { box-shadow: 0 0 0 7px rgb(63 191 143 / .08); } }
@keyframes lp-scroll { 0% { transform: translateY(-6px); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(8px); opacity: 0; } }

/* ---- wider screens ------------------------------------------------------------------- */
@media (min-width: 760px) {
  .lp-ticker { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lp-ticker > div { padding: 26px 22px; }
  .lp-ticker > div:nth-child(2n) { border-right: 1px solid var(--line); }
  .lp-ticker > div:last-child { border-right: 0; }
  .lp-steps, .lp-who { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lp-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-plan { grid-template-columns: 1fr auto; align-items: center; padding: 36px 40px; }
  .lp-price { text-align: right; }
}
@media (min-width: 1024px) {
  .lp-nav { display: flex; }
  .lp-features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lp-final { padding: 72px 48px; }
}
@media (max-width: 520px) {
  .lp-header-actions .lp-link { display: none; }
  .lp-cta .lp-btn { flex: 1 1 100%; }
  .lp-hero-col { padding-top: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lp-dot, .lp-scroll span { animation: none; }
  .lp-btn, .lp-feature { transition: none; }
}
