/* Landing page — utility-style design (Tailwind-like scale), no external dependencies. */
:root {
  --card: #ffffff; --glass: rgba(255, 255, 255, .85); --tint: rgba(15, 23, 42, .05); --line2: #cbd5e1;
  --sky-ink: #0b6f96; --sky-soft: #e5f7fe; --tip-ink: #3b4466; --tip-bg: #f2f7ff;
  --ok-bg: #dcfce7; --ok-bg2: #f0fdf4; --ok-line: #bbf7d0; --ok-fg: #15803d; --explain-bg: #f3fbf6; --explain-line: #cdeedb;
  --amber-bg: #fffbeb; --amber-line: #fde68a; --amber-fg: #92400e; --orange-bg: #fff7ed; --orange-fg: #9a3412;
  --indigo-bg: #e0e7ff; --indigo-fg: #3730a3; --hero1: #eef2ff; --hero2: #e0f7ff; --gridline: rgba(15, 23, 42, .04);
  color-scheme: light;
  --ink: #0f172a; --ink2: #334155; --muted: #64748b; --line: #e2e8f0; --bg: #ffffff; --soft: #f8fafc;
  --sky: #2fbdf2; --indigo: #4d6bfe; --violet: #8b5cf6; --pink: #ec4899; --green: #22c55e; --amber: #f59e0b;
  --grad: linear-gradient(135deg, var(--sky) 0%, var(--indigo) 55%, var(--violet) 100%);
  --r: 16px; --r-lg: 24px;
  --sh-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --sh: 0 1px 3px rgba(15, 23, 42, .06), 0 10px 30px -10px rgba(15, 23, 42, .15);
  --sh-lg: 0 30px 60px -20px rgba(30, 41, 99, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); overflow-x: hidden;
  font: 16px/1.6 "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; line-height: 1.15; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(77, 107, 254, .45); outline-offset: 2px; border-radius: 8px; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
  font: inherit; font-weight: 600; border-radius: 12px; padding: 11px 20px; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; -webkit-tap-highlight-color: transparent; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { color: #fff; background: var(--grad); background-size: 160% 160%; box-shadow: 0 10px 24px -10px rgba(77, 107, 254, .7);
  animation: shimmer 6s ease infinite; }
.btn-primary:hover { box-shadow: 0 16px 30px -10px rgba(77, 107, 254, .8); }
.btn-ghost { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), var(--sh-sm); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--line2), var(--sh); }
.btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 14px 24px; font-size: 17px; border-radius: 14px; }
.btn-block { width: 100%; margin-top: 10px; padding: 14px; font-size: 16px; }
.btn-tg { color: #fff; background: linear-gradient(135deg, #38bdf8, #0284c7); box-shadow: 0 10px 24px -10px rgba(2, 132, 199, .7); }
.btn-wa { color: #fff; background: linear-gradient(135deg, #34d399, #16a34a); box-shadow: 0 10px 24px -10px rgba(22, 163, 74, .7); }
.ic { width: 20px; height: 20px; flex: none; }
.arrow { display: inline-block; transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ---------------------------------------------------------------- nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.nav.scrolled { background: var(--glass); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgba(15, 23, 42, .06); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.logo { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--grad);
  box-shadow: 0 6px 16px -6px rgba(77, 107, 254, .8); font-size: 17px; }
.links { display: flex; gap: 26px; margin-left: 20px; font-size: 15px; font-weight: 500; color: var(--ink2); }
.links a { position: relative; padding: 4px 0; }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.links a:hover::after { transform: scaleX(1); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.login { font-weight: 600; font-size: 15px; color: var(--ink2); }
.login:hover { color: var(--indigo); }
.lang-pick { position: relative; }
.lang-btn { font: inherit; font-size: 14px; font-weight: 600; border: 0; background: var(--tint); color: var(--ink2);
  padding: 7px 10px; border-radius: 10px; cursor: pointer; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 150px; background: var(--card); border-radius: 12px; box-shadow: var(--sh-lg);
  padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s var(--ease); }
.lang-pick.open .lang-menu, .lang-pick:focus-within .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 15px; }
.lang-menu a:hover { background: var(--soft); }
.lang-menu a.on { color: var(--indigo); font-weight: 700; }
.burger { display: none; width: 40px; height: 40px; border: 0; background: var(--tint); border-radius: 10px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.only-mobile { display: none; }

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

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: 130px 0 0; overflow: hidden; isolation: isolate;
  background: radial-gradient(1200px 600px at 80% -10%, var(--hero1) 0%, transparent 60%), radial-gradient(900px 500px at -10% 10%, var(--hero2) 0%, transparent 55%), var(--bg); }
.blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: .55; animation: blob 18s ease-in-out infinite; }
.b1 { width: 420px; height: 420px; background: #93c5fd; top: -80px; right: 8%; }
.b2 { width: 360px; height: 360px; background: #c4b5fd; top: 240px; right: -120px; animation-delay: -6s; }
.b3 { width: 300px; height: 300px; background: #a5f3fc; top: 120px; left: -120px; animation-delay: -12s; }
@keyframes blob { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(40px, -30px) scale(1.1); } 66% { transform: translate(-30px, 30px) scale(.92); } }
.grid-bg { position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--gridline) 1px, transparent 1px), linear-gradient(90deg, var(--gridline) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 70%); }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-bottom: 70px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--indigo);
  background: rgba(77, 107, 254, .08); border: 1px solid rgba(77, 107, 254, .18); padding: 6px 14px; border-radius: 999px; }
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); font-weight: 800; margin: 18px 0 14px; }
.grad { background: var(--grad); background-size: 200% 200%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 8s ease infinite; }
.rotator { font-size: clamp(18px, 2.2vw, 22px); font-weight: 600; color: var(--ink2); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rot { position: relative; display: inline-grid; height: 1.5em; overflow: hidden; }
.rot b { grid-area: 1 / 1; color: var(--indigo); transform: translateY(110%); opacity: 0; transition: transform .6s var(--ease), opacity .6s; white-space: nowrap; }
.rot b.on { transform: none; opacity: 1; }
.rot b.out { transform: translateY(-110%); opacity: 0; }
.lead { font-size: clamp(17px, 1.8vw, 19px); color: var(--muted); margin: 16px 0 28px; max-width: 560px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.cta.center { justify-content: center; }
.note { margin-top: 20px; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: ping 2s infinite; flex: none; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } }

/* hero visual */
.hero-visual { position: relative; min-height: 440px; }
.device { position: relative; z-index: 2; background: var(--card); border-radius: 20px; box-shadow: var(--sh-lg), 0 0 0 1px rgba(15, 23, 42, .05);
  overflow: hidden; animation: floaty 7s ease-in-out infinite; margin-right: 70px; }
.device-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--soft); border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.device-bar i { width: 10px; height: 10px; border-radius: 50%; background: #f87171; }
.device-bar i:nth-child(2) { background: #fbbf24; } .device-bar i:nth-child(3) { background: #34d399; }
.device-bar span { margin-left: 10px; font-weight: 600; }
.device-body { padding: 18px; }
.mock-head { font-size: 14px; margin-bottom: 12px; display: flex; gap: 8px; align-items: center; }
.pill-sm { font-size: 12px; font-weight: 700; color: var(--indigo); background: rgba(77, 107, 254, .1); padding: 3px 9px; border-radius: 999px; }
.mock-ex { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; transition: border-color .4s, box-shadow .4s; }
.mock-ex.solved { border-color: var(--ok-line); box-shadow: inset 4px 0 0 var(--green); }
.mock-title { font-weight: 700; font-size: 15px; display: flex; gap: 8px; align-items: center; }
.num { font-size: 12px; color: var(--sky-ink); background: var(--sky-soft); padding: 2px 8px; border-radius: 8px; }
.mock-tip { margin: 10px 0; font-size: 13px; color: var(--tip-ink); background: var(--tip-bg); border-left: 3px solid var(--sky); padding: 6px 10px; border-radius: 8px; }
.mock-line { font-size: 16px; margin: 8px 0; }
.gap { display: inline-block; min-width: 92px; padding: 2px 10px; border-bottom: 2px solid var(--line2); background: var(--soft); border-radius: 8px 8px 0 0;
  text-align: center; font-weight: 600; color: var(--ink); transition: background .3s, border-color .3s; vertical-align: baseline; min-height: 1.6em; }
.gap.typing::after { content: "|"; color: var(--indigo); animation: blink 1s steps(2) infinite; margin-left: 1px; font-weight: 400; }
.gap.ok { background: var(--ok-bg); border-color: var(--green); }
@keyframes blink { 50% { opacity: 0; } }
.mock-actions { display: flex; gap: 8px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
.mbtn { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 9px; color: #fff; background: var(--sky); transition: transform .15s; }
.mbtn.ghost { color: var(--ink2); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.mbtn.press { transform: scale(.92); }
.score { margin-left: auto; font-weight: 800; color: var(--green); opacity: 0; transform: scale(.6); transition: .4s var(--ease); }
.score.show { opacity: 1; transform: none; }
.mock-explain { margin-top: 10px; font-size: 13px; background: var(--explain-bg); border: 1px solid var(--explain-line); border-radius: 10px; padding: 0 12px;
  max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .6s, padding .6s; }
.mock-explain b:first-child { color: var(--ok-fg); }
.mock-explain.show { max-height: 120px; opacity: 1; padding: 8px 12px; }

.phone { position: absolute; z-index: 3; right: 0; bottom: -10px; width: 170px; height: 300px; background: #0f172a; border-radius: 30px; padding: 12px;
  box-shadow: var(--sh-lg); animation: floaty 7s ease-in-out infinite; animation-delay: -3.5s; display: flex; flex-direction: column; gap: 10px; }
.phone-notch { width: 60px; height: 6px; border-radius: 6px; background: #334155; margin: 2px auto 4px; }
.flash { perspective: 700px; flex: 1; }
.flash-in { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .8s var(--ease); }
.flash.flip .flash-in { transform: rotateY(180deg); }
.face { position: absolute; inset: 0; border-radius: 18px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px; background: var(--card); text-align: center; padding: 10px; }
.face small { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.face b { font-size: 24px; }
.face.back { transform: rotateY(180deg); background: var(--grad); color: #fff; }
.face.back b { font-size: 17px; }
.face.back small { color: rgba(255, 255, 255, .8); }
.boxes { display: flex; gap: 4px; justify-content: center; }
.boxes i { width: 16px; height: 6px; border-radius: 4px; background: #334155; transition: background .4s; }
.boxes i.on { background: var(--green); }
.phone-btns { display: flex; gap: 8px; }
.phone-btns span { flex: 1; text-align: center; border-radius: 12px; padding: 6px; font-weight: 800; color: #fff; }
.no { background: #ef4444; } .yes { background: var(--green); }
.float { position: absolute; z-index: 4; background: var(--card); border-radius: 12px; padding: 8px 12px; font-size: 13px; font-weight: 700;
  box-shadow: var(--sh); animation: floaty 6s ease-in-out infinite; white-space: nowrap; }
.f1 { top: -18px; left: -18px; animation-delay: -1s; }
.f2 { bottom: 40px; left: -30px; animation-delay: -2.5s; color: var(--indigo); }
.f3 { top: 46%; right: -10px; color: var(--green); animation-delay: -4s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.marquee { position: relative; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--glass); padding: 16px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-in { display: flex; gap: 44px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-size: 20px; font-weight: 700; color: #94a3b8; white-space: nowrap; }
.marquee span:nth-child(4n + 1) { color: var(--indigo); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.stat { text-align: center; padding: 22px 12px; border-radius: var(--r); background: var(--soft); border: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: 14px; color: var(--muted); font-weight: 500; }

/* ---------------------------------------------------------------- sections */
.section { padding: 96px 20px 0; }
.head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--indigo); margin-bottom: 12px; }
.head h2, .show-text h2, .final h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.head p { margin-top: 14px; font-size: 18px; color: var(--muted); }

.langs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.lang-card { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 26px 22px; color: #fff; display: flex; flex-direction: column; gap: 4px;
  min-height: 190px; box-shadow: var(--sh); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.lang-card::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; background: rgba(255, 255, 255, .14); right: -50px; bottom: -70px; transition: transform .5s var(--ease); }
.lang-card:hover { transform: translateY(-6px) rotate(-.5deg); box-shadow: var(--sh-lg); }
.lang-card:hover::after { transform: scale(1.25); }
.l-tr { background: linear-gradient(135deg, #f43f5e, #e11d48); }
.l-en { background: linear-gradient(135deg, #3b82f6, #4f46e5); }
.l-ru { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.l-uk { background: linear-gradient(135deg, #0ea5e9, #f59e0b); }
.l-de { background: linear-gradient(135deg, #334155, #b45309); }
.l-fr { background: linear-gradient(135deg, #2563eb, #db2777); }
.l-es { background: linear-gradient(135deg, #f97316, #dc2626); }
.l-it { background: linear-gradient(135deg, #10b981, #0f766e); }
.lang-card.focus { outline: 4px solid rgba(77, 107, 254, .35); outline-offset: 4px; }
.lang-card .go { display: inline-block; transition: transform .25s var(--ease); }
.lang-card:hover .go { transform: translateX(5px); }
.crumbs { font-size: 14px; color: var(--muted); margin-top: 16px; }
.crumbs a { color: var(--indigo); font-weight: 600; }
.lang-card .code { font-size: 13px; font-weight: 800; letter-spacing: .1em; background: rgba(255, 255, 255, .22); padding: 3px 9px; border-radius: 8px; align-self: flex-start; }
.lang-card b { font-size: 24px; margin-top: 18px; }
.lang-card .hello { font-size: 18px; opacity: .9; }
.lang-card .lv { margin-top: auto; font-size: 13px; font-weight: 600; opacity: .85; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat { position: relative; padding: 28px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; overflow: hidden; }
.feat::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 160px at var(--mx, 50%) var(--my, 0%), rgba(77, 107, 254, .09), transparent 70%);
  opacity: 0; transition: opacity .35s; pointer-events: none; }
.feat:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: transparent; }
.feat:hover::before { opacity: 1; }
.ico { width: 52px; height: 52px; display: grid; place-items: center; font-size: 26px; border-radius: 14px; margin-bottom: 18px;
  background: linear-gradient(135deg, #eff6ff, #ede9fe); box-shadow: inset 0 0 0 1px rgba(77, 107, 254, .12); transition: transform .4s var(--ease); }
.feat:hover .ico { transform: scale(1.1) rotate(-6deg); }
.feat h3 { font-size: 19px; margin-bottom: 8px; }
.feat p { color: var(--muted); font-size: 15px; }

/* showcase rows */
.show { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.show.rev .show-text { order: 2; }
.show-text p { margin-top: 16px; font-size: 18px; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; font-weight: 500; color: var(--ink2); }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; display: grid; place-items: center; font-size: 13px; font-weight: 800;
  color: #fff; background: var(--grad); border-radius: 50%; }

.chat-demo { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--sh-lg), 0 0 0 1px rgba(15, 23, 42, .04); overflow: hidden; }
.chat-head { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.chat-head small { display: block; color: var(--muted); font-size: 12px; }
.online { color: var(--green); }
.av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; background: linear-gradient(135deg, #f472b6, #8b5cf6); }
.chat-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; min-height: 330px; background: linear-gradient(var(--soft), var(--card)); }
.msg { display: none; max-width: 80%; padding: 10px 14px; border-radius: 16px; font-size: 15px; }
.msg.show { display: block; animation: msgin .45s var(--ease); }
@keyframes msgin { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.msg.bot { background: var(--soft); border: 1px solid var(--line); border-bottom-left-radius: 6px; align-self: flex-start; }
.msg.me { background: var(--grad); color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; }
.msg.fix { align-self: flex-end; background: var(--amber-bg); border: 1px solid var(--amber-line); font-size: 14px; }
.msg.fix small { display: block; color: var(--amber-fg); margin-top: 2px; }
.typing.show { display: flex; gap: 4px; padding: 14px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #94a3b8; animation: bounce 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
.chat-mic { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink2); }
.mic { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; animation: ring 2.4s infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(77, 107, 254, .45); } 70%, 100% { box-shadow: 0 0 0 14px rgba(77, 107, 254, 0); } }

.pron-demo { background: var(--card); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--sh-lg), 0 0 0 1px rgba(15, 23, 42, .04); }
.pron-toggle-demo { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--sky-ink); background: var(--sky-soft); border-radius: 999px; padding: 6px 14px 6px 6px; }
.sw { width: 38px; height: 22px; border-radius: 999px; background: var(--line2); position: relative; transition: background .3s; }
.sw i { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--card); box-shadow: var(--sh-sm); transition: transform .3s var(--ease); }
.pron-demo.on .sw { background: var(--indigo); }
.pron-demo.on .sw i { transform: translateX(16px); }
.pron-text { font-size: clamp(22px, 2.8vw, 30px); font-weight: 700; margin: 22px 0 18px; line-height: 1.9; }
.pw-word { display: inline-flex; flex-direction: column; align-items: center; vertical-align: top; margin-right: .3em; }
.pw-word i { font-size: .52em; font-weight: 500; color: var(--indigo); font-style: italic; line-height: 1; max-height: 0; opacity: 0; transform: translateY(-6px);
  transition: max-height .5s var(--ease), opacity .5s, transform .5s var(--ease); transition-delay: var(--d, 0ms); }
.pron-demo.on .pw-word i { max-height: 2em; opacity: 1; transform: none; }
.pron-words { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pw { text-align: center; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); padding: 14px 8px; }
.pw b { display: block; font-size: 20px; }
.pw span { display: block; color: var(--indigo); font-style: italic; font-weight: 600; }
.pw em { display: block; font-style: normal; font-size: 13px; color: var(--muted); margin-top: 4px; }

.live-demo { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cam { height: 150px; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; position: relative; overflow: hidden; }
.cam span { font-size: 54px; animation: floaty 5s ease-in-out infinite; }
.cam small { position: absolute; left: 12px; bottom: 10px; font-size: 12px; font-weight: 700; background: rgba(0, 0, 0, .3); padding: 2px 8px; border-radius: 6px; }
.cam.teacher { background: linear-gradient(135deg, #6366f1, #a855f7); }
.cam.me { background: linear-gradient(135deg, #06b6d4, #3b82f6); }
.cam.me span { animation-delay: -2.5s; }
.cam::after { content: ""; position: absolute; top: 12px; right: 12px; width: 9px; height: 9px; border-radius: 50%; background: #f87171; animation: ping 2s infinite; }
.live-card { grid-column: 1 / -1; background: var(--card); border-radius: 18px; padding: 18px; box-shadow: var(--sh-lg), 0 0 0 1px rgba(15, 23, 42, .04); }
.lc-title { font-weight: 700; margin-bottom: 8px; }
.lc-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px dashed var(--line); font-size: 15px; }
.seg { display: inline-flex; border-radius: 10px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); flex: none; }
.seg i { font-style: normal; font-size: 13px; font-weight: 600; padding: 5px 10px; color: var(--muted); }
.seg i.on.ok { background: var(--ok-bg); color: var(--ok-fg); }
.lc-comment { margin-top: 10px; font-size: 14px; background: var(--orange-bg); border-radius: 10px; padding: 8px 12px; color: var(--orange-fg); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.steps::before { content: ""; position: absolute; top: 40px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, #c7d2fe 0 8px, transparent 8px 16px); z-index: -1; }
.step { text-align: center; padding: 10px 18px; }
.step .n { width: 80px; height: 80px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 24px; font-size: 32px; font-weight: 800; color: #fff;
  background: var(--grad); box-shadow: 0 16px 30px -12px rgba(77, 107, 254, .7); transition: transform .4s var(--ease); }
.step:hover .n { transform: translateY(-4px) rotate(-6deg); }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.plan { border-radius: var(--r-lg); padding: 28px; border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.plan.pop { border: 2px solid transparent; background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad) border-box; box-shadow: var(--sh-lg); }
.plan h3 { font-size: 20px; }
.price { font-size: 34px; font-weight: 800; margin-top: 10px; }
.plan .checks { flex: 1; margin-bottom: 22px; }

.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 4px; font-size: 18px; font-weight: 600; }
.qa summary::-webkit-details-marker { display: none; }
.pm { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--soft); flex: none; transition: transform .3s var(--ease), background .3s; }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink2); transform: translate(-50%, -50%); border-radius: 2px; }
.pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
.qa[open] .pm { transform: rotate(180deg); background: rgba(77, 107, 254, .1); }
.qa[open] .pm::after { transform: translate(-50%, -50%) rotate(0); }
.qa p { padding: 0 4px 20px; color: var(--muted); font-size: 16px; animation: fadein .4s var(--ease); }
@keyframes fadein { from { opacity: 0; transform: translateY(-6px); } }

.final { padding: 96px 20px; }
.final-in { position: relative; overflow: hidden; text-align: center; color: #fff; border-radius: 32px; padding: 64px 24px; background: var(--grad); background-size: 200% 200%;
  animation: shimmer 10s ease infinite; box-shadow: var(--sh-lg); }
.final-in::before, .final-in::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.final-in::before { width: 300px; height: 300px; left: -80px; top: -120px; animation: blob 14s infinite; }
.final-in::after { width: 220px; height: 220px; right: -60px; bottom: -90px; animation: blob 16s infinite reverse; }
.final p { margin: 14px auto 28px; max-width: 560px; font-size: 18px; opacity: .92; }
.final .btn-tg, .final .btn-wa { box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45); }
.handle { display: block; margin-top: 18px; font-weight: 600; opacity: .85; }

.foot { border-top: 1px solid var(--line); background: var(--soft); padding: 56px 0 calc(24px + env(safe-area-inset-bottom)); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.foot-about p { color: var(--muted); font-size: 15px; margin: 14px 0 16px; max-width: 320px; }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--card); color: var(--ink2);
  box-shadow: inset 0 0 0 1px var(--line); transition: transform .2s var(--ease), color .2s; }
.foot-social a:hover { transform: translateY(-2px); color: var(--indigo); }
.foot-col h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); margin-bottom: 14px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-col a, .linklike { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s; }
.foot-col a:hover, .linklike:hover { color: var(--indigo); }
.linklike { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.foot-langs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.foot-langs a { font-size: 13px; padding: 4px 9px; border-radius: 8px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.foot-langs a.on { color: var(--indigo); font-weight: 700; }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.foot-bottom small { color: var(--muted); }

/* phone register bar */
.mbar { display: none; }

/* registration dialog */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal-bg { position: absolute; inset: 0; background: rgba(15, 23, 42, .5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: fade .25s; }
.modal-card { position: relative; width: 100%; max-width: 400px; background: var(--card); border-radius: 24px; padding: 30px 26px 24px; text-align: center; box-shadow: var(--sh-lg);
  animation: pop .35s var(--ease); }
.modal-card h3 { font-size: 24px; margin-top: 6px; }
.modal-card p { color: var(--muted); margin: 10px 0 14px; }
.modal-card .handle { color: var(--muted); margin-top: 14px; }
.modal-ico { font-size: 42px; animation: wave 1.6s ease-in-out 2; transform-origin: 70% 70%; display: inline-block; }
.x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--soft); cursor: pointer; font-size: 15px; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.96); } }
@keyframes wave { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(16deg); } 40% { transform: rotate(-10deg); } 60% { transform: rotate(12deg); } 80% { transform: rotate(-6deg); } }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1024px) {
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .hero-text { text-align: center; }
  .hero-text .badge, .rotator, .cta, .note { justify-content: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .langs { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .show { grid-template-columns: 1fr; gap: 36px; }
  .show.rev .show-text { order: 0; }
  .show-text { text-align: center; }
  .checks { justify-content: center; text-align: left; width: fit-content; margin-left: auto; margin-right: auto; }
  .plan .checks { width: auto; }
}
@media (max-width: 860px) {
  .links { position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 8px 20px 18px; background: var(--glass);
    backdrop-filter: blur(14px); box-shadow: 0 20px 30px -20px rgba(15, 23, 42, .3); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .25s var(--ease); }
  .links.open { transform: none; opacity: 1; visibility: visible; }
  .links a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .links a::after { display: none; }
  .burger { display: flex; }
  .hide-mobile { display: none; }
  .only-mobile { display: block; }
  .nav { background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { display: none; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .section { padding: 72px 16px 0; }
  .hero { padding-top: 100px; }
  .hero-visual { min-height: 0; }
  .device { margin-right: 0; }
  .phone, .f3 { display: none; }
  .f1 { left: 4px; top: -16px; } .f2 { left: auto; right: 4px; bottom: -14px; }
  .features { grid-template-columns: 1fr; }
  .langs { gap: 12px; }
  .lang-card { min-height: 140px; padding: 18px 16px; border-radius: 18px; }
  .lang-card b { font-size: 19px; margin-top: 12px; }
  .lang-card .hello { font-size: 15px; }
  .feat { padding: 22px; }
  .pron-words { grid-template-columns: 1fr; }
  .cta .btn { width: 100%; }
  .nav-right .btn-sm { display: none; }
  .head { margin-bottom: 32px; }
  .head p, .show-text p { font-size: 16px; }
  .final { padding: 72px 16px 110px; }
  .final-in { padding: 48px 20px; border-radius: 24px; }
  .mbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 -8px 24px -12px rgba(15, 23, 42, .25);
    transform: translateY(110%); transition: transform .35s var(--ease); }
  .mbar.show { transform: none; }
  .mbar .btn { width: 100%; padding: 14px; font-size: 16px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .foot-about { grid-column: 1 / -1; }
  .qa summary { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.stat b.emo { background: none; color: initial; -webkit-text-fill-color: initial; }

/* ---------------------------------------------------------------- student / teacher switch */
.aud { display: inline-flex; padding: 4px; gap: 4px; border-radius: 14px; background: var(--tint); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 16px; }
.aud a { padding: 8px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--muted); transition: background .25s, color .25s, box-shadow .25s; white-space: nowrap; }
.aud a.on { background: var(--card); color: var(--ink); box-shadow: var(--sh-sm), 0 4px 12px -6px rgba(15, 23, 42, .25); }
.aud a:not(.on):hover { color: var(--indigo); }
.hero-text .badge { display: inline-flex; }
.hero-text .aud + .badge { margin-left: 0; }
.links .aud-link { color: var(--indigo); font-weight: 700; }

/* teacher hero: AI studio */
.st-label { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.st-input { margin: 6px 0 12px; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; font-weight: 600; min-height: 42px; background: var(--soft); }
.st-input span::after { content: "|"; color: var(--indigo); animation: blink 1s steps(2) infinite; margin-left: 1px; font-weight: 400; }
.st-row { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.st-row .mbtn { margin-left: auto; background: var(--grad); }
.chip-sm { font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 8px; background: rgba(77, 107, 254, .1); color: var(--indigo); }
.st-prog { display: flex; align-items: center; gap: 10px; margin: 14px 0 10px; }
.st-bar { flex: 1; height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; }
.st-bar i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 8px; transition: width .25s linear; }
.st-prog small { font-weight: 700; color: var(--muted); min-width: 52px; text-align: right; font-variant-numeric: tabular-nums; }
.st-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.st-list li { font-size: 13px; font-weight: 600; padding: 8px 10px; border-radius: 10px; background: var(--ok-bg2); border: 1px solid var(--ok-line); color: var(--ok-fg);
  opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s var(--ease); }
.st-list li.show { opacity: 1; transform: none; }
.t-phone { padding: 12px 10px; gap: 8px; }
.tp-title { color: #fff; font-weight: 700; font-size: 13px; padding: 0 4px; }
.tp-row { display: flex; gap: 8px; align-items: center; background: var(--card); border-radius: 12px; padding: 7px 8px; }
.tp-row > div { flex: 1; min-width: 0; }
.tp-row b { font-size: 12px; display: block; }
.tp-row small { color: var(--muted); font-weight: 600; }
.tp-av { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; background: var(--grad); }
.tp-bar { height: 5px; border-radius: 5px; background: var(--line); overflow: hidden; margin-top: 4px; }
.tp-bar i { display: block; height: 100%; width: 0; background: var(--green); border-radius: 5px; transition: width 1.2s var(--ease); }
.in .tp-bar i, .tp-bar.go i { width: var(--w); }

/* teacher showcase: editor */
.ed-demo { display: grid; gap: 10px; }
.ed-card { background: var(--card); border-radius: 18px; padding: 18px; box-shadow: var(--sh-lg), 0 0 0 1px rgba(15, 23, 42, .04); }
.ed-card.prev p { margin: 6px 0; }
.ed-type { font-weight: 700; margin-bottom: 10px; }
.ed-src { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 15px; line-height: 1.8; background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.ed-src mark { background: var(--indigo-bg); color: var(--indigo-fg); border-radius: 4px; padding: 0 2px; }
.caret { display: inline-block; width: 2px; height: 1.1em; background: var(--indigo); vertical-align: middle; margin-left: 2px; animation: blink 1s steps(2) infinite; }
.ed-teach { margin-top: 10px; font-size: 13px; color: var(--tip-ink); background: var(--tip-bg); border-left: 3px solid var(--sky); padding: 6px 10px; border-radius: 8px; }
.ed-arrow { text-align: center; font-weight: 700; color: var(--indigo); font-size: 14px; }

/* teacher showcase: progress */
.prog-demo { background: var(--card); border-radius: var(--r-lg); padding: 10px; box-shadow: var(--sh-lg), 0 0 0 1px rgba(15, 23, 42, .04); }
.pd-row { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; }
.pd-row + .pd-row { border-top: 1px dashed var(--line); }
.pd-row .tp-av { width: 38px; height: 38px; font-size: 15px; }
.pd-main { flex: 1; min-width: 0; }
.pd-main b { font-size: 15px; }
.pd-main small { color: var(--muted); font-weight: 600; margin-left: 4px; }
.pd-main .tp-bar { height: 8px; }
.pd-st { font-size: 12px; font-weight: 700; padding: 5px 9px; border-radius: 9px; white-space: nowrap; }
.pd-st.ok { background: var(--ok-bg); color: var(--ok-fg); } .pd-st.due { background: var(--amber-bg); color: var(--amber-fg); } .pd-st.ask { background: var(--indigo-bg); color: var(--indigo-fg); }
@media (max-width: 600px) {
  .aud { display: flex; width: 100%; } .aud a { flex: 1; text-align: center; padding: 8px 6px; font-size: 13px; }
  .pd-st { display: none; }
}
.hero h1.long { font-size: clamp(34px, 4.4vw, 54px); }
.t-visual .device { margin-right: 120px; }
.t-visual .t-phone { width: 150px; height: auto; bottom: -30px; }
.t-visual .f1 { left: auto; right: 150px; top: -18px; }
.t-visual .f3 { top: auto; bottom: -24px; right: 160px; }
@media (max-width: 600px) { .t-visual .device { margin-right: 0; } .t-visual .f1 { right: 4px; } }

/* ---------------------------------------------------------------- dark theme */
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e6e9f2; --ink2: #c4cad9; --muted: #94a3b8; --line: #243049; --bg: #0b1020; --soft: #111831;
  --card: #141b2e; --glass: rgba(11, 16, 32, .82); --tint: rgba(255, 255, 255, .07); --line2: #334159;
  --sky-ink: #7fd6f7; --sky-soft: #10304a; --tip-ink: #c3cbe8; --tip-bg: #16223a;
  --ok-bg: #123524; --ok-bg2: #102a1d; --ok-line: #1f5a3a; --ok-fg: #6ee7a8; --explain-bg: #13261c; --explain-line: #24543a;
  --amber-bg: #33280f; --amber-line: #5c4a1c; --amber-fg: #fcd581; --orange-bg: #35200f; --orange-fg: #fdba74;
  --indigo-bg: #232a5c; --indigo-fg: #c7d0ff; --hero1: #18204a; --hero2: #0c2a3d; --gridline: rgba(255, 255, 255, .045);
  --sh-sm: 0 1px 2px rgba(0, 0, 0, .5);
  --sh: 0 1px 3px rgba(0, 0, 0, .5), 0 10px 30px -10px rgba(0, 0, 0, .6);
  --sh-lg: 0 30px 60px -20px rgba(0, 0, 0, .7);
}
[data-theme="dark"] .blob { opacity: .22; }
[data-theme="dark"] .gap { background: #1a2440; border-color: #3b4a6b; }
[data-theme="dark"] .gap.ok { background: var(--ok-bg); border-color: var(--green); }
[data-theme="dark"] .marquee span { color: #475569; }
[data-theme="dark"] .marquee span:nth-child(4n + 1) { color: #8ea2ff; }
[data-theme="dark"] .phone { background: #05070f; box-shadow: var(--sh-lg), 0 0 0 1px #243049; }
[data-theme="dark"] .modal-bg { background: rgba(0, 0, 0, .6); }
[data-theme="dark"] .device-bar { background: #10172b; }
[data-theme="dark"] .face.front { background: var(--card); }
[data-theme="dark"] .final-in { box-shadow: 0 30px 60px -20px rgba(77, 107, 254, .35); }
body { transition: background-color .25s, color .25s; }

/* theme menu on the landing page */
.theme-menu { position: relative; }
.theme-menu summary { list-style: none; cursor: pointer; font-size: 15px; background: var(--tint); padding: 7px 10px; border-radius: 10px; line-height: 1.2; }
.theme-menu summary::-webkit-details-marker { display: none; }
.ti-dark, [data-theme="dark"] .ti-light { display: none; }
[data-theme="dark"] .ti-dark { display: inline; }
.theme-list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 160px; background: var(--card); border-radius: 12px; box-shadow: var(--sh-lg);
  padding: 6px; display: grid; z-index: 60; animation: fadein .2s var(--ease); }
.theme-list button { font: inherit; font-size: 15px; text-align: left; border: 0; background: none; color: var(--ink); padding: 8px 12px; border-radius: 8px; cursor: pointer; white-space: nowrap; }
.theme-list button:hover { background: var(--soft); }
.theme-list button.on { color: var(--indigo); font-weight: 700; background: var(--tint); }
/* plans: no prices for visitors, a "get the price" contact button instead */
.price-ask { display: grid; gap: 8px; margin: 14px 0 18px; }
.price-ask .btn { justify-content: center; }
.price-alt { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 14px; color: var(--muted); }
.price-alt:hover { color: var(--ink); }
.price-alt svg { width: 16px; height: 16px; }
.modal-card .ref-note { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
