@font-face { font-family: Rubik; src: url(/assets/fonts/Rubik.ttf) format('truetype'); font-weight: 300 900; font-display: swap; }
@font-face { font-family: Frank; src: url(/assets/fonts/Frank.ttf) format('truetype'); font-weight: 300 900; font-display: swap; }

:root {
  --ink: #1B2030; --muted: #575E78; --blue: #3B5BDB; --blue2: #6C8CFF; --coral: #FF5A3C;
  --bg-a: #F7F6FD; --bg-b: #ECE9FB; --bg-c: #DDE8FB;
  --glass: rgba(255, 255, 255, .62); --line: rgba(30, 40, 90, .08);
  --shadow: 0 24px 60px rgba(30, 50, 120, .14);
  --r: 26px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: Rubik, system-ui, sans-serif; color: var(--ink); background: var(--bg-a); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
bdi { unicode-bidi: isolate; }
a { color: var(--blue); }
.serif { font-family: Frank, serif; }

/* drifting pastel blobs (same world as the story) */
.bg { position: fixed; inset: 0; z-index: -1; background: linear-gradient(170deg, var(--bg-a), var(--bg-b) 55%, var(--bg-c)); overflow: hidden; }
.bg i { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; filter: blur(90px); opacity: .55; animation: drift 22s ease-in-out infinite alternate; }
.bg .b1 { background: #C9D7FF; inset-inline-start: -20vmax; top: -15vmax; }
.bg .b2 { background: #E6D5FF; inset-inline-end: -25vmax; top: 30vh; animation-delay: -7s; }
.bg .b3 { background: #FFE0D2; inset-inline-start: 10vmax; bottom: -35vmax; animation-delay: -14s; }
@keyframes drift { to { transform: translate(6vmax, -5vmax) scale(1.1); } }

.glass { background: var(--glass); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .8); box-shadow: var(--shadow); border-radius: var(--r); }

main { max-width: 1120px; margin: 0 auto; padding: 0 16px 60px; }
section { margin-top: 84px; }
h2 { font-size: clamp(30px, 5vw, 44px); font-weight: 800; letter-spacing: -.5px; margin-bottom: 26px; text-align: center; }

.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.handle { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); text-decoration: none; }
.handle img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--blue2); }
.chip { white-space: nowrap; padding: 8px 16px; border-radius: 999px; background: #fff; box-shadow: 0 6px 20px rgba(30, 50, 120, .1); font-weight: 600; font-size: 15px; }

/* hero */
.hero { margin-top: 30px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.eyebrow { color: var(--muted); font-weight: 600; margin-bottom: 8px; }
h1 { font-size: clamp(40px, 6.6vw, 76px); line-height: 1.04; font-weight: 800; letter-spacing: -1.5px; }
h1 .hl { background: linear-gradient(180deg, #8FA8FF, #5B7CFA 45%, #2F4FD6); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 #2A44B8) drop-shadow(0 4px 0 #1E2F80) drop-shadow(0 16px 26px rgba(59, 91, 219, .35)); }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: #3A4058; margin: 22px 0 30px; max-width: 34em; }
.lead .serif { color: var(--blue); font-size: 1.12em; }
.fine { color: var(--muted); font-size: 14px; margin-top: 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none; font: inherit; font-weight: 700;
  color: #fff; padding: 14px 26px; border-radius: 999px; background: linear-gradient(180deg, var(--blue2), var(--blue));
  box-shadow: 0 16px 40px rgba(59, 91, 219, .4), inset 0 2px 0 rgba(255, 255, 255, .3); transition: transform .25s cubic-bezier(.16, 1, .3, 1), box-shadow .25s; }
.btn:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 22px 50px rgba(59, 91, 219, .5), inset 0 2px 0 rgba(255, 255, 255, .3); }
.btn:active { transform: scale(.98); }
.btn.big { font-size: 20px; padding: 18px 36px; }
.btn[disabled] { opacity: .6; cursor: progress; }

.phone { position: relative; justify-self: center; width: min(330px, 78vw); aspect-ratio: 9 / 16; border-radius: 44px; padding: 10px; background: linear-gradient(160deg, #2A2D35, #0E1014);
  box-shadow: 0 40px 90px rgba(20, 35, 100, .35), 0 0 0 2px #3B3F49 inset; transform: rotate(-3deg); animation: float 6s ease-in-out infinite; }
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 36px; display: block; background: #ECE9FB; }
.phone { margin: 0; }
.vctl { position: absolute; inset-inline-end: 22px; top: 22px; display: flex; gap: 8px; } /* story safe zone: top ~13% is empty, captions sit at the bottom */
.vctl button { width: 46px; height: 46px; border-radius: 50%; border: 0; font: 700 15px Rubik, sans-serif; cursor: pointer; color: var(--ink);
  background: rgba(255, 255, 255, .88); backdrop-filter: blur(8px); box-shadow: 0 8px 20px rgba(0, 0, 0, .2); }
.vctl button[aria-pressed="true"]#vcc { background: var(--blue); color: #fff; }
video::cue { font-family: Rubik, sans-serif; font-size: 15px; line-height: 1.35; background: rgba(15, 20, 45, .78); color: #fff; }
@keyframes float { 50% { transform: rotate(-3deg) translateY(-12px); } }
.phone:hover, .phone:focus-within { animation-play-state: paused; } /* targets stay still while you aim at them */

/* kit */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 26px; transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
.card:hover { transform: translateY(-6px) rotate(-.4deg); }
.card .ic { font-size: 30px; display: block; margin-bottom: 10px; }
.card h3 { font-size: 21px; margin-bottom: 6px; }
.card p { color: #4A5068; }
.plus { margin-top: 18px; padding: 18px 24px; text-align: center; font-size: 18px; }

/* steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { display: flex; align-items: center; gap: 16px; padding: 22px; font-size: 18px; }
.steps b { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 20px;
  background: linear-gradient(180deg, var(--blue2), var(--blue)); box-shadow: 0 10px 24px rgba(59, 91, 219, .35); }

/* form */
.get { display: grid; place-items: center; }
.form { width: min(560px, 100%); padding: 34px; display: grid; gap: 16px; }
.form h2 { margin-bottom: 6px; }
.form label { display: grid; gap: 6px; font-weight: 600; }
.form input:not([type=checkbox]) { font: inherit; font-weight: 400; padding: 14px 16px; border-radius: 14px; border: 1.5px solid #D8DCEA; background: #fff; outline: none;
  transition: border-color .2s, box-shadow .2s; }
.form input:focus { border-color: var(--blue2); box-shadow: 0 0 0 4px rgba(108, 140, 255, .2); }
.form .check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 15px; color: #3A4058; }
.form .check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--blue); flex: none; }
.form .btn { margin-top: 6px; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; opacity: 0; }
.err { color: #C2261B; min-height: 1.4em; font-weight: 600; }

/* faq */
.faq { max-width: 760px; margin-inline: auto; }
.faq details { padding: 18px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; }
.faq summary::after { content: '+'; float: inline-end; color: var(--blue); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { margin-top: 10px; color: #4A5068; }

.foot { text-align: center; color: var(--muted); margin-top: 70px; font-size: 14px; }

/* gate */
.gate { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; padding: 16px; background: rgba(236, 233, 251, .55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.gate[hidden] { display: none; }
.gate-card { width: min(440px, 100%); padding: 36px 30px; text-align: center; }
.gate .lock { font-size: 44px; }
.gate h2 { font-size: 28px; margin: 8px 0 18px; }
.gate ol { text-align: start; display: grid; gap: 10px; margin: 0 auto 26px; padding-inline-start: 24px; font-size: 18px; width: fit-content; }

/* accessibility */
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 20; padding: 10px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible { outline-color: var(--ink); }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
main:focus { outline: none; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1); }
.rv.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; gap: 34px; }
  .hero .lead { margin-inline: auto; }
  .phone { order: -1; width: min(280px, 72vw); }
  .cards, .steps { grid-template-columns: 1fr; }
  section { margin-top: 64px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .rv { opacity: 1; transform: none; } }
