
:root {
  --bg: #07111f;
  --bg-soft: #0c1a2d;
  --panel: rgba(14, 26, 46, 0.88);
  --panel-solid: #10213a;
  --text: #f3f7fb;
  --muted: rgba(243, 247, 251, 0.72);
  --gold: #f6c453;
  --line: rgba(255,255,255,0.11);
  --cyan: #7dd3fc;
  --green: #86efac;
  --cover-ink: #050b16;
  --cover-navy: #0a1b33;
  --cover-gold: #d9a943;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(ellipse at 50% -12%, rgba(38, 77, 121, 0.72) 0%, rgba(14, 34, 61, 0.44) 28%, transparent 56%),
    linear-gradient(135deg, var(--cover-ink) 0%, var(--cover-navy) 52%, #040812 100%);
  color: var(--text);
  min-height: 100vh;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .14;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}
a { color: inherit; text-decoration: none; }
.page-shell { max-width: 1180px; margin: 0 auto; padding: 0 20px 72px; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(5, 11, 22, 0.88);
  border-bottom: 1px solid rgba(217,169,67,0.24);
}
.topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.brand strong { font-size: 1.1rem; letter-spacing: 0.03em; }
.brand span { font-size: 0.92rem; color: var(--muted); }
.nav { display: flex; flex-wrap: wrap; gap: 14px; }
.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  border: 1px solid transparent;
}
.nav a:hover, .nav a.active {
  color: var(--text);
  border-color: rgba(246,196,83,0.28);
  background: rgba(255,255,255,0.05);
}
.mobile-menu-toggle {
  display: none;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(246,196,83,0.28);
  background: rgba(246,196,83,0.12);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
}
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.site-visit-counter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  margin-left: auto;
  padding: 8px 10px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
}
.lang-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.lang-chip.active {
  color: var(--text);
  border-color: rgba(246,196,83,0.35);
  background: rgba(246,196,83,0.14);
}
.lang-chip:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.2);
}
.hero {
  padding: 64px 0 32px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: stretch;
}
.hero-card, .panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 20px 48px rgba(0,0,0,0.28);
}
.home-page .topbar-inner,
.home-page .page-shell { position: relative; }
.home-page .topbar-inner::after {
  content: '';
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cover-gold), transparent);
  opacity: .7;
}
.home-page .hero-premium {
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, rgba(9, 27, 50, .97), rgba(5, 12, 25, .94));
  border: 1px solid rgba(217,169,67,.45);
  box-shadow: 0 26px 70px rgba(0,0,0,.42), inset 0 0 0 1px rgba(255,255,255,.035);
}
.home-page .hero-premium::before,
.home-page .hero-premium::after {
  content: '';
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(217,169,67,.28);
}
.home-page .hero-premium::before { inset: 18px; border-radius: 20px; }
.home-page .hero-premium::after { width: 180px; height: 180px; right: -58px; top: -58px; transform: rotate(45deg); }
.home-page .hero-text,
.home-page .home-diagram { position: relative; z-index: 1; }
.home-page .hero-kicker { color: #f0c96a; background: rgba(217,169,67,.13); border: 1px solid rgba(217,169,67,.3); }
.home-page .hero-text h1 { font-family: Georgia, 'Times New Roman', serif; font-weight: 500; letter-spacing: -.045em; }
.home-page .hero-text h1 em { color: #edc362; font-style: normal; }
.home-page .home-topics { color: rgba(237,195,98,.88); letter-spacing: .04em; }
.home-page .home-diagram { border-left: 1px solid rgba(217,169,67,.28); }
.home-page .home-diagram-caption { color: #edc362; letter-spacing: .1em; text-transform: uppercase; }
.home-page .home-section-heading h2,
.home-page .home-welcome-copy h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 500; }
.home-page .home-entry { border-color: rgba(217,169,67,.2); background: linear-gradient(145deg, rgba(18,39,67,.72), rgba(7,16,30,.72)); }
.home-page .home-entry:hover { border-color: rgba(217,169,67,.55); box-shadow: 0 14px 34px rgba(0,0,0,.24); }
.hero-card { padding: 36px; }
.hero-kicker {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(246,196,83,0.14);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.hero p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 18px;
  padding: 14px 18px;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, #f6c453 0%, #f59e0b 100%);
  color: #0c1930;
}
.btn-secondary {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
}
.hero-aside {
  padding: 28px;
  display: grid;
  gap: 16px;
  align-content: start;
}
.metric {
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.metric strong { display:block; font-size:2rem; margin-bottom:8px; color:var(--gold); }
.metric span { color: var(--muted); line-height: 1.55; }
.section { margin-top: 28px; }
.section-header { margin-bottom: 18px; }
.section-header h2 { margin: 0 0 10px; font-size: 2rem; }
.section-header p { margin: 0; color: var(--muted); line-height: 1.7; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card h3 { margin: 0; font-size: 1.25rem; }
.card p { margin: 0; color: var(--muted); line-height: 1.68; }
.meta {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(125,211,252,0.11);
}
.list-panel {
  padding: 24px;
  display: grid;
  gap: 16px;
}
.list-item {
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.list-item h3 { margin: 0 0 8px; font-size: 1.1rem; }
.list-item p { margin: 0 0 12px; color: var(--muted); line-height: 1.65; }
.inline-links { display:flex; flex-wrap:wrap; gap: 10px; }
.inline-links a {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
}
.lessons-header {
  max-width: 860px;
}
.lessons-header .hero-kicker {
  margin-bottom: 14px;
}
.lessons-header h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.08;
}
.lessons-header p {
  font-size: 1.08rem;
}
.lessons-intro {
  padding: 26px;
  display: grid;
  gap: 20px;
}
.author-strip {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.author-strip h3 {
  margin: 12px 0 10px;
  font-size: 1.35rem;
}
.author-strip p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}
.course-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.summary-metric {
  min-height: 112px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(246,196,83,0.09);
  border: 1px solid rgba(246,196,83,0.18);
  display: grid;
  align-content: center;
  gap: 8px;
}
.summary-metric strong {
  color: var(--gold);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.05;
}
.summary-metric span {
  color: var(--muted);
  line-height: 1.45;
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.benefit-item {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.benefit-item h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 1.15rem;
}
.benefit-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}
.price-panel {
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, rgba(16,33,58,0.94) 0%, rgba(36,32,57,0.92) 100%);
}
.price-panel h2 {
  margin: 12px 0 10px;
  color: var(--gold);
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1;
}
.price-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 700px;
}
.price-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}
.contact-wrap {
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
}
.contact-card { padding: 24px; }
.form {
  display:grid;
  gap: 14px;
}
label { font-size: 0.95rem; color: var(--muted); font-weight: 600; }
input, textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font: inherit;
}
textarea { min-height: 180px; resize: vertical; }
.contact-note { color: var(--muted); line-height: 1.65; }
.footer {
  margin-top: 34px;
  padding: 28px 0 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(243,247,251,0.62);
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap: 14px;
}
.footer a { color: var(--cyan); }
.voice-guide {
  padding: 30px;
  display: grid;
  gap: 18px;
}
.voice-callout {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(246,196,83,0.14);
  border: 1px solid rgba(246,196,83,0.32);
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
}
.voice-callout strong {
  color: var(--text);
}
.voice-guide-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.voice-guide-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}
.voice-guide-head p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 700px;
}
.voice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn-voice {
  position: relative;
  box-shadow: 0 0 0 0 rgba(246,196,83,0.55);
  animation: voicePulse 1.8s infinite;
}
.voice-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.voice-status {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
  line-height: 1.65;
}
.voice-status strong {
  color: var(--text);
}
.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.choice-card {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.choice-card h3 {
  margin: 0;
  font-size: 1.18rem;
}
.choice-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
  flex: 1;
}
.choice-card .inline-links {
  margin-top: auto;
}
.ghost-note {
  font-size: 0.9rem;
  color: var(--muted);
}
@keyframes voicePulse {
  0% { box-shadow: 0 0 0 0 rgba(246,196,83,0.55); }
  70% { box-shadow: 0 0 0 18px rgba(246,196,83,0); }
  100% { box-shadow: 0 0 0 0 rgba(246,196,83,0); }
}
.language-landing {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 0;
}
.language-shell {
  width: 100%;
  max-width: 980px;
  display: grid;
  gap: 22px;
}
.language-intro {
  padding: 34px;
}
.language-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.language-card {
  padding: 28px;
}
.language-card h2 {
  margin: 0 0 12px;
  font-size: 1.85rem;
}
.language-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}
@media (max-width: 980px) {
  .hero, .contact-wrap, .card-grid { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: 1fr; }
  .language-grid { grid-template-columns: 1fr; }
  .course-summary, .benefit-grid, .price-panel { grid-template-columns: 1fr; }
  .price-actions { justify-content: flex-start; }
}
@media (max-width: 720px) {
  .home-page .hero-premium::before { inset: 10px; }
  .home-page .home-diagram { border-left: 0; border-top: 1px solid rgba(217,169,67,.28); }
  .topbar-inner {
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px 12px;
    padding: 12px 16px;
  }
  .brand {
    flex: 1 1 100%;
  }
  .brand strong { font-size: 1rem; }
  .brand span { font-size: 0.82rem; }
  .nav {
    order: 2;
    flex: 0 0 auto;
    gap: 8px;
    align-items: center;
    flex-wrap: nowrap;
  }
  .nav a {
    padding: 9px 12px;
    font-size: 0.92rem;
  }
  .nav a:not(:first-child) {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
  }
  .nav.mobile-menu-open {
    flex: 1 1 100%;
    flex-wrap: wrap;
    padding: 8px;
    border-radius: 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
  }
  .nav.mobile-menu-open a:not(:first-child) {
    display: inline-flex;
  }
  .nav.mobile-menu-open a {
    flex: 0 0 auto;
  }
  .lang-switcher {
    order: 4;
    margin-left: 0;
    gap: 6px;
  }
  .lang-chip {
    min-width: 46px;
    padding: 9px 10px;
  }
  .site-visit-counter {
    order: 3;
    display: inline-flex;
    min-width: 42px;
    margin-left: auto;
    padding: 8px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
    font-size: 0.86rem;
  }
  .hero-card, .hero-aside, .contact-card, .list-panel, .lessons-intro, .price-panel { padding: 22px; }
  .hero { padding-top: 34px; }
  .hero h1 { font-size: 2.2rem; }
  .lessons-header h2 { font-size: 2.15rem; }
  .price-actions .btn { width: 100%; }
  .voice-callout { width: 100%; justify-content: center; }
  .voice-actions { width: 100%; }
  .voice-actions .btn {
    width: 100%;
  }
  .voice-actions .btn-voice {
    font-size: 1.02rem;
    padding: 16px 18px;
  }
}

