:root {
  --bg: #f7f4ee;
  --bg-2: #efe8dc;
  --surface: #fffdf9;
  --ink: #17151f;
  --muted: #5f5a6b;
  --line: #e3dccf;
  --accent: #2b3fd1;
  --accent-2: #5566ff;
  --accent-soft: #e6e9ff;
  --good: #1e7a3c;
  --radius: 18px;
  --shadow-lg: 0 30px 80px -20px rgba(23, 21, 31, 0.35), 0 10px 30px -10px rgba(23, 21, 31, 0.2);
  --shadow: 0 1px 2px rgba(23, 21, 31, 0.06), 0 10px 30px -12px rgba(23, 21, 31, 0.18);
  --display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121118;
    --bg-2: #1a1822;
    --surface: #1f1d28;
    --ink: #f3f1f8;
    --muted: #a9a4b6;
    --line: #2f2c3a;
    --accent: #8191ff;
    --accent-2: #a3afff;
    --accent-soft: #262b52;
    --good: #6fd497;
    --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
    --shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--accent); }
.wrap { max-width: 1160px; margin: 0 auto; padding-inline: 24px; }
kbd {
  display: inline-block; font: 600 0.82em/1 var(--body); padding: 0.28em 0.5em; border-radius: 7px;
  background: var(--surface); border: 1px solid var(--line); border-bottom-width: 3px; color: var(--ink); vertical-align: 0.08em;
}
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); font-variation-settings: 'opsz' 144; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-variation-settings: 'opsz' 120; margin-bottom: 16px; }
h3 { font-size: 1.3rem; font-variation-settings: 'opsz' 36; }
.center { text-align: center; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.tag { display: inline-block; margin: 0 0 14px; padding: 4px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 0.9rem; font-weight: 600; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px; border-radius: 999px;
  background: var(--ink); color: var(--bg); font-weight: 650; text-decoration: none; font-size: 0.98rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(23, 21, 31, 0.5); }
.btn:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; }
.btn-big { padding: 16px 28px; font-size: 1.08rem; background: var(--accent); color: #fff; box-shadow: 0 12px 30px -10px rgba(43, 63, 209, 0.6); }
.btn-big:hover { box-shadow: 0 16px 36px -10px rgba(43, 63, 209, 0.7); }
.btn-small { padding: 9px 16px; font-size: 0.9rem; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn-disabled { background: var(--bg-2); color: var(--muted); cursor: default; }
.btn-disabled:hover { transform: none; box-shadow: none; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; backdrop-filter: saturate(1.4) blur(12px); background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 650; font-size: 1.35rem; letter-spacing: -0.01em; }
.logo img { border-radius: 8px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 550; font-size: 0.95rem; }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 820px) { .nav-links { display: none; } .nav-inner .btn { margin-left: auto; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 80px 0 96px; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle at center, color-mix(in srgb, var(--accent) 18%, transparent), transparent 62%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero-copy h1 { margin-bottom: 22px; }
.cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 32px; }
.cta-note { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-top: 40px; } }

/* Hero demo */
.hero-demo { position: relative; padding: 0 0 170px; }
.screen { position: relative; aspect-ratio: 16 / 10; border-radius: 22px; background: #0d0c14; box-shadow: var(--shadow-lg); isolation: isolate; }
.scene { position: absolute; inset: 0; border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, #1d2140 0%, #3a2346 45%, #7a3d3a 75%, #d27a4d 100%); }
.blob { position: absolute; border-radius: 50%; filter: blur(30px); opacity: 0.75; }
.b1 { width: 46%; height: 60%; left: 8%; top: 18%; background: #f2b277; animation: drift 14s ease-in-out infinite alternate; }
.b2 { width: 40%; height: 52%; right: 6%; top: 8%; background: #5a3a8c; animation: drift 18s ease-in-out infinite alternate-reverse; }
.b3 { width: 60%; height: 30%; left: 20%; bottom: -6%; background: #12101c; opacity: 0.9; filter: blur(24px); }
@keyframes drift { to { transform: translate(6%, -4%) scale(1.08); } }
.player-bar { position: absolute; left: 5%; right: 5%; bottom: 5%; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.25); }
.progress { position: absolute; inset: 0 62% 0 0; border-radius: 4px; background: #e50914; }
.subtitle {
  position: absolute; left: 0; right: 0; bottom: 17%; margin: 0; text-align: center;
  color: #fff; font: 700 clamp(1rem, 2.2vw, 1.55rem)/1.35 var(--body); text-shadow: 0 2px 6px rgba(0, 0, 0, 0.75);
}
.target { position: relative; border-radius: 6px; padding: 0 3px; margin: 0 -3px; animation: mark 7s ease infinite; }
@keyframes mark { 0%, 34%, 92%, 100% { background: transparent; } 40%, 86% { background: rgba(85, 102, 255, 0.55); } }
.cursor { position: absolute; left: 62%; top: 62%; animation: glide 7s cubic-bezier(0.55, 0, 0.25, 1) infinite; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.4)); }
@keyframes glide {
  0% { transform: translate(260px, -150px); opacity: 0; }
  8% { opacity: 1; }
  30%, 88% { transform: translate(0, 0); opacity: 1; }
  96%, 100% { transform: translate(0, 0); opacity: 0; }
}
.keycap {
  position: absolute; left: 22px; top: 20px; width: 52px; height: 52px; display: grid; place-items: center;
  border-radius: 12px; background: #f6f4ef; color: #17151f; font: 600 1.4rem var(--body);
  border-bottom: 5px solid #c9c2b4; box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35); animation: press 7s ease infinite;
}
@keyframes press {
  0%, 22%, 90%, 100% { transform: translateY(0); border-bottom-width: 5px; background: #f6f4ef; }
  27%, 86% { transform: translateY(3px); border-bottom-width: 2px; background: #e6e9ff; }
}
.tip {
  position: absolute; left: 50%; bottom: calc(100% + 14px); width: 236px; transform: translateX(-50%);
  display: grid; gap: 4px; padding: 13px 15px; border-radius: 14px; text-align: left;
  background: #fffdf9; color: #1c1b22; border: 1px solid #e4ded3; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  font: 400 13px/1.4 var(--body); text-shadow: none; animation: pop 7s ease infinite;
}
.tip::after { content: ''; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); border: 8px solid transparent; border-top-color: #fffdf9; }
@keyframes pop {
  0%, 36% { opacity: 0; transform: translateX(-50%) translateY(8px) scale(0.96); }
  42%, 86% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
  92%, 100% { opacity: 0; transform: translateX(-50%) translateY(4px) scale(0.98); }
}
.tip-head { display: flex; align-items: center; gap: 6px; font-size: 14.5px; }
.tip-speak { font-size: 12px; opacity: 0.6; }
.tip-tr { font-size: 18px; font-weight: 650; color: #2b3fd1; }
.tip-note { color: #6b6676; font-size: 12.5px; }
.tip-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; color: #8a8595; font-size: 11.5px; }
.tip-save { background: #e6f4ea; color: #1e7a3c; font-weight: 650; padding: 3px 9px; border-radius: 999px; animation: saved 7s ease infinite; }
@keyframes saved { 0%, 58% { opacity: 0.25; } 64%, 100% { opacity: 1; } }

.card-float {
  position: absolute; left: -28px; bottom: 0; width: min(290px, 66%);
  display: grid; gap: 6px; padding: 16px 18px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  transform: rotate(-3deg); animation: float 6s ease-in-out infinite alternate;
}
@keyframes float { to { transform: rotate(-2deg) translateY(-8px); } }
.cf-kind { font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.cf-q { font-family: var(--display); font-size: 1.08rem; }
.cf-blank { display: inline-block; min-width: 3ch; text-align: center; border-bottom: 2px solid var(--accent); color: var(--accent); font-weight: 700; }
.cf-a { color: var(--accent); font-weight: 650; }
.cf-rates { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.cf-rates i { font-style: normal; font-size: 0.75rem; padding: 3px 8px; border-radius: 8px; border: 1px solid var(--line); color: var(--muted); }
.cf-rates i.on { background: color-mix(in srgb, var(--good) 15%, transparent); border-color: transparent; color: var(--good); font-weight: 650; }
.cf-src { font-size: 0.75rem; color: var(--muted); }
@media (max-width: 960px) { .card-float { left: 8px; } }
@media (max-width: 520px) { .tip { width: 200px; } .keycap { width: 42px; height: 42px; font-size: 1.1rem; } }

/* Works on */
.works-on { border-block: 1px solid var(--line); background: var(--bg-2); }
.works-on .wrap { display: flex; align-items: center; gap: 22px; padding-block: 20px; flex-wrap: wrap; }
.works-on .wrap > span { font-size: 0.95rem; font-weight: 600; color: var(--muted); }
.works-on ul { display: flex; gap: 10px 28px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.works-on li { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 1.12rem; font-weight: 550; color: var(--ink); }
.works-on li svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.works-on li em { font: 600 0.72rem var(--body); font-style: normal; color: var(--accent); background: var(--accent-soft); padding: 2px 8px; border-radius: 999px; }

/* Sections */
.section { padding: 104px 0; }
.section-tint { background: var(--bg-2); }
.step-n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font: 700 1rem var(--display); }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature h3 { margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 0.98rem; }
@media (max-width: 960px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }

/* Tutor */
.tutor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.checks { padding-left: 1.1em; margin: 22px 0 0; display: grid; gap: 8px; }
.checks li::marker { color: var(--accent); }
.chat { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 18px; display: grid; gap: 12px; }
.chat-top { display: flex; justify-content: space-between; font-weight: 700; padding: 2px 4px 10px; border-bottom: 1px solid var(--line); }
.chat-ctx { font-weight: 500; color: var(--muted); font-size: 0.85rem; }
.bubble { max-width: 86%; padding: 11px 15px; border-radius: 16px; font-size: 0.97rem; }
.bubble.me { justify-self: end; background: var(--accent); color: #fff; border-bottom-right-radius: 5px; }
.bubble.me small { display: block; opacity: 0.8; font-size: 0.75rem; margin-bottom: 2px; }
.bubble.ai { justify-self: start; background: var(--bg-2); border-bottom-left-radius: 5px; }
@media (max-width: 860px) { .tutor-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; gap: 24px; margin-top: 48px; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 34px 32px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan .btn { margin-top: auto; justify-content: center; }
.plan .checks { margin: 22px 0 30px; }
.plan-pro { border: 2px solid var(--accent); }
.badge { position: absolute; top: -13px; left: 32px; background: var(--accent); color: #fff; font-size: 0.8rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.price { font-family: var(--display); font-size: 3rem; font-weight: 600; margin: 10px 0 0; letter-spacing: -0.03em; }
.price small { font-family: var(--body); font-size: 1rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.price-alt { margin: 0; color: var(--muted); font-size: 0.92rem; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 760px; }
.faq h2 { margin-bottom: 36px; }
details { border-bottom: 1px solid var(--line); padding: 20px 4px; }
summary { cursor: pointer; font-weight: 650; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: '+'; font-family: var(--display); font-size: 1.5rem; line-height: 1; color: var(--accent); transition: transform 0.2s ease; }
details[open] summary::after { transform: rotate(45deg); }
summary::-webkit-details-marker { display: none; }
details p { color: var(--muted); margin: 12px 0 0; }

/* Get */
.get { background: radial-gradient(ellipse at top, color-mix(in srgb, var(--accent) 14%, var(--bg)), var(--bg) 70%); }
.get-inner { text-align: center; display: grid; justify-items: center; gap: 22px; }
.get-inner img { border-radius: 18px; box-shadow: var(--shadow-lg); }
.get-inner h2 { max-width: 16em; margin: 0; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 0.92rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 22px; }
.footer a { color: var(--muted); }

/* Privacy page */
.doc { max-width: 760px; padding-block: 64px 96px; }
.doc h1 { font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: 8px; }
.doc h2 { font-size: 1.6rem; margin: 44px 0 10px; }
.doc .updated { color: var(--muted); margin-bottom: 32px; }
.doc li { margin: 6px 0; }

/* ---------- How it works: visual journey ---------- */
.journey-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
@media (max-width: 860px) { .journey-grid { grid-template-columns: 1fr; } }
.j-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.j-text { padding: 22px 28px 28px; }
.j-text h3 { margin: 6px 0 8px; }
.j-text p { margin: 0; color: var(--muted); }
.j-text .step-n { margin-bottom: 4px; }
.mock { position: relative; height: 270px; background: var(--bg-2); border-bottom: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; padding: 22px; }
.mock mark { background: rgba(85, 102, 255, 0.28); color: inherit; border-radius: 4px; padding: 0 2px; }

.mini-tip { position: absolute; display: grid; gap: 1px; padding: 8px 11px; border-radius: 10px; background: #fffdf9; color: #1c1b22; border: 1px solid #e4ded3; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25); font: 12px/1.3 var(--body); min-width: 110px; }
.mini-tip b { font-weight: 650; }
.mini-tip em { font-style: normal; font-weight: 650; font-size: 15px; color: #2b3fd1; }

/* 1: install */
.win { width: 100%; max-width: 420px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--bg); border-bottom: 1px solid var(--line); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.win-bar i:nth-child(2) { background: #febc2e; }
.win-bar i:nth-child(3) { background: #28c840; }
.url { flex: 1; margin-left: 8px; padding: 3px 10px; border-radius: 999px; background: var(--bg-2); font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ext-icon img { width: 18px; height: 18px; border-radius: 4px; display: block; animation: pin 4s ease infinite; }
@keyframes pin { 0%, 55% { opacity: 0.15; transform: scale(0.6); } 65%, 100% { opacity: 1; transform: scale(1); } }
.store { display: flex; align-items: center; gap: 14px; padding: 18px 16px; }
.store-icon { width: 54px; height: 54px; border-radius: 12px; }
.store-text { flex: 1; display: grid; gap: 1px; font-size: 12px; color: var(--muted); }
.store-text b { color: var(--ink); font-size: 15px; }
.free { color: var(--good); font-weight: 600; }
.store-btn { background: #2b3fd1; color: #fff; font-weight: 650; font-size: 12.5px; padding: 8px 13px; border-radius: 999px; white-space: nowrap; animation: click 4s ease infinite; }
@keyframes click { 0%, 40%, 60%, 100% { transform: scale(1); } 48% { transform: scale(0.92); filter: brightness(0.9); } }
.platforms { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 16px; }
.plat { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 6px 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.plat svg { width: 15px; height: 15px; color: var(--accent); }
.plat.soon { color: var(--muted); }
.plat.soon svg { color: var(--muted); }
.mock-install { align-content: center; }

/* 2: scenes */
.mock-scenes { padding: 0; display: block; }
.scene-tabs { position: absolute; z-index: 2; top: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 92%, transparent); border: 1px solid var(--line); backdrop-filter: blur(6px); }
.scene-tabs span { cursor: pointer; font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 999px; color: var(--muted); }
.scene-tabs span.on { background: var(--accent); color: #fff; }
.scenes, .sc { position: absolute; inset: 0; }
.sc { opacity: 0; transition: opacity 0.5s ease; }
.sc.on { opacity: 1; }
.sc-video { background: linear-gradient(160deg, #1d2140, #3a2346 45%, #7a3d3a 75%, #d27a4d); }
.sc-glow { position: absolute; width: 50%; height: 60%; left: 12%; top: 18%; border-radius: 50%; background: #f2b277; filter: blur(34px); opacity: 0.6; }
.sc-sub { position: absolute; left: 0; right: 0; bottom: 16%; margin: 0; text-align: center; color: #fff; font: 700 18px var(--body); text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7); }
.sc-sub mark { background: rgba(85, 102, 255, 0.6); color: #fff; }
.sc-web { background: #fff; }
.wk-top { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; font-family: var(--body); }
.wk-mark { font: 700 15px Georgia, serif; letter-spacing: 0.02em; }
.wk-mark small { font-size: 10px; font-weight: 400; letter-spacing: 0.06em; }
.wk-search { flex: 1; max-width: 170px; border: 1px solid #a2a9b1; border-radius: 3px; padding: 3px 8px; font-size: 10.5px; color: #72777d; }
.wk-title { margin: 0 0 4px; font: 400 19px/1.2 'Linux Libertine', Georgia, serif; border-bottom: 1px solid #a2a9b1; padding-bottom: 3px; }
.wk-tabs { display: flex; gap: 12px; font: 11px var(--body); color: #36c; margin-bottom: 8px; }
.wk-tabs .on { color: #202122; border-bottom: 2px solid #36c; }
.wk-p { margin: 0 0 7px; padding-right: 92px; }
.wk-p a { color: #36c; }
.wk-p mark { background: rgba(85, 102, 255, 0.22); color: inherit; }
.wk-box { position: absolute; right: 18px; top: 108px; width: 78px; padding: 6px; border: 1px solid #a2a9b1; background: #f8f9fa; font: 9px/1.3 var(--body); display: grid; gap: 3px; }
.wk-box b { text-align: center; font-size: 10px; }
.wk-box span:nth-of-type(1) { font-weight: 700; }
.sc-pdf { background: #e4e4e7; }
.sc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 4px; vertical-align: -1px; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.pdf-sub { margin: 0 0 10px; font: 9px var(--body); color: #666; }
.pdf-art { margin: 8px 0 3px; font: 700 10.5px var(--body); }
.mac-bar { height: 26px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; background: rgba(255, 255, 255, 0.7); font: 600 11.5px var(--body); color: #333; }
.mb-right img { width: 14px; height: 14px; border-radius: 3px; display: block; }
.pdf-page { position: absolute; left: 50%; top: 44px; transform: translateX(-50%); width: 78%; height: 215px; background: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15); padding: 16px 20px; color: #222; overflow: hidden; }
.pdf-h { margin: 0 0 2px; font: 700 13px 'Times New Roman', Times, serif; letter-spacing: 0.04em; text-align: center; }
.pdf-t { margin: 0 0 6px; font: 10.5px/1.45 'Times New Roman', Times, serif; text-align: justify; }
.pdf-t mark { background: rgba(85, 102, 255, 0.22); color: inherit; }
.sc .mini-tip { animation: tip-in 0.5s ease both; }
.sc:not(.on) .mini-tip { animation: none; }
@keyframes tip-in { from { opacity: 0; transform: translateY(6px); } }

/* 3: dashboard */
.mock-dash { place-items: stretch; align-content: start; gap: 12px; display: grid; }
.dash-top { display: flex; align-items: center; justify-content: space-between; }
.dash-logo { display: flex; align-items: center; gap: 7px; font: 650 15px var(--display); }
.dash-logo img { width: 20px; height: 20px; border-radius: 5px; }
.dash-tabs { display: flex; gap: 3px; background: var(--surface); padding: 3px; border-radius: 999px; border: 1px solid var(--line); }
.dash-tabs i { font-style: normal; font-size: 11.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; color: var(--muted); }
.dash-tabs i.on { background: var(--accent-soft); color: var(--accent); }
.dash-stats { display: flex; gap: 14px; font-size: 12.5px; color: var(--muted); }
.dash-stats b { color: var(--ink); font-size: 15px; }
.dash-words { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.dash-words li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: baseline; padding: 9px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; font-size: 13px; }
.dash-words li span { color: var(--accent); font-weight: 550; }
.src { font-style: normal; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.src.v { background: #ffe4dc; color: #a33a1a; }
.src.w { background: #e3f2e8; color: #1e7a3c; }
.src.d { background: var(--accent-soft); color: var(--accent); }
@media (prefers-color-scheme: dark) { .src.v { background: #4a2a22; color: #ffb59c; } .src.w { background: #1f3b2a; color: #8fd9a8; } }

/* 4: drill */
.mock-drill { align-content: center; gap: 12px; }
.drill-card { width: 100%; max-width: 360px; display: grid; justify-items: center; gap: 6px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); text-align: center; }
.drill-kind { font-size: 12px; font-weight: 600; color: var(--muted); }
.drill-q { font: 650 24px var(--display); }
.drill-input { width: 80%; padding: 6px 10px; border-radius: 9px; border: 1.5px solid var(--accent); font-size: 15px; overflow: hidden; white-space: nowrap; animation: type 4s steps(8) infinite; }
@keyframes type { 0% { max-width: 0; padding-inline: 0; border-color: transparent; } 8% { padding-inline: 10px; border-color: var(--accent); } 40%, 100% { max-width: 80%; } }
.drill-ok { color: var(--good); font-weight: 650; font-size: 13.5px; animation: ok 4s ease infinite; }
@keyframes ok { 0%, 45% { opacity: 0; } 52%, 100% { opacity: 1; } }
.drill-ctx { font-size: 12px; color: var(--muted); font-style: italic; }
.drill-ctx b { color: var(--ink); font-style: normal; }
.drill-rates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; width: 100%; max-width: 360px; }
.drill-rates i { font-style: normal; display: grid; text-align: center; padding: 7px 4px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: 12px; font-weight: 650; }
.drill-rates small { font-weight: 500; color: var(--muted); font-size: 10.5px; }
.drill-rates i.on { border-color: var(--good); color: var(--good); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .tip, .target { opacity: 1; }
  .target { background: rgba(85, 102, 255, 0.55); }
  .tip { transform: translateX(-50%); }
  .cursor { transform: none; }
}
.dl-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 26px 0 8px; }
.doc ol li { margin-bottom: 10px; }
.scene-tabs span em { font: 600 0.68rem var(--body); font-style: normal; color: var(--accent); background: var(--accent-soft); padding: 1px 7px; border-radius: 999px; margin-left: 4px; }

/* Coming soon, right under the main button */
.soon-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 26px; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.soon-label { font: 600 0.9rem var(--body); color: var(--accent); margin-right: 4px; }
.soon-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--text); font: 600 0.88rem var(--body); }
.soon-chip svg { width: 16px; height: 16px; color: var(--accent); }
.soon-note { flex-basis: 100%; color: var(--muted); font-size: 0.9rem; margin-top: 2px; }
