/* Dugri landing page v4 (round 6: mesh hero, glass VSL, app marquee, speed test).
   Dugri landing page v3. Deep purple, lilac and white. Full-bleed sections, big type, very few boxes.
   Hebrew RTL first; every rule uses logical properties so the English page mirrors cleanly. */

@font-face {
  font-family: "Heebo";
  src: url("/assets/fonts/heebo-subset.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --purple: #46128B;
  --purple-deep: #2E0A5E;
  --lilac: #B588F9;
  --violet: #9665E8;
  --violet-text: #7A47D6;
  --tint: #F3EDFF;
  --tint-2: #EADFFF;
  --white: #FFFFFF;
  --ink: #1C1230;
  --ink-80: rgba(28, 18, 48, 0.80);
  --ink-64: rgba(28, 18, 48, 0.66);
  --ink-12: rgba(28, 18, 48, 0.12);
  --ink-06: rgba(28, 18, 48, 0.06);
  --line: rgba(70, 18, 139, 0.14);
  --on-dark: #FFFFFF;
  --on-dark-80: rgba(255, 255, 255, 0.82);
  --on-dark-60: rgba(255, 255, 255, 0.66);
  --on-dark-line: rgba(255, 255, 255, 0.16);

  --font: "Heebo", system-ui, "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .5, 1);
  --ease-inout: cubic-bezier(.65, 0, .35, 1);

  --gutter: 16px;
  --maxw: 1200px;
  --sec: 88px;
  --shadow-shot: 0 1px 2px rgba(46, 10, 94, .06), 0 24px 60px -18px rgba(46, 10, 94, .28), 0 60px 120px -40px rgba(46, 10, 94, .30);
  --focus: 0 0 0 3px #fff, 0 0 0 5px var(--purple);
}
@media (min-width: 768px) { :root { --gutter: 32px; --sec: 120px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; --sec: 152px; } }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--white); color: var(--ink); font: 400 17px/1.65 var(--font); -webkit-text-size-adjust: 100%; scroll-padding-block-start: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--white); overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video, svg { display: block; max-inline-size: 100%; }
a { color: var(--purple); text-underline-offset: 3px; }
a:hover { color: var(--violet-text); }
button { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
::selection { background: var(--tint-2); color: var(--purple-deep); }

.n { direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
.sr-only { position: absolute !important; inline-size: 1px; block-size: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { inline-size: 100%; max-inline-size: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-inline-size: 760px; }

.skip { position: absolute; inset-inline-start: 16px; inset-block-start: -80px; z-index: 100; padding: 12px 20px; border-radius: 10px; background: var(--purple); color: #fff; font-weight: 600; text-decoration: none; }
.skip:focus { inset-block-start: 12px; color: #fff; }

/* ---------- type ---------- */
.display {
  margin: 0; font-weight: 800; letter-spacing: -0.035em; line-height: 1.02;
  font-size: clamp(42px, 8.4vw, 112px); color: var(--purple);
  text-wrap: balance;
}
:lang(en) .display { letter-spacing: -0.04em; }
.h2 {
  margin: 0; font-weight: 800; letter-spacing: -0.03em; line-height: 1.06;
  font-size: clamp(34px, 5.6vw, 72px); color: var(--purple); text-wrap: balance;
}
.h3 { margin: 0 0 10px; font-weight: 700; font-size: clamp(20px, 2.1vw, 24px); line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); }
.lead { margin: 20px 0 0; font-size: clamp(18px, 1.9vw, 22px); line-height: 1.6; color: var(--ink-80); max-inline-size: 36em; text-wrap: pretty; }
.on-dark .h2, .on-dark .h3 { color: var(--on-dark); }
.on-dark .lead { color: var(--on-dark-80); }
.accent { color: var(--violet-text); }
.on-dark .accent { color: var(--lilac); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-block-size: 52px; padding-inline: 28px; border: 0; border-radius: 999px;
  font: 700 17px/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn svg { inline-size: 20px; block-size: 20px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn:focus-visible { border-radius: 999px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--purple); color: #fff; box-shadow: 0 10px 30px -10px rgba(70, 18, 139, .55); }
.btn-primary:hover { background: var(--purple-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--purple); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--tint); color: var(--purple); }
.btn-white { background: #fff; color: var(--purple); }
.btn-white:hover { background: var(--tint); color: var(--purple-deep); }
.btn-outline-white { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-sm { min-block-size: 44px; padding-inline: 20px; font-size: 15.5px; }
.btn-lg { min-block-size: 60px; padding-inline: 34px; font-size: 18px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-block-size: 44px; font-weight: 700; color: var(--purple); text-decoration: none; }
.link-arrow svg { inline-size: 20px; block-size: 20px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
[dir="rtl"] .link-arrow svg { transform: scaleX(-1); }
.link-arrow:hover svg { transform: translateX(4px); }
[dir="rtl"] .link-arrow:hover svg { transform: scaleX(-1) translateX(4px); }

/* ---------- header ---------- */
.header {
  position: sticky; inset-block-start: 0; z-index: 40;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  transition: box-shadow .25s var(--ease);
}
.header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.header-bar { display: flex; align-items: center; gap: 20px; min-block-size: 72px; }
.brand { display: inline-flex; align-items: center; min-block-size: 44px; flex: none; }
.brand img { block-size: 30px; inline-size: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav a { display: inline-flex; align-items: center; min-block-size: 44px; padding-inline: 14px; border-radius: 999px; color: var(--ink-80); font-weight: 500; font-size: 16px; text-decoration: none; }
.nav a:hover { color: var(--purple); background: var(--tint); }
.nav .lang { color: var(--purple); font-weight: 600; }
.header .btn { flex: none; }
.dl-short { display: none; }
@media (max-width: 899.98px) { .nav .nav-section { display: none; } }
@media (max-width: 479.98px) {
  .header-bar { gap: 8px; }
  .dl-long { display: none; }
  .dl-short { display: inline; }
  .brand img { block-size: 26px; }
  .nav a { padding-inline: 10px; }
}

/* ---------- sections ---------- */
.section { padding-block: var(--sec); position: relative; }
.section.tint { background: var(--tint); }
.section.dark { background: var(--purple); color: var(--on-dark); }
.section-head { max-inline-size: 900px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }

/* ---------- hero ---------- */
/* Background: a slow mesh of lilac and violet light (adapted from 21st.dev "Mesh Gradient", rebuilt in
   plain CSS: soft radial blobs that drift with transforms only, so it costs almost nothing to paint). */
.hero { position: relative; isolation: isolate; padding-block: clamp(36px, 6vw, 88px) 0; overflow: hidden; }
.mesh { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: linear-gradient(180deg, #fff 0%, #FCFAFF 55%, var(--tint) 100%); }
.mesh i { position: absolute; display: block; aspect-ratio: 1; border-radius: 50%; will-change: transform; animation: mesh-drift 26s var(--ease-inout) infinite alternate; }
.mesh i:nth-child(1) { inline-size: max(560px, 62vw); inset-block-start: -38%; inset-inline-start: -14%; background: radial-gradient(closest-side, rgba(181, 136, 249, .55), rgba(181, 136, 249, 0)); }
.mesh i:nth-child(2) { inline-size: max(480px, 50vw); inset-block-start: 8%; inset-inline-end: -18%; background: radial-gradient(closest-side, rgba(150, 101, 232, .32), rgba(150, 101, 232, 0)); animation-duration: 32s; animation-delay: -9s; }
.mesh i:nth-child(3) { inline-size: max(420px, 40vw); inset-block-end: -30%; inset-inline-start: 30%; background: radial-gradient(closest-side, rgba(70, 18, 139, .16), rgba(70, 18, 139, 0)); animation-duration: 38s; animation-delay: -18s; }
.mesh i:nth-child(4) { inline-size: max(360px, 34vw); inset-block-start: -10%; inset-inline-end: 22%; background: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0)); animation-duration: 30s; animation-delay: -4s; }
.hero.is-off .mesh i, .hero.is-off .marquee-track { animation-play-state: paused; }
@keyframes mesh-drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(5%, 7%, 0) scale(1.08); }
  100% { transform: translate3d(-4%, 3%, 0) scale(.96); }
}

.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 40px); align-items: center; }
.hero-copy { text-align: center; }
.hero .display { font-size: clamp(34px, 12.2vw, 76px); line-height: 1.04; }
.hero .display .line { display: block; white-space: nowrap; }
.caret { display: inline-block; inline-size: .07em; block-size: .82em; margin-inline-start: .06em; vertical-align: -0.06em; background: var(--lilac); border-radius: 3px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-sub { margin: 24px auto 0; max-inline-size: 30em; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.6; color: var(--ink-80); text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-block-start: 32px; }
.microline { margin: 18px 0 0; font-size: 15.5px; color: var(--ink-64); }
.hero .microline a { font-weight: 600; white-space: nowrap; }
.btn-glass {
  background: rgba(255, 255, 255, .6); color: var(--purple);
  -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 0 0 1px rgba(70, 18, 139, .12), 0 8px 24px -14px rgba(46, 10, 94, .35);
}
.btn-glass:hover { background: #fff; color: var(--purple-deep); }
@media (min-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(48px, 5vw, 72px); }
  .hero-copy { text-align: start; }
  .hero .display { font-size: clamp(52px, 5.4vw, 84px); }
  :lang(en) .hero .display { font-size: clamp(50px, 5.1vw, 80px); }
  .hero-sub { margin-inline: 0; font-size: 20px; }
  .hero-ctas { justify-content: flex-start; }
}

/* VSL in a frosted glass bezel (adapted from 21st.dev "Glass Video Hero" device frame) */
.vsl-stage { position: relative; inline-size: 100%; max-inline-size: 920px; margin-inline: auto; }
.vsl-frame {
  position: relative; padding: clamp(6px, .8vw, 10px); border-radius: clamp(18px, 2.2vw, 30px);
  background: linear-gradient(160deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .42));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .85), 0 0 0 1px rgba(70, 18, 139, .10), var(--shadow-shot);
}
.vsl-screen { position: relative; aspect-ratio: 16 / 9; border-radius: clamp(12px, 1.6vw, 22px); overflow: hidden; background: var(--tint); }
.vsl-screen video { inline-size: 100%; block-size: 100%; object-fit: cover; background: var(--tint); }
.vsl-screen video:fullscreen { object-fit: contain; background: #fff; }
.vsl-screen video:-webkit-full-screen { object-fit: contain; background: #fff; }
html[lang="en"] .vsl-screen video::-webkit-media-controls-mute-button,
html[lang="en"] .vsl-screen video::-webkit-media-controls-volume-slider,
html[lang="en"] .vsl-screen video::-webkit-media-controls-volume-control-container { display: none; }
@media (max-width: 640px) {
  .vsl-stage { inline-size: min(100%, calc(74svh * 9 / 16 + 12px)); }
  .vsl-screen { aspect-ratio: 9 / 16; }
}
.vsl-play {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  border: 0; background: linear-gradient(180deg, rgba(46, 10, 94, 0) 40%, rgba(46, 10, 94, .28) 100%); cursor: pointer;
}
.vsl-play-btn {
  display: grid; place-items: center; inline-size: clamp(64px, 7vw, 92px); aspect-ratio: 1; border-radius: 50%;
  background: var(--purple); color: #fff; box-shadow: 0 0 0 10px rgba(255, 255, 255, .5), 0 24px 50px -10px rgba(46, 10, 94, .6);
  transition: transform .35s var(--ease-spring);
}
.vsl-play-btn svg { inline-size: 36%; block-size: 36%; fill: currentColor; margin-inline-start: 6%; }
[dir="rtl"] .vsl-play-btn svg { margin-inline-start: 0; margin-inline-end: 6%; }
.vsl-play:hover .vsl-play-btn { transform: scale(1.06); }
.vsl-play:focus-visible { box-shadow: inset 0 0 0 4px var(--lilac); border-radius: 0; }
/* The chip sits in the bottom strip, which the posters keep empty, so it never covers poster text. */
.vsl-play-label { position: absolute; inset-block-end: clamp(10px, 3.5%, 22px); inset-inline: 0; margin-inline: auto; inline-size: max-content; max-inline-size: calc(100% - 24px); padding: 7px 16px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--purple); font-size: 15px; font-weight: 700; white-space: nowrap; }
@media (max-width: 640px) { .vsl-play-label { font-size: 13.5px; padding: 6px 12px; } }
.is-playing .vsl-play { display: none; }
.vsl-msg { position: absolute; inset-inline: 16px; inset-block-end: 16px; margin: 0; padding: 12px 16px; border-radius: 12px; background: rgba(255,255,255,.96); color: var(--ink); font-size: 15px; text-align: center; }

/* App-logo marquee (adapted from 21st.dev diceui "Marquee": two identical tracks, faded edges,
   pause on hover, RTL-aware direction, static when motion is reduced). Real brand logos in their own colours, no boxes. */
.apps-strip { margin-block-start: clamp(48px, 6vw, 88px); padding-block-end: clamp(40px, 5vw, 72px); text-align: center; }
.apps-label { margin: 0 0 16px; padding-inline: var(--gutter); font-size: 15.5px; font-weight: 600; color: var(--ink-64); }
.marquee { --gap: clamp(32px, 4vw, 64px); display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { flex: none; display: flex; align-items: center; justify-content: space-around; gap: var(--gap); min-inline-size: 100%; margin: 0; padding: 0; padding-inline-end: var(--gap); list-style: none; animation: marquee-ltr 46s linear infinite; }
[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-ltr { to { transform: translateX(-100%); } }
@keyframes marquee-rtl { to { transform: translateX(100%); } }
.marquee li { display: flex; align-items: center; flex: none; }
.marquee li img { display: block; block-size: clamp(26px, 2.6vw, 34px); inline-size: auto; max-inline-size: none; opacity: .94; transition: opacity .2s, transform .2s; }
.marquee li:hover img { opacity: 1; transform: translateY(-2px); }

/* ---------- recording pill (the site's rendering of the app pill) ---------- */
.pill {
  --w-idle: 60px; --w-rec: 150px; --w-tr: 126px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  inline-size: var(--w-idle); block-size: 12px; padding-inline: 10px; overflow: hidden;
  border-radius: 999px; background: rgba(181, 136, 249, .55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 0 0 1px rgba(150, 101, 232, .3), 0 4px 12px rgba(28, 18, 48, .12);
  color: #fff; font-size: 14.5px; font-weight: 600; white-space: nowrap;
  transition: inline-size .45s var(--ease-spring), block-size .45s var(--ease-spring), background .3s var(--ease);
}
:lang(en) .pill { --w-rec: 168px; --w-tr: 162px; }
.pill > * { opacity: 0; transition: opacity .2s var(--ease); }
.pill .wave, .pill .spinner, .pill .pill-label { display: none; }
.pill.is-rec, .pill.is-tr { block-size: 40px; background: rgba(28, 18, 48, .9); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 0 0 1px rgba(255,255,255,.08), 0 12px 28px rgba(28, 18, 48, .3); }
.pill.is-rec { inline-size: var(--w-rec); }
.pill.is-tr { inline-size: var(--w-tr); }
.pill.is-rec > *, .pill.is-tr > * { opacity: 1; transition-delay: .15s; }
.pill.is-rec .wave { display: flex; }
.pill.is-tr .spinner { display: block; }
.pill.is-rec .l-rec, .pill.is-tr .l-tr { display: inline; }
.wave { align-items: center; gap: 3px; block-size: 20px; }
.wave i { inline-size: 3px; block-size: 18px; border-radius: 2px; background: var(--lilac); transform: scaleY(.25); animation: wave .9s var(--ease-inout) infinite alternate; }
.wave i:nth-child(2) { animation-delay: -.55s; animation-duration: .7s; }
.wave i:nth-child(3) { animation-delay: -.2s; animation-duration: 1.05s; }
.wave i:nth-child(4) { animation-delay: -.8s; animation-duration: .8s; }
.wave i:nth-child(5) { animation-delay: -.35s; animation-duration: .95s; }
.wave i:nth-child(6) { animation-delay: -.65s; animation-duration: .75s; }
@keyframes wave { from { transform: scaleY(.2); } to { transform: scaleY(1); } }
.spinner { inline-size: 16px; block-size: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.24); border-block-start-color: var(--lilac); animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- live demo (dark band) ---------- */
.demo-sec { overflow: hidden; }
.demo-sec::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 85% 10%, rgba(181, 136, 249, .28), transparent 70%), radial-gradient(50% 60% at 0% 100%, rgba(150, 101, 232, .3), transparent 70%);
}
.demo-grid { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .demo-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; } }
.demo-copy .lead { max-inline-size: 26em; }
.tabs { display: inline-flex; gap: 4px; margin-block-start: 32px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.1); }
.tabs button { min-block-size: 44px; padding-inline: 20px; border: 0; border-radius: 999px; background: transparent; color: var(--on-dark-80); font-size: 16px; font-weight: 600; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease); }
.tabs button[aria-selected="true"] { background: #fff; color: var(--purple); }
.tabs button:focus-visible { border-radius: 999px; box-shadow: 0 0 0 3px var(--purple), 0 0 0 5px #fff; }
.demo-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 20px; }
.ctrl { display: inline-flex; align-items: center; gap: 8px; min-block-size: 44px; padding-inline: 14px; border: 0; border-radius: 999px; background: transparent; color: var(--on-dark-80); font-size: 15.5px; font-weight: 500; cursor: pointer; }
.ctrl:hover { color: #fff; background: rgba(255,255,255,.08); }
.ctrl svg { inline-size: 18px; block-size: 18px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ctrl:focus-visible { border-radius: 999px; box-shadow: 0 0 0 3px var(--purple), 0 0 0 5px #fff; }
.light .ctrl { color: var(--ink-64); }
.light .ctrl:hover { color: var(--purple); background: var(--tint); }
.light .ctrl:focus-visible { box-shadow: var(--focus); }

.demo-stage { position: relative; }
.window {
  border-radius: 16px; overflow: hidden; background: #fff; color: var(--ink);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 90px -30px rgba(12, 2, 30, .7);
}
.window-bar { display: flex; align-items: center; gap: 12px; block-size: 40px; padding-inline: 14px; background: #FBF9FF; border-block-end: 1px solid var(--ink-06); direction: ltr; }
.window-bar .w-title { font-size: 13.5px; font-weight: 600; color: var(--ink-64); }
.window-bar .w-ctrls { flex: none; inline-size: 70px; block-size: 11px; margin-inline-start: auto; fill: none; stroke: rgba(28, 18, 48, .45); stroke-width: 1.3; stroke-linecap: round; }
.window-bar .w-mark { inline-size: 16px; block-size: 16px; flex: none; }
.demo-body { display: flex; flex-direction: column; gap: 18px; padding: clamp(20px, 3vw, 36px); min-block-size: 300px; }
.demo-hint { margin: 0; font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; color: var(--ink); text-align: center; letter-spacing: -0.01em; }
.composer { display: flex; align-items: flex-end; gap: 12px; margin-block-start: auto; padding: 18px 18px 14px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--ink-12), 0 8px 24px rgba(28, 18, 48, .06); min-block-size: 140px; }
.composer-text { flex: 1; margin: 0; font-size: clamp(16.5px, 1.9vw, 19px); line-height: 1.7; color: var(--ink); min-block-size: 3.4em; text-align: start; }
.composer-text .w { display: none; }
.composer-text .w.on { display: inline; animation: word-in .22s var(--ease); }
@keyframes word-in { from { opacity: 0; } to { opacity: 1; } }
.composer.is-term { background: #170D29; box-shadow: 0 0 0 1px rgba(28,18,48,.5); }
.composer.is-term .composer-text { color: #F1EAFF; font-size: clamp(15.5px, 1.7vw, 17.5px); }
.prompt-sign { display: none; color: var(--lilac); font-weight: 700; margin-inline-end: 8px; }
.composer.is-term .prompt-sign { display: inline; }
.composer .cur { display: inline-block; inline-size: 3px; block-size: 1.15em; margin-inline-start: 2px; vertical-align: -0.2em; background: var(--violet); border-radius: 2px; animation: blink 1.1s steps(1) infinite; }
.send { flex: none; display: grid; place-items: center; inline-size: 40px; block-size: 40px; border-radius: 50%; background: var(--ink-12); color: #fff; transition: background .25s var(--ease); }
.send.ready { background: var(--purple); }
.send svg { inline-size: 18px; block-size: 18px; stroke: currentColor; stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .send svg { transform: scaleX(-1); }
.composer.is-term .send { display: none; }
.demo-foot { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-block-start: 28px; min-block-size: 84px; }
.demo-status { min-block-size: 1.6em; font-size: 16px; color: var(--on-dark-80); text-align: center; }

/* ---------- speed test: type it vs say it ---------- */
.test-sec { background: var(--tint); padding-block-start: clamp(24px, 4vw, 56px); }
.st {
  position: relative; max-inline-size: 880px; margin: clamp(36px, 5vw, 56px) auto 0;
  padding: clamp(22px, 4vw, 48px); border-radius: clamp(20px, 2.4vw, 32px); background: #fff;
  box-shadow: 0 0 0 1px rgba(70, 18, 139, .08), 0 40px 90px -40px rgba(46, 10, 94, .38);
}
.st-steps { display: flex; justify-content: center; gap: clamp(8px, 2vw, 28px); margin: 0 0 clamp(20px, 3vw, 32px); padding: 0; list-style: none; }
.st-steps li { display: inline-flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 600; color: var(--ink-64); transition: color .3s var(--ease); }
.st-steps li .n { display: inline-grid; place-items: center; inline-size: 26px; block-size: 26px; border-radius: 50%; background: var(--tint); color: var(--purple); font-size: 14px; font-weight: 700; transition: background .3s var(--ease), color .3s var(--ease); }
.st-steps li.is-on { color: var(--purple); }
.st-steps li.is-on .n { background: var(--purple); color: #fff; }
.st-steps li.is-done .n { background: var(--lilac); color: var(--purple-deep); }

.st-prompt-wrap { text-align: center; }
.st-prompt { margin: 0 auto; max-inline-size: 30em; font-size: clamp(21px, 2.6vw, 29px); font-weight: 700; line-height: 1.55; letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
.st-prompt .w { transition: color .15s var(--ease); border-radius: 4px; }
.st-prompt .w.ok { color: var(--violet-text); }
.st-prompt .w.cur { background: var(--tint); box-shadow: 0 0 0 3px var(--tint); }
.st-prompt .w.bad { color: var(--ink); text-decoration: underline wavy rgba(180, 35, 24, .75); text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
[data-step="2"] .st-prompt .w, [data-step="3"] .st-prompt .w { color: var(--ink); background: none; box-shadow: none; text-decoration: none; }
[data-step="3"] .st-prompt-wrap { display: none; }
.st-link { display: inline-flex; align-items: center; min-block-size: 44px; padding-inline: 12px; border: 0; border-radius: 999px; background: transparent; color: var(--violet-text); font-size: 15.5px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(122, 71, 214, .35); cursor: pointer; }
.st-link:hover { color: var(--purple); background: var(--tint); }
.st-link:disabled { color: var(--ink-64); opacity: .5; cursor: default; background: transparent; }
.st-link:focus-visible { border-radius: 999px; }
.st-prompt-wrap .st-link { margin-block-start: 6px; }
[data-step="2"] [data-st-swap] { visibility: hidden; }

.st-panel { margin-block-start: clamp(18px, 2.4vw, 28px); }
.js .st-panel:not([hidden]) { animation: st-in .45s var(--ease) both; }
@keyframes st-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.st-input {
  display: block; inline-size: 100%; min-block-size: 124px; margin: 0; padding: 16px 18px; resize: none;
  border: 0; border-radius: 18px; background: #FBF9FF; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line); font: 400 18px/1.6 var(--font);
  transition: box-shadow .2s var(--ease), background .2s var(--ease);
}
.st-input::placeholder { color: var(--ink-64); }
.st-input:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--purple), 0 0 0 5px rgba(181, 136, 249, .25); }
.st-input:disabled { opacity: .75; }
.st-bar { block-size: 4px; margin-block-start: 12px; border-radius: 999px; background: var(--ink-06); overflow: hidden; }
.st-bar > i { display: block; block-size: 100%; inline-size: 100%; border-radius: inherit; background: var(--purple); transform: scaleX(0); transform-origin: right; transition: transform .2s var(--ease); }
[dir="ltr"] .st-bar > i { transform-origin: left; }
.st-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-block-start: 14px; }
.st-clock { margin: 0; font-size: clamp(40px, 5.4vw, 60px); font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.st-clock.talk { color: var(--purple); }
.st-unit { font-size: .4em; font-weight: 600; letter-spacing: 0; color: var(--ink-64); }
.st-note { min-block-size: 1.6em; margin: 12px 0 0; font-size: 16px; color: var(--ink-80); }

.st-instr { margin: 0; text-align: center; font-size: clamp(17px, 1.8vw, 19px); color: var(--ink-80); }
.st-mic-row { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-block-start: 20px; }
.st-mic { min-inline-size: 240px; }
.st-meter { display: flex; align-items: center; justify-content: center; gap: 4px; block-size: 56px; inline-size: min(100%, 320px); }
.st-meter i { flex: 1 1 0; max-inline-size: 6px; block-size: 100%; border-radius: 3px; background: var(--tint-2); transform: scaleY(.08); transition: transform .08s linear, background .3s var(--ease); }
.is-speaking .st-meter i, .is-listening .st-meter i { background: var(--lilac); }
.is-speaking .st-meter i { background: var(--violet); }
.is-manual .st-meter { display: none; }
[data-st-panel="talk"] .st-row { justify-content: center; flex-direction: column; gap: 6px; }
[data-st-panel="talk"] .st-note { text-align: center; }

.st [hidden] { display: none !important; }
.st-result { text-align: center; outline: none; }
.st-result:focus, .st-result:focus-visible { box-shadow: none; }
.st-mult { margin: 0; font-size: clamp(40px, 7vw, 80px); font-weight: 800; line-height: 1.05; letter-spacing: -0.035em; color: var(--purple); text-wrap: balance; }
.st-mult-sub { margin: 12px auto 0; max-inline-size: 30em; font-size: 17px; color: var(--ink-80); }
.st-lanes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 4vw, 48px); margin-block-start: clamp(24px, 4vw, 40px); text-align: start; }
.st-lane-k { margin: 0; font-size: 16px; font-weight: 700; color: var(--ink-64); }
.st-lane-v { margin: 4px 0 0; font-size: clamp(34px, 4.6vw, 52px); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; color: var(--ink-64); }
.st-lane-w { margin: 4px 0 0; font-size: 15.5px; color: var(--ink-64); }
.st-lane.is-talk .st-lane-k, .st-lane.is-talk .st-lane-v { color: var(--purple); }
.st-lane.is-talk .st-lane-w { color: var(--violet-text); font-weight: 600; }
.st-lane-bar { --f: 1; block-size: 8px; margin-block-start: 14px; border-radius: 999px; background: var(--ink-06); overflow: hidden; }
.st-lane-bar > i { display: block; block-size: 100%; inline-size: 100%; border-radius: inherit; background: var(--ink-64); transform: scaleX(0); transform-origin: right; transition: transform 1s var(--ease) .15s; }
[dir="ltr"] .st-lane-bar > i { transform-origin: left; }
.st-lane.is-talk .st-lane-bar > i { background: var(--purple); }
.is-result .st-lane-bar > i { transform: scaleX(var(--f)); }
.st-extrap { margin: clamp(22px, 3vw, 32px) auto 0; max-inline-size: 34em; font-size: clamp(17px, 1.8vw, 19px); line-height: 1.6; color: var(--ink-80); }
.st-ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; margin-block-start: 24px; }

.st-privacy { display: flex; align-items: center; justify-content: center; gap: 8px; margin: clamp(22px, 3vw, 32px) 0 0; padding-block-start: 18px; border-block-start: 1px solid var(--ink-06); font-size: 14.5px; color: var(--ink-64); text-align: center; }
.st-privacy svg { flex: none; inline-size: 18px; block-size: 18px; fill: none; stroke: var(--violet-text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.st-foot { margin: 28px auto 0; max-inline-size: 40em; text-align: center; font-size: 15.5px; line-height: 1.6; color: var(--ink-64); }
@media (max-width: 560px) {
  .st-steps li { font-size: 14.5px; gap: 6px; }
  .st-lanes { gap: 16px; }
  .st-mic { inline-size: 100%; min-inline-size: 0; }
  .st-ctas .btn { inline-size: 100%; }
  .st-privacy { align-items: flex-start; text-align: start; }
}

/* ---------- app showcase (tint band, real screenshots) ---------- */
.shot { margin: 0; }
.shot-frame { border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(70, 18, 139, .08), var(--shadow-shot); }
.shot-frame .window-bar { block-size: 34px; }
.shot-frame img { inline-size: 100%; block-size: auto; }
.shot figcaption { margin-block-start: 14px; font-size: 15px; color: var(--ink-64); text-align: center; }
.showcase { position: relative; margin-block-start: clamp(48px, 6vw, 80px); }
.showcase .shot-main { position: relative; z-index: 2; max-inline-size: 900px; margin-inline: auto; }
.showcase .shot-side, .showcase .shot-back { display: none; }
@media (min-width: 1100px) {
  .showcase { padding-block-end: 40px; }
  .showcase .shot-main { margin-inline: 0 auto; max-inline-size: 820px; }
  .showcase .shot-side { display: block; position: absolute; z-index: 3; inline-size: 360px; inset-inline-end: 0; inset-block-end: 0; }
  .showcase .shot-back { display: block; position: absolute; z-index: 1; inline-size: 640px; inset-inline-end: 0; inset-block-start: -48px; opacity: .95; }
}
.shots-row { display: grid; gap: 32px; margin-block-start: 32px; }
@media (min-width: 640px) and (max-width: 1099.98px) { .shots-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .shots-row { display: none; } }

.benefits { display: grid; gap: 40px; margin-block-start: clamp(64px, 8vw, 112px); padding: 0; list-style: none; }
@media (min-width: 860px) { .benefits { grid-template-columns: repeat(3, 1fr); gap: 56px; } }
.benefit { padding-block-start: 24px; border-block-start: 2px solid var(--purple); }
.benefit p { margin: 0; font-size: 17px; line-height: 1.7; color: var(--ink-80); }

/* ---------- how it works ---------- */
.steps { display: grid; gap: 0; margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; list-style: none; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding-block: 32px; border-block-start: 1px solid var(--line); }
@media (min-width: 900px) {
  .step { padding-block: 40px 0; padding-inline-end: 40px; }
  .step + .step { padding-inline-start: 40px; border-inline-start: 1px solid var(--line); }
}
.step-num { display: block; font-size: clamp(64px, 7vw, 96px); font-weight: 800; line-height: .9; letter-spacing: -0.04em; color: var(--tint-2); margin-block-end: 20px; }
.step-visual { display: flex; align-items: center; block-size: 56px; margin-block-end: 20px; }
.step p { margin: 0; font-size: 17px; line-height: 1.7; color: var(--ink-80); max-inline-size: 30em; }
.mini-line { display: inline-flex; align-items: center; gap: 2px; padding: 10px 16px; border-radius: 12px; background: var(--tint); font-size: 16px; font-weight: 500; color: var(--ink); }
.mini-line .cur { display: inline-block; inline-size: 2px; block-size: 1.1em; background: var(--violet); border-radius: 2px; animation: blink 1.1s steps(1) infinite; }

/* any-app clip */
.clip { margin-block-start: clamp(64px, 8vw, 112px); }
.clip-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1000px) { .clip-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; } }
.clip-media { border-radius: 14px; overflow: hidden; background: var(--tint); box-shadow: 0 0 0 1px rgba(70, 18, 139, .08), var(--shadow-shot); aspect-ratio: 16 / 9; }
.clip-media video { inline-size: 100%; block-size: 100%; object-fit: cover; }
.apps { margin: 20px 0 0; font-size: 17px; line-height: 1.9; color: var(--ink-80); }

/* ---------- compare ---------- */
.vs { margin-block-start: clamp(40px, 5vw, 64px); }
.vs table { inline-size: 100%; border-collapse: collapse; }
.vs th, .vs td { padding: 24px 20px; text-align: start; vertical-align: top; border-block-end: 1px solid var(--line); font-size: 17px; line-height: 1.6; }
.vs thead th, .vs thead td { padding-block: 16px; font-size: 18px; font-weight: 700; color: var(--ink-64); border-block-end: 2px solid var(--ink-12); }
.vs thead .us { color: var(--purple); border-block-end-color: var(--purple); }
.vs tbody th { inline-size: 22%; font-weight: 700; color: var(--ink); }
.vs td { color: var(--ink-80); inline-size: 39%; }
.vs .us { background: var(--tint); color: var(--ink); }
.vs td.us { font-weight: 500; }
.vs .big { display: block; margin-block-end: 2px; font-size: clamp(32px, 3.4vw, 44px); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink-64); }
.vs .us .big { color: var(--purple); }
.vs-verdict { margin: 40px 0 0; font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; line-height: 1.45; color: var(--purple); max-inline-size: 30em; }
.vs-foot { margin: 14px 0 0; font-size: 14.5px; color: var(--ink-64); }
@media (max-width: 640px) {
  .vs thead { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .vs table, .vs tbody, .vs tr, .vs th, .vs td { display: block; inline-size: auto; }
  .vs tr { padding-block: 20px; border-block-end: 1px solid var(--line); }
  .vs tbody th { padding: 0 0 10px; border: 0; font-size: 18px; }
  .vs td { padding: 12px 14px; border: 0; }
  .vs td::before { content: attr(data-label); display: block; margin-block-end: 4px; font-size: 14.5px; font-weight: 700; color: var(--ink-64); }
  .vs .big { display: inline-block; margin-inline-end: 8px; }
  .vs td.us { border-radius: 10px; }
  .vs td.us::before { color: var(--purple); }
  .vs .big { font-size: 28px; }
}

/* ---------- pricing (tint band, the one real card) ---------- */
.price-grid { display: grid; gap: 48px; align-items: center; margin-block-start: clamp(40px, 5vw, 64px); }
@media (min-width: 980px) { .price-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; } }
.includes { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.includes li { display: flex; align-items: flex-start; gap: 12px; font-size: 18px; font-weight: 500; }
.includes svg { flex: none; inline-size: 26px; block-size: 26px; padding: 4px; border-radius: 50%; background: var(--purple); stroke: #fff; stroke-width: 2.6; fill: none; stroke-linecap: round; stroke-linejoin: round; margin-block-start: 1px; }
.trial { margin: 28px 0 0; font-size: 16.5px; line-height: 1.7; color: var(--ink-80); max-inline-size: 32em; }
.price-card { position: relative; padding: clamp(28px, 4vw, 48px); border-radius: 28px; background: #fff; box-shadow: 0 0 0 1px rgba(70, 18, 139, .08), 0 40px 90px -40px rgba(46, 10, 94, .4); text-align: center; }
.seg { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px; background: var(--tint); }
.seg-thumb { position: absolute; inset-block: 5px; inset-inline-start: 5px; inline-size: calc(50% - 5px); border-radius: 999px; background: var(--purple); transition: transform .45s var(--ease-spring); }
[dir="rtl"] .seg[data-plan="yearly"] .seg-thumb { transform: translateX(-100%); }
[dir="ltr"] .seg[data-plan="yearly"] .seg-thumb { transform: translateX(100%); }
.seg button { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-inline-size: 140px; min-block-size: 48px; padding-inline: 18px; border: 0; border-radius: 999px; background: transparent; color: var(--purple); font-size: 16.5px; font-weight: 700; cursor: pointer; transition: color .3s var(--ease); }
.seg button[aria-checked="true"] { color: #fff; }
.seg button:focus-visible { border-radius: 999px; }
.save-badge { display: inline-block; white-space: nowrap; padding: 2px 9px; border-radius: 999px; background: var(--purple); color: #fff; font-size: 13.5px; font-weight: 700; transition: background .3s var(--ease), color .3s var(--ease); }
.seg button[aria-checked="true"] .save-badge { background: #fff; color: var(--purple); }
.plan-name { margin: 32px 0 0; font-size: 18px; font-weight: 700; color: var(--ink-64); }
.amount-row { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin-block-start: 6px; }
.amount { position: relative; display: inline-grid; overflow: hidden; font-size: clamp(72px, 9vw, 112px); font-weight: 800; line-height: 1.05; letter-spacing: -0.04em; color: var(--purple); }
.amount > span { grid-area: 1 / 1; transition: transform .5s var(--ease-spring), opacity .3s var(--ease); }
.amount .a-y { transform: translateY(100%); opacity: 0; }
[data-plan="yearly"] .amount .a-m { transform: translateY(-100%); opacity: 0; }
[data-plan="yearly"] .amount .a-y { transform: none; opacity: 1; }
.unit { font-size: 20px; font-weight: 600; color: var(--ink-64); }
.swap { display: grid; }
.swap > * { grid-area: 1 / 1; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.swap .y { opacity: 0; transform: translateY(6px); visibility: hidden; }
[data-plan="yearly"] .swap .m { opacity: 0; transform: translateY(-6px); visibility: hidden; }
[data-plan="yearly"] .swap .y { opacity: 1; transform: none; visibility: visible; }
.plan-note { margin: 10px 0 0; font-size: 17px; color: var(--ink-80); }
.saving { margin: 12px 0 0; font-size: 16px; font-weight: 600; color: var(--purple); }
.saving s { color: var(--ink-64); font-weight: 500; }
.price-card .btn { inline-size: 100%; margin-block-start: 32px; }
.cta-note { margin: 14px 0 0; font-size: 15px; color: var(--ink-64); }

.on-dark .includes li { color: #fff; }
.on-dark .includes svg { background: var(--lilac); stroke: var(--purple-deep); }
.on-dark .trial { color: var(--on-dark-80); }
.price-sec::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(55% 70% at 100% 0%, rgba(181, 136, 249, .3), transparent 70%); }
.price-sec .wrap { position: relative; }
.compare-sec .wrap > .section-head { padding-block-start: 0; }
.rule-top { border-block-start: 1px solid var(--line); }
@media (max-width: 639.98px) { .hide-sm { display: none; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 980px) { .faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 80px; align-items: start; } .faq-grid .section-head { position: sticky; inset-block-start: 120px; } }
.faq { border-block-start: 1px solid var(--line); }
.qa { border-block-end: 1px solid var(--line); }
.qa h3 { margin: 0; }
.qa-btn { display: flex; align-items: center; justify-content: space-between; gap: 20px; inline-size: 100%; min-block-size: 72px; padding: 20px 0; border: 0; background: transparent; text-align: start; font-size: clamp(18px, 1.9vw, 21px); font-weight: 700; color: var(--ink); cursor: pointer; }
.qa-btn:hover { color: var(--purple); }
.qa-icon { position: relative; flex: none; inline-size: 32px; block-size: 32px; border-radius: 50%; background: var(--tint); transition: background .25s var(--ease), transform .35s var(--ease); }
.qa-icon::before, .qa-icon::after { content: ""; position: absolute; inset-block-start: 50%; inset-inline-start: 50%; inline-size: 12px; block-size: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--purple); transition: transform .35s var(--ease); }
.qa-icon::after { transform: rotate(90deg); }
.qa.is-open .qa-icon { background: var(--purple); transform: rotate(180deg); }
.qa.is-open .qa-icon::before, .qa.is-open .qa-icon::after { background: #fff; }
.qa.is-open .qa-icon::after { transform: rotate(0deg); }
.qa-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.qa.is-open .qa-panel { grid-template-rows: 1fr; }
.qa-panel > div { overflow: hidden; }
.qa-panel p { margin: 0; padding: 0 0 24px; padding-inline-end: 52px; font-size: 17px; line-height: 1.75; color: var(--ink-80); }
.qa-panel a { font-weight: 600; }
.no-js .qa-panel { grid-template-rows: 1fr; }

/* ---------- final CTA (dark band) ---------- */
.final { overflow: hidden; text-align: center; }
.final::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 80% at 50% 120%, rgba(181, 136, 249, .45), transparent 70%); }
.final-mark { position: relative; inline-size: clamp(72px, 8vw, 104px); block-size: auto; margin: 0 auto 32px; }
.final-title { position: relative; margin: 0; font-size: clamp(44px, 8vw, 112px); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; color: #fff; text-wrap: balance; }
.final-title .accent { color: var(--lilac); }
.final-body { position: relative; margin: 24px auto 0; max-inline-size: 30em; font-size: clamp(18px, 2vw, 22px); color: var(--on-dark-80); }
.final .hero-ctas { position: relative; }
.final .microline { position: relative; color: var(--on-dark-60); }

/* ---------- footer ---------- */
.footer { padding-block: 64px 48px; background: #fff; color: var(--ink-64); font-size: 15px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block-end: 32px; border-block-end: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { block-size: 34px; inline-size: auto; }
.footer-tag { margin: 0; font-size: 16px; color: var(--ink-80); }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; list-style: none; }
.footer-links a, .footer-links button { display: inline-flex; align-items: center; min-block-size: 44px; padding-inline: 10px; border: 0; background: transparent; color: var(--ink-80); font-size: 15px; text-decoration: none; cursor: pointer; border-radius: 8px; }
.footer-links a:hover, .footer-links button:hover { color: var(--purple); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block-start: 24px; }
.footer-bottom p { margin: 0; }
.footer-bottom .footer-marks { flex-basis: 100%; font-size: 13.5px; line-height: 1.6; opacity: .8; }

/* ---------- support ---------- */
.support-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 36px; }
.support-mail { margin: 22px 0 0; font-size: 16px; color: var(--ink-80); }
.support-mail a { direction: ltr; unicode-bidi: isolate; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 480px) { .support-actions .btn { flex: 1 1 100%; } }

/* ---------- cookie consent: a slim bar, never a panel over the content ---------- */
.consent {
  position: fixed; z-index: 60; inset-inline: 0; inset-block-end: 0;
  display: flex; align-items: center; gap: 12px 24px;
  padding: 12px max(16px, calc((100vw - 1200px) / 2)); padding-block-end: max(12px, env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97); color: var(--ink);
  box-shadow: 0 -1px 0 rgba(70, 18, 139, .12), 0 -12px 32px -18px rgba(46, 10, 94, .3);
  font-family: var(--font);
  animation: consent-in .35s var(--ease) both;
}
@keyframes consent-in { from { opacity: 0; transform: translateY(100%); } to { opacity: 1; transform: none; } }
.consent h2 { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
.consent p { flex: 1 1 auto; margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-80); }
.consent p a { font-weight: 600; }
.consent-actions { display: flex; flex: none; gap: 8px; }
.consent-actions button { min-block-size: 44px; padding-inline: 22px; border: 0; border-radius: 999px; font: 700 15.5px/1 var(--font); cursor: pointer; }
.consent-actions .c-accept { background: var(--purple); color: #fff; }
.consent-actions .c-accept:hover { background: var(--purple-deep); }
.consent-actions .c-decline { background: var(--tint); color: var(--purple); }
.consent-actions .c-decline:hover { background: var(--tint-2); }
.consent-actions button:focus-visible { border-radius: 999px; }
body.has-consent { padding-block-end: var(--consent-h, 72px); }
@media (max-width: 700px) {
  .consent { flex-direction: column; align-items: stretch; gap: 10px; padding-inline: 16px; }
  .consent p { font-size: 14.5px; }
  .consent-actions button { flex: 1 1 0; min-block-size: 44px; }
}

/* ---------- round 5: trial bonus week + after-download steps ---------- */
.micro-bonus { display: block; margin-block-start: 6px; font-weight: 600; color: var(--violet-text); }
.micro-bonus a { font-weight: 500; white-space: nowrap; }
.bonus { margin: 32px 0 0; padding-inline-start: 20px; border-inline-start: 2px solid var(--lilac); max-inline-size: 32em; }
.bonus p { margin: 8px 0 0; font-size: 16.5px; line-height: 1.7; color: var(--on-dark-80); }
.bonus .bonus-title { margin: 0; font-size: clamp(19px, 1.9vw, 22px); font-weight: 700; line-height: 1.35; color: #fff; }
.bonus-meter { position: relative; block-size: 6px; margin-block-start: 18px; border-radius: 999px; background: var(--on-dark-line); overflow: hidden; }
.bonus-meter i { position: absolute; inset-block: 0; inset-inline-start: 0; inline-size: 100%; border-radius: inherit; background: var(--lilac); }
.js .bonus-meter i { inline-size: 0; transition: inline-size 1.8s var(--ease) .4s; }
.js .reveal.is-in .bonus-meter i { inline-size: 100%; }
.bonus-scale { display: flex; justify-content: space-between; gap: 12px; margin-block-start: 8px; font-size: 14px; color: var(--on-dark-60); }
.bonus .bonus-note { font-size: 15px; color: var(--on-dark-60); }

.steps-4 .step-visual { gap: 8px; }
@media (min-width: 700px) {
  .steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
  .steps-4 .step, .steps-4 .step + .step { padding-block: 40px; padding-inline: 0; border-inline-start: 0; }
}
@media (min-width: 1100px) {
  .steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 0; }
  .steps-4 .step { padding-block: 40px 0; padding-inline-end: 32px; }
  .steps-4 .step + .step { padding-inline-start: 32px; border-inline-start: 1px solid var(--line); }
}
.install-sec .step-num { color: var(--lilac); }
.chip { display: inline-flex; align-items: center; min-block-size: 38px; padding: 6px 14px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 6px 16px -10px rgba(46, 10, 94, .35); font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.chip-on { background: var(--purple); box-shadow: none; color: #fff; }
.chip-file { max-inline-size: 100%; overflow: hidden; text-overflow: ellipsis; font-size: 14px; font-weight: 500; }
.chip-code { letter-spacing: .3em; font-size: 17px; font-weight: 700; color: var(--purple); }
.chip-arrow { flex: none; inline-size: 20px; block-size: 20px; fill: none; stroke: var(--violet-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.install-safe { margin: clamp(32px, 4vw, 48px) 0 0; padding-block-start: 24px; border-block-start: 1px solid var(--line); font-size: 16.5px; line-height: 1.7; color: var(--ink-80); max-inline-size: 48em; }
.install-safe .n { overflow-wrap: anywhere; }

/* ---------- scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 0ms !important; scroll-behavior: auto !important; }
  .caret, .composer .cur, .mini-line .cur { animation: none !important; }
  .wave i { transform: scaleY(.6); }
  .js .reveal { opacity: 1; transform: none; }
  .mesh i { animation: none !important; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none !important; flex-wrap: wrap; justify-content: center; gap: 20px 32px; padding-inline: var(--gutter); }
  .marquee-track[aria-hidden] { display: none; }
}
@media (max-width: 480px) {
  .btn-lg { min-block-size: 56px; padding-inline: 26px; font-size: 17px; }
  .hero-ctas .btn { inline-size: 100%; }
  .seg button { min-inline-size: 0; padding-inline: 10px; gap: 6px; font-size: 15.5px; }
  .save-badge { font-size: 12.5px; padding: 2px 7px; }
  .price-card { padding: 28px 20px; }
  .tabs button { padding-inline: 14px; }
  .qa-panel p { padding-inline-end: 0; }
}
