/* Self-hosted fonts (Fraunces, Inter) — no external requests */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../../fonts/fraunces-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../../fonts/fraunces-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../../fonts/fraunces-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../../fonts/fraunces-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../../fonts/fraunces-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../../fonts/fraunces-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../../fonts/inter-400-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../../fonts/inter-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../../fonts/inter-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../../fonts/inter-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../../fonts/inter-500-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../../fonts/inter-500-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../../fonts/inter-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../../fonts/inter-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../../fonts/inter-600-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../../fonts/inter-600-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../../fonts/inter-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../../fonts/inter-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../../fonts/inter-700-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../../fonts/inter-700-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../../fonts/inter-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../../fonts/inter-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../../fonts/inter-800-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../../fonts/inter-800-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../../fonts/inter-800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../../fonts/inter-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== Tokens ===== */
:root {
  /* Light, casual theme */
  --brand: #6c5ce7;       /* friendly violet accent */
  --brand-dark: #5a4bd4;  /* accent hover */
  --brand-soft: #efeefe;  /* light accent surface */
  --on-brand: #ffffff;    /* text on accent */
  --ink: #1a1a22;         /* headings */
  --body: #51515e;        /* body text */
  --muted: #8c8c99;       /* muted text */
  --line: #e9e9f1;        /* borders */
  --bg: #ffffff;          /* page */
  --bg-alt: #f7f7fc;      /* alt sections */
  --bg-tint: #f0effb;     /* cards / tinted panels */
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 40px rgba(30, 30, 70, 0.08);
  --shadow-lg: 0 24px 70px rgba(40, 40, 90, 0.14);
  --maxw: 1120px;
}

/* ===== Reset ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
/* keep anchored sections clear of the sticky navbar */
section[id] { scroll-margin-top: 84px; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; border-radius: 999px;
  padding: 12px 22px; transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: var(--on-brand); box-shadow: 0 6px 20px rgba(108, 92, 231, .30); }
