@font-face { font-family: "Inter"; src: url("fonts/inter-var-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("fonts/space-grotesk-var-latin.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --bg: #0B0C0F;
  --panel: #14161B;
  --panel-2: #1A1D23;
  --line: #23272F;
  --text: #F3F4F6;
  --muted: #9AA0AA;
  --blue: #7FB2FF;      /* baby blue */
  --blue-mid: #3A6FD8;
  --blue-deep: #17295C;
  --ice: #CFE2FF;
  --max: 1120px;
  --gutter: 1.25rem;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --squish: cubic-bezier(0.68, -0.6, 0.32, 1.6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--blue); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 8px; }
::selection { background: var(--blue); color: var(--bg); }
img { max-width: 100%; height: auto; display: block; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.06; letter-spacing: -0.03em; margin: 0 0 1rem; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4.6vw, 3rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
.lead { font-size: clamp(1.08rem, 2vw, 1.25rem); color: var(--muted); max-width: 38rem; }
.eyebrow { display: block; color: var(--blue); font-weight: 600; margin-bottom: 1rem; }
.muted { color: var(--muted); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 12, 15, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(35, 39, 47, 0.8); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 4rem; gap: 1rem; }
.brand { white-space: nowrap; display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--display); font-weight: 600; font-size: 1.1rem; letter-spacing: -0.02em; color: var(--text); text-decoration: none; }
.brand-mark { width: 1.65rem; height: 1.65rem; flex: none; color: var(--text); }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a:not(.btn) { color: var(--muted); text-decoration: none; font-size: 0.95rem; transition: color 0.2s; }
.nav a:not(.btn):hover { color: var(--text); }
.nav .nav-link { display: none; }
@media (min-width: 820px) { .nav .nav-link { display: inline; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; padding: 0.85rem 1.4rem; min-height: 3rem; border-radius: 999px; border: 1px solid transparent; font-family: var(--display); font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap; transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s, color 0.3s; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-primary { background: var(--blue); color: var(--bg); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(127,178,255,.4), 0 10px 34px -8px rgba(127,178,255,.55); }
.btn-ghost { color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: rgba(127,178,255,.6); color: var(--blue); transform: translateY(-2px); }
.btn-sm { padding: 0.5rem 1rem; min-height: 2.5rem; font-size: 0.92rem; }
.btn-xl { font-size: clamp(1rem, 2.4vw, 1.2rem); padding: 1.1rem 1.8rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }

section { padding: clamp(4rem, 8vw, 6rem) 0; position: relative; }
.section-head { max-width: 44rem; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(3.5rem, 8vw, 6rem); padding-bottom: 2rem; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -10% -20% auto; height: 90%; z-index: -1; background: radial-gradient(50% 55% at 50% 0%, rgba(127,178,255,.16), transparent 70%); }
.hero-copy { text-align: center; max-width: 64rem; margin: 0 auto; will-change: transform; }
.hero-copy .lead { margin: 0 auto; }
.hero-copy .actions { justify-content: center; }
.kicker { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.25rem; }

/* Liquid chrome headline */
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.4rem); margin-bottom: 1.5rem; }
.chrome {
  display: block;
  background-image:
    linear-gradient(105deg, transparent 0%, transparent 38%, rgba(255,255,255,.95) 47%, rgba(207,226,255,.9) 50%, transparent 60%, transparent 100%),
    linear-gradient(180deg, #FFFFFF 0%, #E4E8EE 38%, #8B94A2 50%, #5E6774 53%, #BFD3F2 66%, #F2F6FB 100%);
  background-size: 250% 100%, 100% 100%;
  background-position: 120% 0, 0 0;
  background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.motion .chrome { animation: liquid 6s cubic-bezier(.45,0,.25,1) infinite; }
.motion .chrome-2 { animation-delay: .35s; }
@keyframes liquid { 0% { background-position: 120% 0, 0 0; } 55%, 100% { background-position: -20% 0, 0 0; } }

/* Scroll-tilt stage */
.tilt-stage { perspective: 1100px; margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.tilt-card {
  max-width: 64rem; margin: 0 auto; padding: clamp(6px, 1.2vw, 14px);
  border-radius: 28px; background: linear-gradient(180deg, #2A2E36, #17191E);
  border: 1px solid #343944;
  box-shadow: 0 0 #0000004d, 0 9px 20px #0000004a, 0 37px 37px #00000042, 0 84px 50px #00000026, 0 149px 60px #0000000a;
  transform-origin: 50% 100%;
  will-change: transform;
}
.motion .tilt-card { transform: rotateX(18deg) scale(1.04); }
.tilt-note { text-align: center; color: var(--muted); font-size: 0.85rem; margin-top: 1.25rem; }

.snap { background: var(--panel); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.snap-bar { display: flex; align-items: center; gap: 0.85rem; padding: 0.8rem 1.1rem; border-bottom: 1px solid var(--line); background: #111317; font-size: 0.85rem; }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #2C3039; display: block; }
.snap-title { font-family: var(--display); font-weight: 600; }
.snap-tag { margin-left: auto; color: var(--blue); background: rgba(127,178,255,.1); border: 1px solid rgba(127,178,255,.25); padding: 0.1rem 0.6rem; border-radius: 999px; font-size: 0.78rem; }
.snap-body { display: grid; gap: 1.5rem; padding: clamp(1rem, 3vw, 2rem); }
@media (min-width: 760px) { .snap-body { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.snap-search { display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 1rem; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line); font-size: 0.95rem; margin-bottom: 1rem; }
.snap-search svg { width: 1rem; height: 1rem; color: var(--muted); }
.pack { list-style: none; margin: 0; padding: 0; }
.pack li, .yours { display: flex; flex-direction: column; padding: 0.7rem 0.2rem; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.pack b, .yours b { font-weight: 600; }
.pack li > span, .yours > span { color: var(--muted); font-size: 0.82rem; display: flex; align-items: center; gap: 0.35rem; }
.pack em, .yours em { font-style: normal; color: var(--text); font-weight: 600; }
.stars { display: inline-flex; gap: 1px; color: #F4B400; }
.stars svg { width: 0.75rem; height: 0.75rem; }
.more { margin: 0.9rem 0; text-align: center; font-size: 0.85rem; border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem; color: var(--muted); }
.yours { border: 1px solid rgba(127,178,255,.55); border-radius: 12px; padding: 0.7rem 0.9rem; background: linear-gradient(180deg, rgba(127,178,255,.12), rgba(127,178,255,.02)); }
.yours b { color: var(--blue); }
.snap-h { font-size: 0.95rem; color: var(--muted); font-weight: 600; margin: 0 0 0.6rem; }
.snap-h + * { margin-bottom: 1.5rem; }
.ranks { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.ranks td { padding: 0.55rem 0; border-bottom: 1px solid var(--line); }
.ranks td:last-child { text-align: right; font-family: var(--display); font-weight: 600; }
.ranks .miss { color: #F28B82; }
.wins { margin: 0; padding-left: 1.1rem; font-size: 0.9rem; }
.wins li { margin-bottom: 0.45rem; }
.wins li::marker { color: var(--blue); }

/* ---------- Problem ---------- */
.problem-grid { display: grid; gap: 1.5rem 3rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
@media (min-width: 860px) { .problem-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.problem-copy p { color: var(--muted); }
.problem-copy strong { color: var(--text); font-weight: 600; }
.stats { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat { background: var(--panel); padding: clamp(1.5rem, 3.5vw, 2.25rem); }
.stat-num { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(3rem, 7vw, 4.25rem); line-height: 1; letter-spacing: -0.04em; color: var(--blue); font-variant-numeric: tabular-nums; margin-bottom: 0.75rem; }
.stat-label { color: var(--muted); font-size: 0.98rem; }
.source { margin-top: 1rem; font-size: 0.85rem; color: var(--muted); }

/* ---------- Animated beam ---------- */
.beam { position: relative; display: grid; grid-template-columns: 1fr; gap: 1.25rem; padding: clamp(1.25rem, 4vw, 3rem); border-radius: 24px; background: radial-gradient(60% 70% at 50% 50%, rgba(127,178,255,.07), transparent 70%), var(--panel); border: 1px solid var(--line); }
@media (min-width: 760px) { .beam { grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(2rem, 6vw, 5rem); } }
.beam-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.beam-col { display: flex; flex-direction: column; gap: 1rem; position: relative; z-index: 1; }
.beam-in { align-items: flex-start; }
.beam-out { align-items: flex-end; }
.node { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.65rem 1rem; border-radius: 999px; background: #101216; border: 1px solid var(--line); font-size: 0.92rem; white-space: nowrap; }
.node svg { width: 1rem; height: 1rem; color: var(--muted); flex: none; }
.node.out { border-color: rgba(127,178,255,.35); }
.node.out svg { color: var(--blue); }
.beam-mid { align-items: center; }
.hub { position: relative; width: 12.5rem; aspect-ratio: 1; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1.5rem; background: radial-gradient(circle at 50% 35%, #1D2533, #101216 70%); border: 1px solid rgba(127,178,255,.35); box-shadow: 0 0 60px -10px rgba(127,178,255,.35); }
.hub-label { font-family: var(--display); font-weight: 700; font-size: 1.1rem; line-height: 1.2; }
.hub-sub { color: var(--muted); font-size: 0.78rem; margin-top: 0.4rem; }
.hub-ring { position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(127,178,255,.25); }
.motion .hub-ring { animation: ring 3.2s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(.92); opacity: .9; } 100% { transform: scale(1.18); opacity: 0; } }
.beam-caption { margin-top: 1rem; color: var(--muted); font-size: 0.9rem; }
.beam-lines .base { fill: none; stroke: #2A2F3A; stroke-width: 1.5; }
.beam-lines .flow { fill: none; stroke-width: 2.6; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(127,178,255,.8)); }
@media (max-width: 759px) { .beam-in, .beam-out { align-items: center; } .beam-lines { display: none; } .beam-mid { margin: 0.5rem 0; } }

/* ---------- Squishy pricing ---------- */
.squish-row { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .squish-row { grid-template-columns: repeat(3, 1fr); } }
.squish { position: relative; overflow: hidden; border-radius: 22px; padding: 2rem; min-height: 25rem; display: flex; flex-direction: column; transition: transform 1s var(--squish), box-shadow .6s; outline-offset: 6px; }
.squish:hover, .squish:focus-within, .squish:focus-visible, .squish.is-on { transform: scale(1.03); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); }
.s1 { background: var(--blue); color: #0B1324; }
.s2 { background: var(--blue-mid); color: #fff; }
.s3 { background: var(--blue-deep); color: #fff; border: 1px solid #2B4590; }
.squish-inner { position: relative; z-index: 2; }
.pill { display: inline-block; padding: 0.2rem 0.8rem; border-radius: 999px; font-size: 0.85rem; font-weight: 600; background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.3); }
.s1 .pill { background: rgba(11,19,36,.08); border-color: rgba(11,19,36,.18); }
.price { font-family: var(--display); font-weight: 700; font-size: clamp(3.5rem, 7vw, 4.5rem); line-height: 1; letter-spacing: -0.04em; margin: 1.2rem 0 1rem; transform-origin: 0 0; transform: scale(.88); transition: transform 1s var(--squish); }
.price small { display: block; font-family: var(--body); font-size: 0.95rem; font-weight: 500; letter-spacing: 0; margin-top: 0.4rem; opacity: .8; }
.squish:hover .price, .squish:focus-within .price, .squish.is-on .price { transform: scale(1); }
.desc { font-size: 1rem; opacity: .9; max-width: 22rem; }
.squish-btn { position: relative; z-index: 2; margin-top: auto; display: block; text-align: center; padding: 0.8rem 1rem; border-radius: 12px; font-family: var(--display); font-weight: 700; text-decoration: none; background: #fff; color: #0B1324; border: 2px solid #fff; transition: background .2s, color .2s; }
.s1 .squish-btn { background: #0B1324; color: #fff; border-color: #0B1324; }
.squish-btn:hover { background: transparent; color: inherit; }
.s1 .squish-btn:hover { color: #0B1324; }
.squish-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; transition: transform 1s var(--squish); }
.squish-bg * { fill: rgba(0,0,0,.14); transform-box: fill-box; transform-origin: center; transition: transform 1s var(--squish) .15s; }
.s3 .squish-bg * { fill: rgba(127,178,255,.12); }
.s1:hover .squish-bg, .s1:focus-within .squish-bg, .s1.is-on .squish-bg { transform: scale(1.35); }
.s1:hover .a, .s1:focus-within .a, .s1.is-on .a { transform: translateY(-20px) scaleY(.5); }
.s1:hover .b, .s1:focus-within .b, .s1.is-on .b { transform: translateY(-20px) scaleY(2.2); }
.s2:hover .a, .s2:focus-within .a, .s2.is-on .a { transform: translateY(205px) rotate(90deg) scaleX(1.6); }
.s2:hover .b, .s2:focus-within .b, .s2.is-on .b { transform: translateY(-205px) rotate(90deg) scaleX(1.6); }
.s3:hover .squish-bg, .s3:focus-within .squish-bg, .s3.is-on .squish-bg { transform: scale(1.15); }
.s3:hover .squish-bg *, .s3:focus-within .squish-bg *, .s3.is-on .squish-bg * { transform: translateY(-45px); }
.s3 .squish-bg .b { transition-delay: .22s; } .s3 .squish-bg .c { transition-delay: .3s; }

/* ---------- Promises ---------- */
.promises { display: grid; gap: 2rem 4rem; }
@media (min-width: 860px) { .promises { grid-template-columns: 0.9fr 1.1fr; } }
.promises dl { margin: 0; display: grid; gap: 0; }
.promises dl > div { padding: 1.25rem 0; border-top: 1px solid var(--line); }
.promises dl > div:last-child { border-bottom: 1px solid var(--line); }
.promises dt { font-family: var(--display); font-weight: 600; font-size: 1.15rem; margin-bottom: 0.3rem; }
.promises dd { margin: 0; color: var(--muted); }

/* ---------- About ---------- */
.about { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 860px) { .about { grid-template-columns: 0.8fr 1.2fr; gap: 4.5rem; } }
.about-photo { margin: 0; position: relative; max-width: 26rem; }
.about-photo img { border-radius: 24px; border: 1px solid var(--line); aspect-ratio: 720 / 891; object-fit: cover; filter: saturate(.92); }
.about-photo::after { content: ""; position: absolute; inset: auto -14px -14px auto; width: 60%; height: 60%; border-radius: 24px; border: 1px solid rgba(127,178,255,.35); z-index: -1; }
.about-copy p { color: var(--muted); max-width: 38rem; }
.about-copy p:first-of-type { color: var(--text); font-size: 1.15rem; }

/* ---------- Contact ---------- */
.contact { text-align: center; overflow: hidden; isolation: isolate; }
.contact::before { content: ""; position: absolute; left: 50%; top: 55%; width: min(900px, 140vw); aspect-ratio: 2 / 1; transform: translate(-50%, -50%); background: radial-gradient(ellipse, rgba(127,178,255,.12), transparent 65%); z-index: -1; }
.contact .lead { margin: 0 auto; }
.contact-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2.25rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2rem 0; font-size: 0.9rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.site-footer nav { display: flex; gap: 1.5rem; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--blue); }

/* Privacy page */
.prose { max-width: 46rem; }
.prose h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); }
.prose h2 { font-size: 1.35rem; margin: 2.75rem 0 0.85rem; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); }
.prose ul { padding-left: 1.25rem; margin: 0 0 1rem; }
.prose li { margin-bottom: 0.45rem; }
.prose li::marker { color: var(--blue); }
.legal { padding-top: clamp(3.5rem, 8vw, 5.5rem); }
.updated { font-size: 0.9rem; }

@media (max-width: 520px) {
  .about-photo::after { display: none; }
  .btn-sm { padding: 0.45rem 0.85rem; font-size: 0.85rem; }
  .brand { font-size: 1rem; }
  .actions .btn, .contact-buttons .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
