/* Lytly landing — brand v5 "Signal Brackets" + palette C4
 * Mirrors src/styles.css and landing/lytly.css. Dark canonical +
 * first-class light theme. Flat opaque surfaces, hairline borders.
 * Ice-blue accent only on live/actionable elements. The light accent
 * is deliberately deeper (#0E7490) because #7DD3FC cannot reach 4.5:1
 * on porcelain. Legacy token NAMES kept so component CSS keeps working.
 */

@import url("/fonts/fonts.css");

:root {
  --bg: #0F1214;
  --bg-raised: #161A1D;
  --glass: #161A1D;                     /* now OPAQUE — no glassmorphism */
  --glass-mid: #1F2529;
  --glass-border: rgba(205, 215, 225, 0.10);
  --glass-border-bright: rgba(205, 215, 225, 0.18);
  --text-1: #F5F7F9;
  --text: #F5F7F9;
  --text-2: #C6CDD3;
  --text-3: #8A939A;
  --accent: #7DD3FC;
  --accent-hover: #9BDFFD;
  --on-accent: #0F1214;
  --accent-glow: rgba(125, 211, 252, 0.18);
  --teal: #C6CDD3;                      /* legacy alias — info chrome = secondary, no second hue */
  --teal-glow: rgba(198, 205, 211, 0.10);
  --green: #8FBF9A;                     /* success — sage, the one non-palette hue */
  --green-bg: rgba(143, 191, 154, 0.14);
  --green-border: rgba(143, 191, 154, 0.25);
  --red: #E08A76;
  --warning: #E0A458;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.20);
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.30);
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.40);
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --max: 1140px;
  --px: clamp(20px, 4vw, 36px);
  /* Plex faces are unicode-range-scoped to Latin, so Hebrew falls through
     to Heebo and Cyrillic to Manrope — the v3 tri-script system. */
  --font-sans: "IBM Plex Sans", "Heebo", "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #F2F4F6;
    --bg-raised: #FAFBFC;
    --glass: #FAFBFC;
    --glass-mid: #E7EBEF;
    --glass-border: rgba(15, 18, 20, 0.10);
    --glass-border-bright: rgba(15, 18, 20, 0.18);
    --text-1: #0F1214;
    --text: #0F1214;
    --text-2: #38424A;
    --text-3: #63707A;
    --accent: #0E7490;
    --accent-hover: #155E75;
    --on-accent: #FAFBFC;
    --accent-glow: rgba(14, 116, 144, 0.12);
    --teal: #38424A;
    --teal-glow: rgba(56, 66, 74, 0.10);
    --green: #2E6B44;
    --green-bg: rgba(46, 107, 68, 0.12);
    --green-border: rgba(46, 107, 68, 0.25);
    --red: #8C3A2B;
    --warning: #8A5A00;
    --shadow-sm: 0 1px 4px rgba(15, 18, 20, 0.10);
    --shadow: 0 6px 18px rgba(15, 18, 20, 0.10);
    --shadow-lg: 0 12px 32px rgba(15, 18, 20, 0.12);
  }
}

/* Explicit toggle wins over the OS preference, both directions. */
:root[data-theme="dark"] {
  --bg: #0F1214;
  --bg-raised: #161A1D;
  --glass: #161A1D;
  --glass-mid: #1F2529;
  --glass-border: rgba(205, 215, 225, 0.10);
  --glass-border-bright: rgba(205, 215, 225, 0.18);
  --text-1: #F5F7F9;
  --text: #F5F7F9;
  --text-2: #C6CDD3;
  --text-3: #8A939A;
  --accent: #7DD3FC;
  --accent-hover: #9BDFFD;
  --on-accent: #0F1214;
  --accent-glow: rgba(125, 211, 252, 0.18);
  --teal: #C6CDD3;
  --teal-glow: rgba(198, 205, 211, 0.10);
  --green: #8FBF9A;
  --green-bg: rgba(143, 191, 154, 0.14);
  --green-border: rgba(143, 191, 154, 0.25);
  --red: #E08A76;
  --warning: #E0A458;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.20);
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.30);
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.40);
}

:root[data-theme="light"] {
  --bg: #F2F4F6;
  --bg-raised: #FAFBFC;
  --glass: #FAFBFC;
  --glass-mid: #E7EBEF;
  --glass-border: rgba(15, 18, 20, 0.10);
  --glass-border-bright: rgba(15, 18, 20, 0.18);
  --text-1: #0F1214;
  --text: #0F1214;
  --text-2: #38424A;
  --text-3: #63707A;
  --accent: #0E7490;
  --accent-hover: #155E75;
  --on-accent: #FAFBFC;
  --accent-glow: rgba(14, 116, 144, 0.12);
  --teal: #38424A;
  --teal-glow: rgba(56, 66, 74, 0.10);
  --green: #2E6B44;
  --green-bg: rgba(46, 107, 68, 0.12);
  --green-border: rgba(46, 107, 68, 0.25);
  --red: #8C3A2B;
  --warning: #8A5A00;
  --shadow-sm: 0 1px 4px rgba(15, 18, 20, 0.10);
  --shadow: 0 6px 18px rgba(15, 18, 20, 0.10);
  --shadow-lg: 0 12px 32px rgba(15, 18, 20, 0.12);
}

/* ── Reset + base ──────────────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

h1 {
  font-size: clamp(32px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 20px;
  color: var(--text);
}

h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 18px;
  color: var(--text);
}

h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0 0 10px;
  color: var(--text);
}

/* ── Accent text utility (v3: flat volt, no animated gradients) ─── */

.gradient-text {
  color: var(--accent);
}

p {
  line-height: 1.65;
  color: var(--text-2);
  margin: 0 0 16px;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--accent-hover);
}

kbd {
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--glass-border);
  color: var(--text);
  padding: 2px 7px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
}

code,
.stat-number,
.mono {
  font-family: var(--font-mono);
}

strong {
  color: var(--text);
  font-weight: 700;
}

em {
  color: var(--text-2);
}

/* ── Section dividers ──────────────────────────────────────────── */

section + section,
.features + .social-proof,
.social-proof + .privacy-section {
  border-top: 1px solid var(--glass-border);
}

/* ── Section alternation — subtle depth rhythm ─────────────────── */

.section--alt {
  background: var(--bg-raised);
}

/* ── Section intro ─────────────────────────────────────────────── */

.section-intro {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-intro p {
  font-size: 18px;
}

/* ── Scroll progress bar ──────────────────────────────────────────── */

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  z-index: 9999;
  pointer-events: none;
  transition: width 0.05s linear;
}

/* ── Topbar ─────────────────────────────────────────────────────── */

.topbar {
  position: sticky;
  top: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px var(--px);
  z-index: 100;
  will-change: background, box-shadow;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.04em;
  color: var(--text);
  text-decoration: none;
}

.brand img {
  border-radius: 8px;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 500;
  font-size: 14px;
}

.topbar-nav a {
  color: var(--text-3);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 0.15s ease;
}

.topbar-nav a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* ── Language switcher (dependency-free <details> disclosure) ───────────── */
.lang-switch { position: relative; }
.lang-switch > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-3);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 8px;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
  user-select: none;
}
.lang-switch > summary::-webkit-details-marker { display: none; }
.lang-switch > summary:hover,
.lang-switch[open] > summary { color: var(--accent); }
.lang-switch > summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.lang-switch-caret { transition: transform 0.15s ease; }
.lang-switch[open] .lang-switch-caret { transform: rotate(180deg); }
.lang-switch-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  max-height: 320px;
  overflow-y: auto;
  background: var(--bg-raised);
  border: 1px solid var(--glass-border-bright);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.lang-switch-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--text-2) !important;
  font-size: 14px;
  white-space: nowrap;
}
.lang-switch-menu a:hover { background: var(--glass-mid); color: var(--text-1) !important; }
.lang-switch-menu a[aria-current="page"] {
  background: var(--accent-glow);
  color: var(--accent) !important;
  font-weight: 600;
}
[dir="rtl"] .lang-switch-menu { right: auto; left: 0; }
[dir="rtl"] .lang-switch-menu a { flex-direction: row; }

/* Mobile-nav variant: render inline (no absolute popover) */
.mobile-nav .lang-switch { width: 100%; }
.mobile-nav .lang-switch > summary { padding: 12px 0; font-size: 15px; }
.mobile-nav .lang-switch-menu {
  position: static;
  box-shadow: none;
  border: none;
  background: transparent;
  padding: 0 0 8px 12px;
  max-height: none;
}
[dir="rtl"] .mobile-nav .lang-switch-menu { padding: 0 12px 8px 0; }

.topbar-cta {
  background: var(--accent) !important;
  color: var(--on-accent) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  padding: 6px 16px;
  height: 32px;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  border-radius: 999px;
  transition: background 0.15s ease, transform 0.12s ease !important;
  letter-spacing: 0.01em !important;
}

.topbar-cta-arrow {
  display: inline-block;
  transition: transform 0.15s ease;
}

.topbar-cta:hover .topbar-cta-arrow {
  transform: translateX(2px);
}

.topbar-cta:hover {
  background: var(--accent-hover) !important;
  color: var(--on-accent) !important;
  transform: translateY(-1px);
}

.topbar.scrolled {
  background: var(--bg);
  box-shadow: 0 1px 0 var(--glass-border), var(--shadow-sm);
}

/* ── Topbar CTA: ghost before scroll, filled accent after ─────────────── */

.topbar-cta {
  background: transparent !important;
  color: var(--accent) !important;
  border: 1px solid var(--accent) !important;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.12s ease !important;
}

.topbar-cta:hover {
  background: var(--accent-glow) !important;
  color: var(--accent) !important;
  border-color: var(--accent) !important;
  transform: translateY(-1px);
}

.topbar.past-hero .topbar-cta {
  background: var(--accent) !important;
  color: var(--on-accent) !important;
  border-color: var(--accent) !important;
}