.btn--primary:hover { background: var(--brand-dark); }
.btn--light { background: #fff; color: var(--brand); }
.btn--light:hover { background: #f1f0ff; }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 15px 28px; font-size: 16px; }

/* ===== Navbar ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(20, 20, 50, .05);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; color: var(--ink); font-size: 19px; letter-spacing: -.02em; }
.brand__mark {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px;
  background: var(--brand); color: var(--on-brand);
}
.nav__actions { display: flex; align-items: center; gap: 12px; }

/* ===== Language switcher ===== */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 7px;
  font: inherit; font-size: 14px; font-weight: 500; color: var(--body);
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 12px; cursor: pointer; transition: border-color .15s, background .15s;
}
.lang__btn:hover { border-color: #cfcfe4; background: var(--bg-alt); }
.lang__chev { transition: transform .2s; }
.lang.open .lang__chev { transform: rotate(180deg); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 6px; list-style: none;
  width: 190px; max-height: 320px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .16s;
  z-index: 50;
}
.lang.open .lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang__menu li {
  padding: 9px 12px; border-radius: 9px; cursor: pointer; font-size: 14.5px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.lang__menu li:hover { background: var(--bg-tint); }
.lang__menu li[aria-selected="true"] { color: var(--brand); font-weight: 600; }
.lang__menu li[aria-selected="true"]::after { content: "✓"; }

/* ===== Hero ===== */
.hero {
  padding: clamp(64px, 11vw, 124px) 0 clamp(48px, 8vw, 92px);
  background: radial-gradient(1000px 460px at 50% -12%, var(--bg-tint), transparent 70%), var(--bg);
  text-align: center; overflow: hidden;
}
.hero__inner { max-width: 960px; margin: 0 auto; }
.hero__title {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600; letter-spacing: -0.025em; line-height: 1.05;
  font-size: clamp(44px, 12vw, 104px); text-align: center; text-wrap: balance;
}
.hero__title-1 { color: var(--muted); }
.hero__title-2 { color: var(--ink); }
.hero__sub {
  font-size: clamp(17px, 2.1vw, 22px); color: var(--body); font-weight: 500;
  max-width: 540px; margin: clamp(20px, 3vw, 32px) auto 0;
}
.hero__cta { display: flex; justify-content: center; margin-top: clamp(26px, 4vw, 40px); }
.hero__meta { display: block; font-size: 15px; color: var(--muted); margin-top: 18px; }

/* Apple download button (hero) */
.btn--hero { background: var(--brand); color: var(--on-brand); font-weight: 700; border-radius: 16px; box-shadow: 0 6px 20px rgba(108, 92, 231, .30); }
.btn--hero:hover { background: var(--brand-dark); }
.btn__apple { width: 17px; height: 17px; margin-top: -2px; }

@media (min-width: 700px) {
  .hero__title { font-size: clamp(40px, 7.4vw, 104px); }
}

/* Demo before -> after */
.demo {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.demo__card { padding: 18px; border-radius: var(--radius-sm); height: 100%; }
.demo__card--before { background: var(--bg-alt); }
.demo__card--after { background: var(--brand-soft); }
.demo__tag { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.demo__card--before .demo__tag { color: var(--muted); }
.demo__card--after .demo__tag { color: var(--brand); }
.demo__text { font-size: 15px; color: var(--ink); }
.demo__card--before .demo__text { color: var(--muted); font-style: italic; }
.demo__arrow { color: var(--brand); display: grid; place-items: center; }
.demo-wrap { padding: 6px 0 2px; }
.demo-wrap .demo { max-width: 760px; margin: 0 auto; }

/* ===== Audio → text animation ===== */
.tape { padding: 48px 0 8px; }
.tape__stage {
  position: relative; height: 96px; overflow: hidden;
  display: flex; align-items: center; gap: 16px;
}

/* Left: already‑transcribed words, hugging the frame and clipping on the left */
.tape__left {
  flex: 1 1 0; min-width: 0; overflow: hidden;
  text-align: right; white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%);
          mask-image: linear-gradient(90deg, transparent, #000 22%);
}
.tape__said { font-size: clamp(19px, 2.8vw, 30px); font-weight: 600; color: var(--ink); letter-spacing: -0.01em; line-height: 1.3; }
/* Each new word grows its width from 0, smoothly sliding the sentence left */
.tape__chip {
  display: inline-block; box-sizing: content-box; vertical-align: top;
  width: 0; overflow: hidden; white-space: nowrap; opacity: 0;
  transition: width .28s cubic-bezier(.25, .8, .3, 1), opacity .28s ease;
}
.tape__chip.in { opacity: 1; }

/* Center: the conversion frame */
.tape__lens {
  position: relative; flex: none; align-self: center;
  height: 56px; overflow: hidden;
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  box-shadow: 0 6px 20px rgba(30, 30, 70, .08);
}
/* The word enters from the right (the audio) and leaves to the left (the text) */
.tape__word {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand); font-weight: 700;
  font-size: clamp(19px, 2.8vw, 30px); white-space: nowrap; letter-spacing: -0.01em;
  opacity: 0; transform: translateX(100%);
  transition: transform .28s cubic-bezier(.25, .8, .3, 1), opacity .22s ease;
  will-change: transform, opacity;
}
.tape__word.show { opacity: 1; transform: translateX(0); }
.tape__word.exit { opacity: 0; transform: translateX(-100%); }
/* Right: scrolling waveform (right → left) */
.tape__track {
  flex: 1 1 0; min-width: 0; height: 100%; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, #000 62%, transparent);
          mask-image: linear-gradient(90deg, #000 62%, transparent);
}
.tape__wave {
  position: absolute; top: 0; bottom: 0; left: 0;
  display: flex; align-items: center; gap: 5px; width: max-content;
  animation: tapeScroll 12s linear infinite; will-change: transform;
}
.tape__bar { width: 4px; border-radius: 4px; flex: none; background: #c3c3e4; }
@keyframes tapeScroll { to { transform: translateX(-50%); } }

/* ===== App logos strip ===== */
.apps { padding: 16px 0 72px; text-align: center; }
.apps__title { font-size: clamp(15px, 1.8vw, 18px); color: var(--muted); font-weight: 600; text-align: center; text-wrap: balance; }
.apps__row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 30px;
  max-width: 740px; margin: 28px auto 0;
}
.app { display: flex; flex-direction: column; align-items: center; gap: 9px; width: 62px; }
.app__icon {
  width: 46px; height: 46px;
  filter: grayscale(1); opacity: .5;
  transition: filter .18s ease, opacity .18s ease, transform .18s ease;
}
.app:hover .app__icon { filter: none; opacity: 1; transform: translateY(-3px) scale(1.05); }
.app__name { font-size: 12px; color: var(--muted); transition: color .18s ease; }
.app:hover .app__name { color: var(--body); }

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section--alt { background: var(--bg-alt); }
.section__title { font-size: clamp(26px, 4vw, 38px); font-weight: 800; text-align: center; text-wrap: balance; }
.section__sub { text-align: center; max-width: 620px; margin: 16px auto 0; font-size: 17px; }

/* Video placeholder */
.video { margin-top: 40px; }
.video__frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow);
  background: var(--bg-alt);
}
.video__media,
.video__still { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Reduced motion: don't autoplay the video — show the poster image instead */
.video__still { display: none; }
@media (prefers-reduced-motion: reduce) {
  .video__media { display: none; }
  .video__still { display: block; }
}

/* Features grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .15s, box-shadow .15s;
}
.section--alt .feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature__icon {
  display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 12px; background: var(--brand-soft); color: var(--brand);
}
.feature__icon svg { width: 24px; height: 24px; }
.feature__title { font-size: 18px; margin: 16px 0 8px; }
.feature__text { font-size: 15px; }

/* Install */
.install { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; margin-top: 48px; align-items: start; }
.install__cta {
  background: var(--bg-tint); border-radius: var(--radius); padding: 32px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
}
.steps { list-style: none; display: grid; gap: 20px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step__num {
  flex: none; width: 34px; height: 34px; border-radius: 999px; background: var(--brand); color: var(--on-brand);
  display: grid; place-items: center; font-weight: 700; font-size: 15px;
}
.step__title { font-size: 17px; margin-bottom: 4px; }
.step__text { font-size: 15px; }

/* Final CTA */
.cta { padding: 84px 0; background: linear-gradient(135deg, var(--brand), #8b7cf0); }
.cta__inner { text-align: center; }
.cta__title { color: #fff; font-size: clamp(26px, 4vw, 40px); font-weight: 800; text-wrap: balance; }
.cta__sub { color: rgba(255, 255, 255, .9); font-size: 18px; margin: 16px auto 30px; max-width: 540px; }

/* Footer */
.footer { background: var(--bg-alt); color: var(--body); padding: 56px 0 30px; border-top: 1px solid var(--line); }
.footer__inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.brand--footer { color: var(--ink); }
.footer__tag { font-size: 14px; color: var(--muted); margin-top: 10px; }
.footer__links { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.footer__links a { font-size: 15px; color: var(--body); transition: color .15s; }
.footer__links a:hover { color: var(--ink); }
.footer__copy { font-size: 13px; color: var(--muted); padding-top: 22px; }

/* Install note */
.install__note {
  grid-column: 1 / -1; margin-top: 8px;
  font-size: 14px; color: var(--muted);
  background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 16px;
}

/* ===== FAQ accordion ===== */
.faq__inner { max-width: 760px; margin: 0 auto; }
.faq__list { margin-top: 40px; display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--ink);
  font-size: 16.5px; list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q svg { width: 20px; height: 20px; color: var(--muted); flex: none; transition: transform .2s ease; }
.faq__item[open] .faq__q svg { transform: rotate(180deg); }
.faq__item[open] .faq__q { color: var(--brand); }
.faq__a { padding: 0 22px 20px; color: var(--body); }
.faq__a p { margin: 0; }

/* ===== Legal pages ===== */
.legal { padding: clamp(36px, 6vw, 64px) 0 72px; }
.legal__inner { max-width: 720px; margin: 0 auto; }
.legal__back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--brand); margin-bottom: 24px;
}
.legal__back:hover { color: var(--brand-dark); }
.legal h1 { font-size: clamp(30px, 5vw, 44px); letter-spacing: -0.02em; }
.legal h2 { font-size: clamp(18px, 2.6vw, 23px); margin: 38px 0 12px; }
.legal p { margin: 0 0 16px; color: var(--body); }
.legal ul { margin: 0 0 16px; padding-left: 22px; color: var(--body); }
.legal li { margin: 0 0 8px; }
.legal a { color: var(--brand); }
.legal a:hover { text-decoration: underline; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal hr { border: none; border-top: 1px solid var(--line); margin: 32px 0; }
.legal__eff { color: var(--muted); margin-top: 6px !important; font-size: 15px; }
.legal__foot { color: var(--muted); font-size: 14px; font-style: italic; }

/* ===== Modal ===== */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(16, 16, 30, .5); backdrop-filter: blur(3px); animation: fade .2s ease; }
.modal__box {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 40px 34px;
  width: 100%; max-width: 440px; box-shadow: var(--shadow-lg); text-align: center;
  animation: pop .22s cubic-bezier(.2, .9, .3, 1.2);
}
.modal__x {
  position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 999px;
  border: none; background: var(--bg-alt); color: var(--body); cursor: pointer; display: grid; place-items: center;
  transition: background .15s;
}
.modal__x:hover { background: var(--line); }
.modal__emoji { font-size: 44px; }
.modal__title { font-size: 22px; margin: 12px 0 10px; }
.modal__text { font-size: 15px; margin-bottom: 22px; }
.modal__form { display: flex; flex-direction: column; gap: 10px; }
.modal__input {
  font: inherit; font-size: 15px; padding: 13px 16px; border: 1px solid var(--line);
  border-radius: 12px; outline: none; transition: border-color .15s;
  background: #fff; color: var(--ink);
}
.modal__input::placeholder { color: var(--muted); }
.modal__input:focus { border-color: var(--brand); }
.modal__note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.modal__success { font-size: 15px; color: #1a9a5b; font-weight: 600; margin-top: 16px; }
.modal__view .btn { width: 100%; }
.modal__form .btn { width: 100%; }

@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.97); } }

/* ===== Responsive ===== */
@media (max-width: 859px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .install { grid-template-columns: 1fr; gap: 28px; }
  .install__cta { position: static; align-items: stretch; text-align: center; }
  .install__cta .btn { width: 100%; }
}
@media (max-width: 620px) {
  .hero { padding: 48px 0; }
  .tape__stage { height: 80px; gap: 10px; }
  .tape__lens { height: 46px; }
  .grid { grid-template-columns: 1fr; }
  .demo { grid-template-columns: 1fr; }
  .demo__arrow { transform: rotate(90deg); }
  .brand__name { font-size: 18px; }
  .lang__btn span { display: none; }
  .footer__inner { flex-direction: column; }
  .modal__box { padding: 34px 24px; }
}
