:root {
  --bg: #fbfcff;
  --surface: #ffffff;
  --surface-soft: #f7f8ff;
  --text: #0e1a3a;
  --muted: #687391;
  --faint: #9aa4bd;
  --line: #e5e8f3;
  --line-soft: #eef1f8;
  --accent: #5b55f6;
  --accent-strong: #4a3ff2;
  --accent-soft: #f0efff;
  --green-soft: #e9fbf1;
  --orange-soft: #fff1e8;
  --blue-soft: #edf5ff;
  --radius: 14px;
  --shadow-soft: 0 16px 42px rgba(31, 41, 85, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 12%, rgba(91, 85, 246, 0.08), transparent 24rem),
    radial-gradient(circle at 88% 18%, rgba(108, 99, 255, 0.07), transparent 22rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 50;
  border-radius: 10px;
  background: var(--text);
  color: #fff;
  padding: 10px 12px;
}

.skip-link:focus {
  top: 12px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(170px, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 84px;
  padding: 14px max(28px, calc((100vw - 1260px) / 2));
  border-bottom: 1px solid rgba(229, 232, 243, 0.82);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, #5d67ff, #9b87ff);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  box-shadow: 0 10px 22px rgba(89, 80, 240, 0.22);
}

.brand strong {
  display: block;
  color: var(--text);
  font-size: 16px;
  line-height: 1.1;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.topbar nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: #24304f;
  font-size: 14px;
  font-weight: 720;
}

.topbar nav a:hover,
.topbar nav a:focus-visible {
  color: var(--accent);
  outline: none;
}

.top-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.language-select {
  min-height: 38px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 0 12px;
  background: var(--surface-soft);
  color: #26324f;
  font-size: 13px;
  font-weight: 720;
}

.mobile-icon,
.search-icon,
.theme-dot {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font-size: 20px;
  line-height: 1;
}

.mobile-icon {
  display: none;
}

main {
  min-height: 68vh;
}

.home-shell {
  width: min(100% - 56px, 1100px);
  margin: 0 auto;
}

.answer-shell,
.hero,
.policy-wrap {
  width: min(100% - 32px, 720px);
  margin: 0 auto;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
  align-items: center;
  gap: 48px;
  min-height: 480px;
  padding: 54px 0 36px;
}

.hero-copy {
  min-width: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  color: var(--text);
  font-size: 50px;
  line-height: 1.08;
}

.home-hero h1 span {
  display: inline-block;
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: 8px;
}

h2 {
  margin: 0;
  color: var(--text);
  font-size: 22px;
  line-height: 1.25;
}

h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
}

.lead {
  max-width: 620px;
  margin: 18px 0 0;
  color: #4e5b7a;
  font-size: 18px;
  line-height: 1.7;
}

.eyebrow,
.query-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  border-radius: 999px;
  padding: 7px 12px;
  background: #f4f7fb;
  color: #46506a;
  font-size: 13px;
  font-weight: 760;
}

.status-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #29c783;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 22px;
  background: var(--surface);
  color: #17203a;
  font-weight: 820;
  box-shadow: 0 8px 24px rgba(30, 42, 86, 0.05);
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  box-shadow: 0 14px 28px rgba(80, 70, 240, 0.22);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.home-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.home-facts span,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 5px 11px;
  background: #f1f4fa;
  color: #4f5b76;
  font-size: 12px;
  font-weight: 760;
  white-space: nowrap;
}

.home-facts span::before {
  content: "◎";
  margin-right: 6px;
  color: var(--accent);
  font-size: 11px;
}

.hero-visual {
  position: relative;
  min-height: 360px;
}

.md-stack {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 210px;
  height: 150px;
  place-items: center;
  border-radius: 34px;
  background: linear-gradient(150deg, #b69cff, #7c75ff);
  color: #fff;
  transform: translate(-50%, -50%) rotate(-16deg) skewY(7deg);
  box-shadow: 0 22px 0 #7f7bf2, 0 42px 0 #d9ddff, 0 44px 60px rgba(75, 69, 212, 0.24);
}

.md-stack span {
  display: block;
  color: #fff;
  font-size: 48px;
  font-weight: 900;
  letter-spacing: 0;
  transform: skewY(-7deg) rotate(16deg);
}

.orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px dashed rgba(91, 85, 246, 0.26);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-22deg);
}

.orbit-a {
  width: 360px;
  height: 130px;
}

.orbit-b {
  width: 330px;
  height: 210px;
  transform: translate(-50%, -50%) rotate(28deg);
}