.topbar.past-hero .topbar-cta:hover {
  background: var(--accent-hover) !important;
  color: var(--on-accent) !important;
}

/* ── Topbar mobile: action wrapper (dl button + hamburger grouped right) ─ */

.topbar-mobile-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Topbar mobile: small download button (shown only on mobile) ──────── */

.topbar-mobile-dl {
  display: none;
  align-items: center;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.topbar-mobile-dl:hover {
  background: var(--accent-hover);
  color: var(--on-accent);
}

@media (max-width: 768px) {
  .topbar-mobile-dl { display: flex; }
}

@media (min-width: 769px) {
  .topbar-mobile-actions { display: none; }
}

/* ── Hero outer wrapper ─────────────────────────────────────────── */

.hero-outer {
  background: var(--bg);
  position: relative;
  overflow: hidden;
  padding: clamp(72px,10vw,120px) var(--px) clamp(56px,8vw,96px);
}
/* v3: flat ink ground — the 1.8 MB hero photo and radial glows are gone.
   The hero's life comes from the .hero-wave volt bars (markup added in the
   v3 restructure) — same 3-bar geometry as the brand icon. */
.hero-outer > * {
  position: relative;
  z-index: 2;
}

.hero-wave {
  display: inline-flex;
  align-items: flex-end;
  gap: 4px;
  height: 28px;
  margin-bottom: 12px;
}
.hero-wave i {
  width: 5px;
  border-radius: 3px;
  background: var(--accent);
  animation: hero-wave-pulse 1.15s ease-in-out infinite;
}
.hero-wave i:nth-child(1) { height: 12px; animation-delay: 0s; }
.hero-wave i:nth-child(2) { height: 26px; animation-delay: 0.12s; }
.hero-wave i:nth-child(3) { height: 17px; animation-delay: 0.24s; }
@keyframes hero-wave-pulse {
  0%, 100% { transform: scaleY(0.55); }
  50%      { transform: scaleY(1.15); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-wave i { animation: none; }
}

/* ── Hero grid ──────────────────────────────────────────────────── */

.hero {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}

/* ── Hero eyebrow pill — flat volt tint (v3: conic border removed) ── */

.hero .eyebrow {
  background: var(--accent-glow);
  border-radius: 999px;
  padding: 5px 14px 5px 10px;
  position: relative;
  z-index: 0;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ── Hero entrance animations (load-time stagger) ─────────────────── */

@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-copy .eyebrow {
  animation: hero-fade-up 0.55s ease both;
  animation-delay: 0.05s;
}

.hero-copy h1 {
  animation: hero-fade-up 0.6s ease both;
  animation-delay: 0.18s;
}

/* Blinking cursor after the hero h1 */
.hero-copy h1::after {
  content: '|';
  display: inline-block;
  color: var(--accent);
  margin-left: 3px;
  animation: blink-cursor 1s step-end infinite;
  font-weight: 300;
  opacity: 1;
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.hero-copy .lede {
  animation: hero-fade-up 0.65s ease both;
  animation-delay: 0.34s;
}

.hero-copy .hero-cta {
  animation: hero-fade-up 0.65s ease both;
  animation-delay: 0.50s;
}

.hero-copy .reassurance {
  animation: hero-fade-up 0.6s ease both;
  animation-delay: 0.64s;
}

.lede {
  font-size: 19px;
  color: var(--text-2);
  max-width: 520px;
  line-height: 1.65;
  margin: 0 0 30px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 4px;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 15px;
  background: var(--accent);
  color: var(--on-accent);
  transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.cta-primary:hover {
  background: var(--accent-hover);
  color: var(--on-accent);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 15px;
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--glass-border-bright);
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
  text-decoration: none;
  cursor: pointer;
}

.cta-secondary:hover {
  border-color: var(--accent);
  color: var(--text);
  transform: translateY(-1px);
}

.reassurance {
  font-size: 13px;
  color: var(--text-3);
  margin-top: 14px;
}

.hero-social-proof {
  font-size: 13px;
  color: var(--text-3);
  text-align: center;
  margin: 12px 0 0;
  letter-spacing: 0.01em;
}

/* ── Hero art ────────────────────────────────────────────────────── */

.hero-art {
  display: flex;
  justify-content: center;
}

.hero-card {
  display: grid;
  gap: 0;
  max-width: 460px;
  width: 100%;
}

/* ── Hero window mock ────────────────────────────────────────────── */

.hero-window {
  background: var(--bg-raised);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-window-bar {
  background: var(--glass-mid);
  border-bottom: 1px solid var(--glass-border);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.dot--red   { background: var(--red); }
.dot--amber { background: var(--warning); }
.dot--green { background: var(--green); }

.hero-window-title {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.04em;
}

.hero-typing {
  padding: 24px 24px 28px;
}

.hero-typing p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.hero-cursor .caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--accent);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: caret-blink 1s steps(2,end) infinite;
}

@keyframes caret-blink {
  50% { opacity: 0; }
}

.hero-receipt {
  background: var(--green-bg);
  border: 1px solid var(--green-border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  margin-top: 14px;
}

.hero-receipt-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.hero-receipt-text strong {
  display: block;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.hero-receipt-text small {
  color: var(--text-3);
  font-size: 12px;
}

/* ── How it works ────────────────────────────────────────────────── */

.how {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) var(--px);
}

.how h2 {
  max-width: 720px;
}

/* Connecting dotted line runs between steps at the top of the grid */
.how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-top: 36px;
  position: relative;
  counter-reset: how-step;
}

/* Horizontal connector — visible only when steps sit in a single row */
@media (min-width: 641px) {
  .how-steps::before {
    content: '';
    position: absolute;
    top: 47px; /* vertical center of the .how-num circle */
    left: calc(var(--px) + 20px);
    right: calc(var(--px) + 20px);
    height: 0;
    border-top: 2px dashed var(--green-border);
    pointer-events: none;
    z-index: 0;
  }
}

.how-step {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  counter-increment: how-step;
}

/* Large decorative background number */
.how-step::before {
  content: counter(how-step);
  position: absolute;
  bottom: -10px;
  right: 10px;
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  color: var(--text);
  opacity: 0.1;
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.how-step > * {
  position: relative;
  z-index: 1;
}

.how-step:hover {
  border-color: var(--glass-border-bright);
  box-shadow: var(--shadow-sm);
}

/* Bounce-in for the number circle on reveal */
@keyframes bounce-in {
  0%   { transform: scale(0.5); opacity: 0; }
  60%  { transform: scale(1.15); opacity: 1; }
  80%  { transform: scale(0.95); }
  100% { transform: scale(1); }
}

.how-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

/* Outer pulsing ring */
.how-num::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Trigger bounce-in and ring pulse when step becomes visible */
.how-step.visible .how-num {
  animation: bounce-in 0.5s ease forwards;
}

.how-step.visible .how-num::after {
  opacity: 1;
  transform: scale(1);
  animation: ring-pulse 2.5s ease-in-out 0.5s infinite;
}

@keyframes ring-pulse {
  0%, 100% { opacity: 0.30; transform: scale(1); }
  50%       { opacity: 0.08; transform: scale(1.18); }
}

.how-step-icon {
  font-size: 32px;
  margin-bottom: 14px;
  display: block;
  line-height: 1;
}

.how-step h3 {
  margin-bottom: 10px;
}

.how-step p {
  margin: 0;
  font-size: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Features grid ───────────────────────────────────────────────── */

.features {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) var(--px);
}

.features > h2 {
  max-width: 720px;
  margin-bottom: 36px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.feature {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 24px 26px;
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
  position: relative;
  overflow: hidden;
}

.feature:hover {
  border-color: var(--green-border);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.feature h3 {
  color: var(--text);
  margin-bottom: 10px;
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 14px;
  display: block;
  transition: transform 200ms ease;
  transform-origin: center center;
}

/* ── Feature icon hover animations — per-card via nth-child ─────────── */

@keyframes icon-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

@keyframes icon-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes icon-pulse-scale {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.25); }
}

@keyframes icon-shake {
  0%, 100% { transform: rotate(0deg); }
  25%       { transform: rotate(-10deg); }
  75%       { transform: rotate(10deg); }
}

/* Card 1: 🔒 privacy lock — spin */
.feature:nth-child(1):hover .feature-icon { animation: icon-spin 0.55s ease-in-out forwards; }
/* Card 2: ⚡ lightning / speed — bounce */
.feature:nth-child(2):hover .feature-icon { animation: icon-bounce 0.5s ease forwards; }
/* Card 3: 🌐 languages — shake */
.feature:nth-child(3):hover .feature-icon { animation: icon-shake 0.4s ease forwards; }
/* Card 4: 📖 dictionary — bounce */
.feature:nth-child(4):hover .feature-icon { animation: icon-bounce 0.5s ease forwards; }
/* Card 5: 🎤 microphone — pulse */
.feature:nth-child(5):hover .feature-icon { animation: icon-pulse-scale 0.45s ease forwards; }
/* Card 6: 📡 streaming — shake */
.feature:nth-child(6):hover .feature-icon { animation: icon-shake 0.4s ease forwards; }
/* Card 7: ⌨️ hotkeys — bounce */
.feature:nth-child(7):hover .feature-icon { animation: icon-bounce 0.5s ease forwards; }
/* Card 8: 🔲 tray — spin */
.feature:nth-child(8):hover .feature-icon { animation: icon-spin 0.55s ease-in-out forwards; }
/* Card 9: 🗂️ history — pulse */
.feature:nth-child(9):hover .feature-icon { animation: icon-pulse-scale 0.45s ease forwards; }

.feature p {
  margin: 0;
  font-size: 15px;
}

/* ── Social proof ────────────────────────────────────────────────── */

.social-proof {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) var(--px);
  text-align: center;
}

.social-proof .section-intro {
  margin-bottom: 48px;
}

.social-proof .eyebrow {
  justify-content: center;
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(16px, 2vw, 24px);
  text-align: left;
}

/* Early-access points — honest first-mover framing (replaces fabricated testimonials) */
.early-access-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(24px, 4vw, 40px);
  text-align: left;
}
.early-access-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: clamp(18px, 2vw, 24px);
}
.early-access-point p { margin: 0; line-height: 1.5; }
.early-access-icon { font-size: 1.6rem; line-height: 1; flex: 0 0 auto; }
[dir="rtl"] .early-access-points,
[dir="rtl"] .early-access-point { text-align: right; }

.quote-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-left: 3px solid transparent;
  border-radius: var(--r-xl);
  padding: 28px;
  transition: border-color 0.3s ease, border-left-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.quote-card blockquote {
  flex: 1;
}

.quote-card:hover {
  border-color: var(--glass-border-bright);
  box-shadow: var(--shadow-sm);
}

/* Active testimonial highlight — set via JS cycling */
.quote-card.quote-active {
  border-left-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

/* Star ratings row */
.quote-stars {
  color: var(--accent);
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
  line-height: 1;
}

.quote-card blockquote {
  margin: 0;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.65;
  font-style: italic;
}

.quote-card blockquote::before {
  content: "\201C";
  color: var(--accent);
  font-size: 40px;
  line-height: 0;
  display: block;
  margin-bottom: 14px;
  padding-top: 20px;
  font-style: normal;
}

.quote-meta {
  margin-top: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.quote-meta > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.quote-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-accent);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.quote-name {
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
}

.quote-role {
  color: var(--text-3);
  font-size: 12px;
  margin-top: 2px;
}

/* ── Privacy section ─────────────────────────────────────────────── */

.privacy-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) var(--px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
  position: relative;
}

.privacy-text {
  position: relative;
}

.privacy-text .eyebrow {
  justify-content: flex-start;
}

.privacy-text p {
  font-size: 16px;
  line-height: 1.7;
}

.privacy-bullets {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.privacy-bullets li {
  color: var(--text-2);
  line-height: 1.65;
  padding-left: 40px;
  position: relative;
  padding-top: 4px;
  padding-bottom: 4px;
  padding-right: 12px;
  border-left: 2px solid var(--teal-glow);
  margin-left: 2px;
  transition: border-color 0.4s ease;
}

.privacy-bullets li.visible {
  border-left-color: var(--teal);
}

.privacy-bullets li strong {
  color: var(--text);
  font-weight: 700;
}

/* SVG animated checkmark */
.check-icon {
  position: absolute;
  left: 6px;
  top: 2px;
  width: 22px;
  height: 22px;
  color: var(--teal);
  flex-shrink: 0;
}

.check-path {
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  transition: stroke-dashoffset 0.5s ease 0.2s;
}

.privacy-bullets li.visible .check-path {
  stroke-dashoffset: 0;
}

/* ── Receipt card (privacy section mock) ─────────────────────────── */

.privacy-receipt-mock {
  position: relative;
}

.receipt-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-left: 3px solid var(--green);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.receipt-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--glass-border);
}

.receipt-header .receipt-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.receipt-header strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.receipt-header small {
  display: block;
  color: var(--green);
  font-size: 12px;
  margin-top: 3px;
  background: var(--green-bg);
  padding: 2px 8px;
  border-radius: 999px;
  width: max-content;
}

.receipt-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
}

