:root {
  --brand: #0f6bff;
  --brand-dark: #084fc2;
  --teal: #00a884;
  --ink: #10233f;
  --muted: #63748c;
  --line: #e2e9f2;
  --surface: #ffffff;
  --canvas: #f4f7fb;
  --sidebar-width: 264px;
  --topbar-height: 68px;
  --shadow-sm: 0 8px 24px rgba(16, 35, 63, 0.06);
  --shadow-lg: 0 20px 50px rgba(16, 35, 63, 0.13);
  --radius: 18px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --brand: #4d9bff;
  --brand-dark: #78b4ff;
  --teal: #29c99a;
  --ink: #f1f5fa;
  --muted: #a4b1c2;
  --line: #283748;
  --surface: #111a26;
  --canvas: #080d14;
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.24);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.42);
}

html[data-theme="dark"] body {
  background: var(--canvas);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, "SF Pro Text", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbar {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto 0;
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 28px;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(226, 233, 242, 0.9);
  backdrop-filter: blur(16px);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  content: "";
  background: var(--ink);
  border-radius: 2px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--brand), #15b7d8);
  border-radius: 13px;
  box-shadow: 0 8px 20px rgba(15, 107, 255, 0.24);
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -0.06em;
}

.brand-copy {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.brand-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-note {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.theme-toggle:hover {
  color: var(--brand);
  border-color: var(--brand);
}

.theme-icon {
  width: 15px;
  height: 15px;
}

html[data-theme="light"] .theme-icon-sun,
html[data-theme="dark"] .theme-icon-moon {
  display: none;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  color: #38604d;
  background: #eaf9f2;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.status-pill::before {
  width: 7px;
  height: 7px;
  content: "";
  background: #18a76a;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(24, 167, 106, 0.12);
}

.language-switch {
  padding: 7px 12px;
  color: var(--brand);
  background: #eef5ff;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
}

.language-switch:hover {
  color: #fff;
  background: var(--brand);
}

.sidebar {
  position: fixed;
  z-index: 40;
  top: var(--topbar-height);
  bottom: 0;
  left: 0;
  width: var(--sidebar-width);
  padding: 24px 18px;
  overflow-y: auto;
  background: var(--surface);
  border-right: 1px solid var(--line);
}

.sidebar-heading {
  margin: 0 8px 12px;
  color: #91a0b4;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.category-nav {
  display: grid;
  gap: 5px;
}

.category-nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  padding: 9px 11px;
  color: #496079;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 650;
  transition: 160ms ease;
}

.category-nav a:hover,
.category-nav a.active {
  color: var(--brand);
  background: #eef5ff;
  border-color: #dceaff;
}

.category-icon {
  display: grid;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  place-items: center;
  background: #f3f6fa;
  border-radius: 9px;
  font-size: 15px;
}

.category-nav a.active .category-icon {
  background: #fff;
}

.category-count {
  margin-left: auto;
  color: #96a5b8;
  font-size: 11px;
  font-weight: 800;
}

.sidebar-footer {
  margin-top: 24px;
  padding: 16px 12px 0;
  color: #8796aa;
  border-top: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.8;
}

.sidebar-footer strong {
  color: #52667e;
}

.sidebar-backdrop {
  display: none;
}

.page {
  min-height: 100vh;
  margin-left: var(--sidebar-width);
  padding-top: var(--topbar-height);
}

.container {
  width: min(1480px, calc(100% - 56px));
  margin: 0 auto;
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(430px, 1.28fr);
  align-items: center;
  gap: 10px 30px;
  margin: 14px 0 0;
  padding: 18px 23px 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

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

.search-eyebrow {
  display: block;
  margin-bottom: 4px;
  color: var(--brand);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.search-copy h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.search-tools {
  min-width: 0;
}

.search-shell {
  display: flex;
  align-items: center;
  height: 46px;
  overflow: hidden;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.search-shell:focus-within {
  background: var(--surface);
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15, 107, 255, 0.11);
}

.search-shell svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-left: 15px;
  color: var(--muted);
}

.search-shell input {
  width: 100%;
  height: 100%;
  padding: 0 16px 0 10px;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 13px;
}

.search-shell input::placeholder {
  color: #95a2b4;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.quick-label {
  color: var(--muted);
  font-size: 10px;
}

.quick-link {
  padding: 3px 7px;
  color: var(--brand);
  background: #eef5ff;
  border-radius: 7px;
  font-size: 10px;
  transition: color 160ms ease, background 160ms ease;
}

.quick-link:hover {
  color: #fff;
  background: var(--brand);
}

.stats {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 18px;
  padding-top: 9px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 10px;
}

.stats strong {
  color: var(--ink);
  font-size: 11px;
}

.stats kbd {
  padding: 1px 4px;
  color: var(--muted);
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: none;
  font-family: inherit;
}

.banner-carousel {
  position: relative;
  margin: 22px 0 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.banner-carousel[hidden] {
  display: none;
}

.banner-viewport {
  position: relative;
  height: 346px;
}

.promo-slide {
  --promo-a: #0d5ce8;
  --promo-b: #14b8a6;
  --promo-ink: #ffffff;
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.55fr);
  align-items: center;
  padding: 46px 52px;
  overflow: hidden;
  color: var(--promo-ink);
  background: linear-gradient(118deg, var(--promo-a), var(--promo-b));
  opacity: 0;
  visibility: hidden;
  transform: translateX(24px) scale(0.99);
  transition: opacity 420ms ease, transform 520ms ease, visibility 420ms;
}

.promo-slide[data-theme="ocean"] {
  --promo-a: #064fcf;
  --promo-b: #13a8c5;
}

.promo-slide[data-theme="violet"] {
  --promo-a: #4934c5;
  --promo-b: #9b4dca;
}

.promo-slide[data-theme="forest"] {
  --promo-a: #08735d;
  --promo-b: #28a76f;
}

.promo-slide::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 87% 14%, rgba(255, 255, 255, 0.2) 0 2px, transparent 3px),
    radial-gradient(circle at 76% 80%, rgba(255, 255, 255, 0.16) 0 2px, transparent 3px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: auto, auto, 34px 34px, 34px 34px;
  mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
}

.promo-slide.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
}

