:root {
  color-scheme: light dark;
  --navy: #0B1220;
  --navy-2: #16213A;
  --blue: #1D4ED8;
  --blue-2: #2F5BEA;
  --blue-light: #7AA2FF;
  --bg: #F7F8FA;
  --surface: #FFFFFF;
  --surface-2: #EEF1F6;
  --fg: #0F172A;
  --muted: #526077;
  --line: #E2E7EF;
  --accent: var(--blue);
  --on-accent: #FFFFFF;
  --danger: #B42318;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-family: var(--font);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B1220;
    --surface: #121B2E;
    --surface-2: #0F1828;
    --fg: #E8EDF6;
    --muted: #9AA8BF;
    --line: #22304A;
    --accent: #7AA2FF;
    --on-accent: #0B1220;
    --danger: #F97066;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--bg); color: var(--fg); font-size: 1.0625rem; }
img, svg { display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 46rem; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small-text { font-size: .9rem; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: .5rem; z-index: 20; background: var(--surface); color: var(--fg); padding: .6rem 1rem; border-radius: 10px; }
.skip:focus { left: .5rem; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(11, 18, 32, .96); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; color: #fff; text-decoration: none; }
.logo { border-radius: 24%; }
.nav { display: flex; align-items: center; gap: .35rem; }
.nav-link { color: rgba(255, 255, 255, .78); text-decoration: none; font-size: .95rem; font-weight: 500; padding: .5rem .7rem; border-radius: 10px; }
.nav-link, .nav .button-sm, .nav .lang { white-space: nowrap; }
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.lang { color: #fff; text-decoration: none; font-size: .85rem; font-weight: 700; letter-spacing: .04em; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; padding: .3rem .7rem; margin: 0 .4rem; }
.lang:hover { background: rgba(255, 255, 255, .1); }
.langs { position: relative; }
.langs summary { list-style: none; cursor: pointer; display: inline-block; user-select: none; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary::after { content: ""; display: inline-block; margin-left: .35rem; border: 4px solid transparent; border-top-color: currentColor; border-bottom: 0; vertical-align: middle; }
.langs[open] summary { background: rgba(255, 255, 255, .1); }
.langs-menu { position: absolute; right: .4rem; top: calc(100% + .5rem); z-index: 30; list-style: none; margin: 0; padding: .4rem; min-width: 10rem; background: var(--navy-2); border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; box-shadow: 0 12px 32px rgba(0, 0, 0, .35); }
.langs-menu a { display: block; color: rgba(255, 255, 255, .85); text-decoration: none; padding: .45rem .75rem; border-radius: 9px; font-size: .95rem; }
.langs-menu a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.langs-menu a[aria-current] { color: #fff; font-weight: 700; background: rgba(122, 162, 255, .16); }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem; padding: 0 1.4rem; border-radius: 999px; background: linear-gradient(135deg, var(--blue-2), var(--blue)); color: #fff; font-weight: 650; text-decoration: none; box-shadow: 0 6px 20px rgba(29, 78, 216, .35); transition: transform .15s ease, box-shadow .15s ease; }
.button:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(29, 78, 216, .45); text-decoration: none; }
.button-sm { min-height: 2.5rem; padding: 0 1.1rem; font-size: .95rem; box-shadow: none; }
.button-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .28); box-shadow: none; }
.button-ghost:hover { background: rgba(255, 255, 255, .08); box-shadow: none; }
.button-light { background: #fff; color: var(--blue); box-shadow: 0 6px 20px rgba(0, 0, 0, .2); }
.button.danger { background: var(--danger); box-shadow: none; color: #fff; }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 80% at 80% 0%, #1B2B52 0%, var(--navy-2) 40%, var(--navy) 100%); color: #fff; padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3.5rem, 8vw, 6rem); }
.hero-glow { position: absolute; inset: auto -10% -40% auto; width: 46rem; height: 46rem; background: radial-gradient(circle, rgba(122, 162, 255, .35), rgba(29, 78, 216, 0) 65%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { margin: 1.1rem 0 1.2rem; }
.hero .accent { display: block; background: linear-gradient(90deg, #A9C2FF, var(--blue-light) 40%, #4F7BFF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: rgba(255, 255, 255, .78); max-width: 34rem; }
.pill { display: inline-flex; align-items: center; gap: .55rem; font-size: .85rem; font-weight: 600; color: #C9D7FF; background: rgba(122, 162, 255, .12); border: 1px solid rgba(122, 162, 255, .3); border-radius: 999px; padding: .35rem .85rem; }
.pulse { width: .5rem; height: .5rem; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.badges { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; color: rgba(255, 255, 255, .72); font-size: .92rem; }
.badges li { display: inline-flex; align-items: center; gap: .45rem; }
.badges .icon { width: 1.1rem; height: 1.1rem; color: var(--blue-light); }

/* Phone mock */
.phone-wrap { margin: 0; justify-self: center; width: 100%; max-width: 21rem; }
.phone { position: relative; background: linear-gradient(180deg, #111A2E, #0B1220); border: 1px solid rgba(255, 255, 255, .12); border-radius: 2.6rem; padding: 2.4rem 1.1rem 1.3rem; box-shadow: 0 40px 80px rgba(0, 0, 0, .45), inset 0 0 0 6px #070C16; }
.phone-notch { position: absolute; top: .85rem; left: 50%; transform: translateX(-50%); width: 5.5rem; height: 1.35rem; background: #070C16; border-radius: 999px; }
.phone-bar { display: flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 600; color: rgba(255, 255, 255, .8); }
.timer { margin-left: auto; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .5); }
.rec { width: .55rem; height: .55rem; border-radius: 50%; background: #F04438; }
.wave { display: flex; align-items: center; justify-content: center; gap: .28rem; height: 2.6rem; margin: .7rem 0 .9rem; }
.wave i { display: block; width: .3rem; height: 30%; border-radius: 999px; background: linear-gradient(180deg, var(--blue-light), var(--blue)); }
.wave i:nth-child(3n+1) { height: 55%; }
.wave i:nth-child(4n+2) { height: 85%; }
.wave i:nth-child(5n+3) { height: 40%; }
.bubble { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); border-radius: 1.1rem 1.1rem 1.1rem .35rem; padding: .8rem .95rem; color: #fff; font-size: .95rem; line-height: 1.45; }
.bubble .tr { color: #A9C2FF; font-size: .88rem; margin-top: .5rem; padding-top: .5rem; border-top: 1px dashed rgba(255, 255, 255, .15); }
.sug-label { display: flex; align-items: center; gap: .4rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .55); margin: 1.1rem 0 .5rem; }
.sug-label .icon { width: .95rem; height: .95rem; color: var(--blue-light); }
.sug { background: linear-gradient(135deg, rgba(47, 91, 234, .28), rgba(29, 78, 216, .14)); border: 1px solid rgba(122, 162, 255, .35); color: #EAF0FF; border-radius: .9rem; padding: .6rem .85rem; margin-top: .45rem; font-size: .9rem; }

/* Sections */
.section { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.section-alt { background: var(--surface-2); }
.section-head { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head .lead { margin-top: .9rem; }
.kicker { font-size: .8rem; font-weight: 750; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); margin-bottom: .7rem; }
.grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); transition: transform .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.card-lg { padding: 1.9rem 1.7rem; }
.card h3 { margin: 1rem 0 .45rem; }
.card-photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-photo .photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--line); }
.card-photo .card-body { padding: 1.4rem 1.7rem 1.9rem; }
.card p { color: var(--muted); }
.icon-wrap { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 14px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }
.icon-dark { background: rgba(122, 162, 255, .14); color: var(--blue-light); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; counter-reset: s; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.step h3 { margin: 1rem 0 .45rem; }
.step p { color: var(--muted); }
.num { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: linear-gradient(135deg, var(--blue-light), var(--blue)); color: #fff; font-weight: 800; }

.section-dark { background: linear-gradient(180deg, var(--navy-2), var(--navy)); color: #fff; }
.section-dark .lead { color: rgba(255, 255, 255, .72); }
.section-dark .kicker { color: var(--blue-light); }
.privacy-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.privacy-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.privacy-list li { display: grid; gap: .8rem; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); border-radius: var(--radius); padding: 1.4rem; }
.privacy-list h3 { margin-bottom: .35rem; }
.privacy-list p { color: rgba(255, 255, 255, .7); font-size: .97rem; }
.link-arrow { color: var(--blue-light); font-weight: 650; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

.faq { margin-top: 2.2rem; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem .2rem; font-weight: 650; font-size: 1.08rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--surface-2); color: var(--accent); font-size: 1.3rem; font-weight: 500; transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 .2rem 1.3rem; color: var(--muted); max-width: 40rem; }

#beta { padding-top: 0; }
.cta-band { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; background: radial-gradient(120% 140% at 100% 0%, #3D6BFF 0%, var(--blue) 45%, #1236A8 100%); color: #fff; border-radius: 28px; padding: clamp(2rem, 5vw, 3.5rem); box-shadow: 0 30px 60px rgba(29, 78, 216, .3); }
.cta-copy p { color: rgba(255, 255, 255, .85); margin-top: .9rem; font-size: 1.1rem; }
.cta-actions { display: grid; gap: .9rem; justify-items: start; }
.cta-actions .small-text { color: rgba(255, 255, 255, .75); }
.cta-actions a:not(.button) { color: #fff; }

/* Footer */
.foot { background: var(--navy); color: rgba(255, 255, 255, .78); padding-top: 3.5rem; font-size: .93rem; }
.foot a { color: rgba(255, 255, 255, .9); }
.foot .muted { color: rgba(255, 255, 255, .55); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.foot-brand p { margin-top: 1rem; max-width: 22rem; }
.foot h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .5); margin-bottom: .8rem; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin: .35rem 0; }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.5rem; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 1.4rem; padding-bottom: 2rem; font-size: .85rem; }
.foot-langs ul { display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
.foot .foot-langs li { margin: 0; }
.foot-langs a { text-decoration: none; }
.foot-langs a:hover { text-decoration: underline; }
.foot-langs a[aria-current] { font-weight: 700; color: #fff; }

/* Documents (legal pages, account deletion, 404) */
.doc { padding-top: clamp(2.5rem, 6vw, 4rem); padding-bottom: 4.5rem; }
.doc h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); margin: .6rem 0 .6rem; }
.doc .lead { margin-top: .4rem; }
.doc section { margin-top: 2.2rem; }
.doc h2 { font-size: 1.3rem; margin-bottom: .6rem; }
.doc p + p { margin-top: .8rem; }
.doc ul, .doc ol { padding-left: 1.3rem; }
.doc li { margin: .4rem 0; }
.doc section > p:has(.button) { margin-top: 1rem; }
.crumbs { font-size: .9rem; }
.notice { background: color-mix(in srgb, var(--accent) 9%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--line)); padding: .9rem 1.1rem; border-radius: 12px; margin-top: 1.2rem; font-size: .95rem; }
.doc > .muted:last-child { margin-top: 2rem; }
.others { margin-top: 3rem; border-top: 1px solid var(--line); padding-top: 1.6rem; }

/* Motion, only when allowed */
@media (prefers-reduced-motion: no-preference) {
  .pulse { animation: pulse 2s infinite; }
  .rec { animation: blink 1.6s infinite; }
  .wave i { animation: wave 1.2s ease-in-out infinite; transform-origin: center; }
  .wave i:nth-child(2n) { animation-delay: -.3s; }
  .wave i:nth-child(3n) { animation-delay: -.6s; }
  .wave i:nth-child(5n) { animation-delay: -.9s; }
  .sug { animation: rise .6s ease both; }
  .sug:nth-of-type(2) { animation-delay: .5s; }
  .sug:nth-of-type(3) { animation-delay: .9s; }
  .sug:nth-of-type(4) { animation-delay: 1.3s; }
}
@keyframes wave { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1.15); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .55); } 70% { box-shadow: 0 0 0 .6rem rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
@keyframes blink { 50% { opacity: .35; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Responsive */
@media (max-width: 60rem) {
  .hero-grid, .privacy-grid, .cta-band { grid-template-columns: 1fr; }
  .grid-3, .steps { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-link { display: none; }
  .nav-link.nav-login { display: inline-block; }
}
@media (max-width: 40rem) {
  body { font-size: 1rem; }
  .grid-3, .steps, .privacy-list, .foot-grid { grid-template-columns: 1fr; }
  .actions .button { flex: 1 1 100%; }
  .lang { margin: 0 .2rem; }
  .button-sm { padding: 0 .9rem; }
  .nav { gap: .2rem; }
  .nav-link.nav-login { padding: .5rem .35rem; font-size: .9rem; }
}
@media (max-width: 27rem) {
  /* Room for sign-in, language and the call to action: the logo stays, the word mark goes. */
  .top .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 22rem) {
  .nav { gap: 0; }
  .nav .lang { margin: 0 .1rem; padding-left: .45rem; padding-right: .45rem; }
  .nav .button-sm { padding: 0 .55rem; font-size: .85rem; }
  .nav-link.nav-login { padding: .5rem .25rem; font-size: .85rem; }
}