.float-card {
  position: absolute;
  display: inline-grid;
  min-width: 54px;
  min-height: 48px;
  place-items: center;
  border: 1px solid #e7e9fb;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--accent);
  font-weight: 850;
  box-shadow: 0 14px 32px rgba(53, 64, 105, 0.12);
}

.float-card.face { left: 20%; top: 18%; }
.float-card.k { right: 20%; top: 12%; }
.float-card.eyes { right: 2%; top: 28%; }
.float-card.fine { left: 2%; top: 55%; min-width: 86px; color: var(--text); }
.float-card.dots { left: 24%; bottom: 8%; }
.float-card.heart { right: 5%; bottom: 18%; }

.section {
  padding: 28px 0;
}

.section.tight {
  padding-top: 18px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-heading h2 {
  font-size: 22px;
}

.section-heading p {
  max-width: 760px;
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.section-link {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 36px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  background: var(--surface);
  color: var(--accent);
  font-size: 13px;
  font-weight: 820;
}

.category-grid,
.content-grid,
.score-grid,
.related-grid {
  display: grid;
  gap: 18px;
}

.category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-card,
.content-card,
.intent-card,
.related-card,
.signal-panel,
.policy-box,
.search-box,
.page-list a,
.path-row,
.ad-slot,
.launch-cta {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
}

.category-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 22px;
  box-shadow: 0 10px 26px rgba(31, 41, 85, 0.04);
}

.category-card .icon,
.ad-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 23px;
}

.category-card.green .icon { background: var(--green-soft); color: #10a865; }
.category-card.orange .icon { background: var(--orange-soft); color: #f06e1f; }
.category-card.blue .icon { background: var(--blue-soft); color: #2563eb; }

.category-card h3 {
  margin-top: 22px;
}

.category-card p,
.content-card p,
.intent-card p,
.related-card p,
.policy-box p,
.policy-box li,
.faq p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.58;
}

.category-card .tag {
  margin-top: auto;
  width: max-content;
}

.category-card:hover,
.page-list a:hover,
.related-card:hover,
.compact-link:hover,
.path-row:hover {
  border-color: #d8dcf1;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.ad-slot {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  padding: 18px 24px;
  background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(246,244,255,0.92));
  color: var(--muted);
}

.ad-slot strong {
  display: block;
  margin-bottom: 2px;
  color: var(--text);
  font-size: 15px;
}

.ad-slot span {
  font-size: 13px;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.path-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 11px 14px 11px 18px;
}

.path-row strong {
  min-width: 0;
  color: #111a35;
  font-size: 14px;
  line-height: 1.35;
}

.path-row span {
  border-radius: 999px;
  padding: 4px 9px;
  background: #f3f4fb;
  color: #6b60ee;
  font-size: 11px;
  font-weight: 820;
  white-space: nowrap;
}

.path-row i {
  color: var(--faint);
  font-style: normal;
  font-size: 20px;
}

.launch-cta {
  display: none;
  padding: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(235,232,255,0.92));
}

.launch-cta p {
  margin: 10px 0 0;
  color: var(--muted);
}

.signal-panel {
  margin-top: 18px;
  overflow: hidden;
}

.signal-panel header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.signal-row {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
}

.signal-row:last-child {
  border-bottom: 0;
}

.signal-token,
.compact-token {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: var(--surface-soft);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.signal-row strong {
  display: block;
  margin-bottom: 3px;
}

.signal-row p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.search-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 8px;
}

.search-box input {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 11px;
  color: var(--text);
}

.search-box input:focus {
  border-color: var(--accent);
  outline: none;
}

.page-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.page-list a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
}

.page-list strong {
  min-width: 0;
  font-size: 14px;
  line-height: 1.4;
}

.answer-shell {
  padding: 22px 0 42px;
}