.receipt-detail > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.receipt-detail dt {
  color: var(--text-3);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.receipt-detail dd {
  color: var(--text);
  font-size: 13px;
  margin: 0;
  font-variant-numeric: tabular-nums;
}

/* ── Languages showcase ──────────────────────────────────────────── */

.languages {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) var(--px);
  border-top: 1px solid var(--glass-border);
}

.languages-lede {
  max-width: 720px;
  margin: 0 0 32px;
  font-size: 17px;
}

.languages-note {
  margin-top: 28px;
  font-size: 14px;
  color: var(--text-3);
  text-align: center;
}

.languages-note a {
  color: var(--accent);
}

.languages-note a:hover {
  color: var(--accent-hover);
}

/* ── Language tabs ───────────────────────────────────────────────── */

.lang-tabs {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-sm);
  padding: 4px;
  width: fit-content;
  margin: 0 0 28px;
}

.lang-tab {
  position: relative;
  z-index: 1;
  background: none;
  border: none;
  color: var(--text-3);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 20px;
  border-radius: calc(var(--r-sm) - 2px);
  cursor: pointer;
  transition: color 0.15s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-tab:hover {
  color: var(--text-2);
}

.lang-tab.active {
  color: var(--text);
}

/* Accent sliding indicator — JS drives translateX via inline style */
.lang-tab-indicator {
  position: absolute;
  bottom: 4px;
  left: 4px;
  height: calc(100% - 8px);
  width: calc((100% - 8px) / 3);
  background: var(--accent-glow);
  border: 1px solid var(--green-border);
  border-radius: calc(var(--r-sm) - 3px);
  transform: translateX(0);
  transition: transform 0.22s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
}

/* Language panels */
.lang-panels {
  margin-top: 4px;
}

.lang-panel {
  display: none;
}

.lang-panel.active {
  display: block;
}

.lang-panel-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.lang-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.lang-script {
  font-size: 13px;
  color: var(--text-3);
}

.rtl-indicator {
  color: var(--accent);
  font-weight: 700;
}

.lang-transcript-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 24px 28px;
  max-width: 580px;
  box-shadow: var(--shadow);
}

.lang-transcript-waveform {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 32px;
  margin-bottom: 16px;
}

.lt-bar {
  flex: 1;
  background: var(--accent);
  border-radius: 2px;
  height: var(--h, 50%);
  opacity: 0.7;
  animation: lt-pulse 1.4s ease-in-out var(--d, 0s) infinite alternate;
}

@keyframes lt-pulse {
  from { transform: scaleY(0.55); opacity: 0.5; }
  to   { transform: scaleY(1);    opacity: 0.9; }
}

@media (prefers-reduced-motion: reduce) {
  .lt-bar { animation: none; }
}

.lang-transcript-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.lang-transcript-text {
  font-size: 18px;
  color: var(--text);
  line-height: 1.55;
  margin: 0;
  font-weight: 500;
}

/* ── Compare table ───────────────────────────────────────────────── */

.compare {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) var(--px);
  border-top: 1px solid var(--glass-border);
}

.compare-lede {
  margin: 0 0 32px;
  font-size: 14px;
  color: var(--text-3);
}

.compare-lede strong {
  color: var(--text-2);
}

.compare-lede a {
  color: var(--accent);
}

.compare-table-wrap {
  background: var(--bg-raised);
  border: 1px solid var(--glass-border-bright);
  border-radius: var(--r-lg);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow-lg);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.compare-table th,
.compare-table td {
  padding: 22px 24px;
  text-align: left;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--text-2);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  vertical-align: middle;
}

/* Column widths: Lytly gets slightly more real estate */
.compare-table thead th:first-child { width: 28%; }
.compare-table thead th.lytly-col   { width: 20%; }
.compare-table thead th:nth-child(n+3) { width: 17.3%; }

/* Row striping — clear zebra, theme-aware (text-tinted so it survives
   the light theme's white card) */
.compare-table tbody tr:nth-child(odd) th,
.compare-table tbody tr:nth-child(odd) td {
  background-color: color-mix(in srgb, var(--text) 5%, transparent);
}

.compare-table tbody tr:nth-child(even) th,
.compare-table tbody tr:nth-child(even) td {
  background-color: color-mix(in srgb, var(--text) 1.5%, transparent);
}

/* Lytly column overrides — keep the accent tint slightly stronger on top of zebra */
.compare-table tbody tr:nth-child(odd) td.lytly-col {
  background: var(--accent-glow);
}
.compare-table tbody tr:nth-child(even) td.lytly-col {
  background: var(--teal-glow);
}

.compare-table thead th {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-top: 18px;
  padding-bottom: 18px;
}

.compare-table th[scope="row"] {
  color: var(--text);
  font-weight: 600;
}

.compare-table .lytly-col {
  background: var(--accent-glow);
  color: var(--text);
  font-weight: 600;
}

/* Accent top bar on the Lytly column header */
.compare-table thead th.lytly-col {
  background: var(--accent-glow);
  border-top: 2px solid var(--accent);
}

.compare-table .yes::before {
  content: "✓ ";
  color: var(--green);
  font-weight: 700;
}

.compare-table .no::before {
  content: "✗ ";
  color: var(--red);
  font-weight: 700;
}

.compare-table .dim {
  color: var(--text-3);
}

/* Tooltip cursor hint for cells with title attributes */
.compare-table td[title] {
  cursor: help;
}

/* "Best for" row — italic + muted */
.compare-best-for th,
.compare-best-for td {
  font-style: italic;
  color: var(--text-3) !important;
  font-weight: 400 !important;
  border-bottom: none;
}

.compare-best-for td.lytly-col {
  color: var(--text-2) !important;
  font-style: italic;
}

.compare-table tr:last-child th,
.compare-table tr:last-child td {
  border-bottom: none;
}

/* ── Pricing ─────────────────────────────────────────────────────── */

.pricing {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) var(--px);
  border-top: 1px solid var(--glass-border);
}

.pricing-lede {
  max-width: 640px;
  font-size: 17px;
  margin-bottom: 36px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 800px;
}

