:root {
  --bg: #050816;
  --bg-2: #0a1024;
  --panel: rgba(13, 18, 38, 0.78);
  --panel-strong: rgba(13, 18, 38, 0.96);
  --text: #f6f7fb;
  --muted: #b7bfd7;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --accent: #8c52ff;
  --accent-2: #00d5ff;
  --accent-3: #ff5ab8;
  --accent-4: #ffcc66;
  --accent-5: #31d6a3;
  --success: #21c787;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  --radius: 22px;
  --max: min(1160px, calc(100% - 2rem));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 90, 184, 0.18), transparent 28%),
    radial-gradient(circle at 100% 10%, rgba(0, 213, 255, 0.16), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(140, 82, 255, 0.12), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { display: block; max-width: 100%; }
.container { width: var(--max); margin: 0 auto; }
.section { padding: 4.8rem 0; }
.section-tight { padding-top: 2rem; }
.site-header {
  position: sticky; top: 0; z-index: 20; backdrop-filter: blur(18px);
  background: rgba(5, 8, 22, 0.72); border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-shell { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: grid; gap: 0.1rem; }
.brand strong { font-size: 1rem; font-weight: 700; }
.brand span { font-size: 0.82rem; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 1.1rem; }
.site-nav a { color: var(--muted); font-size: 0.95rem; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--text); }
.lang-switch { display: flex; align-items: center; gap: 0.55rem; padding: 0.4rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,0.03); }
.lang-switch label { font-size: 0.78rem; color: var(--muted); padding-inline-start: 0.4rem; }
.lang-btn { border: 0; background: transparent; color: var(--muted); border-radius: 999px; padding: 0.42rem 0.7rem; cursor: pointer; }
.lang-btn.is-active { background: linear-gradient(135deg, rgba(140,82,255,0.28), rgba(0,213,255,0.2)); color: var(--text); }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,0.03); cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--text); }
.hero-grid, .hero-metrics, .grid-3, .product-grid, .footer-grid, .checkout-layout { display: grid; gap: 1.2rem; }
.hero-grid { grid-template-columns: 1.2fr 0.8fr; align-items: center; min-height: calc(100vh - 72px); padding: 2rem 0 4rem; }
.eyebrow { display: inline-flex; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 1rem; }
.hero-copy-shell h1, .section-head h2, .panel-head h2, .final-card h2 { margin: 0; line-height: 1.04; letter-spacing: -0.03em; font-size: clamp(2.3rem, 5vw, 4.8rem); }
.section-head h2, .panel-head h2, .final-card h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.hero-lead, .section-head p, .glass-card p, .quote-card p, .footer-panel p, .step-card p, .summary-box, .panel-head p, .faq-item p, .order-summary-card, .product-card p { color: var(--muted); }
.hero-actions, .card-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.5rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0.78rem 1.15rem; border-radius: 999px; border: 1px solid var(--line-strong); transition: transform 0.15s ease, background 0.15s ease; }
.button:hover { transform: translateY(-1px); }
.button.is-disabled, .button[aria-disabled="true"] { cursor: not-allowed; opacity: 0.52; filter: saturate(0.45); }
.button.is-disabled:hover, .button[aria-disabled="true"]:hover { transform: none; }
.button-primary { color: #08101f; font-weight: 700; background: linear-gradient(135deg, var(--accent-2), #d1f8ff); border-color: transparent; }
.button-secondary { background: rgba(255,255,255,0.03); color: var(--text); }
.button-full { width: 100%; }
.stat-card, .glass-card, .product-card, .quote-card, .step-card, .final-card, .footer-panel, .checkout-panel, .summary-box, .faq-item, .note-card {
  border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow); backdrop-filter: blur(18px);
}
.stat-card, .glass-card, .product-card, .quote-card, .step-card, .footer-panel, .checkout-panel, .faq-item, .note-card { padding: 1.35rem; }
.hero-metrics { grid-template-columns: repeat(3, 1fr); }
.stat-card strong { display: block; font-size: 1.6rem; margin-bottom: 0.2rem; }
.stat-card span { color: var(--muted); }
.section-head { max-width: 760px; margin-bottom: 1.7rem; }
.grid-3, .product-grid { grid-template-columns: repeat(3, 1fr); }
.checkout-layout { grid-template-columns: 1.15fr 0.85fr; }
.card-topline { display: inline-flex; margin-bottom: 0.8rem; padding: 0.32rem 0.6rem; border-radius: 999px; font-size: 0.75rem; background: linear-gradient(135deg, rgba(140,82,255,0.24), rgba(0,213,255,0.18)); }
.product-card h3, .glass-card h3, .step-card h3 { margin: 0 0 0.7rem; font-size: 1.3rem; line-height: 1.15; }
.price-pill { display: inline-flex; padding: 0.48rem 0.75rem; border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid var(--line); font-weight: 700; margin-bottom: 0.85rem; }
.feature-list { margin: 0; padding-left: 1.1rem; }
.feature-list li + li { margin-top: 0.45rem; }
.quote-card { display: grid; gap: 1rem; }
.quote-mark { font-size: 2.2rem; line-height: 1; margin: 0; color: var(--accent-2); }
.quote-meta span { color: var(--muted); font-size: 0.92rem; }
.faq-stack { display: grid; gap: 1rem; }
.faq-item summary { list-style: none; cursor: pointer; font-weight: 600; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { margin-bottom: 0.75rem; }
.final-card { padding: 1.6rem; }
.footer { padding: 1rem 0 2.8rem; }
.footer-grid { grid-template-columns: 1.2fr 0.8fr; align-items: start; }
.footer-links { display: grid; gap: 0.85rem; }
.footer-links a { color: var(--text); }
.footer-links small { display: block; color: var(--muted); }
.page-hero { padding-top: 2rem; }
.checkout-panel input, .checkout-panel textarea, .checkout-panel select {
  width: 100%; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,0.03); color: var(--text); padding: 0.9rem 1rem;
}
.checkout-panel textarea { min-height: 120px; resize: vertical; }
.form-grid { display: grid; gap: 1rem; }
.field-group { display: grid; gap: 0.45rem; }
.field-group label { color: var(--muted); font-size: 0.92rem; }
.summary-box { padding: 1.2rem; }
.summary-line, .summary-total { display: flex; justify-content: space-between; gap: 1rem; }
.summary-total { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); font-weight: 700; color: var(--text); }
.inline-note { font-size: 0.88rem; color: var(--muted); }
.payment-status { min-height: 1.6rem; margin: 1rem 0 0; color: #ffe3a1; font-size: 0.92rem; }
.policy-links { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.policy-links a { color: var(--muted); font-size: 0.86rem; }
.policy-links a:hover, .policy-links a:focus-visible { color: var(--text); }
.policy-shell { max-width: 860px; }
.policy-card { padding: clamp(1.4rem, 4vw, 3rem); border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow); }
.policy-card h1 { margin: 0; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -0.04em; }
.policy-card h2 { margin: 2rem 0 0.5rem; font-size: 1.25rem; }
.policy-card p { color: var(--muted); }
.policy-card a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 0.2em; }
.service-boundary-card { margin-top: 1.2rem; }
.policy-meta { margin-top: 0.7rem; font-size: 0.9rem; }
.success-pill { display: inline-flex; padding: 0.38rem 0.7rem; border-radius: 999px; background: rgba(33,199,135,0.16); color: #a6f1d2; border: 1px solid rgba(33,199,135,0.24); }
.video-teaser {
  display: grid; grid-template-columns: 1fr 0.8fr; gap: 1.2rem; align-items: stretch;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,0.035);
}
.video-teaser-copy { padding: 1.6rem; }
.video-teaser-copy h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.05; }
.video-teaser-copy p { color: var(--muted); max-width: 650px; }
.video-teaser-panel {
  min-height: 260px; display: grid; place-items: center; grid-template-columns: repeat(3, 1fr);
  background:
    linear-gradient(135deg, rgba(49,216,163,0.24), rgba(255,204,102,0.14)),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
}
.video-teaser-panel span {
  width: min(90px, 25vw); aspect-ratio: 9 / 16; display: grid; place-items: end center; padding: 0.8rem 0.35rem;
  border: 1px solid rgba(255,255,255,0.16); border-radius: 18px; color: var(--text); font-weight: 700;
  background: linear-gradient(180deg, rgba(5,8,22,0.1), rgba(5,8,22,0.86));
  box-shadow: 0 20px 44px rgba(0,0,0,0.28);
}
.video-teaser-panel span:nth-child(2) { transform: translateY(-16px); }
.count-pill {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0.78rem 1rem; border-radius: 999px;
  background: rgba(255,204,102,0.12); border: 1px solid rgba(255,204,102,0.24); color: #ffe3a1; font-weight: 700;
}
body[data-page="learn"] {
  background: #070806;
  overflow: hidden;
}
body[data-page="learn"] .site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
}
body[data-page="learn"] .footer { display: none; }
.shorts-app {
  min-height: 100dvh;
  padding-top: 72px;
  background:
    linear-gradient(180deg, rgba(18, 22, 17, 0.96), #070806 42%),
    #070806;
}
.shorts-shell {
  width: min(1180px, calc(100% - 1rem));
  height: calc(100dvh - 72px);
  margin: 0 auto;
  padding: 0.65rem 0 0.75rem;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0.65rem;
  position: relative;
}
.shorts-topbar {
  min-height: 54px;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  gap: 0.8rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  background: rgba(13, 14, 12, 0.82);
  backdrop-filter: blur(18px);
}
.shorts-channel, .shorts-score, .feed-tabs { display: flex; align-items: center; }
.shorts-channel { gap: 0.55rem; min-width: 0; }
.shorts-channel strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-dot {
  width: 0.65rem;
  aspect-ratio: 1;
  border-radius: 999px;
  background: #37e39f;
  box-shadow: 0 0 0 6px rgba(55,227,159,0.12);
}
.feed-tabs {
  justify-content: center;
  gap: 0.35rem;
  padding: 0.24rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
}
.feed-tabs button {
  min-height: 36px;
  padding: 0 0.9rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(246,247,251,0.72);
  cursor: pointer;
}
.feed-tabs button.is-active { background: #f6f7fb; color: #10110f; font-weight: 800; }
.shorts-score { justify-content: end; gap: 0.55rem; }
.shorts-score span {
  min-width: 68px;
  padding: 0.35rem 0.55rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}
.shorts-score small { display: block; color: rgba(246,247,251,0.62); font-size: 0.7rem; line-height: 1.1; }
.shorts-score strong { display: block; line-height: 1.1; }
.shorts-main {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(330px, 430px) minmax(300px, 1fr);
  justify-content: center;
  gap: 1rem;
}
.feed-device {
  width: 100%;
  height: 100%;
  min-height: 0;
  justify-self: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 32px;
  background: #000;
  box-shadow: 0 28px 90px rgba(0,0,0,0.5);
}
.feed-viewport {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  background: #000;
  outline: none;
}
.feed-viewport::-webkit-scrollbar { display: none; }
.feed-track { height: 100%; }
.feed-slide {
  position: relative;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  color: #fff;
  background: #050505;
}
.feed-empty {
  display: grid;
  place-items: center;
  padding: 1.5rem;
  text-align: center;
}
.feed-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}
.feed-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.32), transparent 32%),
    linear-gradient(0deg, rgba(0,0,0,0.9), transparent 56%);
}
.feed-loader, .feed-error {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  transform: translate(-50%, -50%);
  padding: 0.58rem 0.78rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(0,0,0,0.58);
  border: 1px solid rgba(255,255,255,0.14);
  display: none;
}
.feed-slide.is-loading .feed-loader, .feed-slide.has-error .feed-error { display: block; }
.feed-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  height: 4px;
  background: rgba(255,255,255,0.18);
}
.feed-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #37e39f, #ffd166, #ff6b6b);
}
.feed-copy {
  position: absolute;
  left: 1rem;
  right: 5.4rem;
  bottom: 4.85rem;
  z-index: 6;
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}
.feed-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  color: rgba(255,255,255,0.82);
  font-size: 0.76rem;
}
.feed-meta span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.48rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.36);
  border: 1px solid rgba(255,255,255,0.12);
}
.feed-copy h1 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.caption-line {
  margin: 0;
  max-height: 3.35em;
  overflow: hidden;
  color: rgba(255,255,255,0.82);
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.caption-line.is-hidden { display: none; }
.quiz-chip {
  justify-self: start;
  min-height: 36px;
  padding: 0.45rem 0.72rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  color: #10110f;
  background: #ffd166;
  font-weight: 800;
  cursor: pointer;
}
.quiz-chip.is-done { background: #37e39f; }
.action-rail {
  position: absolute;
  right: 0.75rem;
  bottom: 7.1rem;
  z-index: 7;
  display: grid;
  gap: 0.6rem;
}
.rail-button {
  width: 58px;
  min-height: 58px;
  display: grid;
  place-items: center;
  gap: 0.12rem;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  color: #fff;
  background: rgba(0,0,0,0.42);
  backdrop-filter: blur(14px);
  cursor: pointer;
}
.rail-button span { font-size: 1.35rem; line-height: 1; }
.rail-button small { font-size: 0.66rem; line-height: 1; color: rgba(255,255,255,0.76); }
.rail-button.is-active {
  color: #10110f;
  background: #37e39f;
  border-color: transparent;
}
.rail-button.is-active small { color: rgba(16,17,15,0.74); }
.bottom-menu {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.85rem;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.42rem;
}
.bottom-menu button {
  min-height: 38px;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 12px;
  color: rgba(255,255,255,0.88);
  background: rgba(0,0,0,0.48);
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bottom-menu button.is-on {
  color: #10110f;
  background: #f6f7fb;
  font-weight: 800;
}
.pause-indicator {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  background: rgba(0,0,0,0.22);
}
.learning-dashboard {
  min-height: 0;
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 0.75rem;
  padding-right: 0.15rem;
}
.learning-dashboard::-webkit-scrollbar { width: 8px; }
.learning-dashboard::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.14); border-radius: 999px; }
.dashboard-card {
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 18px;
  background: rgba(15, 17, 13, 0.8);
  box-shadow: 0 18px 52px rgba(0,0,0,0.3);
  backdrop-filter: blur(16px);
  padding: 1rem;
}
.dashboard-hero {
  background:
    linear-gradient(135deg, rgba(55,227,159,0.2), rgba(255,209,102,0.14)),
    rgba(15, 17, 13, 0.86);
}
.dashboard-kicker {
  display: inline-flex;
  color: #37e39f;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}
.daily-goal, .dashboard-head, .rank-row, .queue-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}
.daily-goal strong { font-size: 2rem; line-height: 1; }
.daily-goal span, .mission-row small, .rank-row small, .queue-row small { color: rgba(246,247,251,0.62); }
.goal-bar, .mission-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
}
.goal-bar { margin-top: 0.8rem; }
.goal-bar span, .mission-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #37e39f, #ffd166);
}
.mission-list, .leaderboard-list, .queue-list {
  display: grid;
  gap: 0.55rem;
}
.mission-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem 0.65rem;
  padding: 0.72rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  background: rgba(255,255,255,0.035);
}
.mission-row strong, .mission-row small { display: block; }
.mission-row.is-done {
  border-color: rgba(55,227,159,0.4);
  background: rgba(55,227,159,0.1);
}
.mission-bar { grid-column: 1 / -1; }
.rank-row {
  min-height: 42px;
  padding: 0.62rem 0.72rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
}
.rank-row span {
  width: 28px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #10110f;
  background: #ffd166;
  font-weight: 800;
}
.rank-row strong { flex: 1; }
.rank-row.is-you {
  outline: 1px solid rgba(55,227,159,0.46);
  background: rgba(55,227,159,0.1);
}
.queue-row {
  width: 100%;
  min-height: 54px;
  padding: 0.6rem 0.68rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  color: #fff;
  background: rgba(255,255,255,0.035);
  text-align: left;
  cursor: pointer;
}
.queue-row span {
  color: #ffd166;
  font-weight: 800;
}
.queue-row strong {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.queue-row.is-active {
  border-color: rgba(55,227,159,0.46);
  background: rgba(55,227,159,0.12);
}
.answer-grid { display: grid; gap: 0.7rem; }
.answer-option {
  display: grid; grid-template-columns: 32px 1fr; gap: 0.75rem; align-items: center; width: 100%; min-height: 54px; padding: 0.78rem;
  border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,0.035); color: var(--text); text-align: left; cursor: pointer;
}
.answer-option span {
  display: grid; place-items: center; width: 32px; aspect-ratio: 1; border-radius: 999px; color: #08101f; background: var(--accent-4); font-weight: 800;
}
.answer-option:hover { border-color: rgba(255,255,255,0.28); }
.answer-option.is-correct { border-color: rgba(49,216,163,0.68); background: rgba(49,216,163,0.12); }
.answer-option.is-wrong { border-color: rgba(255,90,184,0.56); background: rgba(255,90,184,0.1); }
.answer-option:disabled { cursor: default; opacity: 1; }
.quiz-feedback { min-height: 1.5rem; margin: 0.9rem 0 0; }
.quiz-sheet, .milestone-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  background: rgba(0,0,0,0.58);
}
.quiz-sheet { align-items: end; }
.quiz-sheet[hidden], .milestone-modal[hidden], .shorts-toast[hidden] { display: none; }
.quiz-sheet-card {
  width: min(560px, calc(100% - 1rem));
  max-height: min(76dvh, 680px);
  overflow: auto;
  margin: 0 auto 0.75rem;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  color: #fff;
  background: rgba(15,17,13,0.96);
  box-shadow: 0 -20px 80px rgba(0,0,0,0.46);
}
.quiz-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.quiz-sheet-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
  line-height: 1.12;
  letter-spacing: 0;
}
.quiz-sheet-card p { color: rgba(246,247,251,0.72); }
.icon-button {
  width: 38px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,0.05);
  cursor: pointer;
}
.milestone-modal { place-items: center; padding: 1rem; }
.milestone-card {
  width: min(430px, 100%);
  padding: 1.25rem;
  border-radius: 24px;
  color: #10110f;
  background:
    linear-gradient(135deg, #37e39f, #ffd166);
  box-shadow: 0 28px 90px rgba(0,0,0,0.46);
  text-align: center;
}
.milestone-badge {
  display: inline-flex;
  padding: 0.32rem 0.6rem;
  border-radius: 999px;
  background: rgba(16,17,15,0.12);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.milestone-card h2 { margin: 0.8rem 0 0.35rem; line-height: 1.05; letter-spacing: 0; }
.milestone-card p { margin: 0 0 1rem; color: rgba(16,17,15,0.74); }
.shorts-toast {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 70;
  transform: translateX(-50%);
  max-width: min(420px, calc(100% - 1.5rem));
  padding: 0.75rem 0.95rem;
  border-radius: 999px;
  color: #10110f;
  background: #f6f7fb;
  box-shadow: 0 16px 50px rgba(0,0,0,0.35);
  font-weight: 800;
  text-align: center;
}
@media (max-width: 960px) {
  .hero-grid, .grid-3, .product-grid, .footer-grid, .checkout-layout, .hero-metrics, .video-teaser { grid-template-columns: 1fr; }
  .shorts-main {
    grid-template-columns: minmax(300px, 440px);
    justify-content: center;
  }
  .learning-dashboard {
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    z-index: 45;
    max-height: min(64dvh, 560px);
    padding: 0;
    transform: translateY(calc(100% + 1.25rem));
    transition: transform 0.18s ease;
  }
  .learning-dashboard.is-open { transform: translateY(0); }
}
@media (max-width: 820px) {
  .nav-toggle { display: inline-block; }
  .nav-shell { position: relative; }
  .site-nav {
    position: absolute; top: calc(100% + 0.65rem); left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; padding: 1rem;
    border-radius: 18px; border: 1px solid var(--line); background: rgba(9, 13, 31, 0.96);
  }
  .site-nav.is-open { display: flex; }
  .lang-switch label { display: none; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 1.25rem, 1160px); }
  .section { padding: 4rem 0; }
  .hero-actions .button, .button-full { width: 100%; }
  .video-teaser-panel { min-height: 220px; }
  body[data-page="learn"] .brand span, body[data-page="learn"] .lang-switch { display: none; }
  body[data-page="learn"] .nav-shell { min-height: 64px; }
  .shorts-app { padding-top: 64px; }
  .shorts-shell {
    width: 100%;
    height: calc(100dvh - 64px);
    padding: 0.45rem 0.5rem 0.55rem;
    gap: 0.45rem;
  }
  .shorts-topbar {
    min-height: 48px;
    grid-template-columns: minmax(0, 1fr) auto;
    border-radius: 16px;
  }
  .shorts-channel strong { font-size: 0.9rem; }
  .feed-tabs { order: 3; grid-column: 1 / -1; width: 100%; }
  .feed-tabs button { flex: 1; }
  .shorts-score span {
    min-width: 52px;
    padding: 0.32rem 0.42rem;
  }
  .shorts-score small { font-size: 0.64rem; }
  .feed-device {
    max-width: none;
    border-radius: 24px;
  }
  .feed-copy {
    left: 0.8rem;
    right: 4.8rem;
    bottom: 4.7rem;
  }
  .feed-copy h1 { font-size: 1.08rem; }
  .caption-line {
    max-height: 3em;
    font-size: 0.92rem;
  }
  .action-rail {
    right: 0.55rem;
    bottom: 6.6rem;
    gap: 0.45rem;
  }
  .rail-button {
    width: 50px;
    min-height: 50px;
    border-radius: 16px;
  }
  .rail-button span { font-size: 1.1rem; }
  .bottom-menu {
    left: 0.55rem;
    right: 0.55rem;
    bottom: 0.65rem;
    gap: 0.32rem;
  }
  .bottom-menu button {
    min-height: 36px;
    font-size: 0.78rem;
    border-radius: 11px;
  }
  .quiz-sheet-card {
    width: calc(100% - 0.75rem);
    margin-bottom: 0.38rem;
    border-radius: 20px;
  }
  .learning-dashboard {
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.5rem;
    max-height: 68dvh;
  }
}