.answer-page {
  min-width: 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

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

.breadcrumbs span:last-child {
  min-width: 0;
  color: var(--faint);
}

.query-header {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.query-header h1 {
  max-width: 720px;
  font-size: 30px;
  line-height: 1.16;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 3px 8px;
  background: #f1f4fa;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.answer-block {
  margin-top: 16px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
}

.answer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.answer-toolbar span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.answer-toolbar button {
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.answer-toolbar button:hover,
.answer-toolbar button:focus-visible {
  border-color: var(--text);
  color: var(--text);
  outline: none;
}

.answer-block h2 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 22px;
  line-height: 1.25;
}

.answer-block p {
  max-width: 640px;
  margin: 8px 0 0;
  color: #2f343d;
  font-size: 15px;
  line-height: 1.55;
}

.answer-block .primary-answer {
  margin-top: 0;
  color: var(--text);
  font-size: 17px;
  font-weight: 760;
  line-height: 1.45;
}

.answer-clarification {
  color: var(--muted);
}

.structured-breakdown,
.structured-stack {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.breakdown-card {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.breakdown-card summary {
  cursor: pointer;
  list-style: none;
  padding: 13px 15px;
  color: var(--text);
  font-size: 15px;
  font-weight: 780;
}

.breakdown-card summary::-webkit-details-marker,
.related-section > summary::-webkit-details-marker,
.faq-card summary::-webkit-details-marker {
  display: none;
}

.breakdown-card summary::after,
.related-section > summary::after,
.faq-card summary::after {
  content: "+";
  float: right;
  color: var(--faint);
  font-weight: 700;
}

.breakdown-card[open] > summary::after,
.related-section[open] > summary::after,
.faq-card[open] > summary::after {
  content: "-";
}

.breakdown-card p,
.breakdown-card ul {
  margin: 0;
  padding: 0 15px 14px;
}

.breakdown-card ul {
  display: grid;
  gap: 6px;
  padding-left: 34px;
}

.breakdown-card li,
.breakdown-card p {
  color: #374151;
  font-size: 14px;
  line-height: 1.52;
}

.evidence-layer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.evidence-layer > h2 {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}

.evidence-card {
  background: var(--surface-soft);
}

.evidence-card summary {
  color: #4b5563;
  font-size: 14px;
}

.evidence-card details {
  margin: 0 15px 8px;
  border-top: 1px solid var(--line-soft);
}

.evidence-card details summary {
  padding: 10px 0;
}

.evidence-card details p {
  padding: 0 0 12px;
}

.article-section {
  margin-top: 16px;
}

.faq.article-section {
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.faq.article-section h2 {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
}

.faq-card {
  display: block;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.faq-card summary {
  cursor: pointer;
  padding: 13px 15px;
  color: var(--text);
  font-size: 14px;
  font-weight: 760;
}

.faq-card p {
  padding: 0 15px 14px;
  color: var(--muted);
  font-size: 14px;
}

.faq:not(.article-section) {
  padding-top: 26px;
}

.faq:not(.article-section) .section-heading {
  margin-bottom: 16px;
}

.faq:not(.article-section) details {
  margin-top: 0;
  border: 1px solid var(--line);
  border-radius: 0;
  border-bottom: 0;
  background: var(--surface);
}

.faq:not(.article-section) details summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  color: var(--text);
  font-size: 15px;
  font-weight: 820;
}

.faq:not(.article-section) details summary::-webkit-details-marker {
  display: none;
}

.faq:not(.article-section) details summary::after {
  content: "+";
  float: right;
  color: var(--faint);
}

.faq:not(.article-section) details[open] summary::after {
  content: "-";
}

.faq:not(.article-section) details p {
  margin: 0;
  padding: 0 22px 18px;
  color: var(--muted);
  font-size: 14px;
}

.faq:not(.article-section) details:first-of-type {
  border-radius: 14px 14px 0 0;
}

.faq:not(.article-section) details:last-of-type {
  border-bottom: 1px solid var(--line);
  border-radius: 0 0 14px 14px;
}

.related-section {
  border-top: 1px solid var(--line-soft);
  padding-top: 16px;
}

.related-section > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 780;
}

.related-section > summary a {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.related-grid {
  grid-template-columns: 1fr;
  margin-top: 10px;
}

.related-card {
  display: block;
  padding: 14px 16px;
}

.related-card span {
  display: inline-flex;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.related-card h3 {
  color: var(--text);
  font-size: 14px;
}

.related-card p {
  margin-top: 5px;
  font-size: 13px;
}

.reading-progress {
  position: sticky;
  top: 84px;
  z-index: 19;
  height: 2px;
  background: transparent;
}

.reading-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--accent);
  transition: width 120ms linear;
}

.policy-wrap {
  padding-top: 34px;
}

.policy-box {
  margin-top: 14px;
  padding: 16px;
}

.policy-box h2 {
  margin: 18px 0 8px;
  font-size: 17px;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  width: min(100% - 56px, 1100px);
  margin: 24px auto 0;
  padding: 24px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer strong {
  color: var(--text);
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

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

.sidebar,
.article-hero,
.snippet-card,
.confidence-card,
.sticky-cta,
.home-query,
.home-answer {
  display: none;
}

@media (min-width: 760px) {
  .content-grid,
  .score-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .topbar nav {
    display: none;
  }

  .mobile-icon {
    display: inline-grid;
  }

  .home-hero {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 0;
  }

  .hero-visual {
    min-height: 300px;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
    background:
      radial-gradient(circle at 95% 14%, rgba(91, 85, 246, 0.08), transparent 16rem),
      var(--bg);
  }

  .topbar {
    min-height: 82px;
    padding: 16px;
  }

  .brand small {
    display: block;
    font-size: 11px;
  }

  .brand strong {
    font-size: 15px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }

  .language-select {
    width: 78px;
    padding: 0 8px;
  }

  .search-icon {
    display: none;
  }

  .home-shell,
  .answer-shell,
  .hero,
  .policy-wrap,
  .footer {
    width: min(100% - 32px, 720px);
  }

  .home-hero {
    position: relative;
    min-height: 620px;
    padding: 40px 0 30px;
  }

  .home-hero h1 {
    max-width: 360px;
    font-size: 36px;
    line-height: 1.13;
  }

  .home-hero h1 span {
    text-decoration-thickness: 3px;
    text-underline-offset: 6px;
  }

  .lead {
    max-width: 300px;
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.65;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 12px;
  }

  .home-facts {
    max-width: 330px;
    gap: 8px;
    margin-top: 18px;
  }

  .hero-actions {
    display: grid;
    max-width: 260px;
    gap: 10px;
    margin-top: 20px;
  }

  .button {
    width: 100%;
    min-height: 48px;
  }

  .hero-visual {
    position: absolute;
    right: -28px;
    top: 182px;
    width: 220px;
    min-height: 210px;
    pointer-events: none;
  }

  .md-stack {
    width: 126px;
    height: 94px;
    border-radius: 22px;
  }

  .md-stack span {
    font-size: 30px;
  }

  .orbit-a {
    width: 220px;
    height: 82px;
  }

  .orbit-b {
    width: 210px;
    height: 130px;
  }

  .float-card {
    min-width: 40px;
    min-height: 36px;
    border-radius: 10px;
    font-size: 13px;
  }

  .float-card.face { left: 22%; top: 2%; }
  .float-card.k { right: 18%; top: 0; }
  .float-card.eyes { right: 0; top: 26%; }
  .float-card.fine { left: 4%; top: 72%; min-width: 58px; font-size: 11px; }
  .float-card.dots { display: none; }
  .float-card.heart { right: 4%; bottom: 8%; }

  .section {
    padding: 24px 0;
  }

  .section-heading {
    align-items: flex-start;
  }

  .section-heading h2 {
    font-size: 20px;
  }

  .section-heading p {
    font-size: 14px;
  }

  .section-link {
    border: 0;
    padding: 0;
    background: transparent;
    white-space: nowrap;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .category-card {
    min-height: 205px;
    padding: 18px;
  }

  .category-card .icon,
  .ad-icon {
    width: 46px;
    height: 46px;
  }

  .category-card h3 {
    margin-top: 18px;
  }

  .category-card p {
    font-size: 14px;
  }

  .ad-slot {
    align-items: flex-start;
    padding: 16px;
  }

  .path-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .path-row {
    min-height: 58px;
    padding: 12px 14px;
  }

  .path-row strong {
    font-size: 15px;
  }

  .faq:not(.article-section) .section-heading {
    align-items: center;
  }

  .launch-cta {
    display: block;
  }

  .query-header h1 {
    font-size: 25px;
  }

  .answer-shell {
    padding-top: 16px;
  }

  .answer-block {
    padding: 14px;
  }

  .answer-block h2 {
    font-size: 20px;
  }

  .answer-block .primary-answer {
    font-size: 16px;
  }

  .search-box,
  .page-list a,
  .footer {
    grid-template-columns: 1fr;
  }

  .footer {
    gap: 24px;
    padding-bottom: 42px;
  }

  .footer nav {
    display: grid;
    gap: 0;
  }

  .footer nav a {
    border-top: 1px solid var(--line);
    padding: 14px 0;
  }

  .theme-dot {
    margin-top: 12px;
  }
}

@media (max-width: 390px) {
  .home-hero h1 {
    max-width: 310px;
    font-size: 32px;
  }

  .hero-visual {
    right: -42px;
    top: 200px;
    transform: scale(0.92);
    transform-origin: right top;
  }

  .category-card {
    padding: 15px;
  }

  .category-card p {
    font-size: 13px;
  }
}