.plan {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.plan > a,
.plan > button {
  margin-top: auto;
}

.plan:hover {
  border-color: var(--glass-border-bright);
  box-shadow: var(--shadow-sm);
}

.plan--pro {
  position: relative;
  background: var(--glass-mid);
  border: 1px solid var(--accent);
  box-shadow: var(--shadow);
}

.plan--pro::before {
  display: none;
}

.plan--pro:hover {
  box-shadow: var(--shadow-lg);
}

.plan-popular {
  display: inline-block;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.plan-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  /* Absolute so it does NOT push <h3>/price down — all 3 cards keep prices on the same row */
  position: absolute;
  top: 16px;
  left: 32px;
}

.plan h3 {
  font-size: 22px;
  margin: 0;
  color: var(--text);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
}

.plan-price .amount {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}

.plan-price .period {
  color: var(--text-3);
  font-size: 15px;
  margin-left: 4px;
}

.plan-price-strike {
  color: var(--text-3);
  text-decoration: line-through;
  font-size: 20px;
  font-weight: 700;
  margin-right: 6px;
  opacity: 0.7;
}

.plan-price-note {
  font-size: 12.5px;
  color: var(--text-3);
  margin: 4px 0 0;
  letter-spacing: 0.01em;
}

.plan--pro .plan-price .period {
  color: var(--text-3);
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.plan-features li {
  color: var(--text-2);
  font-size: 15px;
  padding-left: 22px;
  position: relative;
}

.plan-features li::before {
  content: "✓ ";
  color: var(--accent);
  font-weight: 700;
  position: absolute;
  left: 0;
}

.plan--pro .plan-features li::before {
  color: var(--teal);
}

.plan-features li strong {
  color: var(--text);
}

/* Feature items with explicit yes/no styling */
.plan-features li.plan-feature--yes::before {
  content: "✓ ";
  color: var(--green);
  font-weight: 700;
}

.plan-features li.plan-feature--yes {
  color: var(--text-2);
}

.plan-features li.plan-feature--no::before {
  content: "✗ ";
  color: var(--red);
  opacity: 0.7;
  font-weight: 700;
}

.plan-features li.plan-feature--no {
  color: var(--text-3);
  text-decoration: none;
  opacity: 0.7;
}

/* Free plan usage limit badge */
.plan-limit {
  display: block;
  width: fit-content;
  background: var(--glass-mid);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin: -8px 0 0;
}

/* Pro plan "Everything in Free, plus:" heading */
.plan-features-heading {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 4px;
}

/* Pricing → FAQ link */
.pricing-faq-link {
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  color: var(--text-3);
}

.pricing-faq-link a {
  color: var(--accent);
}

.pricing-faq-link a:hover {
  color: var(--accent-hover);
}

/* Pricing CTA buttons */
.plan .cta-primary {
  background: var(--accent);
  color: var(--on-accent);
}

.plan .cta-primary:hover {
  background: var(--accent-hover);
  color: var(--on-accent);
}

.plan--pro .cta-secondary {
  border-color: var(--glass-border-bright);
  color: var(--text-2);
}

.plan--pro .cta-secondary:hover {
  border-color: var(--accent);
  color: var(--text);
}

/* ── FAQ (custom accordion — smooth max-height animation) ─────────── */

.faq {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) var(--px);
  border-top: 1px solid var(--glass-border);
}

.faq > h2 {
  margin-bottom: 36px;
}

.faq-grid {
  display: grid;
  gap: 12px;
}

/* Custom accordion items (replaces <details> in index.html) */
.faq-item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.open {
  border-color: var(--glass-border-bright);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 22px;
  font-family: inherit;
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  text-align: left;
  user-select: none;
}

.faq-q:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.faq-icon {
  color: var(--text-3);
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
  display: inline-block;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-a {
  /* max-height set by JS to exact scrollHeight for fit; 600px is the safe
     fallback if JS hasn't run yet (e.g. very long answer or no-JS). */
  max-height: 600px;
}

.faq-a p {
  margin: 0;
  padding: 0 22px 18px;
  font-size: 15px;
  color: var(--text-2);
}

/* Keep <details> styles for HE/RU pages which still use native details */
.faq details {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 18px 22px;
  transition: border-color 0.2s ease;
}

.faq details[open] {
  border-color: var(--glass-border-bright);
}

.faq summary {
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--text-3);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 14px 0 0;
  font-size: 15px;
  color: var(--text-2);
}

/* ── Final CTA ─────────────────────────────────────────────────── */
.final-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 12vw, 140px) var(--px);
  text-align: center;
  border-top: 1px solid var(--glass-border);
}

/* Large background watermark text — flat volt tint */
.final-cta::before {
  content: "LYTLY";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(80px, 15vw, 200px);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--accent-glow);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  line-height: 1;
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}
.final-cta h2 {
  font-size: clamp(32px, 5vw, 56px);
  margin: 0 0 20px;
}
.final-cta-sub {
  font-size: 17px;
  max-width: 520px;
  margin: 0 auto 32px;
  color: var(--text-2);
}
.final-cta .hero-cta {
  justify-content: center;
}

.final-cta-tagline {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-3);
  letter-spacing: 0.01em;
}

/* ── Download trust note (verified download / what to expect on first run) ── */
.download-trust {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 560px;
  margin: 22px auto 0;
  padding: 14px 18px;
  text-align: left;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
}
.download-trust-icon { flex: 0 0 auto; color: var(--accent); margin-top: 2px; }
.download-trust-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-2);
}
.download-trust-text strong { color: var(--text-1); }
[dir="rtl"] .download-trust { text-align: right; }

/* ── Final CTA: platform row ─────────────────────────────────────────── */

.final-cta-platforms {
  font-size: 13px;
  color: var(--text-3);
  margin-top: 12px;
  letter-spacing: 0.01em;
}

.cta-primary {
  position: relative;
  overflow: hidden;
}

/* ── Download / final CTA ────────────────────────────────────────── */

.download {
  padding: clamp(72px, 10vw, 120px) var(--px);
  text-align: center;
  border-top: 1px solid var(--glass-border);
}

.download h2 {
  max-width: 640px;
  margin: 0 auto 16px;
}

.download > p {
  max-width: 520px;
  margin: 0 auto 28px;
  font-size: 17px;
}

.download-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.download-note {
  font-size: 13px;
  color: var(--text-3);
  max-width: 460px;
  margin: 0 auto;
}

/* ── Demo section ────────────────────────────────────────────────── */

.demo-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) var(--px);
  text-align: center;
  border-top: 1px solid var(--glass-border);
}

.demo-section > h2 {
  margin-bottom: 36px;
}

.demo-card-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.demo-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  box-shadow: var(--shadow-lg);
}

.demo-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

/* Animated waveform bars inside the demo card */
.demo-waveform {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 15%;
}

.demo-wave-bar {
  flex: 1;
  max-width: 8px;
  border-radius: 4px;
  background: var(--accent);
  height: var(--h, 30%);
  animation: wave-pulse 1.4s ease-in-out infinite alternate;
  animation-delay: var(--d, 0s);
  opacity: 0.18;
}

/* Play button overlay */
.demo-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 40%, transparent);
  animation: play-pulse 2.5s ease-in-out infinite;
  transition: background 0.15s ease, transform 0.15s ease;
  /* Offset the ▶ character slightly to appear centered */
  padding-left: 4px;
}

.demo-card:hover .demo-play-btn {
  background: var(--accent-hover);
  transform: translate(-50%, -50%) scale(1.08);
}

@keyframes play-pulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 40%, transparent); }
  50%       { box-shadow: 0 0 0 16px transparent; }
}

.demo-caption {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-3);
  text-align: center;
}

/* ── Why Lytly section (3-col differentiators) ────────────────────── */

.why-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) var(--px);
  border-top: 1px solid var(--glass-border);
  text-align: center;
}

.why-section > h2 {
  margin-bottom: 12px;
}

