:root {
  --bg: #0B0B0E;
  --surface: #14151A;
  --surface-2: #1B1C23;
  --line: rgb(255 255 255 / 0.08);
  --line-2: rgb(255 255 255 / 0.14);
  --text: #F2F2F5;
  --muted: #8B8D98;
  --accent: #6E7CF6;
  --accent-2: #9AA4FF;
  --glow: rgb(110 124 246 / 0.45);
  --glow-soft: rgb(110 124 246 / 0.18);
  --ok: #3ECF8E;
  --radius: 18px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --pad: 20px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: #fff; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--accent); color: #fff; }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--pad); }
.container-narrow { max-width: 760px; }
.center { text-align: center; justify-content: center; margin-inline: auto; }
.muted { color: var(--muted); }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: var(--accent-2); padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: rgb(110 124 246 / 0.08); }
p.eyebrow.center { display: flex; width: fit-content; }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.h1 { font-size: clamp(36px, 7vw, 76px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; }
.h2 { font-size: clamp(30px, 5vw, 52px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 750; margin-top: 14px; max-width: 18ch; }
.h2.center { max-width: 22ch; }
.h3 { font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 650; }

/* buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent; font-weight: 600; font-size: 15px; white-space: nowrap; cursor: pointer; transition: background 0.25s var(--ease), border-color 0.25s, box-shadow 0.3s var(--ease); will-change: transform; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { min-height: 54px; padding: 0 24px; font-size: 16px; border-radius: 14px; }
.btn-primary { background: linear-gradient(180deg, #7C89FA, var(--accent)); color: #fff; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.12) inset, 0 8px 30px -8px var(--glow); }
.btn-primary:hover { box-shadow: 0 0 0 1px rgb(255 255 255 / 0.2) inset, 0 10px 44px -6px var(--glow), 0 0 24px var(--glow-soft); }
.btn-ghost { background: rgb(255 255 255 / 0.04); border-color: var(--line-2); color: var(--text); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgb(110 124 246 / 0.6); box-shadow: 0 0 24px var(--glow-soft); }
.btn__icon { width: 18px; height: 18px; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgb(11 11 14 / 0.62); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px); border-color: var(--line); }
.nav__inner { max-width: 1200px; margin-inline: auto; padding: 14px var(--pad); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0.08em; font-size: 15px; }
.brand img { border-radius: 8px; }
.nav__links { display: none; gap: 28px; margin-inline: auto; font-size: 14px; color: var(--muted); }
.nav__links a, .nav__login, .footer__links a { position: relative; transition: color 0.2s; }
.nav__links a::after, .nav__login::after, .footer__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.nav__links a:hover, .nav__login:hover, .footer__links a:hover { color: var(--text); }
.nav__links a:hover::after, .nav__login:hover::after, .footer__links a:hover::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.nav__login { font-size: 14px; color: var(--muted); }
.nav__invite { display: none; font-size: 13px; color: var(--muted); padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; }
button.btn { font-family: inherit; }

/* log in note */
.login-note { position: fixed; inset: 0; margin: auto; width: min(380px, calc(100% - 32px)); height: fit-content; padding: 28px; border-radius: 20px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); text-align: center; box-shadow: 0 30px 80px rgb(0 0 0 / 0.6), 0 0 60px -20px var(--glow); }
.login-note:popover-open, .login-note.is-open { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.login-note::backdrop { background: rgb(0 0 0 / 0.6); backdrop-filter: blur(4px); }
.login-note img { border-radius: 12px; }
.login-note h2 { font-size: 20px; letter-spacing: -0.01em; }
.login-note p { font-size: 15px; }
.login-note .muted { font-size: 14px; }
.login-note .btn { margin-top: 6px; min-width: 140px; }

/* backgrounds */
.bg-layer { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.mesh { position: absolute; inset: -20%; filter: blur(60px); opacity: 0.75; }
.mesh span { position: absolute; border-radius: 50%; animation: drift 18s var(--ease) infinite alternate; }
.mesh span:nth-child(1) { width: 52vmax; height: 52vmax; left: 30%; top: -10%; background: radial-gradient(circle, rgb(110 124 246 / 0.35), transparent 62%); }
.mesh span:nth-child(2) { width: 40vmax; height: 40vmax; left: -10%; top: 30%; background: radial-gradient(circle, rgb(70 60 200 / 0.28), transparent 62%); animation-duration: 22s; animation-delay: -6s; }
.mesh span:nth-child(3) { width: 34vmax; height: 34vmax; right: -12%; bottom: -8%; background: radial-gradient(circle, rgb(140 120 255 / 0.22), transparent 62%); animation-duration: 26s; animation-delay: -12s; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(6%, 4%, 0) scale(1.08); }
  100% { transform: translate3d(-5%, -3%, 0) scale(0.96); }
}
.bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s; }
.has-video .bg-video { opacity: 0.4; }
.has-video .mesh { opacity: 0.3; }
.bg-shade { position: absolute; inset: 0; background: radial-gradient(120% 80% at 50% 0%, transparent 40%, var(--bg) 100%), linear-gradient(180deg, rgb(11 11 14 / 0.2), var(--bg) 96%); }
.hero3d { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero3d.is-ready { opacity: 1; }
.hero-fallback { position: absolute; width: min(48vw, 360px); height: auto; right: 6%; top: 50%; transform: translateY(-50%); opacity: 0.12; filter: blur(1px) saturate(1.1); border-radius: 28%; }
.has-3d .hero-fallback { opacity: 0; transition: opacity 0.8s; }

.glow-zone { position: relative; isolation: isolate; }
.cursor-glow { position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: 0; transition: opacity 0.4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgb(110 124 246 / 0.16), transparent 60%); }
.glow-zone:hover .cursor-glow { opacity: 1; }

/* hero */
.hero { min-height: 100svh; padding: 112px 0 64px; display: flex; align-items: center; overflow: hidden; }
.hero__grid { position: relative; z-index: 2; display: grid; gap: 48px; align-items: center; }
.hero__copy { max-width: 640px; }
.hero__title { margin-top: 22px; font-size: clamp(42px, 10.5vw, 84px); line-height: 1; letter-spacing: -0.045em; font-weight: 800; }
.hero__title .w { display: inline-block; }
.js .hero__title .w { opacity: 0; transform: translateY(0.4em); filter: blur(8px); animation: word 0.9s var(--ease) forwards; animation-delay: calc(80ms + var(--i) * 85ms); }
@keyframes word { to { opacity: 1; transform: none; filter: blur(0); } }
.shimmer { background: linear-gradient(100deg, var(--accent) 0%, var(--accent) 35%, #C9CFFF 50%, var(--accent) 65%, var(--accent) 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 4.5s linear infinite; text-shadow: none; filter: drop-shadow(0 0 22px rgb(110 124 246 / 0.35)); }
.js .hero__title .w.shimmer { animation: word 0.9s var(--ease) forwards, shimmer 4.5s linear 1.2s infinite; animation-delay: calc(80ms + var(--i) * 85ms), 1.2s; }
@keyframes shimmer { from { background-position: 125% 0; } to { background-position: -125% 0; } }
.hero__sub { margin-top: 22px; font-size: clamp(17px, 2.2vw, 20px); line-height: 1.55; color: #B9BAC4; max-width: 34em; }
.js .hero__sub, .js .hero__ctas, .js .hero__note, .js .hero .eyebrow { animation: fadeup 0.9s var(--ease) both; }
.js .hero .eyebrow { animation-delay: 0s; }
.js .hero__sub { animation-delay: 0.45s; }
.js .hero__copy .hero__ctas { animation-delay: 0.6s; }
.js .hero__copy .hero__note { animation-delay: 0.72s; }
@keyframes fadeup { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__ctas.center { justify-content: center; }
.hero__note { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* sidebar mockup */
.hero__mock { display: flex; justify-content: center; perspective: 1400px; }
.js .hero__mock { animation: fadeup 1.1s var(--ease) 0.5s both; }
.mock-stage { transform-style: preserve-3d; animation: bob 7s ease-in-out infinite; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.mock { width: min(340px, 86vw); height: 520px; display: flex; flex-direction: column; border-radius: 22px; background: linear-gradient(180deg, rgb(26 27 34 / 0.92), rgb(17 18 23 / 0.96)); border: 1px solid var(--line-2); box-shadow: 0 50px 100px -30px rgb(0 0 0 / 0.8), 0 0 0 1px rgb(255 255 255 / 0.03) inset, 0 0 80px -20px var(--glow-soft); transform: rotateY(var(--ry, -10deg)) rotateX(var(--rx, 4deg)); transition: transform 0.6s var(--ease); overflow: hidden; backdrop-filter: blur(14px); }
.mock__head { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.mock__head img { border-radius: 6px; }
.mock__name { font-weight: 800; font-size: 13px; letter-spacing: 0.08em; }
.mock__status { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); }
.mock__status i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.mock__feed { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.msg { padding: 10px 12px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13px; line-height: 1.45; opacity: 0; transform: translateY(10px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.msg.in { opacity: 1; transform: none; }
.msg__src { color: var(--muted); font-size: 12px; }
.msg__src b { font-weight: 600; font-size: 10px; letter-spacing: 0.04em; padding: 2px 6px; margin-right: 6px; border-radius: 6px; background: rgb(255 255 255 / 0.06); color: var(--accent-2); }
.msg__en { margin-top: 6px; color: var(--text); min-height: 1.45em; }
.caret::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--accent); animation: blink 0.9s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mock__compose { padding: 12px 14px 14px; border-top: 1px solid var(--line); display: grid; gap: 8px; background: rgb(0 0 0 / 0.18); }
.mock__input { min-height: 44px; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-2); font-size: 13px; }
.mock__placeholder { color: #8B8D98; }
.mock__out { min-height: 40px; padding: 9px 12px; border-radius: 12px; font-size: 13px; color: #DCDFFF; background: rgb(110 124 246 / 0.1); border: 1px dashed rgb(110 124 246 / 0.4); opacity: 0.35; transition: opacity 0.4s; }
.mock__out.on { opacity: 1; }
.mock__row { display: flex; align-items: center; justify-content: space-between; }
.mock__tag { font-size: 11px; color: var(--muted); padding: 4px 8px; border-radius: 8px; border: 1px solid var(--line-2); }
.mock__insert { font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 10px; background: #4F5BDF; color: #fff; transition: transform 0.2s, box-shadow 0.3s; }
.mock__insert.pulse { animation: pulse 0.9s var(--ease) 2; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--glow); transform: scale(1); } 40% { transform: scale(0.94); } 100% { box-shadow: 0 0 0 16px transparent; transform: scale(1); } }

/* marquee */
.strip { position: relative; z-index: 2; padding: 22px 0; border-block: 1px solid var(--line); background: rgb(20 21 26 / 0.6); 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 { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee__track { display: flex; gap: 12px; padding-right: 12px; }
.marquee__track li { white-space: nowrap; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: #C4C5CE; background: rgb(255 255 255 / 0.02); }
.marquee__track li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px; border-radius: 50%; background: var(--accent); vertical-align: 2px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* sections */
.section { position: relative; padding: 96px 0; }
.js [data-reveal] { opacity: 0; transform: translateY(24px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }

/* workflow */
.workflow { position: relative; padding: 96px 0; }
.workflow__inner { display: grid; gap: 40px; }
.progress { position: relative; margin-top: 28px; width: 100%; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.progress__fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 12px var(--glow); }
.stages { display: grid; gap: 20px; }
.stage { position: relative; padding: 28px; border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), rgb(20 21 26 / 0.6)); border: 1px solid var(--line); }
.stage__icon, .step__icon { width: 72px; height: 72px; margin-bottom: 16px; border-radius: 16px; background: rgb(110 124 246 / 0.08); border: 1px solid rgb(110 124 246 / 0.2); }
.stage__num { font-size: 13px; font-weight: 700; color: var(--accent-2); letter-spacing: 0.1em; margin-bottom: 6px; }
.stage .muted { margin-top: 8px; }
.mini { margin-top: 20px; padding: 16px; border-radius: 14px; background: rgb(0 0 0 / 0.25); border: 1px solid var(--line); display: grid; gap: 10px; font-size: 14px; }
.mini__bubble { padding: 10px 12px; border-radius: 12px; background: var(--surface-2); width: fit-content; max-width: 100%; }
.mini__bubble mark { background: rgb(110 124 246 / 0.35); color: var(--text); border-radius: 4px; padding: 1px 2px; }
.mini__keys { display: flex; gap: 6px; }
kbd { min-width: 32px; height: 32px; display: inline-grid; place-items: center; padding: 0 8px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line-2); border-bottom-width: 3px; font: 600 13px Inter, sans-serif; }
.mini__en { color: var(--accent-2); }
.mini__field { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); }
.mini__preview { padding: 10px 12px; border-radius: 12px; border: 1px dashed rgb(110 124 246 / 0.45); background: rgb(110 124 246 / 0.1); color: #DCDFFF; }
.mini__chat { display: flex; gap: 10px; align-items: center; padding: 8px 8px 8px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-2); }
.mini__chat span { flex: 1; min-width: 0; }
.mini__chat b { font-size: 13px; padding: 8px 12px; border-radius: 9px; background: var(--ok); color: #062; }

/* stats */
.stats { padding: 40px 0; }
.stats__grid { display: grid; gap: 14px; }
.stat { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); text-align: center; }
.stat__num { font-size: clamp(40px, 7vw, 64px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; background: linear-gradient(180deg, #fff, #A9AEF8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .muted { margin-top: 6px; }

/* cards */
.cards { margin-top: 48px; display: grid; gap: 16px; perspective: 1200px; }
.card { position: relative; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transform-style: preserve-3d; }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.4s; background: radial-gradient(360px circle at var(--gx, 50%) var(--gy, 50%), rgb(110 124 246 / 0.18), transparent 60%); }
.card:hover::before { opacity: 1; }
.card:hover { border-color: rgb(110 124 246 / 0.35); }
.js .card.is-in { transition: opacity 0.8s var(--ease), transform 0.3s var(--ease), border-color 0.3s; }
.card .muted { margin-top: 10px; }
.card__sample { margin-top: 22px; font-size: 15px; padding: 10px 14px; border-radius: 12px; background: rgb(0 0 0 / 0.28); border: 1px solid var(--line); color: #DCDFFF; width: fit-content; max-width: 100%; }
.arrow { color: var(--accent); }

/* demo */
.demo__grid { margin-top: 48px; display: grid; gap: 16px; }
.demo__panel { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.demo__label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.demo__row { display: flex; gap: 10px; flex-wrap: wrap; }
.demo__input { flex: 1 1 220px; min-width: 0; min-height: 50px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); font-size: 16px; transition: border-color 0.2s, box-shadow 0.2s; }
.demo__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgb(110 124 246 / 0.18); }
.demo__row .btn { min-height: 50px; }
.demo__result { margin-top: 14px; min-height: 64px; padding: 14px 16px; border-radius: 12px; background: rgb(0 0 0 / 0.25); border: 1px solid var(--line); font-size: 17px; }
.demo__result-greek { color: #DCDFFF; }
.demo__hint { color: #8B8D98; }
.thinking { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); font-size: 14px; }
.thinking i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: think 1s ease-in-out infinite; }
.thinking i:nth-child(2) { animation-delay: 0.15s; }
.thinking i:nth-child(3) { animation-delay: 0.3s; }
@keyframes think { 0%, 100% { opacity: 0.25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.demo__foot { margin-top: 18px; font-size: 14px; }

/* compare */
.compare { margin-top: 48px; display: grid; gap: 16px; }
.compare__col { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.compare__col ul { margin-top: 18px; display: grid; gap: 14px; }
.compare__col li { display: flex; gap: 12px; align-items: flex-start; }
.compare__col li::before { flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.compare__col-without li { color: var(--muted); }
.compare__col-without li::before { content: "×"; background: rgb(255 255 255 / 0.06); color: #9a9ba5; }
.compare__col-with { border-color: rgb(110 124 246 / 0.4); background: linear-gradient(180deg, rgb(110 124 246 / 0.1), var(--surface) 60%); box-shadow: 0 0 60px -20px var(--glow-soft); }
.compare__col-with li::before { content: "✓"; background: var(--accent); color: #fff; }

/* steps */
.steps { margin-top: 48px; display: grid; gap: 16px; counter-reset: s; }
.step { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step .muted { margin-top: 8px; }

/* faq */
.faq { margin-top: 40px; display: grid; gap: 10px; }
.faq details { border-radius: 14px; border: 1px solid var(--line); background: var(--surface); transition: border-color 0.3s; }
.faq details[open] { border-color: rgb(110 124 246 / 0.4); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-3px); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg) translateY(-3px); border-color: var(--accent); }
.faq details p { padding: 0 20px 18px; color: var(--muted); }

/* cta */
.cta { padding: 140px 0; overflow: hidden; text-align: center; }
.cta__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cta__logo { border-radius: 18px; box-shadow: 0 0 60px var(--glow); }
.cta .h1 { max-width: 14ch; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 48px 0 40px; }
.footer__inner { display: grid; gap: 24px; }
.footer__brand .muted { margin-top: 10px; font-size: 14px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 18px 24px; font-size: 14px; color: var(--muted); }
.footer__copy { font-size: 13px; }

/* legal pages */
.legal { padding: 140px 0 96px; }
.legal h1 { font-size: clamp(34px, 6vw, 52px); letter-spacing: -0.03em; font-weight: 800; }
.legal h2 { margin-top: 36px; font-size: 20px; font-weight: 650; }
.legal p, .legal li { margin-top: 12px; color: #B9BAC4; }
.legal ul { list-style: disc; padding-left: 20px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-top: 10px; }

@media (min-width: 640px) {
  :root { --pad: 28px; }
  .stats__grid, .cards, .compare { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__inner { grid-template-columns: 1fr auto; align-items: start; }
  .footer__copy { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  :root { --pad: 40px; }
  .nav__links { display: flex; }
  .nav__invite { display: inline-block; }
  .nav__actions { margin-left: 0; }
  .hero__grid { grid-template-columns: 1.15fr 0.85fr; }
  .hero__mock { justify-content: flex-end; }
  .demo__grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 128px 0; }
  .workflow__inner { grid-template-columns: 0.9fr 1.1fr; gap: 64px; }
  .workflow.is-pinned .workflow__inner { min-height: 100vh; align-items: center; }
  .workflow.is-pinned .stages { position: relative; height: 520px; }
  .workflow.is-pinned .stage { position: absolute; inset: 0; margin: auto; height: fit-content; }
  .workflow.is-pinned .progress { height: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .hero__title .w { opacity: 1 !important; transform: none !important; filter: none !important; }
  .marquee { flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__track[aria-hidden] { display: none; }
  .marquee__track { flex-wrap: wrap; justify-content: center; }
  .strip { -webkit-mask-image: none; mask-image: none; }
  .mock { transform: none; }
  .msg { opacity: 1; transform: none; }
}