.article-page {
  padding-top: 44px;
}
.article-hero {
  padding: 30px;
  margin-bottom: 18px;
}
.article-kicker {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(125,211,252,0.12);
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 14px;
}
.article-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
}
.article-hero p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.04rem;
}
.article-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}
.article-body, .article-meta {
  padding: 28px;
}
.article-body h2 {
  margin: 0 0 14px;
  font-size: 1.7rem;
}
.article-body h3 {
  margin: 22px 0 12px;
  font-size: 1.2rem;
}
.article-body p,
.article-body li {
  color: var(--muted);
  line-height: 1.82;
  font-size: 1.02rem;
}
.article-body p { margin: 0 0 16px; }
.article-body ul,
.article-body ol { margin: 0 0 18px 22px; }
.article-meta dl { margin: 0; display: grid; gap: 12px; }
.article-meta dt { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold); }
.article-meta dd { margin: 4px 0 0; color: var(--text); }
.article-meta section + section { margin-top: 22px; }
.article-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
@media (max-width: 980px) {
  .article-layout { grid-template-columns: 1fr; }
}

.site-guide-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(180,83,9,0.3);
  background: linear-gradient(135deg, #b45309 0%, #92400e 100%);
  color: #fef3c7;
  font-weight: 900;
  box-shadow: 0 18px 38px rgba(0,0,0,0.35);
  cursor: pointer;
  transition: transform 0.18s ease;
}
.site-guide-launcher:hover {
  transform: scale(1.08);
}
.site-guide-shell {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 85;
  width: min(380px, calc(100vw - 28px));
  max-height: min(520px, calc(100vh - 140px));
  overflow: hidden;
  display: none;
  flex-direction: column;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(9, 18, 34, 0.96);
  box-shadow: 0 24px 60px rgba(0,0,0,0.42);
  backdrop-filter: blur(14px);
}
.site-guide-shell.open {
  display: flex;
}
.site-guide-headbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-guide-headbar h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
}
.site-guide-headbar p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}
.site-guide-close {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.2rem;
  cursor: pointer;
}
.site-guide-body {
  padding: 16px 18px;
  display: grid;
  gap: 14px;
  overflow-y: auto;
}
.site-guide-status {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
  line-height: 1.6;
}
.site-guide-status strong {
  color: var(--text);
}
.site-guide-log {
  display: grid;
  gap: 10px;
}
.site-guide-bubble {
  padding: 14px 16px;
  border-radius: 18px;
  line-height: 1.65;
  font-size: 0.96rem;
}
.site-guide-bubble.user {
  background: rgba(125,211,252,0.12);
  border: 1px solid rgba(125,211,252,0.18);
  color: var(--text);
}
.site-guide-bubble.bot {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
}
.site-guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.site-guide-actions a,
.site-guide-actions button {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}
.site-guide-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.site-guide-quick button {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(246,196,83,0.22);
  background: rgba(246,196,83,0.08);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}
.site-guide-form {
  display: grid;
  gap: 10px;
}
.site-guide-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
}
.site-guide-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font: inherit;
}
.site-guide-mic.active {
  border-color: rgba(246,196,83,0.35);
  background: rgba(246,196,83,0.14);
}
.site-guide-note {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}
.site-guide-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.site-guide-topic-card {
  text-align: left;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  cursor: pointer;
  display: grid;
  gap: 8px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.site-guide-topic-card:hover {
  transform: translateY(-1px);
  border-color: rgba(246,196,83,0.28);
  background: rgba(246,196,83,0.08);
}
.site-guide-topic-card strong {
  font-size: 1rem;
  line-height: 1.35;
}
.site-guide-topic-card span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .site-guide-launcher {
    right: 14px;
    bottom: 14px;
  }
  .site-guide-shell {
    right: 14px;
    bottom: 82px;
    width: calc(100vw - 28px);
    max-height: 76vh;
  }
  .site-guide-topic-grid {
    grid-template-columns: 1fr;
  }
}