.why-section > .why-lede {
  font-size: 17px;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto 48px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

@media (max-width: 720px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

.why-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.why-card:hover {
  border-color: var(--green-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.why-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 1px solid var(--green-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.why-card h3 {
  font-size: 18px;
  margin: 0;
}

.why-card p {
  font-size: 15px;
  color: var(--text-2);
  margin: 0;
  line-height: 1.6;
}

/* ── Footer improvements ────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--glass-border);
  background: var(--bg);
  padding: clamp(40px,6vw,60px) var(--px) 28px;
}
.footer-main {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--glass-border);
}
.footer-brand-col .footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 14px;
}
.footer-brand-col .footer-tagline {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.6;
  max-width: 260px;
  margin: 0 0 0;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 14px;
}
.footer-col-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-col-links a {
  color: var(--text-2);
  font-size: 14px;
  text-decoration: none;
}
.footer-col-links a:hover {
  color: var(--text);
}
.footer-bottom {
  max-width: var(--max);
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 13px;
  color: var(--text-3);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-nav a {
  color: var(--text-3);
  font-size: 14px;
  transition: color 0.15s ease;
}
.footer-nav a:hover {
  color: var(--text);
}
.footer-nav a[aria-current="page"] {
  color: var(--text);
}
/* Collapse to 2-col on tablet: brand+languages / product+company */
@media (max-width: 820px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand  languages"
      "product company";
  }
  .footer-brand-col    { grid-area: brand; }
  .footer-col-languages { grid-area: languages; }
  .footer-col-product  { grid-area: product; }
  .footer-col-company  { grid-area: company; }
}
@media (max-width: 480px) {
  .footer-main {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "product"
      "company"
      "languages";
  }
}

/* ── Section label ───────────────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--accent);
}

/* ── Section scroll offset ───────────────────────────────────────── */

section {
  scroll-margin-top: 70px;
}

/* ── Scroll reveal animation ─────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* ── Stagger reveal delays ───────────────────────────────────────── */
/* NOTE: Per-sibling stagger is now handled dynamically by scroll-reveal.js
   (each sibling .reveal gets index * 80ms via inline style.transitionDelay).
   CSS stagger rules here have been removed to avoid conflicts. */

/* ── Reduced motion — comprehensive catch-all ────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  /* Reveal elements: show immediately without transition */
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  /* Scroll progress bar: no animation */
  #scroll-progress {
    transition: none !important;
  }
  /* Typewriter cursor: no blink */
  .hero-copy h1::after,
  .showcase-mock-cursor {
    animation: none !important;
    opacity: 1 !important;
  }
  /* Hero orb pulse rings: no animation */
  .hw-orb-ring {
    animation: none !important;
  }
  /* Section dot transitions */
  .section-dot {
    transition: none !important;
  }
}

/* ── Responsive: 820px ───────────────────────────────────────────── */

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-art {
    order: -1;
  }

  .hero-card {
    max-width: 400px;
  }

  .privacy-section {
    grid-template-columns: 1fr;
  }

  .receipt-detail {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

/* ── Responsive: 640px ───────────────────────────────────────────── */

@media (max-width: 640px) {
  /* Note: topbar-nav link hiding is handled at 768px (hamburger breakpoint) */

  /* Hero window mock: hide on mobile — too tall, copy is above the fold */
  .hero-art {
    display: none;
  }

  .quotes-grid {
    grid-template-columns: 1fr;
  }

  .hero-outer {
    padding-top: clamp(48px, 8vw, 72px);
  }

  /* Clamp lede to 2 lines on mobile so it doesn't dominate the hero */
  .lede {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* ── Responsive: 480px ───────────────────────────────────────────── */

/* Features: 1-col on phones (<480px), 2-col on tablet (480-900px), 3-col on desktop */
@media (min-width: 481px) and (max-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Stats band ─────────────────────────────────────────────────── */
.stats-band {
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: var(--glass);
}
.stats-band-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px var(--px);
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-item {
  flex: 1;
  min-width: 160px;
  text-align: center;
  padding: 8px 24px;
}
.stat-number {
  display: block;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
}
.stat-suffix {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--accent);
  margin-left: 2px;
}
.stat-desc {
  display: block;
  font-size: 13px;
  color: var(--text-3);
  margin-top: 8px;
  line-height: 1.45;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--glass-border);
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .stats-band-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
  .stat-divider { display: none; }
  .stat-item { padding: 16px 8px; }
}

@media (max-width: 380px) {
  .stats-band-inner {
    grid-template-columns: 1fr;
  }
}

/* ── Compare table improvements ─────────────────────────────────── */
.compare-table-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
}
.compare-table tbody tr:hover th,
.compare-table tbody tr:hover td {
  background-color: var(--accent-glow);
}
.compare-table tbody tr:hover td.lytly-col {
  background-color: color-mix(in srgb, var(--accent) 20%, transparent);
}
.compare-table .lytly-col {
  position: relative;
}
.compare-table thead th.lytly-col::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
}
.compare-table thead th {
  position: relative;
}

/* ── Eyebrow pulse dot ───────────────────────────────────────────── */
/* Hide the CSS-generated dot when the explicit animated span is present */
.eyebrow:has(.eyebrow-dot)::before {
  display: none;
}
.eyebrow-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  margin-right: 8px;
  vertical-align: middle;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

/* ── Compare table — "Most private" badge + Lytly ring ───────────── */
.most-private-badge {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--green-border);
  padding: 2px 8px;
  border-radius: 999px;
  width: max-content;
  margin: 0 auto 6px;
}

/* Ring/highlight for Lytly column header — flat accent ring */
.compare-table thead th.lytly-col {
  box-shadow: inset 0 0 0 1px var(--green-border);
}

/* "Best for" row styling */
.compare-best-for th,
.compare-best-for td {
  border-top: 1px solid var(--glass-border-bright);
  font-style: italic;
  color: var(--text-3);
  font-size: 13px;
  border-bottom: none;
}
.compare-best-for .lytly-col {
  color: var(--accent);
  font-style: normal;
  font-weight: 600;
}

/* Privacy-bullets stagger is handled by scroll-reveal.js (index * 80ms inline). */

/* ── Hero window 3D tilt ─────────────────────────────────────────── */

.hero-window--3d {
  transform: perspective(800px) rotateX(5deg) rotateY(-8deg);
  transform-origin: center center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: var(--shadow-lg);
  will-change: transform;
  animation: float 4s ease-in-out infinite;
}

.hero-window--3d:hover {
  transform: perspective(800px) rotateX(2deg) rotateY(-4deg);
  box-shadow: var(--shadow-lg);
  animation-play-state: paused;
}

/* Float keyframes must always include the full 3D tilt at every step
   so the perspective/rotateX/rotateY base is not dropped during animation. */
@keyframes float {
  0%, 100% { transform: perspective(800px) rotateX(5deg) rotateY(-8deg) translateY(0); }
  50%       { transform: perspective(800px) rotateX(5deg) rotateY(-8deg) translateY(-8px); }
}

/* On narrow screens, remove tilt to avoid clip from hero-outer overflow:hidden */
@media (max-width: 820px) {
  .hero-window--3d {
    transform: none;
    animation: none;
  }
  .hero-window--3d:hover {
    transform: none;
    animation: none;
  }
}

/* ── Hero waveform animation ─────────────────────────────────────── */

.hero-waveform {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 48px;
  margin-bottom: 18px;
  padding: 0 4px;
}

.wave-bar {
  display: block;
  width: 5px;
  border-radius: 3px;
  background: var(--accent);
  height: var(--h, 50%);
  animation: wave-pulse 1.1s ease-in-out infinite alternate;
  animation-delay: var(--d, 0s);
  opacity: 0.85;
}

@keyframes wave-pulse {
  0%   { transform: scaleY(0.35); opacity: 0.5; }
  100% { transform: scaleY(1);    opacity: 0.95; }
}

/* ── Hero typewriter animation ────────────────────────────────────── */

.hero-typewriter {
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  /* Fixed width container so steps() typewriter tracks character count */
  overflow: hidden;
}

.typewriter-text {
  display: inline;
  overflow: hidden;
  white-space: nowrap;
  /* 38 characters in "Voice typing at the speed of thought..." */
  max-width: 38ch;
  width: 0;
  animation: typewriter-reveal 3.2s steps(38, end) 0.6s forwards;
  vertical-align: bottom;
}

@keyframes typewriter-reveal {
  from { width: 0; }
  to   { width: 38ch; }
}

/* Wrap typewriter + caret so caret follows end of text inline */
.hero-typewriter {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
}

/* ── Hamburger button (mobile only) ──────────────────────────────── */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--glass-border);
  border-radius: var(--r-sm);
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.hamburger:hover {
  border-color: var(--glass-border-bright);
  background: var(--glass);
}

.hamburger-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}

/* X state when open */
.hamburger.is-open .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-open .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.is-open .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
}

/* ── Mobile nav drawer ────────────────────────────────────────────── */

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(320px, 85vw);
  background: var(--bg-raised);
  border-left: 1px solid var(--glass-border);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 0 0 32px;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  /* Hide from AT when closed */
  visibility: hidden;
}

.mobile-nav.open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 8px;
}

.mobile-nav-close {
  background: none;
  border: 1px solid var(--glass-border);
  border-radius: var(--r-sm);
  color: var(--text-3);
  font-size: 16px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.mobile-nav-close:hover {
  border-color: var(--glass-border-bright);
  color: var(--text);
}

.mobile-nav-link {
  display: block;
  padding: 13px 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  border-bottom: 1px solid var(--glass-border);
  transition: color 0.15s ease, background 0.15s ease;
}

.mobile-nav-link:hover {
  color: var(--text);
  background: var(--glass);
}

.mobile-nav-cta {
  margin: 20px 20px 0;
  padding: 13px 24px;
  border-bottom: none;
  background: var(--accent);
  color: var(--on-accent) !important;
  font-weight: 700;
  border-radius: var(--r-sm);
  text-align: center;
  transition: background 0.15s ease !important;
}

.mobile-nav-cta:hover {
  background: var(--accent-hover) !important;
  color: var(--on-accent) !important;
}

/* ── Mobile nav backdrop overlay ──────────────────────────────────── */

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* Hide desktop nav links at 768px; hamburger takes over */
@media (max-width: 768px) {
  .topbar-nav a:not(.topbar-cta) {
    display: none;
  }
  /* Also hide the Download CTA from the topbar nav since it's in the drawer */
  .topbar-nav .topbar-cta {
    display: none;
  }
}

/* ── Pricing toggle ───────────────────────────────────────────────── */

.pricing-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 4px;
  width: max-content;
  margin-bottom: 32px;
}

.pricing-toggle-btn {
  background: none;
  border: none;
  border-radius: 999px;
  padding: 9px 22px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-3);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.pricing-toggle-btn.active {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: var(--shadow-sm);
}

.pricing-toggle-btn:hover:not(.active) {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}

.pricing-save-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--teal);
  background: var(--teal-glow);
  border: 1px solid var(--green-border);
  padding: 1px 7px;
  border-radius: 999px;
}

/* ── Pricing money-back guarantee ─────────────────────────────────── */

.pricing-guarantee {
  margin-top: 28px;
  font-size: 14px;
  color: var(--text-3);
  text-align: center;
}

/* ── Footer social links row ──────────────────────────────────────── */

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  border: 1px solid var(--glass-border);
  color: var(--text-3);
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.footer-social-link:hover {
  border-color: var(--glass-border-bright);
  color: var(--text);
  background: var(--glass);
}

.footer-social-link svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* footer-tagline used in brand col */