.promo-copy {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.promo-label {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.promo-copy h2 {
  max-width: 840px;
  margin: 15px 0 10px;
  color: #fff;
  font-size: clamp(30px, 3.3vw, 46px);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.promo-copy p {
  max-width: 740px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 23px;
  padding: 11px 17px;
  color: #16304f;
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 6px 18px rgba(3, 25, 66, 0.16);
  font-size: 12px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.promo-cta:hover {
  box-shadow: 0 10px 25px rgba(3, 25, 66, 0.24);
  transform: translateY(-2px);
}

.promo-visual {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 170px;
  place-items: center;
}

.promo-icon {
  position: relative;
  z-index: 3;
  display: grid;
  width: 142px;
  height: 142px;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 32px;
  box-shadow: 0 22px 48px rgba(0, 24, 69, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  font-size: 46px;
  font-weight: 850;
  letter-spacing: -0.07em;
}

.promo-ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.promo-ring-one {
  width: 218px;
  height: 218px;
}

.promo-ring-two {
  width: 300px;
  height: 300px;
  border-style: dashed;
  opacity: 0.7;
  animation: promo-spin 18s linear infinite;
}

.promo-spark {
  position: absolute;
  display: block;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.85);
}

.promo-spark-one {
  top: 35px;
  right: 35px;
}

.promo-spark-two {
  bottom: 29px;
  left: 28px;
  width: 5px;
  height: 5px;
  opacity: 0.7;
}

.banner-controls {
  position: absolute;
  z-index: 5;
  right: 22px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.banner-arrows {
  display: flex;
  gap: 6px;
}

.banner-arrow,
.banner-dot {
  padding: 0;
  border: 0;
  cursor: pointer;
}

.banner-arrow {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9px;
  font-size: 17px;
  line-height: 1;
  transition: background 160ms ease;
}

.banner-arrow:hover {
  background: rgba(0, 0, 0, 0.28);
}

.banner-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.banner-dot {
  width: 7px;
  height: 7px;
  background: rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  transition: width 220ms ease, background 220ms ease;
}

.banner-dot.is-active {
  width: 22px;
  background: #fff;
}

@keyframes promo-spin {
  to {
    transform: rotate(360deg);
  }
}

.main-content {
  padding: 20px 0 65px;
}

.content-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 2px 15px;
}

.content-toolbar h2 {
  margin: 0;
  font-size: 19px;
  letter-spacing: -0.025em;
}

.result-count {
  color: var(--muted);
  font-size: 12px;
}

.category-section {
  padding: 24px 0 2px;
  scroll-margin-top: calc(var(--topbar-height) + 18px);
}

.category-section[hidden] {
  display: none;
}

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

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: var(--shadow-sm);
  font-size: 20px;
}

.section-title {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.025em;
}

.section-description {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.section-total {
  flex: 0 0 auto;
  color: #91a0b4;
  font-size: 11px;
  font-weight: 750;
}

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

.site-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 128px;
  gap: 13px;
  padding: 17px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(16, 35, 63, 0.02);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-card::after {
  position: absolute;
  right: -25px;
  bottom: -25px;
  width: 70px;
  height: 70px;
  content: "";
  background: hsla(var(--accent-h), 82%, 56%, 0.08);
  border-radius: 50%;
}

.site-card:hover {
  z-index: 1;
  border-color: hsla(var(--accent-h), 72%, 58%, 0.38);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.site-logo {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  place-items: center;
  color: hsl(var(--accent-h), 62%, 34%);
  background: hsl(var(--accent-h), 85%, 94%);
  border: 1px solid hsl(var(--accent-h), 75%, 88%);
  border-radius: 13px;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.site-main {
  min-width: 0;
}

.site-name {
  display: block;
  padding-right: 34px;
  overflow: hidden;
  font-size: 14px;
  font-weight: 780;
  letter-spacing: -0.015em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-description {
  display: -webkit-box;
  min-height: 36px;
  margin: 6px 0 8px;
  overflow: hidden;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.site-domain {
  display: block;
  overflow: hidden;
  color: #94a2b4;
  font-size: 10.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.featured-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 3px 7px;
  color: #cf5d00;
  background: #fff4e8;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.empty-state {
  display: grid;
  min-height: 310px;
  place-items: center;
  padding: 40px;
  text-align: center;
}

.empty-state[hidden] {
  display: none;
}

.empty-icon {
  display: grid;
  width: 68px;
  height: 68px;
  margin: 0 auto 14px;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  font-size: 28px;
}

.empty-state h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.footer {
  padding: 23px 0 0;
  color: #8b99ab;
  border-top: 1px solid var(--line);
  font-size: 11px;
  text-align: center;
}

.footer strong {
  color: #53677f;
}

html[data-theme="dark"] .topbar {
  background: rgba(9, 14, 21, 0.9);
  border-bottom-color: rgba(40, 55, 72, 0.9);
}

html[data-theme="dark"] .status-pill {
  color: #8ce1b6;
  background: #102c23;
}

html[data-theme="dark"] .language-switch {
  color: #8dbaff;
  background: #132846;
}

html[data-theme="dark"] .sidebar-heading,
html[data-theme="dark"] .category-count,
html[data-theme="dark"] .section-total {
  color: #7f8ea2;
}

html[data-theme="dark"] .category-nav a {
  color: #b6c3d4;
}

html[data-theme="dark"] .category-nav a:hover,
html[data-theme="dark"] .category-nav a.active {
  color: #81b5ff;
  background: #132846;
  border-color: #24496f;
}

html[data-theme="dark"] .category-icon {
  background: #182333;
}

html[data-theme="dark"] .category-nav a.active .category-icon {
  background: #1c3c65;
}

html[data-theme="dark"] .sidebar-footer {
  color: #7e8da1;
}

html[data-theme="dark"] .sidebar-footer strong {
  color: #b3c0d0;
}

html[data-theme="dark"] .quick-link {
  color: #9fc3ff;
  background: #162944;
}

html[data-theme="dark"] .quick-link:hover {
  color: #07101e;
  background: #78b4ff;
}

html[data-theme="dark"] .site-logo {
  color: hsl(var(--accent-h), 78%, 72%);
  background: hsla(var(--accent-h), 72%, 52%, 0.14);
  border-color: hsla(var(--accent-h), 72%, 60%, 0.26);
}

html[data-theme="dark"] .featured-badge {
  color: #ffc17a;
  background: #3b2a18;
}

html[data-theme="dark"] .empty-icon {
  background: #121d2a;
}

html[data-theme="dark"] .footer {
  color: #78879a;
}

html[data-theme="dark"] .footer strong {
  color: #aab8c9;
}

@media (max-width: 1280px) {
  .site-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  :root {
    --sidebar-width: 248px;
  }

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

  .container {
    width: min(100% - 36px, 1180px);
  }

  .search-panel {
    padding: 16px 20px 12px;
  }
}

@media (max-width: 760px) {
  :root {
    --topbar-height: 62px;
  }

  .topbar {
    padding: 0 16px;
  }

  .menu-toggle {
    display: block;
  }

  .brand-note,
  .status-pill {
    display: none;
  }

  .sidebar {
    top: var(--topbar-height);
    width: min(84vw, 300px);
    transform: translateX(-105%);
    transition: transform 220ms ease;
  }

  body.menu-open .sidebar {
    transform: translateX(0);
  }

  .sidebar-backdrop {
    position: fixed;
    z-index: 35;
    inset: var(--topbar-height) 0 0;
    display: block;
    visibility: hidden;
    background: rgba(10, 25, 45, 0.4);
    opacity: 0;
    transition: 220ms ease;
  }

  body.menu-open .sidebar-backdrop {
    visibility: visible;
    opacity: 1;
  }

  .page {
    margin-left: 0;
  }

  .container {
    width: calc(100% - 28px);
  }

  .search-panel {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 13px;
    padding: 15px 16px 12px;
    border-radius: 16px;
  }

  .search-copy h1 {
    font-size: 21px;
  }

  .search-shell {
    height: 44px;
  }

  .stats {
    justify-content: flex-start;
    gap: 7px 14px;
  }

  .content-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

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

  .section-description,
  .section-total {
    display: none;
  }

  .site-grid {
    grid-template-columns: 1fr;
  }

  .site-card {
    min-height: 112px;
  }
}

@media (max-width: 760px) {
  .banner-carousel {
    margin-top: 13px;
    border-radius: 20px;
  }

  .banner-viewport {
    height: 360px;
  }

  .promo-slide {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 27px 21px 68px;
  }

  .promo-copy h2 {
    max-width: 92%;
    margin-top: 12px;
    font-size: 26px;
  }

  .promo-copy p {
    max-width: 86%;
    font-size: 12px;
  }

  .promo-cta {
    margin-top: 14px;
  }

  .promo-visual {
    position: absolute;
    right: -10px;
    bottom: -5px;
    width: 190px;
    min-height: 150px;
    opacity: 0.72;
  }

  .promo-icon {
    width: 82px;
    height: 82px;
    border-radius: 24px;
    font-size: 28px;
  }

  .promo-ring-one {
    width: 132px;
    height: 132px;
  }

  .promo-ring-two {
    width: 178px;
    height: 178px;
  }

  .banner-controls {
    right: 15px;
    bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 7px;
}

.footer-links a {
  color: var(--brand);
  font-weight: 700;
}

.footer-links a:hover {
  text-decoration: underline;
}

.static-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 88% 4%, rgba(15, 107, 255, 0.09), transparent 32%),
    var(--canvas);
}

.static-main {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: calc(var(--topbar-height) + 42px) 0 64px;
}

.static-hero {
  max-width: 790px;
  margin-bottom: 27px;
}

.static-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.static-hero h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.static-hero p {
  max-width: 700px;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
}

.static-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}

.static-card h2 {
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.static-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.static-card-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--brand), #14b8a6);
  border-radius: 16px;
  font-size: 23px;
  box-shadow: 0 10px 24px rgba(15, 107, 255, 0.2);
}

.email-link {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  padding: 11px 15px;
  color: #fff;
  background: var(--brand);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  word-break: break-all;
  transition: background 160ms ease, transform 160ms ease;
}

.email-link:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
}

.static-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.static-list li {
  position: relative;
  padding: 8px 0 8px 22px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.static-list li:last-child {
  border-bottom: 0;
}

.static-list li::before {
  position: absolute;
  top: 8px;
  left: 0;
  color: var(--teal);
  content: "✓";
  font-weight: 900;
}

.privacy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 22px;
  align-items: start;
}

.prose {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}

.prose h2 {
  margin: 28px 0 9px;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--muted);
  font-size: 14px;
}

.prose p {
  margin: 0 0 12px;
}

.prose ul {
  margin: 8px 0 16px;
  padding-left: 20px;
}

.prose a {
  color: var(--brand);
  font-weight: 700;
}

.privacy-sidebar {
  position: sticky;
  top: calc(var(--topbar-height) + 24px);
}

.privacy-sidebar .static-card {
  padding: 21px;
}

.privacy-sidebar strong {
  display: block;
  margin-bottom: 7px;
}

.privacy-sidebar p {
  margin-bottom: 12px;
}

.updated {
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 860px) {
  .contact-grid,
  .privacy-layout {
    grid-template-columns: 1fr;
  }

  .privacy-sidebar {
    position: static;
  }
}

@media (max-width: 760px) {
  .static-main {
    width: calc(100% - 28px);
    padding-top: calc(var(--topbar-height) + 26px);
  }

  .static-hero h1 {
    font-size: 34px;
  }

  .static-card,
  .prose {
    padding: 21px;
    border-radius: 18px;
  }
}
