:root {
  --bg: #07090d;
  --bg-2: #0c1017;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #eef3fa;
  --muted: #94a0b4;
  --dim: #5f6b7e;
  --blue: #3ea2ff;
  --blue-2: #2a8fd8;
  --cyan: #5ff0ff;
  --violet: #8b7bff;
  --rec: #ff5a5f;
  --green: #3ddc97;
  --radius: 22px;
  --shell: 1180px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --font: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; }
.hero__grid > *, .story__grid > *, .bento__grid > *, .privacy__grid > *, .faq__grid > *, .guides__list > *, .how__steps > * { min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; line-height: 1.08; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(62, 162, 255, 0.35); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.shell { width: min(var(--shell), 100% - 40px); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--blue); color: #001; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 16px; }
.muted { color: var(--dim); font-size: 15px; }

/* ---------- ambient background ---------- */
.aurora { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aurora::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.aurora i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; animation: drift 22s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 620px; height: 620px; left: -160px; top: -220px; background: radial-gradient(circle, #1d5fd1, transparent 65%); }
.aurora i:nth-child(2) { width: 560px; height: 560px; right: -180px; top: 80px; background: radial-gradient(circle, #6a3dff, transparent 65%); animation-delay: -8s; opacity: .4; }
.aurora i:nth-child(3) { width: 480px; height: 480px; left: 40%; top: 520px; background: radial-gradient(circle, #00b7d6, transparent 65%); animation-delay: -14s; opacity: .22; }
@keyframes drift { to { transform: translate3d(60px, 40px, 0) scale(1.12); } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px max(20px, calc((100% - var(--shell)) / 2));
  padding-left: max(20px, calc((100% - var(--shell)) / 2), env(safe-area-inset-left));
  padding-right: max(20px, calc((100% - var(--shell)) / 2), env(safe-area-inset-right));
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(7, 9, 13, 0.72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { border-radius: 10px; box-shadow: 0 0 0 1px var(--line-2), 0 6px 20px rgba(62,162,255,.25); }
.brand span { display: grid; line-height: 1.15; }
.brand strong { font-size: 16px; letter-spacing: -.01em; }
.brand small { font-size: 12px; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { padding: 8px 12px; border-radius: 999px; font-size: 14.5px; color: var(--muted); text-decoration: none; transition: color .2s, background .2s; }
.site-nav a:hover { color: var(--text); background: var(--panel-2); }
.site-nav .lang { border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 700; padding: 6px 10px; }
.site-nav .nav-cta { margin-left: 6px; color: #031024; background: linear-gradient(135deg, #fff, #cfe6ff); font-weight: 650; }
.site-nav .nav-cta:hover { color: #031024; background: #fff; }
@media (max-width: 900px) {
  .site-nav a:not(.lang):not(.nav-cta) { display: none; }
  .brand small { display: none; }
}

/* ---------- buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions--center { justify-content: center; }
.button {
  --b: var(--line-2);
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 22px; border-radius: 14px; font-weight: 650; font-size: 16px; text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s;
}
.button:hover { transform: translateY(-2px); }
.button--primary {
  color: #fff;
  background: linear-gradient(135deg, #3ea2ff 0%, #2a6fff 55%, #7a5cff 100%);
  box-shadow: 0 10px 30px -8px rgba(62, 130, 255, .7), inset 0 1px 0 rgba(255,255,255,.35);
}
.button--primary::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  background-size: 250% 100%; background-position: 120% 0;
  animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { background-position: 120% 0; } 100% { background-position: -120% 0; } }
.button--primary:hover { box-shadow: 0 16px 44px -8px rgba(62, 130, 255, .9), inset 0 1px 0 rgba(255,255,255,.35); }
.button--ghost { color: var(--text); border: 1px solid var(--line-2); background: var(--panel); backdrop-filter: blur(8px); }
.button--ghost:hover { background: var(--panel-2); }
.button--xl { padding: 19px 30px; font-size: 18px; border-radius: 16px; }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; color: var(--blue); font-weight: 650; text-decoration: none; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- type helpers ---------- */
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(34px, 5vw, 60px); font-weight: 750; }
.section-sub { margin-top: 18px; color: var(--muted); font-size: 19px; }
section { position: relative; }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 7vw, 90px) 0 60px; }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
  padding: 7px 14px 7px 10px; border-radius: 999px; font-size: 13.5px; color: #cfe2ff;
  background: linear-gradient(var(--bg), var(--bg)) padding-box, linear-gradient(90deg, rgba(62,162,255,.7), rgba(139,123,255,.7)) border-box;
  border: 1px solid transparent;
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(61,220,151,.18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(61,220,151,0); } }
.kicker { font-size: 15px; font-weight: 600; letter-spacing: .02em; color: var(--muted); margin-bottom: 14px; line-height: 1.4; }
.hero__h1 { margin: 0 0 26px; font-size: clamp(54px, 8.6vw, 112px); font-weight: 800; line-height: .95; letter-spacing: -.045em; }
.hero__h1 .line { display: block; }
.line--grad {
  background: linear-gradient(92deg, #fff 0%, #9fd0ff 30%, #3ea2ff 55%, #8b7bff 80%, #fff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradmove 8s linear infinite;
  padding-bottom: .08em;
}
@keyframes gradmove { to { background-position: -220% 0; } }
.hero__lede { max-width: 560px; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); margin-bottom: 34px; }
.hero__lede strong { color: var(--text); font-weight: 600; }
.proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 30px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.proof li { display: flex; align-items: center; gap: 8px; }
.proof li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: rgba(61,220,151,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5' fill='none' stroke='%233ddc97' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

[data-rise] { opacity: 0; transform: translateY(24px); animation: rise .9s var(--ease) forwards; }
[data-rise]:nth-child(2) { animation-delay: .08s; }
[data-rise]:nth-child(3) { animation-delay: .16s; }
[data-rise]:nth-child(4) { animation-delay: .26s; }
[data-rise]:nth-child(5) { animation-delay: .36s; }
[data-rise]:nth-child(6) { animation-delay: .46s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero__stage { position: relative; display: grid; place-items: center; min-height: 640px; perspective: 1400px; }
.halo {
  position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: conic-gradient(from 0deg, #3ea2ff, #8b7bff, #5ff0ff, #3ea2ff);
  filter: blur(80px); opacity: .35; animation: spin 18s linear infinite;
}
@keyframes spin { to { transform: rotate(1turn); } }
.phone {
  position: relative; border-radius: 46px; padding: 10px;
  background: linear-gradient(145deg, #2a313d, #0d1117 40%, #1b212b);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 0 0 1px #000, 0 50px 100px -20px rgba(0,0,0,.8), 0 30px 60px -30px rgba(62,162,255,.5);
}
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #05070a; box-shadow: 0 0 0 2px #1a1f27; z-index: 2; }
.phone img { border-radius: 37px; width: 100%; border-top: 30px solid #fcfbfc; background: #fcfbfc; }
.phone img[data-screen="voice-typing"] { border-top-color: #eff5f9; }
.phone--hero { width: min(310px, 72vw); transform: rotateY(-14deg) rotateX(6deg) rotateZ(1deg); transition: transform .6s var(--ease); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -12px; } }

.live {
  position: absolute; left: -6%; bottom: 13%; width: 300px; z-index: 3;
  padding: 16px 18px; border-radius: 20px;
  background: rgba(14, 19, 28, .72); border: 1px solid var(--line-2);
  backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.8);
  animation: float 8s ease-in-out infinite reverse;
}
.live__head { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.rec { width: 9px; height: 9px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 12px var(--rec); animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.live__time { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--text); }
.live__wave { display: flex; align-items: center; gap: 3px; height: 40px; margin: 12px 0; }
.live__wave i { flex: 1; height: 20%; border-radius: 3px; background: linear-gradient(var(--cyan), var(--blue)); transition: height .12s ease; }
.live__text { min-height: 72px; margin: 0; font-size: 15px; line-height: 1.5; color: var(--text); }
.live__text .w { opacity: 0; filter: blur(6px); animation: word .45s var(--ease) forwards; display: inline-block; white-space: pre; }
@keyframes word { to { opacity: 1; filter: none; } }
.live__text::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: var(--cyan); animation: blink 1s steps(1) infinite; }

.chip {
  position: absolute; z-index: 3; display: grid; padding: 12px 16px; border-radius: 16px;
  background: rgba(14, 19, 28, .7); border: 1px solid var(--line-2);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.8);
  animation: float 9s ease-in-out infinite;
}
.chip b { font-size: 22px; letter-spacing: -.02em; background: linear-gradient(90deg, #fff, #9fd0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chip span { font-size: 12px; color: var(--muted); }
.chip--a { right: -2%; top: 14%; animation-delay: -3s; }
.chip--b { right: 2%; bottom: 6%; animation-delay: -5s; }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__stage { min-height: 600px; margin-top: 10px; overflow-x: clip; overflow-clip-margin: 24px; }
  .live { left: 0; }
}
@media (max-width: 520px) {
  .hero__stage { min-height: 560px; }
  .live { width: 224px; left: 0; bottom: 0; padding: 12px 14px; }
  .live__wave { height: 28px; margin: 8px 0; }
  .live__text { min-height: 44px; font-size: 14px; }
  .chip--a { right: 0; top: 6%; }
  .chip--b { display: none; }
  .phone--hero { transform: none; }
}

/* ---------- stats ---------- */
.stats { padding: 30px 0 70px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; }
.stats__grid > div { padding: 30px 28px; border-left: 1px solid var(--line); }
.stats__grid > div:first-child { border-left: 0; }
.stats dt { font-size: 13.5px; color: var(--muted); }
.stats dd { margin: 6px 0 0; font-size: clamp(38px, 4.5vw, 56px); font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats dd small { font-size: .4em; font-weight: 600; color: var(--muted); margin-left: 6px; letter-spacing: 0; }
@media (max-width: 760px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stats__grid > div:nth-child(3) { border-left: 0; }
  .stats__grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- how ---------- */
.how { padding: 90px 0; }
.how__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.how__steps li { position: relative; padding: 32px 28px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.how__steps li:not(:last-child)::after { content: ""; position: absolute; top: 56px; right: -21px; width: 22px; height: 2px; background: linear-gradient(90deg, var(--blue), transparent); }
.how__n { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px; border-radius: 14px; font-weight: 800; font-size: 20px; background: linear-gradient(135deg, rgba(62,162,255,.25), rgba(139,123,255,.2)); border: 1px solid rgba(62,162,255,.4); color: #cfe6ff; }
.how h3 { font-size: 22px; margin-bottom: 10px; }
.how p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .how__steps { grid-template-columns: 1fr; } .how__steps li::after { display: none; } }

/* ---------- story ---------- */
.story { padding: 90px 0 40px; }
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.story__shot { display: none; }
.story__sticky { position: sticky; top: 100px; height: calc(100vh - 140px); display: grid; place-items: center; }
.phone--story { width: min(330px, 100%); }
.phone--story [data-screen] { position: absolute; inset: 10px; width: calc(100% - 20px); opacity: 0; transform: scale(.97); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.phone--story [data-screen]:first-child { position: relative; inset: auto; width: 100%; }
.phone--story [data-screen].is-active { opacity: 1; transform: none; }

/* model picker rendered in HTML inside the story phone */
.mscreen {
  display: flex; flex-direction: column; gap: 10px; overflow: hidden;
  padding: 46px 16px 18px; border-radius: 37px; color: #1b1f26;
  background: linear-gradient(#fcfbfc, #f2f5f9); font-size: 12px; line-height: 1.35;
}
.mscreen__title { margin: 0; font-size: 21px; font-weight: 750; letter-spacing: -.02em; }
.mscreen__sub { margin: 0 0 6px; color: #5d6675; }
.mrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 14px; border-radius: 16px; background: #fff; box-shadow: 0 1px 0 rgba(16,24,40,.05), 0 0 0 1px rgba(16,24,40,.06); }
.mrow > div { display: grid; gap: 2px; min-width: 0; flex: 1; }
.mrow b { font-size: 13.5px; }
.mrow b small { margin-left: 4px; padding: 1px 6px; border-radius: 6px; font-size: 9.5px; font-weight: 700; color: #6c4fe0; background: #efeaff; vertical-align: 1px; }
.mrow span { color: #6b7483; }
.mrow em { flex: none; font-style: normal; font-weight: 650; color: #2a8fd8; font-variant-numeric: tabular-nums; }
.mrow--on { background: #e6f2fc; box-shadow: 0 0 0 1.5px #2a8fd8; }
.mpill { padding: 4px 9px; border-radius: 999px; background: #2a8fd8; color: #fff !important; font-size: 11px; }
.mbar { display: block; height: 5px; margin-top: 7px; border-radius: 3px; background: #dfe7f0; overflow: hidden; }
.mbar i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #5ff0ff, #2a8fd8); }
.mscreen.is-active .mbar i { animation: dl 3.2s cubic-bezier(.3,.7,.4,1) .4s forwards; }
@keyframes dl { to { width: 100%; } }
.mscreen__foot { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: auto; color: #5d6675; font-weight: 600; }
.mdot { width: 7px; height: 7px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 3px rgba(61,220,151,.2); }
.story__steps { padding: 6vh 0 20vh; }
.story__step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .5s; }
.story__step.is-active { opacity: 1; }
.story__step h3 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 750; margin-bottom: 20px; }
.story__step p { color: var(--muted); font-size: 18px; }
.story__step p strong { color: var(--text); }
.ticks { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: center; }
.ticks li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 6px; background: rgba(62,162,255,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5' fill='none' stroke='%233ea2ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

.cleanup { margin-top: 16px; padding: 18px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line-2); }
.cleanup__bar { display: inline-flex; padding: 4px; margin-bottom: 14px; border-radius: 12px; background: var(--panel-2); }
.seg { padding: 7px 16px; border: 0; border-radius: 9px; font: 600 14px var(--font); color: var(--muted); background: none; cursor: pointer; transition: .25s; }
.seg.is-on { background: var(--blue-2); color: #fff; }
.cleanup__raw { margin: 0; font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: 15px; color: #c5cfdd; }
.cleanup__clean { display: none; margin: 0; padding: 0; list-style: none; }
.cleanup__clean li { display: flex; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line); animation: rise .5s var(--ease) both; }
.cleanup__clean li:nth-child(2) { animation-delay: .08s; }
.cleanup__clean li:nth-child(3) { animation-delay: .16s; }
.cleanup__clean li:last-child { border: 0; }
.cleanup__clean li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 5px; border: 2px solid var(--blue); }
.cleanup.is-clean .cleanup__raw { display: none; }
.cleanup.is-clean .cleanup__clean { display: block; }
.cleanup.is-static .cleanup__clean { display: block; margin-top: 14px; }

@media (max-width: 860px) {
  .story__grid { grid-template-columns: 1fr; gap: 0; }
  .story__sticky { display: none; }
  .story__steps { padding: 24px 0 6vh; }
  .story__step { min-height: auto; padding: 40px 0; opacity: 1; }
  .story__shot { display: block; width: min(264px, 74%); margin: 0 auto 30px; padding: 7px; border-radius: 34px; }
  .story__shot::before { display: none; }
  .story__shot img { position: static; width: 100%; border-radius: 28px; border-top-width: 24px; }
  .story__shot .mscreen__title { font-size: 17px; color: #1b1f26; }
  .story__shot .mscreen__sub { font-size: 10.5px; color: #5d6675; }
  .story__shot .mscreen { aspect-ratio: 720 / 1608; padding: 30px 12px 14px; border-radius: 28px; font-size: 10.5px; gap: 8px; }
}

/* ---------- bento ---------- */
.bento { padding: 100px 0; }
.bento__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; padding: 28px; border-radius: var(--radius);
  background: radial-gradient(400px circle at var(--mx) var(--my), rgba(62,162,255,.12), transparent 45%), var(--panel);
  border: 1px solid var(--line);
  transition: border-color .3s, transform .4s var(--ease);
}
.card:hover { border-color: rgba(62,162,255,.35); transform: translateY(-3px); }
.card--wide { grid-column: span 2; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0; }
.card__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px; border-radius: 12px; background: rgba(62,162,255,.12); border: 1px solid rgba(62,162,255,.3); }
.card__icon svg { width: 22px; height: 22px; fill: none; stroke: #8cc8ff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bubble-demo { position: relative; display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.bubble-demo__field { flex: 1; padding: 13px 16px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line-2); font-size: 15px; color: #c5cfdd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.caret { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--cyan); animation: blink 1s steps(1) infinite; }
.bubble-demo__mic { position: relative; flex: none; width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, #3ea2ff, #2a6fff); box-shadow: 0 10px 24px -6px rgba(62,130,255,.8); }
.bubble-demo__mic::before { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 15a3 3 0 0 0 3-3V6a3 3 0 0 0-6 0v6a3 3 0 0 0 3 3Zm5-3a5 5 0 0 1-10 0M12 17v4'/%3E%3C/svg%3E") center/24px no-repeat; }
.bubble-demo__mic::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(62,162,255,.6); animation: ring 1.8s ease-out infinite; }
@keyframes ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.marquee { margin: 22px -28px -6px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 10px; width: max-content; animation: scroll 38s linear infinite; }
.marquee__track span { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: #c5cfdd; white-space: nowrap; }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (max-width: 980px) { .bento__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .bento__grid { grid-template-columns: 1fr; } .card--wide { grid-column: auto; } }

/* ---------- tables ---------- */
.models, .premium { padding: 90px 0; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
th, td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
tbody tr:last-child > * { border-bottom: 0; }
thead th { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); background: rgba(255,255,255,.02); }
tbody th { font-weight: 650; }
tbody tr { transition: background .2s; }
tbody tr:hover { background: rgba(62,162,255,.05); }
td { color: #c5cfdd; }
.models__table { min-width: 760px; }
.plans { min-width: 520px; }
@media (max-width: 700px) {
  .plans { min-width: 0; font-size: 14px; }
  .plans th, .plans td { padding: 14px 10px; }
  .plans tbody th[scope="row"] { min-width: 0; }
  .plans thead th { font-size: 11px; letter-spacing: .06em; }
  .models__table { min-width: 0; }
  .models__table thead { display: none; }
  .models__table tbody, .models__table tr, .models__table th, .models__table td { display: block; }
  .models__table tbody tr { padding: 18px 20px; border-bottom: 1px solid var(--line); }
  .models__table tbody tr:last-child { border-bottom: 0; }
  .models__table tbody th, .models__table td { padding: 0; border: 0; }
  .models__table tbody th { margin-bottom: 10px; font-size: 18px; }
  .models__table td { min-width: 0 !important; margin-top: 8px; white-space: normal !important; font-size: 15px; }
  .models__table td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
}
.link-arrow { white-space: nowrap; }
.models__table td:nth-child(2) { min-width: 210px; white-space: nowrap; }
.meter { display: inline-block; width: 80px; height: 6px; margin-right: 12px; vertical-align: middle; border-radius: 3px; background: var(--panel-2); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--blue), var(--violet)); transition: width 1.4s var(--ease); }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: rgba(61,220,151,.12); color: var(--green); border: 1px solid rgba(61,220,151,.3); }
.tag--pro { background: rgba(139,123,255,.14); color: #b9afff; border-color: rgba(139,123,255,.4); }
.plans td { text-align: center; }
.plans thead th:not(:first-child) { text-align: center; }
.plans__pro { color: #b9afff !important; }
.plans td:last-child { color: var(--text); background: rgba(139,123,255,.05); }
.plans th[scope="row"] { min-width: 240px; }

/* ---------- privacy ---------- */
.privacy { padding: 100px 0; }
.privacy__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: clamp(28px, 5vw, 64px); border-radius: 32px; border: 1px solid var(--line); background: radial-gradient(600px circle at 0% 0%, rgba(61,220,151,.1), transparent 60%), radial-gradient(500px circle at 100% 100%, rgba(62,162,255,.12), transparent 60%), var(--bg-2); }
.privacy h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 750; margin-bottom: 22px; }
.privacy p { color: var(--muted); }
.flow { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.flow li { position: relative; display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; padding: 16px 18px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.flow li:not(:last-child)::after { content: ""; position: absolute; left: 41px; bottom: -13px; width: 2px; height: 14px; background: linear-gradient(var(--green), transparent); }
.flow__i { grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(61,220,151,.1); font-size: 22px; }
.flow b { font-size: 16.5px; }
.flow li > span:last-child { font-size: 14px; color: var(--muted); }
.flow__x { opacity: .6; border-style: dashed !important; }
.flow__x b { text-decoration: line-through; text-decoration-color: var(--rec); text-decoration-thickness: 2px; }
.flow__x .flow__i { background: rgba(255,90,95,.1); filter: grayscale(1); }
@media (max-width: 860px) { .privacy__grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- faq ---------- */
.faq { padding: 90px 0; }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq__list { display: grid; gap: 10px; }
details { border-radius: 16px; background: var(--panel); border: 1px solid var(--line); transition: border-color .3s, background .3s; }
details[open] { background: var(--panel-2); border-color: var(--line-2); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 650; font-size: 17px; }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2);
  background:
    linear-gradient(var(--blue), var(--blue)) center / 10px 1.5px no-repeat,
    linear-gradient(var(--blue), var(--blue)) center / 1.5px 10px no-repeat;
  transition: transform .3s var(--ease);
}
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; gap: 0; } }

/* ---------- guides ---------- */
.guides { padding: 90px 0; }
.guides__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 40px; }
.guides__head h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 750; }
.guides__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.guide { --mx: 50%; --my: 50%; display: block; padding: 28px; border-radius: var(--radius); text-decoration: none; border: 1px solid var(--line); background: radial-gradient(400px circle at var(--mx) var(--my), rgba(139,123,255,.12), transparent 45%), var(--panel); transition: border-color .3s, transform .4s var(--ease); }
.guide:hover { border-color: rgba(139,123,255,.4); transform: translateY(-3px); }
.guide small { color: var(--blue); font-weight: 700; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; }
.guide h3 { margin: 12px 0 10px; font-size: 21px; }
.guide p { margin: 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 760px) { .guides__list { grid-template-columns: 1fr; } }

/* ---------- final ---------- */
.final { padding: 60px 0 100px; }
.final__inner { position: relative; overflow: hidden; text-align: center; padding: clamp(56px, 9vw, 110px) 24px; border-radius: 36px; border: 1px solid var(--line-2); background: radial-gradient(700px circle at 50% 120%, rgba(62,130,255,.45), transparent 60%), radial-gradient(500px circle at 10% -20%, rgba(139,123,255,.3), transparent 60%), var(--bg-2); }
.final__wave { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; display: flex; align-items: flex-end; gap: 4px; padding: 0 10px; opacity: .35; pointer-events: none; }
.final__wave i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(var(--cyan), transparent); transition: height .15s; }
.final h2 { position: relative; max-width: 820px; margin: 0 auto 18px; font-size: clamp(36px, 5.6vw, 68px); font-weight: 800; }
.final p { position: relative; color: #c5cfdd; font-size: 19px; margin-bottom: 34px; }

/* ---------- generated link blocks & footer ---------- */
.guide-links, .app-links { width: min(var(--shell), 100% - 40px); margin: 0 auto 48px; padding: 32px 0 0; border-top: 1px solid var(--line); }
.guide-links h2, .app-links h2 { font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.guide-links ul, .app-links ul { columns: 2 300px; list-style: none; padding: 0; margin: 0 0 16px; line-height: 2; }
.guide-links a, .app-links a { color: var(--muted); text-decoration: none; font-size: 15px; }
.guide-links a:hover, .app-links a:hover { color: var(--text); }
.guide-links p, .app-links p { color: var(--dim); font-size: 14px; }
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 max(40px, env(safe-area-inset-bottom)); font-size: 14px; color: var(--dim); }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer p { margin: 0; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  [data-rise] { opacity: 1; transform: none; }
}
.mnav { display: flex; justify-content: space-around; margin: 4px -16px -18px; padding: 10px 8px 16px; background: #fff; border-top: 1px solid rgba(16,24,40,.06); font-size: 11px; color: #5d6675; }
.mnav span { padding: 6px 18px; border-radius: 999px; }
.mnav .is-on { background: #e1effb; color: #2a8fd8; font-weight: 650; }

/* QR download */
.qr { display: flex; align-items: center; gap: 18px; max-width: 460px; margin-top: 28px; padding: 12px 18px 12px 12px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.qr__link { flex: none; display: block; }
.qr img { flex: none; width: 168px; height: 168px; padding: 12px; background: #fff; border-radius: 10px; }
.qr p { margin: 0; font-size: 14px; color: var(--muted); }
.qr b { color: var(--text); }
.qr--center { position: relative; margin: 30px auto 0; text-align: left; background: rgba(7,9,13,.5); }
@media (max-width: 760px) { .qr { display: none; } }
@media (pointer: coarse) {
  .site-nav .lang, .site-nav .nav-cta, .seg { min-height: 44px; display: inline-flex; align-items: center; }
  .site-nav .lang { min-width: 44px; justify-content: center; }
  .link-arrow { min-height: 44px; }
}