.footer-legal {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 13px;
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-legal a:hover {
  color: var(--text);
}

/* ── Hero CTA — scoped overrides (primary: larger + one-shot glow) ─── */

.hero .hero-cta-primary {
  font-size: 16px;
  padding: 14px 28px;
}

/* One-shot pulse glow on load — runs once, does not loop */
@media (prefers-reduced-motion: no-preference) {
  @keyframes hero-cta-glow-once {
    0%   { box-shadow: 0 0 0 0 transparent; }
    40%  { box-shadow: 0 0 0 10px color-mix(in srgb, var(--accent) 35%, transparent); }
    100% { box-shadow: 0 0 0 18px transparent; }
  }

  .hero .hero-cta-primary {
    animation: hero-cta-glow-once 2s ease-out 0.8s 1 forwards;
  }
}

/* Secondary CTA in hero: clearer ghost styling, lower visual weight */
.hero .hero-cta-secondary {
  color: var(--text-3);
  border-color: var(--glass-border);
  font-weight: 500;
}

.hero .hero-cta-secondary:hover {
  color: var(--text-2);
  border-color: var(--glass-border-bright);
}

/* ── Hero OS platform line ──────────────────────────────────────────── */

.hero-platform-line {
  font-size: 13px;
  color: var(--text-3);
  margin: 10px 0 0;
  letter-spacing: 0.02em;
}

/* ── Privacy section — "0 bytes stored" stat ───────────────────────── */

.privacy-zero-stat {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 20px;
}

.privacy-zero-number {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  overflow: visible;
  padding-bottom: 0.12em;
}

.privacy-zero-label {
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 600;
  color: var(--text-2);
}

/* ── Receipt card — deleted badge ───────────────────────────────────── */

.receipt-deleted-badge {
  display: inline-block;
  margin-top: 16px;
  background: var(--green-bg);
  border: 1px solid var(--green-border);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.04em;
}

/* ── Receipt delete animation ────────────────────────────────────────── */

@keyframes receipt-line-out {
  0%   { opacity: 1; transform: translateX(0); }
  80%  { opacity: 0; transform: translateX(-18px); }
  100% { opacity: 0; transform: translateX(-18px); }
}

@keyframes receipt-section-out {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-8px); }
}

@keyframes receipt-badge-in {
  0%   { opacity: 0; transform: scale(0.75); }
  70%  { opacity: 1; transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}

/* Animating state — added/removed by JS */
.receipt-card.receipt-deleting .receipt-detail > div:nth-child(1) {
  animation: receipt-line-out 0.4s ease 0.1s both;
}
.receipt-card.receipt-deleting .receipt-detail > div:nth-child(2) {
  animation: receipt-line-out 0.4s ease 0.35s both;
}
.receipt-card.receipt-deleting .receipt-detail > div:nth-child(3) {
  animation: receipt-line-out 0.4s ease 0.6s both;
}
.receipt-card.receipt-deleting .receipt-detail > div:nth-child(4) {
  animation: receipt-line-out 0.4s ease 0.85s both;
}
.receipt-card.receipt-deleting .receipt-detail > div:nth-child(5) {
  animation: receipt-line-out 0.4s ease 1.1s both;
}
/* On deleted state: fade header and detail section, leave card frame + badge visible */
.receipt-card.receipt-deleted .receipt-header {
  animation: receipt-section-out 0.4s ease both;
}
.receipt-card.receipt-deleted .receipt-detail {
  animation: receipt-section-out 0.4s ease 0.05s both;
}
.receipt-card.receipt-deleted .receipt-deleted-badge {
  animation: receipt-badge-in 0.45s ease 0.3s both;
}

/* ── Privacy guarantee pills ──────────────────────────────────────────── */

.privacy-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.privacy-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.02em;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.privacy-pill:hover {
  border-color: var(--glass-border-bright);
  color: var(--text);
}

/* ── Trust strip ─────────────────────────────────────────────────────── */

.trust-strip {
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: var(--glass);
  padding: 14px var(--px);
}

.trust-strip-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 13px;
  color: var(--text-3);
}

.trust-strip-dot {
  color: var(--glass-border-bright);
  font-size: 10px;
  line-height: 1;
}

/* ── Sticky mobile CTA bar ───────────────────────────────────────────── */

.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: var(--bg-raised);
  border-top: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  z-index: 300;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
  /* Only visible on mobile */
  display: none;
}

/* Show only on mobile */
@media (max-width: 767px) {
  .sticky-cta-bar {
    display: flex;
  }
}

.sticky-cta-bar[hidden] {
  display: none !important;
}

.sticky-cta-bar.visible {
  opacity: 1;
  transform: translateY(0);
}

.sticky-cta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: background 0.15s ease;
}

.sticky-cta-btn:hover {
  background: var(--accent-hover);
  color: var(--on-accent);
}

.sticky-cta-close {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  background: none;
  border: 1px solid var(--glass-border);
  color: var(--text-3);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.sticky-cta-close:hover {
  border-color: var(--glass-border-bright);
  color: var(--text);
}

/* ── Launch banner ────────────────────────────────────────────────────── */

.launch-banner {
  position: relative;
  width: 100%;
  height: 48px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 110;
  flex-shrink: 0;
}

.launch-banner[hidden] {
  display: none !important;
}

.launch-banner-link {
  color: var(--on-accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  flex: 1;
  text-align: center;
  padding: 0 40px;
  transition: opacity 0.15s ease;
}

.launch-banner-link:hover {
  color: var(--on-accent);
  opacity: 0.88;
}

.launch-banner-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid color-mix(in srgb, var(--on-accent) 45%, transparent);
  color: var(--on-accent);
  font-size: 14px;
  width: 28px;
  height: 28px;
  border-radius: var(--r-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease;
  flex-shrink: 0;
}

.launch-banner-close:hover {
  background: color-mix(in srgb, var(--on-accent) 12%, transparent);
  border-color: var(--on-accent);
}

/* ── ProductHunt badge ────────────────────────────────────────────────── */

.ph-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249,115,22,0.10);
  border: 1px solid rgba(249,115,22,0.35);
  border-radius: 999px;
  padding: 6px 16px 6px 12px;
  font-size: 13px;
  font-weight: 700;
  color: #f97316;
  text-decoration: none;
  margin-top: 16px;
  width: fit-content;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  letter-spacing: 0.01em;
}

.ph-badge:hover {
  background: rgba(249,115,22,0.18);
  border-color: rgba(249,115,22,0.55);
  color: #f97316;
  transform: translateY(-1px);
}

.ph-badge-logo {
  font-size: 16px;
  line-height: 1;
}

/* ── Feature showcase (replaces demo section) ─────────────────────────── */

.demo-lede {
  font-size: 17px;
  color: var(--text-3);
  margin: -16px 0 32px;
  text-align: center;
}

/* Showcase tab bar — mirrors .lang-tabs pattern */
.showcase-tabs {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-sm);
  padding: 4px;
  width: fit-content;
  margin: 0 auto 36px;
}

.showcase-tab {
  position: relative;
  z-index: 1;
  background: none;
  border: none;
  color: var(--text-3);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 9px 22px;
  border-radius: calc(var(--r-sm) - 2px);
  cursor: pointer;
  transition: color 0.15s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.showcase-tab:hover {
  color: var(--text-2);
}

.showcase-tab.active {
  color: var(--text);
}

/* Sliding indicator */
.showcase-tab-indicator {
  position: absolute;
  bottom: 4px;
  left: 4px;
  height: calc(100% - 8px);
  width: calc((100% - 8px) / 3);
  background: var(--accent-glow);
  border: 1px solid var(--green-border);
  border-radius: calc(var(--r-sm) - 3px);
  transform: translateX(0);
  transition: transform 0.22s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
}

/* Panels */
.showcase-panel {
  display: none;
}

.showcase-panel.active {
  display: block;
}

.showcase-panel-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 720px) {
  .showcase-panel-inner {
    grid-template-columns: 1fr;
  }
  .showcase-tabs {
    width: 100%;
  }
  .showcase-tab {
    flex: 1;
    justify-content: center;
    padding: 9px 10px;
    font-size: 13px;
  }
}

/* Showcase copy column */
.showcase-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.showcase-stat {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  margin: 0 0 4px;
}

.showcase-copy h3 {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  margin: 0;
}

.showcase-copy p {
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

/* Showcase mock panels */
.showcase-mock {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.showcase-mock-bar {
  background: var(--glass-mid);
  border-bottom: 1px solid var(--glass-border);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.showcase-mock-title {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.03em;
}

.showcase-mock-content {
  padding: 20px 22px;
}

.showcase-mock-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-2);
  margin: 0;
}

.showcase-mock-cursor {
  display: inline-block;
  color: var(--accent);
  animation: caret-blink 1s steps(2, end) infinite;
  font-weight: 300;
}

.showcase-mock-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-top: 1px solid var(--glass-border);
  background: var(--glass-mid);
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
}

.showcase-mock-wpm {
  color: var(--teal);
}

/* Code mock */
.showcase-mock-content--code {
  padding: 16px 20px;
}

.showcase-code {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-2);
  white-space: pre-wrap;
  word-break: break-all;
  text-align: left;
}

.code-kw  { color: var(--accent); font-weight: 600; }
.code-fn  { color: var(--teal); }
.code-comment { color: var(--text-3); font-style: italic; }

/* Accessibility mock */
.showcase-mock--access {
  display: flex;
  flex-direction: column;
}

.showcase-access-langs {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.showcase-access-lang {
  display: grid;
  grid-template-columns: 2em 1fr 1fr;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--glass-border);
  transition: background 0.15s ease;
}

.showcase-access-lang:last-child {
  border-bottom: none;
}

.showcase-access-lang:hover {
  background: var(--glass);
}

.access-lang-flag {
  font-size: 18px;
}

.access-lang-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.access-lang-sample {
  font-size: 14px;
  color: var(--text-2);
  text-align: right;
}

/* ── Compare table: Lytly column header gradient fill (Task 2a) ──────── */

.compare-table thead th.lytly-col--header {
  background: var(--accent);
  color: var(--on-accent);
  border-top: none;
  border-image: none;
  text-align: center;
}

.compare-table thead th.lytly-col--header .most-private-badge {
  background: rgba(255, 255, 255, 0.20);
  color: var(--on-accent);
  border-color: rgba(255, 255, 255, 0.35);
}

/* ── Compare table: Winner row (Task 2b) ─────────────────────────────── */

.compare-winner-row th,
.compare-winner-row td {
  background: var(--accent-glow);
  font-weight: 700;
  border-top: 1px solid var(--green-border);
  border-bottom: none;
}

.compare-winner-row .compare-winner-cell {
  color: var(--accent);
  font-size: 16px;
  font-weight: 800;
}

/* ── Compare table: mobile horizontal scroll (Task 2c) ───────────────── */

@media (max-width: 640px) {
  .compare-table {
    min-width: 560px;
  }
}

/* ── Pricing: plan-popular badge — accent, absolute top-right (Task 1b) */

.plan--pro {
  position: relative;
}

.plan-popular {
  /* Override: sky-blue pill, absolutely positioned top-right */
  background: var(--accent-glow);
  border: 1px solid var(--accent);
  color: var(--accent);
  position: absolute;
  top: 16px;
  right: 16px;
  margin-bottom: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 999px;
}

/* ── Pricing: mini Free vs Pro comparison table (Task 1d) ────────────── */

.pricing-mini-compare {
  margin-top: 36px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pricing-mini-table {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  border-collapse: collapse;
  font-size: 14px;
}

.pricing-mini-table thead th {
  padding: 8px 14px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-3);
  border-bottom: 1px solid var(--glass-border);
}

.pricing-mini-table thead th:first-child {
  text-align: left;
}

.pricing-mini-table tbody td {
  padding: 9px 14px;
  text-align: center;
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-2);
}

.pricing-mini-table tbody td:first-child {
  text-align: left;
  color: var(--text);
}

.pricing-mini-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-mini-table .pmc-yes {
  color: var(--green);
  font-weight: 700;
}

.pricing-mini-table .pmc-no {
  color: var(--text-3);
}

/* ── Newsletter strip (Task 4) ───────────────────────────────────────── */

.newsletter-strip {
  background: var(--bg-raised);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 28px var(--px);
}

.newsletter-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.newsletter-text {
  flex: 1;
  min-width: 200px;
}

.newsletter-heading {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 4px;
}

.newsletter-sub {
  font-size: 13px;
  color: var(--text-3);
  margin: 0;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.newsletter-input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: 14px;
  padding: 9px 14px;
  outline: none;
  width: 240px;
  max-width: 100%;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.newsletter-input::placeholder {
  color: var(--text-3);
}

.newsletter-input:focus {
  border-color: var(--accent);
  background: var(--accent-glow);
}

.newsletter-btn {
  background: var(--accent-glow);
  border: 1px solid var(--accent);
  border-radius: var(--r-sm);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  padding: 9px 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.newsletter-btn:hover {
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
}

.newsletter-success {
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  margin: 0;
  flex-shrink: 0;
}

.newsletter-success[hidden] {
  display: none;
}

@media (max-width: 640px) {
  .newsletter-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .newsletter-form {
    width: 100%;
  }

  .newsletter-input {
    width: 100%;
    flex: 1;
  }
}

/* ── Task 1: Hero window app mock (.hw-*) ────────────────────────── */
.hw-titlebar {
  height: 28px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  background: var(--glass-mid);
  border-bottom: 1px solid var(--glass-border);
}

.hw-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hw-dot--red   { background: #ff5f56; }
.hw-dot--amber { background: #ffbd2e; }
.hw-dot--green { background: #27c93f; }

.hw-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 14px;
  border-bottom: 1px solid var(--glass-border);
  background: var(--glass-mid);
}

.hw-wordmark {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.hw-recording-badge {
  display: none; /* hidden by default; shown via JS when recording */
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: hw-badge-pulse 1s ease-in-out infinite;
}

@keyframes hw-badge-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

.hw-body {
  display: flex;
  min-height: 180px;
}

.hw-sidebar {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 8px;
  background: var(--glass-mid);
  border-right: 1px solid var(--glass-border);
}

.hw-nav {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text-3);
  font-size: 14px;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}

.hw-nav--active {
  background: var(--accent-glow);
  color: var(--accent);
}

.hw-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 14px 14px;
}

.hw-orb {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hw-orb-ring {
  position: absolute;
  inset: -8px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  animation: hero-orb-pulse 2s ease-out infinite;
  will-change: transform, opacity;
}

@keyframes hero-orb-pulse {
  0%   { transform: scale(1);    opacity: 0.8; }
  80%  { transform: scale(1.35); opacity: 0;   }
  100% { transform: scale(1.35); opacity: 0;   }
}

.hw-hint {
  font-size: 11px;
  color: var(--text-3);
  margin: 0;
  letter-spacing: 0.03em;
}

.hw-transcript-card {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-sm);
  animation: fade-slide-up 0.5s ease forwards;
  animation-delay: 2s;
  opacity: 0;
}

@keyframes fade-slide-up {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0);   }
}

.hw-transcript-text {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.4;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hw-copy-btn {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  background: var(--accent-glow);
  color: var(--accent);
  cursor: default;
}

/* ── Task 2: Stats band context labels + border colours ──────────── */
.stat-context {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  margin-top: 4px;
}

.stat-border-sky  { border-top: 2px solid var(--accent); }
.stat-border-teal { border-top: 2px solid var(--teal); }

/* ── Task 3: Testimonial enhancements ────────────────────────────── */
/* Amber stars */
.quote-stars {
  color: var(--warning);
}

/* Per-card avatar accents (flat) */
.quote-avatar--1 { background: var(--accent); }
.quote-avatar--2 { background: var(--teal); }
.quote-avatar--3 { background: var(--accent-hover); }

/* Verified badge */
.testimonial-verified {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.03em;
}

/* ── Task 4: Section progress dots (right-side nav) ──────────────── */
.section-dots {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 900;
  pointer-events: none;
}

.section-dot {
  pointer-events: all;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: 1.5px solid rgba(255,255,255,0.35);
  display: block;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  position: relative;
  cursor: pointer;
  will-change: transform;
}

.section-dot::after {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-2);
  background: var(--bg-raised);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  padding: 2px 7px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
}

.section-dot:hover::after,
.section-dot--active::after {
  opacity: 1;
}

.section-dot--active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .section-dots { display: none; }
}

/* ── Pricing payment methods row ─────────────────────────────────── */
.pricing-payment-methods {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
  flex-wrap: wrap;
  font-size: 13px;
}
.payment-badge {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 4px 12px;
  font-size: 13px;
  color: var(--text-secondary);
}
.payment-note {
  color: var(--text-secondary);
  font-size: 12px;
  opacity: 0.7;
}

/* ── Crypto payment section (ru.html) ─────────────────────────────── */
.pricing-crypto-hint {
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
  margin: -8px 0 20px;
}
.pricing-crypto-hint a {
  color: #f7931a;
  text-decoration: underline;
}
.crypto-payment-card {
  background: var(--glass);
  border: 1px solid rgba(247,147,26,0.25);
  border-radius: 20px;
  padding: 32px;
  max-width: 480px;
  margin: 32px auto 0;
  text-align: center;
}
.crypto-badge {
  display: inline-block;
  background: rgba(247,147,26,0.15);
  border: 1px solid rgba(247,147,26,0.4);
  color: #f7931a;
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}
.crypto-options {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 20px 0;
  flex-wrap: wrap;
}
.crypto-option {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 14px;
}
.crypto-icon { font-size: 18px; }
.crypto-pricing-note {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 16px 0;
}
.crypto-cta {
  display: inline-block;
  background: #f7931a;
  color: #000;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}
.crypto-cta:hover { background: #e8830a; }
.crypto-note-small {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 12px;
}

/* ── Language grid (multilingual section) ────────────────────────── */

/* Section container helper — centres content with max-width */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(80px,10vw,140px) var(--px); border-top: 1px solid var(--glass-border); }
.container { /* inherits from .section */ }

.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--text);
}

.section-subtitle {
  max-width: 640px;
  font-size: 17px;
  color: var(--text-2);
  margin: 0 0 0;
}

.lang-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 760px;
  margin: 24px auto 16px;
}

/* Hide "extra" pills until search query is typed or "Show more" is clicked */
.lang-grid:not(.lang-grid--expanded) .lang-pill--extra {
  display: none;
}

/* Search input above the grid */
.lang-search-wrap {
  max-width: 480px;
  margin: 36px auto 8px;
}

.lang-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 10px 18px;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.lang-search:focus-within {
  border-color: var(--accent);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

.lang-search-icon {
  color: var(--text-3);
  flex-shrink: 0;
}

.lang-search input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 14.5px;
  font-family: inherit;
}

.lang-search input::placeholder {
  color: var(--text-3);
}

.lang-search-count {
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Show more / Show fewer button */
.lang-grid-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.lang-toggle-more {
  background: var(--accent-glow);
  border: 1px solid var(--green-border);
  color: var(--accent);
  border-radius: 999px;
  padding: 10px 22px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.lang-toggle-more:hover {
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  border-color: var(--accent);
  color: var(--accent-hover);
}

.lang-grid-empty {
  color: var(--text-3);
  font-size: 13.5px;
  text-align: center;
  margin: 0;
}

.lang-pill {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.lang-pill:hover {
  border-color: var(--glass-border-bright);
  background: var(--glass-mid);
}

.lang-pill-flag { font-size: 22px; }

.lang-pill-names {
  display: flex;
  flex-direction: column;
}

.lang-pill-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.lang-pill-native {
  font-size: 11px;
  color: var(--text-2);
}

.lang-grid-more {
  text-align: center;
  color: var(--text-2);
  font-size: 14px;
}

.lang-demo-card {
  max-width: 500px;
  margin: 32px auto 0;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}

.lang-demo-text {
  font-size: 18px;
  font-style: italic;
  color: var(--text);
  margin-bottom: 12px;
}

.lang-demo-attribution {
  color: var(--text-2);
  font-size: 14px;
}

/* Language testimonials — 3-column grid with avatars (replaces single lang-demo-card) */
.lang-testimonials {
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1080px;
}

.lang-testimonial {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.lang-testimonial:hover {
  border-color: var(--glass-border-bright);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.lang-testimonial-flag {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 22px;
  opacity: 0.85;
}

.lang-testimonial-text {
  font-size: 15.5px;
  font-style: italic;
  color: var(--text);
  margin: 0;
  padding: 0;
  line-height: 1.55;
}

.lang-testimonial-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.lang-testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.lang-testimonial-name {
  font-weight: 600;
  color: var(--text);
  font-size: 14px;
}

.lang-testimonial-role {
  font-size: 12.5px;
  color: var(--text-3);
}

@media (max-width: 900px) {
  .lang-testimonials { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .lang-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Pricing payment methods — pm-* classes (new spec) ───────────── */

.pm-label {
  font-size: 12px;
  color: var(--text-2);
}

.pm-badge {
  font-size: 12px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 3px 10px;
  color: var(--text-2);
}

.pm-badge--crypto {
  border-color: rgba(247,147,26,0.4);
  color: #f7931a;
}

/* Pricing Paddle footnote */
.pricing-paddle-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-2);
  margin-top: 8px;
}

/* ── Russian payment section (ru.html) ───────────────────────────── */
.ru-payment-notice { background: color-mix(in srgb, var(--warning) 10%, transparent); border: 1px solid color-mix(in srgb, var(--warning) 30%, transparent); border-radius: 10px; padding: 12px 40px 12px 16px; color: var(--warning); font-size: 14px; position: relative; margin-bottom: 24px; }
.ru-payment-notice a { color: var(--accent); }
.ru-notice-close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--warning); font-size: 18px; cursor: pointer; padding: 0; line-height: 1; }
.ru-payment-section { max-width: 680px; margin: 40px auto 0; }
.ru-payment-header { text-align: center; margin-bottom: 28px; }
.ru-payment-header h3 { font-size: 22px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.ru-payment-header p { color: var(--text-secondary); font-size: 15px; }
.ru-payment-badge-row { margin-bottom: 12px; }
.ru-payment-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-secondary); font-weight: 600; }
.ru-payment-available { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.ru-pay-card { background: var(--glass); border: 1px solid var(--glass-border); border-radius: 16px; padding: 24px; }
.ru-pay-card--tg { border-color: rgba(38,162,218,0.3); }
.ru-pay-card--crypto { border-color: rgba(247,147,26,0.3); }
.ru-pay-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ru-pay-icon { font-size: 24px; }
.ru-pay-name { font-size: 18px; font-weight: 700; color: var(--text-primary); flex: 1; }
.ru-pay-available-badge { background: var(--green-bg); border: 1px solid var(--green-border); color: var(--green); border-radius: 20px; padding: 2px 10px; font-size: 12px; font-weight: 600; }
.ru-pay-desc { color: var(--text-secondary); font-size: 14px; margin-bottom: 16px; line-height: 1.6; }
.ru-pay-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.ru-pay-plan { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 10px 8px; text-align: center; }
.ru-pay-plan--featured { border-color: var(--accent); background: var(--accent-glow); }
.ru-pay-period { display: block; font-size: 12px; color: var(--text-secondary); margin-bottom: 4px; }
.ru-pay-price { display: block; font-size: 18px; font-weight: 700; color: var(--text-primary); }
.ru-pay-save { display: block; font-size: 11px; color: var(--green); margin-top: 2px; }
.ru-pay-cta { display: block; text-align: center; background: rgba(38,162,218,0.2); border: 1px solid rgba(38,162,218,0.4); color: #26a2da; border-radius: 10px; padding: 12px; font-weight: 600; text-decoration: none; transition: background 0.2s; }
.ru-pay-cta:hover { background: rgba(38,162,218,0.3); }
.ru-pay-cta--crypto { background: rgba(247,147,26,0.15); border-color: rgba(247,147,26,0.4); color: #f7931a; }
.ru-pay-cta--crypto:hover { background: rgba(247,147,26,0.25); }
.ru-pay-card--rubit { border-color: var(--green-border); }
.ru-methods-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.ru-method-pill { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10); border-radius: 8px; padding: 5px 10px; font-size: 13px; color: var(--text-secondary); }
.ru-pay-cta--rubit { background: var(--accent-glow); border-color: var(--accent); color: var(--accent); }
.ru-pay-cta--rubit:hover { background: color-mix(in srgb, var(--accent) 22%, transparent); }
.ru-pay-note { font-size: 12px; color: var(--text-secondary); text-align: center; margin-top: 10px; }
.ru-pay-crypto-options { display: flex; gap: 8px; margin-bottom: 14px; }
.crypto-coin { background: rgba(247,147,26,0.1); border: 1px solid rgba(247,147,26,0.25); color: #f7931a; border-radius: 8px; padding: 4px 10px; font-size: 13px; font-weight: 600; }
.ru-payment-coming-soon { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); border-radius: 16px; padding: 20px 24px; }
.ru-coming-methods { display: flex; gap: 12px; flex-wrap: wrap; margin: 12px 0; }
.ru-coming-method { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 10px 16px; opacity: 0.7; }
.ru-coming-icon { font-size: 20px; }
.ru-coming-name { font-size: 14px; font-weight: 600; color: var(--text-secondary); }
.ru-coming-note { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.ru-coming-note a { color: var(--accent); }
@media(max-width:640px) { .ru-pay-plans { grid-template-columns: 1fr; } .ru-coming-methods { flex-direction: column; } }

/* ── Platform OS icons (SVG-based, replaces emojis) ─────────────── */

.platform-os {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  vertical-align: middle;
}

.platform-os svg {
  flex-shrink: 0;
  vertical-align: middle;
}

.platform-os--soon {
  opacity: 0.5;
}

.platform-os small {
  font-size: 0.78em;
}

/* ── Non-clickable "coming soon" CTA button ─────────────────────── */

.cta-coming-soon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 22px;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 14px;
  background: rgba(255,255,255,0.04);
  color: var(--text-3);
  border: 1px solid var(--glass-border);
  cursor: not-allowed;
  opacity: 0.6;
  text-decoration: none;
  user-select: none;
  pointer-events: none;
}

.cta-coming-soon .coming-soon-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.12);
  border-radius: 4px;
  padding: 1px 5px;
  color: var(--text-3);
}

/* ── RTL overrides ───────────────────────────────────────────────────────
   The base sheet uses physical left/right values in several places
   (text-align, padding-left, position: absolute left:N, etc.). These
   blocks flip them for [dir="rtl"] so Hebrew + Arabic align correctly,
   put check-marks on the right of the text instead of the left, and
   keep avatars/icons on the inline-start side. */

/* Text alignment — flip physical 'left' to 'right' under RTL. */
[dir="rtl"] .quotes-grid,
[dir="rtl"] .quotes-grid .quote-card,
[dir="rtl"] .quotes-grid .quote-stars,
[dir="rtl"] .quotes-grid .quote-meta,
[dir="rtl"] .quotes-grid .quote-name,
[dir="rtl"] .quotes-grid .quote-role,
[dir="rtl"] .quotes-grid .testimonial-verified,
[dir="rtl"] .compare-table th,
[dir="rtl"] .compare-table td,
[dir="rtl"] .faq-q,
[dir="rtl"] .pricing-mini-table thead th:first-child,
[dir="rtl"] .pricing-mini-table tbody td:first-child {
  text-align: right;
}

/* Privacy bullets — checkmark and decorative border move from left to right. */
[dir="rtl"] .privacy-bullets li {
  padding-left: 12px;
  padding-right: 40px;
  border-left: none;
  border-right: 2px solid var(--teal-glow);
  margin-left: 0;
  margin-right: 2px;
}
[dir="rtl"] .privacy-bullets li.visible {
  border-left-color: transparent;
  border-right-color: var(--teal);
}
[dir="rtl"] .check-icon {
  left: auto;
  right: 6px;
}

/* Pricing plan features — checkmark moves to the right of the text. */
[dir="rtl"] .plan-features li {
  padding-left: 0;
  padding-right: 22px;
}
[dir="rtl"] .plan-features li::before {
  left: auto;
  right: 0;
}

/* Pricing mini-compare — "Feature" header column was left-aligned; mirror. */
[dir="rtl"] .pricing-mini-table thead th,
[dir="rtl"] .pricing-mini-table tbody td {
  text-align: center;
}
[dir="rtl"] .pricing-mini-table thead th:first-child,
[dir="rtl"] .pricing-mini-table tbody td:first-child {
  text-align: right;
}

/* Compare table — "Lytly" winner column has a left-side accent; keep it
   on the visible inline-start so the highlight sits next to the text. */
[dir="rtl"] .compare-table .lytly-col {
  text-align: right;
}

/* FAQ accordion — text-align right plus the +/× icon naturally falls to
   the inline-end (left in RTL) via direction:rtl on the parent. */
[dir="rtl"] .faq-q .faq-icon {
  text-align: left;
}

/* Quote-meta layout: avatar should sit on the inline-start (right in RTL),
   not stay glued to the left like the LTR original. */
[dir="rtl"] .quote-meta {
  flex-direction: row-reverse;
}

/* CTA arrow inside the topbar/hero/etc. — the unicode → arrow visually
   points the wrong way in RTL. Flip it horizontally. */
[dir="rtl"] .topbar-cta-arrow,
[dir="rtl"] .hero-cta-primary > span[aria-hidden],
[dir="rtl"] .cta-primary > span[aria-hidden],
[dir="rtl"] .cta-secondary > span[aria-hidden] {
  display: inline-block;
  transform: scaleX(-1);
}

/* Stats-band — icons inside stat-item shouldn't visually mirror.
   (No override needed — the band flows row-reverse via direction:rtl
   on the parent, which is the desired RTL layout.) */

/* ── v3 theme toggle (header) ─────────────────────────────────────── */

.theme-toggle {
  background: none;
  border: 1px solid var(--glass-border);
  color: var(--text-2);
  border-radius: var(--r-sm);
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex: none;
}

.theme-toggle:hover {
  color: var(--text);
  border-color: var(--glass-border-bright);
}
