:root {
  --ink: #07111f;
  --ink-2: #223044;
  --muted: #66758b;
  --soft: #8c99aa;
  --line: #dce7ee;
  --line-soft: #edf3f7;
  --bg: #ffffff;
  --bg-soft: #f6fafc;
  --teal: #008e98;
  --teal-2: #00c8d7;
  --teal-soft: #e7fbfd;
  --amber: #f5a524;
  --coral: #ee6b5f;
  --violet: #8b6cf6;
  --blue: #2b75d6;
  --radius: 8px;
  --shadow: 0 18px 48px rgba(7, 17, 31, 0.1);
  --shadow-soft: 0 10px 28px rgba(7, 17, 31, 0.07);
  --header-height: 76px;
  --max-width: 1220px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(246, 250, 252, 0.95) 0, #fff 430px),
    #fff;
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

button {
  border: 0;
}

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

img {
  display: block;
  max-width: 100%;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

:focus-visible {
  outline: 3px solid rgba(0, 200, 215, 0.28);
  outline-offset: 3px;
}

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

.skip-link:focus {
  top: 12px;
  left: 12px;
  z-index: 999;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}

.shell {
  width: min(100% - 48px, var(--max-width));
  margin-inline: auto;
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 900;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-2), var(--amber), var(--coral));
  background-size: 220% 100%;
  animation: progressGlow 5s linear infinite;
  box-shadow: 0 0 18px rgba(0, 200, 215, 0.26);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 800;
  height: var(--header-height);
  border-bottom: 1px solid rgba(220, 231, 238, 0.74);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 253, 255, 0.92));
  backdrop-filter: blur(20px) saturate(145%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.78) inset;
  transition: box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
  overflow: hidden;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 200, 215, 0.54), rgba(245, 165, 36, 0.34), transparent);
  transform: translateX(-24%);
  opacity: 0.68;
  animation: headerSweep 8s ease-in-out infinite alternate;
  pointer-events: none;
}

.site-header.scrolled {
  border-color: rgba(193, 212, 222, 0.86);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 14px 36px rgba(7, 17, 31, 0.09);
}

.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(168px, auto) minmax(360px, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.brand {
  min-width: 168px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
}

.brand img {
  width: 128px;
  height: auto;
}

.brand span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(0, 142, 152, 0.18);
  border-radius: 999px;
  background: rgba(0, 200, 215, 0.08);
  color: #007b86;
  font-size: 12px;
  line-height: 1;
}

.main-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  justify-self: center;
  width: fit-content;
  max-width: 100%;
  padding: 5px;
  border: 1px solid rgba(220, 231, 238, 0.9);
  border-radius: 999px;
  background: rgba(246, 250, 252, 0.92);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.92) inset;
}

.main-nav a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 800;
  padding: 0 14px;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.main-nav a:hover,
.main-nav a.active {
  background: #fff;
  color: var(--teal);
  box-shadow: 0 7px 18px rgba(7, 17, 31, 0.08);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.header-search {
  min-width: 230px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid rgba(193, 212, 222, 0.9);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(7, 17, 31, 0.05);
}

.header-search svg {
  width: 17px;
  height: 17px;
}

.external-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(0, 142, 152, 0.14);
  border-radius: 999px;
  background: rgba(231, 251, 253, 0.74);
  color: var(--teal);
  font-size: 13px;
  font-weight: 850;
}

.button {
  position: relative;
  overflow: hidden;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius);
  padding: 0 18px;
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.34) 45%, transparent 72%);
  transform: translateX(-120%);
  transition: transform 560ms ease;
  pointer-events: none;
}

.button:hover {
  transform: translateY(-1px);
}

.button:hover::after {
  transform: translateX(120%);
}

.button-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-2));
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 142, 152, 0.22);
}

.button-primary:hover {
  box-shadow: 0 16px 36px rgba(0, 142, 152, 0.28);
}

.button-secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.topic-article-card,
.topic-card,
.category-card,
.guide-card,
.featured-guide,
.article-card,
.tool-card,
.page-sidebar-card,
[data-card] {
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, background 200ms ease;
}

.topic-article-card:hover,
.topic-card:hover,
.category-card:hover,
.guide-card:hover,
.featured-guide:hover,
.article-card:hover,
.tool-card:hover,
.page-sidebar-card:hover,
[data-card]:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 142, 152, 0.26);
  box-shadow: 0 22px 54px rgba(7, 17, 31, 0.1);
}

.icon-button,
.round-button {
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink-2);
}

.icon-button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
}

.icon-button svg,
.round-button svg {
  width: 19px;
  height: 19px;
}

.icon-button:hover,
.icon-button.active,
.round-button:hover {
  border-color: rgba(0, 142, 152, 0.4);
  background: var(--teal-soft);
  color: var(--teal);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0 40px;
  border-bottom: 1px solid var(--line-soft);
  background:
    linear-gradient(rgba(7, 17, 31, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 17, 31, 0.025) 1px, transparent 1px),
    #fff;
  background-size: 48px 48px, 48px 48px, auto;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 200, 215, 0.55), rgba(245, 165, 36, 0.4), transparent);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(480px, 0.9fr);
  gap: 58px;
  align-items: center;
  min-width: 0;
}

.hero-copy,
.insights-console,
.console-panel,
.editor-pick,
.featured-guide,
.latest-panel,
.article-card,
.topic-card {
  min-width: 0;
}

.hero-copy h1 {
  max-width: 680px;
  margin: 0 0 22px;
  color: var(--ink);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 900;
  line-height: 1;
}

.hero-copy p {
  max-width: 610px;
  margin: 0 0 28px;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.75;
}

.command-search {
  position: relative;
  max-width: 620px;
  min-height: 62px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(220, 231, 238, 0.96);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.command-search svg {
  width: 22px;
  height: 22px;
  margin-inline: auto;
  color: var(--teal);
}

.command-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 750;
}

.command-search input::placeholder {
  color: var(--soft);
}

.command-search kbd {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.quick-topics {
  max-width: 620px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.topic-tile {
  min-height: 78px;
  display: grid;
  place-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  box-shadow: 0 12px 28px rgba(7, 17, 31, 0.045);
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.topic-tile svg {
  width: 24px;
  height: 24px;
  color: var(--teal);
}

.topic-tile:hover,
.topic-tile.active {
  color: var(--teal);
  border-color: rgba(0, 142, 152, 0.42);
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(0, 142, 152, 0.12);
}

.trend-row {
  max-width: 640px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.trend-row span {
  color: var(--ink);
}

.trend-row button {
  padding: 0;
  background: transparent;
  color: var(--teal);
  font-weight: 850;
}

.trend-row button:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.insights-console {
  --mx: 0;
  --my: 0;
  position: relative;
  padding: 18px;
  border: 1px solid rgba(128, 221, 229, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(12, 36, 47, 0.94), rgba(3, 15, 24, 0.98)),
    #07111f;
  color: #fff;
  box-shadow: 0 30px 80px rgba(7, 17, 31, 0.34);
  transform: perspective(1200px) rotateY(calc(var(--mx) * -4deg)) rotateX(calc(var(--my) * 4deg));
  transition: transform 160ms ease;
  overflow: hidden;
}

.insights-console::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.45;
}

.console-top,
.console-layout,
.console-ticker {
  position: relative;
  z-index: 1;
}

.console-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 900;
}

.console-top span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(226, 241, 246, 0.82);
  font-size: 12px;
}

.console-top i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-2);
  box-shadow: 0 0 0 6px rgba(0, 200, 215, 0.1);
  animation: pulse 1.8s ease-in-out infinite;
}

.console-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(170px, 0.85fr);
  gap: 12px;
}

.console-panel,
.editor-pick {
  border: 1px solid rgba(128, 221, 229, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.console-panel {
  padding: 14px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(226, 241, 246, 0.9);
  font-size: 12px;
  font-weight: 850;
}

.panel-head strong {
  color: #74f4ff;
  font-size: 11px;
}

.trend-chart {
  width: 100%;
  margin-top: 10px;
  overflow: visible;
}

.gridline {
  stroke: rgba(226, 241, 246, 0.1);
  stroke-dasharray: 5 7;
}

.chart-fill {
  fill: rgba(0, 200, 215, 0.18);
  stroke: 0;
}

.chart-line {
  fill: none;
  stroke: url(#trendLine);
  stroke-width: 5;
}

.chart-dot {
  fill: #fff;
  stroke: var(--teal-2);
  stroke-width: 5;
  animation: pulseDot 2s ease-in-out infinite;
}

.topic-panel p {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  color: rgba(226, 241, 246, 0.92);
  font-size: 12px;
  font-weight: 800;
}

.topic-panel i {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal-2), rgba(245, 165, 36, 0.9));
  width: var(--bar);
}

.topic-panel b {
  color: rgba(226, 241, 246, 0.78);
  font-size: 11px;
}

.live-map {
  position: relative;
  min-height: 210px;
  overflow: hidden;
}

.live-map::before,
.live-map::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 18%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(97, 229, 238, 0.65), transparent);
}

.live-map::after {
  transform: rotate(55deg);
}

.map-node {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(97, 229, 238, 0.25);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(97, 229, 238, 0.24), rgba(255, 255, 255, 0.04));
  color: #fff;
  text-align: center;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  animation: float 5s ease-in-out infinite;
}

.map-main {
  left: 50%;
  top: 50%;
  width: 88px;
  height: 88px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 35% 25%, rgba(97, 229, 238, 0.48), rgba(0, 142, 152, 0.28));
}

.map-a {
  left: 48%;
  top: 20px;
  width: 66px;
  height: 66px;
}

.map-b {
  right: 16px;
  top: 78px;
  width: 60px;
  height: 60px;
  animation-delay: 240ms;
}

.map-c {
  left: 18px;
  top: 96px;
  width: 68px;
  height: 68px;
  animation-delay: 460ms;
}

.map-d {
  right: 30px;
  bottom: 28px;
  width: 52px;
  height: 52px;
  animation-delay: 680ms;
}

.editor-pick {
  position: relative;
  min-height: 210px;
  display: grid;
  align-items: end;
  padding: 18px;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
}

.editor-pick img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
}

.editor-pick::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 17, 31, 0.16), rgba(7, 17, 31, 0.94));
}

.editor-pick div,
.editor-pick .round-button {
  position: relative;
  z-index: 1;
}

.editor-pick div > span {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(0, 200, 215, 0.15);
  color: #74f4ff;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.editor-pick h2 {
  max-width: 240px;
  margin: 11px 0 9px;
  color: #fff;
  font-size: 18px;
  line-height: 1.18;
}

.editor-pick p {
  margin: 0;
  color: rgba(226, 241, 246, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.editor-pick .round-button {
  position: absolute;
  right: 14px;
  bottom: 14px;
}

.console-ticker {
  min-height: 50px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto 34px 34px;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  padding: 8px 10px;
  border: 1px solid rgba(128, 221, 229, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(226, 241, 246, 0.78);
  font-size: 12px;
  font-weight: 850;
}

.console-ticker strong {
  min-width: 0;
  overflow: hidden;
  color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.console-ticker small {
  color: rgba(226, 241, 246, 0.52);
}

.round-button {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(128, 221, 229, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: #74f4ff;
}

.filter-band {
  position: sticky;
  top: var(--header-height);
  z-index: 500;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px) saturate(130%);
  box-shadow: 0 16px 34px rgba(7, 17, 31, 0.045);
}

.filter-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.select-row,
.sort-row,
.sort-row label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.select-row {
  flex-wrap: wrap;
}

.select-row > span,
.sort-row span,
.sort-row label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

select,
.newsletter-card input,
.footer-form input,
.contact-dialog input,
.contact-dialog select,
.contact-dialog textarea {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 700;
}

select {
  min-width: 128px;
  padding: 0 34px 0 12px;
}

.view-toggle {
  display: inline-flex;
  gap: 6px;
}

.section {
  padding: 58px 0;
}

.section-heading {
  margin-bottom: 24px;
}

.row-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.section-heading h2,
.panel-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: 31px;
  font-weight: 900;
  line-height: 1.15;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.text-link,
.panel-heading a {
  padding: 0;
  background: transparent;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.text-link:hover,
.panel-heading a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.82fr);
  gap: 20px;
  align-items: stretch;
}

.featured-guide {
  position: relative;
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.84fr);
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.98) 0%, rgba(7, 17, 31, 0.9) 58%, rgba(7, 17, 31, 0.5) 100%),
    #07111f;
  color: #fff;
  box-shadow: 0 24px 60px rgba(7, 17, 31, 0.2);
  cursor: pointer;
}

.featured-guide img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  opacity: 0.72;
}

.featured-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
}

.featured-copy > span,
.article-card span {
  color: #68edf6;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.featured-copy h2 {
  max-width: 520px;
  margin: 12px 0 16px;
  color: #fff;
  font-size: clamp(28px, 4vw, 43px);
  line-height: 1.08;
}

.featured-copy p {
  max-width: 520px;
  margin: 0 0 22px;
  color: rgba(226, 241, 246, 0.82);
  font-size: 15px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  color: rgba(226, 241, 246, 0.75);
  font-size: 13px;
  font-weight: 750;
}

.featured-copy .button {
  align-self: flex-start;
}

.latest-panel,
.newsletter-card,
.trending-card,
.saved-card,
.topic-card,
.article-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: none;
}

.latest-panel {
  padding: 20px;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

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

.guide-list {
  display: grid;
  gap: 12px;
}

.guide-list article {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 32px;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: var(--radius);
  cursor: pointer;
}

.guide-list article:hover {
  background: var(--bg-soft);
}

.guide-list img {
  width: 92px;
  height: 62px;
  border-radius: 6px;
  object-fit: cover;
}

.guide-list h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}

.guide-list p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.topics-section {
  background: linear-gradient(180deg, #fff, #f8fbfd);
}

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

.topic-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  text-align: left;
  color: var(--ink);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.topic-card:hover,
.topic-card.active {
  transform: translateY(-3px);
  border-color: rgba(0, 142, 152, 0.42);
  box-shadow: var(--shadow-soft);
}

.topic-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: var(--radius);
}

.topic-icon svg {
  width: 24px;
  height: 24px;
}

.topic-icon.teal {
  background: var(--teal-soft);
  color: var(--teal);
}

.topic-icon.blue {
  background: #eaf2ff;
  color: var(--blue);
}

.topic-icon.violet {
  background: #f0edff;
  color: var(--violet);
}

.topic-icon.mint {
  background: #e9fbf4;
  color: #129a6d;
}

.topic-icon.coral {
  background: #fff0ee;
  color: var(--coral);
}

.topic-icon.amber {
  background: #fff6e5;
  color: #c77d09;
}

.topic-card strong {
  display: block;
  font-size: 16px;
  font-weight: 900;
}

.topic-card small {
  display: block;
  margin: 4px 0 12px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
}

.topic-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 24px;
  align-items: start;
}

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

.article-grid.list-view {
  grid-template-columns: 1fr;
}

.article-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.article-card[hidden] {
  display: none;
}

.article-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 142, 152, 0.42);
  box-shadow: var(--shadow-soft);
}

.article-card:focus-visible,
.article-open:focus-visible,
.guide-list article:focus-visible,
.featured-guide:focus-visible {
  outline: 3px solid rgba(0, 200, 215, 0.28);
  outline-offset: 4px;
}

.article-open {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  color: transparent;
}

.article-card img {
  width: 100%;
  height: 164px;
  object-fit: cover;
  background: #07111f;
  transition: transform 520ms ease, filter 520ms ease;
}

.article-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.05);
}

.article-card:nth-child(2n) img {
  object-position: 65% center;
}

.article-card:nth-child(3n) img {
  object-position: 80% center;
}

.article-card div {
  padding: 18px;
}

.article-card span {
  color: var(--teal);
}

.article-card h3 {
  margin: 9px 0 8px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

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

.article-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.article-card small {
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
}

.article-grid.list-view .article-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
}

.article-grid.list-view .article-card img {
  height: 100%;
  min-height: 180px;
}

.save-button {
  position: relative;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
}

.save-button::before {
  content: "";
  display: block;
  width: 12px;
  height: 16px;
  margin: auto;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 2px 2px 0 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 70%, 0 100%);
}

.save-button:hover,
.save-button.saved {
  border-color: rgba(0, 142, 152, 0.45);
  background: var(--teal-soft);
  color: var(--teal);
}

.side-rail {
  position: sticky;
  top: calc(var(--header-height) + 88px);
  display: grid;
  gap: 14px;
}

.newsletter-card,
.trending-card,
.saved-card {
  padding: 20px;
}

.newsletter-card {
  background:
    linear-gradient(180deg, rgba(7, 17, 31, 0.92), rgba(3, 15, 24, 0.98)),
    #07111f;
  color: #fff;
}

.mail-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #fff;
  color: var(--teal);
}

.mail-icon svg {
  width: 22px;
  height: 22px;
}

.newsletter-card h2,
.trending-card h2,
.saved-card h2 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.2;
}

.newsletter-card p,
.saved-card p {
  margin: 0 0 14px;
  color: rgba(226, 241, 246, 0.75);
  font-size: 13px;
}

.saved-card p {
  color: var(--muted);
}

.newsletter-card form {
  display: grid;
  gap: 10px;
}

.newsletter-card input {
  width: 100%;
  padding: 0 12px;
}

.newsletter-card small {
  display: block;
  margin-top: 10px;
  color: rgba(226, 241, 246, 0.62);
  font-size: 12px;
}

.trending-card ol {
  margin: 0;
  padding-left: 22px;
}

.trending-card li {
  margin: 0 0 13px;
  color: var(--teal);
  font-weight: 850;
}

.trending-card li:last-child {
  margin-bottom: 0;
}

.trending-card button,
.trending-card a {
  display: inline;
  padding: 0;
  background: transparent;
  color: var(--ink-2);
  text-align: left;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
  text-decoration: none;
}

.trending-card button:hover,
.trending-card a:hover {
  color: var(--teal);
}

.cta-section {
  padding-top: 20px;
}

.cta-panel {
  min-height: 190px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding: 30px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.98), rgba(4, 25, 35, 0.98)),
    #07111f;
  color: #fff;
  overflow: hidden;
}

.cta-panel img {
  width: 128px;
}

.cta-panel h2 {
  margin: 0 0 9px;
  color: #fff;
  font-size: 30px;
  line-height: 1.15;
}

.cta-panel p {
  max-width: 620px;
  margin: 0 0 18px;
  color: rgba(226, 241, 246, 0.78);
  font-size: 15px;
}

.cta-panel ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(226, 241, 246, 0.88);
  font-size: 13px;
  font-weight: 850;
}

.cta-panel li::before {
  content: "";
  width: 11px;
  height: 11px;
  display: inline-block;
  margin-right: 7px;
  border: 2px solid var(--teal-2);
  border-radius: 50%;
  vertical-align: -1px;
}

.site-footer {
  background: #06111e;
  color: rgba(226, 241, 246, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(150px, 1fr));
  gap: 40px;
  padding: 54px 0 34px;
}

.footer-brand img {
  width: 160px;
  margin-bottom: 14px;
}

.footer-brand p,
.footer-grid p {
  margin: 0;
  color: rgba(226, 241, 246, 0.62);
  font-size: 13px;
}

.footer-grid h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 13px;
}

.footer-grid a,
.footer-grid button {
  display: block;
  margin: 0 0 9px;
  padding: 0;
  background: transparent;
  color: rgba(226, 241, 246, 0.62);
  font-size: 13px;
  text-align: left;
}

.footer-grid a:hover,
.footer-grid button:hover {
  color: #fff;
}

.social-row {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.social-row a {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(226, 241, 246, 0.18);
  border-radius: var(--radius);
  font-weight: 900;
}

.footer-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 14px;
}

.footer-form input {
  width: 100%;
  min-width: 0;
  padding: 0 12px;
}

.footer-form button {
  min-height: 40px;
  margin: 0;
  padding: 0 13px;
  border-radius: var(--radius);
  background: var(--teal);
  color: #fff;
  font-weight: 850;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(226, 241, 246, 0.12);
  color: rgba(226, 241, 246, 0.48);
  font-size: 12px;
}

.footer-bottom span:last-child {
  text-align: right;
}

.footer-bottom a:hover {
  color: #fff;
}

.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 700;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.back-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-top svg {
  width: 20px;
  height: 20px;
}

.contact-dialog {
  width: min(820px, calc(100% - 28px));
  max-height: min(88vh, 760px);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(7, 17, 31, 0.24);
  overflow: hidden;
}

.contact-dialog::backdrop {
  background: rgba(7, 17, 31, 0.62);
  backdrop-filter: blur(10px);
}

.article-reader {
  width: min(780px, calc(100% - 32px));
  max-height: min(86vh, 860px);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 30px 90px rgba(7, 17, 31, 0.26);
}

.article-reader::backdrop {
  background: rgba(7, 17, 31, 0.62);
  backdrop-filter: blur(10px);
}

.reader-shell {
  position: relative;
  max-height: min(86vh, 860px);
  overflow: auto;
  background: #fff;
}

.reader-close {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 2;
  color: var(--ink);
}

.reader-hero {
  padding: 30px 34px 24px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.96), rgba(3, 31, 42, 0.94)),
    #07111f;
  color: #fff;
}

.reader-kicker {
  display: block;
  margin-bottom: 12px;
  color: #74f4ff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.reader-hero h2 {
  max-width: 660px;
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.08;
}

.reader-hero p {
  max-width: 650px;
  margin: 0;
  color: rgba(226, 241, 246, 0.78);
  font-size: 15px;
}

.reader-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 18px;
  color: rgba(226, 241, 246, 0.7);
  font-size: 13px;
  font-weight: 800;
}

.reader-body {
  display: grid;
  gap: 22px;
  padding: 28px 34px 34px;
}

.reader-body h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 20px;
}

.reader-body p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
}

.reader-body ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reader-body li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-2);
  font-size: 15px;
}

.reader-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--teal);
  border-radius: 50%;
}

.reader-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}

.dialog-shell {
  position: relative;
  max-height: min(88vh, 760px);
  overflow: auto;
  background: #fff;
}

.dialog-close {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.92);
}

.dialog-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.35fr);
  min-height: 560px;
}

.dialog-intro {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  padding: 30px;
  color: #fff;
  background:
    linear-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.065) 1px, transparent 1px),
    linear-gradient(145deg, #07111f 0%, #063340 68%, #007d87 100%);
  background-size: 30px 30px, 30px 30px, auto;
  overflow: hidden;
}

.dialog-intro::after {
  content: "";
  position: absolute;
  right: -64px;
  top: -64px;
  width: 210px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(116, 244, 255, 0.25), transparent 68%);
}

.dialog-kicker {
  position: relative;
  z-index: 1;
  color: #74f4ff;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.dialog-intro h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.02;
}

.dialog-intro p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(226, 241, 246, 0.76);
  font-size: 15px;
  line-height: 1.65;
}

.dialog-service-pills {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.dialog-service-pills span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(116, 244, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 850;
}

.dialog-fields {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 34px 30px;
}

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

.field-full {
  grid-column: 1 / -1;
}

.contact-dialog label {
  display: grid;
  gap: 7px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 850;
}

.contact-dialog input,
.contact-dialog select,
.contact-dialog textarea {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
}

.contact-dialog textarea {
  min-height: 112px;
  padding-top: 10px;
  resize: vertical;
}

.contact-other-field[hidden] {
  display: none;
}

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

.dialog-status {
  min-height: 20px;
  margin: 0;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.empty-message {
  grid-column: 1 / -1;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.74);
    opacity: 0.64;
  }
}

@keyframes progressGlow {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 220% 50%;
  }
}

@keyframes headerSweep {
  from {
    transform: translateX(-24%);
  }
  to {
    transform: translateX(24%);
  }
}

@keyframes pulseDot {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
}

@keyframes float {
  0%,
  100% {
    margin-top: 0;
  }
  50% {
    margin-top: -8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Home page 2026 shell */
.home-page {
  background:
    linear-gradient(180deg, #f7fcfd 0, #ffffff 620px),
    #ffffff;
}

.home-page .home-header {
  height: 84px;
  overflow: visible;
  border-bottom: 1px solid rgba(205, 223, 229, 0.78);
  background: rgba(255, 255, 255, 0.88);
}

.home-page .home-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
}

.home-page .header-inner {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
}

.home-page .brand {
  min-width: 158px;
}

.home-page .brand img {
  width: 136px;
}

.home-page .brand span {
  border-radius: 7px;
  background: #07111f;
  color: #dffcff;
}

.home-page .main-nav {
  gap: 2px;
  padding: 4px;
  border-radius: var(--radius);
  background: #f4fafc;
}

.home-page .main-nav > a,
.home-page .nav-group > a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 7px;
  color: #203045;
  font-size: 13px;
  font-weight: 850;
}

.home-page .main-nav > a:hover,
.home-page .main-nav > a.active,
.home-page .nav-group:hover > a,
.home-page .nav-group:focus-within > a {
  background: #ffffff;
  color: var(--teal);
  box-shadow: 0 8px 20px rgba(7, 17, 31, 0.08);
}

.home-page .nav-group {
  position: relative;
}

.home-page .mega-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 40;
  width: min(520px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(193, 212, 222, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 64px rgba(7, 17, 31, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.home-page .nav-group:hover .mega-menu,
.home-page .nav-group:focus-within .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.home-page .mega-menu a {
  display: grid;
  gap: 3px;
  padding: 12px;
  border: 1px solid rgba(220, 231, 238, 0.82);
  border-radius: 7px;
  background: #f8fcfd;
}

.home-page .mega-menu a:hover {
  border-color: rgba(0, 142, 152, 0.28);
  background: var(--teal-soft);
}

.home-page .mega-menu strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.2;
}

.home-page .mega-menu span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.home-page .header-search {
  min-width: 188px;
  border-radius: 7px;
}

.home-page .external-link {
  border-radius: 7px;
}

.home-page .home-hero {
  padding: 72px 0 34px;
  background:
    linear-gradient(rgba(7, 17, 31, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 17, 31, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 88% 20%, rgba(0, 200, 215, 0.18), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #eefcff 52%, #fff8ed 100%);
  background-size: 44px 44px, 44px 44px, auto, auto;
}

.home-page .hero-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(450px, 0.82fr);
  gap: clamp(34px, 5vw, 68px);
  align-items: center;
}

.home-page .hero-copy h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(46px, 6vw, 78px);
  line-height: 0.96;
}

.home-page .hero-copy p {
  max-width: 660px;
  color: #34455a;
  font-size: 18px;
}

.home-page .command-search {
  max-width: 700px;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(7, 17, 31, 0.12);
}

.home-page .hero-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.home-page .hero-proof-grid {
  max-width: 620px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 20px;
}

.home-page .hero-proof-grid div {
  padding: 14px;
  border: 1px solid rgba(205, 223, 229, 0.78);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 32px rgba(7, 17, 31, 0.06);
}

.home-page .hero-proof-grid strong {
  display: block;
  color: var(--teal);
  font-size: 26px;
  line-height: 1;
}

.home-page .hero-proof-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.home-page .quick-topics {
  margin-top: 16px;
}

.home-page .topic-tile {
  border-radius: 8px;
  background: #ffffff;
}

.home-page .insights-console {
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(7, 17, 31, 0.92), rgba(10, 34, 48, 0.96)),
    #07111f;
  box-shadow: 0 32px 90px rgba(7, 17, 31, 0.25);
}

.home-page .filter-band {
  top: 84px;
  border-top: 1px solid rgba(220, 231, 238, 0.7);
  border-bottom: 1px solid rgba(220, 231, 238, 0.86);
  background: rgba(255, 255, 255, 0.94);
}

.home-page .latest-section {
  padding-top: 58px;
}

.home-page .section-heading h2 {
  font-size: clamp(30px, 4vw, 46px);
}

.home-page .article-grid {
  gap: 18px;
}

.home-page .article-card {
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(7, 17, 31, 0.06);
}

.home-page .article-card img {
  height: 190px;
}

.home-page .side-rail {
  gap: 16px;
}

.home-page .newsletter-card,
.home-page .trending-card,
.home-page .saved-card,
.home-page .latest-panel {
  border-radius: 8px;
}

.home-page .topic-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-page .topic-card {
  display: grid;
  gap: 10px;
  min-height: 230px;
  border-radius: 8px;
  background: #ffffff;
}

.home-page .feature-grid {
  align-items: stretch;
}

.home-page .featured-guide {
  border-radius: 8px;
}

.home-page .guide-list .guide-item {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) 32px;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(220, 231, 238, 0.84);
  border-radius: 8px;
  background: #ffffff;
}

.home-page .guide-list .guide-item:hover {
  border-color: rgba(0, 142, 152, 0.28);
  background: var(--teal-soft);
}

.home-page .guide-list .guide-item img {
  width: 86px;
  height: 62px;
  border-radius: 6px;
  object-fit: cover;
}

.home-help-section {
  padding: 74px 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(135deg, #07111f 0%, #0d2b37 54%, #0b3b45 100%);
  background-size: 42px 42px, 42px 42px, auto;
  color: #ffffff;
}

.home-help-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.home-help-copy h2 {
  max-width: 620px;
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1;
}

.home-help-copy p {
  max-width: 600px;
  margin: 0;
  color: rgba(226, 241, 246, 0.78);
  font-size: 17px;
  line-height: 1.7;
}

.home-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.home-help-actions .button-secondary {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.home-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-service-grid article {
  min-height: 248px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid rgba(128, 221, 229, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.16);
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease;
}

.home-service-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 200, 215, 0.46);
  background: rgba(255, 255, 255, 0.12);
}

.home-service-grid span {
  color: #7df6ff;
  font-size: 12px;
  font-weight: 950;
}

.home-service-grid h3 {
  margin: 36px 0 10px;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.15;
}

.home-service-grid p {
  margin: 0;
  color: rgba(226, 241, 246, 0.72);
  font-size: 14px;
  line-height: 1.6;
}

.home-footer {
  padding-top: 58px;
  background:
    linear-gradient(180deg, #061420, #030b12);
  color: rgba(226, 241, 246, 0.76);
}

.home-footer .footer-grid {
  grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(150px, 0.7fr)) minmax(240px, 1fr);
  gap: 28px;
}

.home-footer h2 {
  color: #ffffff;
}

.home-footer a,
.home-footer button {
  width: fit-content;
}

.home-footer a:hover,
.home-footer button:hover {
  color: #7df6ff;
}

.home-footer .footer-subscribe {
  padding: 18px;
  border: 1px solid rgba(128, 221, 229, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 1120px) {
  .home-page .header-search,
  .home-page .external-link {
    display: none;
  }

  .home-page .hero-grid,
  .home-help-grid {
    grid-template-columns: 1fr;
  }

  .home-page .insights-console {
    max-width: 780px;
  }

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

@media (max-width: 940px) {
  .home-page .home-header {
    height: var(--header-height);
  }

  .home-page .main-nav {
    align-items: stretch;
    justify-content: start;
    border-radius: 0 0 14px 14px;
  }

  .home-page .main-nav.open {
    max-height: calc(100dvh - var(--header-height) - 20px);
    overflow: auto;
  }

  .home-page .main-nav > a,
  .home-page .nav-group > a {
    justify-content: flex-start;
    min-height: 44px;
    background: #f6fafc;
  }

  .home-page .nav-group {
    display: grid;
    gap: 8px;
  }

  .home-page .mega-menu {
    position: static;
    width: auto;
    grid-template-columns: 1fr;
    padding: 8px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
  }

  .home-page .topic-grid,
  .home-service-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .home-page .home-hero {
    padding-top: 42px;
  }

  .home-page .hero-copy h1 {
    font-size: 44px;
  }

  .home-page .command-search {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .home-page .command-search kbd,
  .home-page .command-search .button {
    display: none;
  }

  .home-page .hero-proof-grid,
  .home-page .topic-grid,
  .home-service-grid,
  .home-footer .footer-grid {
    grid-template-columns: 1fr;
  }

  .home-page .quick-topics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1160px) {
  .header-search {
    display: none;
  }

  .hero-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .insights-console {
    max-width: 760px;
  }

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

  .content-layout {
    grid-template-columns: 1fr;
  }

  .side-rail {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 940px) {
  .header-inner {
    grid-template-columns: minmax(0, auto) auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: grid;
    justify-self: end;
  }

  .main-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: var(--header-height);
    display: none;
    justify-self: auto;
    width: auto;
    padding: 12px;
    border: 1px solid rgba(193, 212, 222, 0.92);
    border-radius: 0 0 16px 16px;
    background: #fff;
    box-shadow: 0 22px 46px rgba(7, 17, 31, 0.16);
  }

  .main-nav.open {
    display: grid;
    gap: 8px;
  }

  .main-nav a {
    min-height: 42px;
    justify-content: flex-start;
    padding: 0 14px;
    border: 1px solid rgba(220, 231, 238, 0.74);
    background: var(--bg-soft);
  }

  .header-actions {
    display: none;
  }

  .filter-band {
    position: static;
  }

  .filter-shell {
    grid-template-columns: 1fr;
  }

  .sort-row {
    justify-content: space-between;
  }

  .featured-guide {
    grid-template-columns: 1fr;
  }

  .featured-guide img {
    height: 260px;
    min-height: 260px;
  }

  .side-rail {
    grid-template-columns: 1fr;
  }

  .cta-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .contact-dialog {
    width: min(100% - 18px, 560px);
    max-height: calc(100dvh - 18px);
    border-radius: 14px;
  }

  .dialog-shell {
    max-height: calc(100dvh - 18px);
  }

  .dialog-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .dialog-intro {
    min-height: 210px;
    padding: 26px 22px 22px;
  }

  .dialog-fields {
    align-content: start;
    padding: 22px;
  }

  .dialog-field-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .dialog-close {
    right: 12px;
    top: 12px;
  }
}

/* 2026 insight shell: shared header, footer, home polish, and topic library */
.insight-home-v2,
.topic-library-page {
  background:
    linear-gradient(180deg, #f7fbfd 0%, #ffffff 18%, #ffffff 72%, #f3f8fb 100%);
  color: #071426;
}

.insight-header.site-header {
  height: 72px;
  overflow: visible;
  border-bottom: 1px solid rgba(199, 214, 224, 0.78);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 18px 42px rgba(7, 20, 38, 0.06);
}

.insight-header .reference-shell {
  width: min(100% - 48px, 1480px);
}

.insight-header-inner {
  height: 72px;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  gap: 26px;
}

.insight-brand img {
  width: 132px;
}

.insight-nav {
  justify-content: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(214, 226, 235, 0.92);
  border-radius: 999px;
  background: rgba(246, 250, 252, 0.88);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.92) inset;
}

.insight-nav > a,
.insight-nav .nav-group > a {
  min-height: 40px;
  padding: 0 13px;
  border-radius: 999px;
  color: #0b1b31;
  font-size: 13px;
  font-weight: 850;
}

.insight-nav > a.active,
.insight-nav > a:hover,
.insight-nav .nav-group:hover > a,
.insight-nav .nav-group:focus-within > a {
  background: #ffffff;
  color: #008e98;
  box-shadow: 0 10px 22px rgba(7, 20, 38, 0.08);
}

.insight-nav > a.active::before {
  display: none;
}

.insight-nav .mega-menu {
  top: 54px;
  border-radius: 14px;
  border-color: rgba(198, 216, 228, 0.92);
  box-shadow: 0 28px 70px rgba(7, 20, 38, 0.17);
}

.insight-header-actions {
  gap: 10px;
}

.insight-search {
  width: 244px;
  min-height: 40px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(7, 20, 38, 0.05);
}

.insight-cta {
  min-height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #008e98, #00c8d7);
  box-shadow: 0 16px 34px rgba(0, 142, 152, 0.26);
}

.insight-home-v2 .reference-hero {
  position: relative;
  overflow: hidden;
  padding: 46px 0 38px;
  background:
    radial-gradient(circle at 88% 12%, rgba(0, 200, 215, 0.24), transparent 32%),
    linear-gradient(135deg, #061426 0%, #071c31 48%, #062b3a 100%);
}

.insight-home-v2 .reference-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.7), transparent 78%);
  pointer-events: none;
}

.insight-home-v2 .reference-hero-grid {
  position: relative;
  grid-template-columns: minmax(450px, 0.76fr) minmax(680px, 1.24fr);
  gap: 62px;
  min-height: 386px;
}

.insight-home-v2 .reference-hero-copy h1 {
  max-width: 620px;
  font-size: clamp(48px, 4.6vw, 72px);
  line-height: 1.02;
}

.insight-home-v2 .reference-hero-copy p {
  max-width: 560px;
  font-size: 16px;
  line-height: 1.62;
}

.insight-home-v2 .reference-hero-actions .button {
  min-height: 44px;
  border-radius: 12px;
}

.insight-home-v2 .reference-console {
  grid-template-columns: 150px minmax(0, 1fr) 260px;
  min-height: 330px;
  max-height: none;
  border-radius: 18px;
  background: rgba(5, 23, 40, 0.9);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.28);
  animation: insightFloat 6s ease-in-out infinite alternate;
}

.insight-home-v2 .console-insight-row img {
  height: 104px;
}

.insight-home-v2 .reference-feature-topic {
  padding: 34px 0 18px;
}

.insight-home-v2 .reference-latest {
  padding-bottom: 26px;
}

.insight-home-v2 .reference-article-card,
.insight-home-v2 .feature-card-link,
.insight-home-v2 .reference-topic-row,
.insight-home-v2 .reference-newsletter-panel,
.insight-home-v2 .reference-help-grid {
  border-color: rgba(210, 224, 233, 0.96);
  border-radius: 16px;
  box-shadow: 0 18px 46px rgba(7, 20, 38, 0.07);
}

.insight-home-v2 .reference-article-card img {
  height: 104px;
}

.insight-home-v2 .reference-article-card h3 {
  font-size: 14px;
}

.insight-footer {
  padding: 34px 0 18px;
  background:
    radial-gradient(circle at 18% 12%, rgba(0, 200, 215, 0.18), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(245, 165, 36, 0.13), transparent 24%),
    linear-gradient(135deg, #061426, #04101f 58%, #020b16);
}

.insight-footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) repeat(3, minmax(145px, 0.72fr)) minmax(260px, 1fr);
  gap: 36px;
}

.insight-footer .footer-brand-block img {
  width: 122px;
}

.insight-footer .footer-brand-block p,
.insight-footer .footer-newsletter p {
  max-width: 310px;
  margin: 12px 0;
  color: rgba(229, 241, 247, 0.72);
  font-size: 13px;
  line-height: 1.55;
}

.insight-footer h2 {
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.2;
}

.insight-footer a,
.insight-footer button {
  color: rgba(229, 241, 247, 0.72);
  font-size: 12px;
  line-height: 1.35;
}

.footer-cta-button,
.library-help-panel button {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #008e98, #00c8d7);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.insight-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  color: rgba(229, 241, 247, 0.58);
  font-size: 12px;
}

.topic-library-page .reference-shell {
  width: min(100% - 56px, 1400px);
}

.library-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 42px;
  background:
    radial-gradient(circle at 85% 18%, rgba(0, 200, 215, 0.22), transparent 28%),
    linear-gradient(135deg, #061426 0%, #071c31 52%, #052936 100%);
  color: #ffffff;
}

.library-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 68px 68px;
  opacity: 0.6;
  pointer-events: none;
}

.library-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 56px;
  align-items: end;
}

.library-hero .breadcrumbs {
  margin-bottom: 18px;
  color: rgba(229, 241, 247, 0.72);
}

.library-hero .breadcrumbs a {
  color: #7df6ff;
}

.library-hero-copy h1 {
  max-width: 850px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(46px, 6vw, 84px);
  line-height: 0.98;
  font-weight: 950;
}

.library-hero-copy p {
  max-width: 780px;
  margin: 22px 0 0;
  color: rgba(229, 241, 247, 0.78);
  font-size: 17px;
  line-height: 1.66;
}

.library-search-panel {
  max-width: 850px;
  min-height: 62px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
  padding: 0 16px 0 18px;
  border: 1px solid rgba(128, 221, 229, 0.28);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.library-search-panel svg {
  width: 22px;
  height: 22px;
  color: #76f5ff;
}

.library-search-panel input {
  width: 100%;
  min-height: 52px;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 16px;
  outline: 0;
}

.library-search-panel input::placeholder {
  color: rgba(229, 241, 247, 0.58);
}

.library-search-panel span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(0, 200, 215, 0.14);
  color: #8df7ff;
  font-size: 12px;
  font-weight: 900;
}

.library-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.library-filter {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(128, 221, 229, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(229, 241, 247, 0.78);
  font-size: 12px;
  font-weight: 850;
}

.library-filter.active,
.library-filter:hover {
  background: #ffffff;
  color: #008e98;
}

.library-signal-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(128, 221, 229, 0.24);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.22);
}

.library-signal-card > span {
  color: #82f6ff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.library-signal-card strong {
  color: #ffffff;
  font-size: 76px;
  line-height: 0.9;
}

.library-signal-card p {
  margin: 0 0 8px;
  color: rgba(229, 241, 247, 0.72);
  font-size: 14px;
  line-height: 1.5;
}

.library-signal-card div {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid rgba(128, 221, 229, 0.18);
}

.library-signal-card b {
  color: #ffffff;
  font-size: 24px;
}

.library-signal-card small {
  color: rgba(229, 241, 247, 0.64);
  font-size: 12px;
  font-weight: 800;
}

.library-featured,
.library-directory,
.library-help {
  background: #ffffff;
}

.library-featured {
  padding: 42px 0 18px;
}

.library-directory {
  padding: 24px 0 58px;
}

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

.library-section-heading h2 {
  max-width: 720px;
  margin: 0;
  color: #071426;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
}

.library-section-heading p {
  max-width: 420px;
  margin: 0;
  color: #617184;
  font-size: 14px;
  line-height: 1.5;
}

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

.library-feature-card,
.library-topic-card {
  color: inherit;
  text-decoration: none;
  transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease, background 190ms ease;
}

.library-feature-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border: 1px solid #dce8f0;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(245, 251, 253, 0.86), #ffffff);
  box-shadow: 0 16px 42px rgba(7, 20, 38, 0.07);
}

.library-feature-card:hover,
.library-topic-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 142, 152, 0.42);
  box-shadow: 0 24px 60px rgba(7, 20, 38, 0.12);
}

.library-feature-card span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #071426;
  color: #76f5ff;
  font-size: 12px;
  font-weight: 950;
}

.library-feature-card strong {
  color: #071426;
  font-size: 17px;
  line-height: 1.15;
}

.library-feature-card p {
  margin: 0;
  color: #617184;
  font-size: 12px;
  line-height: 1.45;
}

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

.library-topic-card {
  position: relative;
  min-height: 214px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid #dce8f0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 38px rgba(7, 20, 38, 0.06);
}

.library-topic-card::after {
  content: "";
  position: absolute;
  inset: auto -24px -30px auto;
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: rgba(0, 200, 215, 0.08);
  transition: transform 190ms ease, background 190ms ease;
}

.library-topic-card:hover::after {
  transform: scale(1.24);
  background: rgba(0, 200, 215, 0.16);
}

.topic-code {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #eefbfc;
  color: #008e98;
  font-size: 11px;
  font-weight: 950;
}

.library-topic-card small {
  color: #008e98;
  font-size: 11px;
  font-weight: 900;
}

.library-topic-card strong {
  color: #071426;
  font-size: 19px;
  line-height: 1.2;
}

.library-topic-card p {
  margin: 0;
  color: #617184;
  font-size: 13px;
  line-height: 1.5;
}

.library-topic-card em {
  align-self: end;
  color: #071426;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.library-empty {
  margin: 24px 0 0;
  padding: 18px;
  border: 1px dashed rgba(0, 142, 152, 0.34);
  border-radius: 16px;
  background: #f2fbfc;
  color: #446073;
  font-weight: 800;
}

.library-help {
  padding: 0 0 44px;
}

.library-help-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 24px;
  border: 1px solid #dce8f0;
  border-radius: 20px;
  background:
    linear-gradient(135deg, #f3fbff, #eef9fb);
}

.library-help-panel h2 {
  margin: 0 0 8px;
  color: #071426;
  font-size: 28px;
}

.library-help-panel p {
  max-width: 780px;
  margin: 0;
  color: #617184;
  font-size: 14px;
  line-height: 1.55;
}

@keyframes insightFloat {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-8px);
  }
}

@media (max-width: 1180px) {
  .insight-header-inner {
    grid-template-columns: auto auto;
  }

  .insight-header-actions {
    display: none;
  }

  .insight-header .nav-toggle {
    display: grid;
  }

  .insight-header .reference-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    max-height: calc(100dvh - 90px);
    overflow: auto;
    align-items: stretch;
    justify-content: start;
    gap: 8px;
    padding: 12px;
    border: 1px solid #d9e4eb;
    border-radius: 0 0 16px 16px;
    background: #ffffff;
    box-shadow: 0 22px 46px rgba(7, 17, 31, 0.16);
  }

  .insight-header .reference-nav.open {
    display: grid;
  }

  .insight-home-v2 .reference-hero-grid,
  .library-hero-grid,
  .library-help-panel {
    grid-template-columns: 1fr;
  }

  .library-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

@media (max-width: 760px) {
  .insight-header.site-header {
    height: 64px;
  }

  .insight-header-inner {
    height: 64px;
  }

  .insight-brand img {
    width: 118px;
  }

  .insight-header .reference-nav {
    top: 64px;
  }

  .insight-home-v2 .reference-hero,
  .library-hero {
    padding: 34px 0 28px;
  }

  .insight-home-v2 .reference-hero-copy h1,
  .library-hero-copy h1 {
    font-size: 42px;
  }

  .library-search-panel {
    grid-template-columns: 22px minmax(0, 1fr);
    padding-right: 14px;
  }

  .library-search-panel span {
    grid-column: 1 / -1;
    width: fit-content;
    margin-bottom: 12px;
  }

  .library-feature-grid,
  .library-topic-grid,
  .insight-footer-grid {
    grid-template-columns: 1fr;
  }

  .library-section-heading {
    display: grid;
    align-items: start;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 32px, var(--max-width));
  }

  .hero {
    padding-top: 34px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: 30px;
    line-height: 1.05;
    overflow-wrap: normal;
  }

  .hero-copy p {
    font-size: 15px;
  }

  .command-search {
    grid-template-columns: 32px minmax(0, 1fr);
    min-height: 58px;
  }

  .command-search kbd,
  .command-search .button {
    display: none;
  }

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

  .console-layout {
    grid-template-columns: 1fr;
  }

  .insights-console {
    width: 100%;
    max-width: 100%;
    padding: 12px;
    transform: none;
  }

  .console-layout,
  .console-ticker,
  .chart-panel,
  .topic-panel,
  .live-map,
  .editor-pick {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .trend-chart {
    max-width: 100%;
  }

  .topic-panel p {
    grid-template-columns: minmax(86px, 0.9fr) minmax(86px, 1fr) 32px;
  }

  .live-map,
  .editor-pick {
    min-height: 180px;
  }

  .console-ticker {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .console-ticker small,
  .console-ticker .round-button {
    display: none;
  }

  .select-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .select-row > span {
    grid-column: 1 / -1;
  }

  .select-row label,
  select {
    width: 100%;
  }

  .row-heading {
    display: block;
  }

  .row-heading .text-link {
    margin-top: 14px;
  }

  .topic-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .article-grid.list-view .article-card {
    grid-template-columns: 1fr;
  }

  .article-grid.list-view .article-card img {
    height: 164px;
  }

  .cta-panel {
    padding: 24px;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (max-width: 460px) {
  .brand {
    min-width: 0;
  }

  .brand img {
    width: 94px;
  }

  .brand span {
    display: none;
  }

  .hero-copy h1 {
    font-size: 28px;
  }

  .select-row {
    grid-template-columns: 1fr;
  }

  .sort-row,
  .sort-row label {
    align-items: stretch;
    flex-direction: column;
  }

  .sort-row {
    gap: 12px;
  }

  .view-toggle {
    align-self: flex-start;
  }

  .footer-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .shell {
    width: min(100% - 32px, 358px);
    margin-left: 16px;
    margin-right: auto;
  }

  .hero-copy h1 {
    font-size: 27px;
  }

  .hero-copy p {
    font-size: 14px;
  }
}

@media (max-width: 940px) {
  .home-page .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .home-page .nav-toggle {
    display: grid;
    justify-self: end;
  }

  .home-page .main-nav {
    left: 16px;
    right: 16px;
    top: var(--header-height);
    width: auto;
  }

  .home-page .main-nav.open {
    display: grid;
    gap: 8px;
  }
}

@media (max-width: 520px) {
  .home-page .brand img {
    width: 108px;
  }

  .home-page .hero-copy h1 {
    font-size: 40px;
  }

  .home-page .hero-copy p {
    font-size: 15px;
  }

  .home-page .home-service-grid article {
    min-height: 210px;
  }
}

/* Reference-style homepage for Namecheap build */
.reference-home {
  background: #ffffff;
  color: #081528;
}

.reference-home .site-header {
  height: 50px;
  overflow: visible;
  border-bottom: 1px solid rgba(203, 216, 226, 0.76);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  box-shadow: 0 6px 18px rgba(7, 17, 31, 0.04);
}

.reference-shell {
  width: min(100% - 180px, 1356px);
  margin-inline: auto;
}

.reference-header .reference-shell {
  width: min(100% - 48px, 1488px);
}

.reference-header-inner {
  height: 50px;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
}

.reference-brand img {
  width: 124px;
  height: auto;
}

.reference-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.reference-nav > a,
.reference-nav .nav-group > a {
  position: relative;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border-radius: 0;
  color: #071426;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.reference-nav .nav-group > a::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.reference-nav > a.active::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: var(--teal-2);
}

.reference-nav > a:hover,
.reference-nav .nav-group:hover > a,
.reference-nav .nav-group:focus-within > a {
  color: var(--teal);
}

.reference-nav .nav-group {
  position: relative;
}

.reference-nav .mega-menu {
  top: 48px;
  left: 50%;
  width: 480px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(197, 213, 224, 0.9);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(7, 17, 31, 0.16);
  transform: translate(-50%, 8px);
}

.reference-nav .nav-group:hover .mega-menu,
.reference-nav .nav-group:focus-within .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.reference-nav .mega-menu a {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid #edf2f6;
  border-radius: 7px;
  background: #f8fbfd;
}

.reference-nav .mega-menu a:hover {
  border-color: rgba(0, 142, 152, 0.28);
  background: var(--teal-soft);
}

.reference-nav .mega-menu strong {
  color: #081528;
  font-size: 13px;
}

.reference-nav .mega-menu span {
  color: #6a7888;
  font-size: 12px;
  font-weight: 700;
}

.reference-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.reference-search {
  width: 300px;
  min-height: 34px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) 24px;
  gap: 8px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid #d8e3eb;
  border-radius: 6px;
  background: #ffffff;
  color: #68798b;
  font-size: 12px;
  font-weight: 700;
}

.reference-search svg,
.reference-cta svg {
  width: 17px;
  height: 17px;
}

.reference-search kbd {
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid #dde8ef;
  border-radius: 4px;
  color: #7c8c9d;
  font-size: 12px;
}

.reference-cta {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 6px;
  background: linear-gradient(135deg, #0097a3, #00bac8);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(0, 142, 152, 0.24);
}

.reference-hero {
  padding: 16px 0 12px;
  background:
    linear-gradient(135deg, #06162a 0%, #061b31 48%, #08233a 100%);
  color: #ffffff;
}

.reference-hero-grid {
  display: grid;
  grid-template-columns: 470px minmax(0, 1fr);
  gap: 90px;
  align-items: center;
  min-height: 275px;
}

.reference-hero-copy h1 {
  max-width: 470px;
  margin: 0 0 11px;
  color: #ffffff;
  font-size: clamp(40px, 2.9vw, 43px);
  line-height: 1.08;
  font-weight: 950;
}

.reference-hero-copy h1 span {
  color: var(--teal-2);
}

.reference-hero-copy p {
  max-width: 445px;
  margin: 0;
  color: rgba(230, 241, 247, 0.82);
  font-size: 12.5px;
  line-height: 1.45;
}

.reference-command-search {
  display: none;
}

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

.reference-hero-actions .button {
  min-height: 34px;
  padding-inline: 17px;
  border-radius: 6px;
  font-size: 12px;
}

.reference-hero-actions .button-secondary {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.reference-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 500px;
  margin-top: 18px;
}

.reference-stats div {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  column-gap: 10px;
  align-items: center;
  padding-right: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.reference-stats div:last-child {
  border-right: 0;
}

.reference-stats .stat-icon {
  grid-row: span 2;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #79f5ff;
}

.reference-stats svg {
  width: 15px;
  height: 15px;
}

.reference-stats strong {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.2;
}

.reference-stats small {
  color: rgba(230, 241, 247, 0.72);
  font-size: 10px;
}

.reference-console {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr) 250px;
  min-height: 270px;
  max-height: 274px;
  overflow: hidden;
  border: 1px solid rgba(128, 221, 229, 0.26);
  border-radius: 10px;
  background: rgba(5, 23, 40, 0.82);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
}

.console-sidebar {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 12px 9px;
  border-right: 1px solid rgba(128, 221, 229, 0.18);
}

.console-sidebar strong {
  margin-bottom: 6px;
  color: #ffffff;
  font-size: 14px;
}

.console-sidebar span {
  min-height: 28px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  padding: 0 8px;
  border-radius: 6px;
  color: rgba(230, 241, 247, 0.72);
  font-size: 10px;
  font-weight: 750;
}

.console-sidebar span.active {
  background: rgba(0, 200, 215, 0.2);
  color: #ffffff;
}

.console-sidebar svg {
  width: 15px;
  height: 15px;
}

.console-main {
  padding: 17px;
}

.console-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.console-title-row h2 {
  margin: 0;
  color: #ffffff;
  font-size: 14px;
}

.console-title-row a {
  color: #77f4ff;
  font-size: 12px;
  font-weight: 800;
}

.console-insight-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.console-insight-row a {
  overflow: hidden;
  border: 1px solid rgba(128, 221, 229, 0.18);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.045);
}

.console-insight-row img {
  width: 100%;
  height: 88px;
  object-fit: cover;
}

.console-insight-row span,
.reference-article-card span,
.feature-card-link span {
  display: block;
  color: #0097a3;
  font-size: 11px;
  font-weight: 900;
}

.console-insight-row a > span,
.console-insight-row strong,
.console-insight-row small {
  margin-inline: 12px;
}

.console-insight-row a > span {
  margin-top: 8px;
  color: #5cf0fb;
}

.console-insight-row strong {
  display: block;
  margin-top: 5px;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.2;
}

.console-insight-row small {
  display: block;
  margin-top: 7px;
  margin-bottom: 9px;
  color: rgba(230, 241, 247, 0.62);
  font-size: 11px;
}

.console-performance {
  display: grid;
  gap: 9px;
  align-content: start;
  padding: 12px;
}

.metric-card,
.topic-bars {
  padding: 11px;
  border: 1px solid rgba(128, 221, 229, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.metric-card span,
.topic-bars h3 {
  margin: 0;
  color: rgba(230, 241, 247, 0.72);
  font-size: 10px;
  font-weight: 850;
}

.metric-card strong {
  display: block;
  margin-top: 8px;
  color: #ffffff;
  font-size: 24px;
}

.metric-card small {
  color: #3ef7a4;
  font-size: 10px;
}

.metric-card svg {
  width: 100%;
  height: 36px;
  margin-top: 4px;
  color: var(--teal-2);
}

.metric-card path {
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
}

.topic-bars {
  display: grid;
  gap: 6px;
}

.topic-bars p {
  display: grid;
  grid-template-columns: minmax(86px, 1fr) 86px 34px;
  gap: 8px;
  align-items: center;
  margin: 0;
  color: rgba(230, 241, 247, 0.8);
  font-size: 9px;
}

.topic-bars i {
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal-2) var(--bar), rgba(255, 255, 255, 0.12) 0);
}

.topic-bars b {
  color: rgba(230, 241, 247, 0.72);
  font-size: 11px;
}

.reference-feature-topic,
.reference-latest,
.reference-newsletter,
.reference-help {
  background: #ffffff;
}

.reference-feature-topic {
  padding: 15px 0 6px;
}

.reference-feature-topic-grid {
  display: grid;
  grid-template-columns: 535px minmax(0, 1fr);
  gap: 30px;
  align-items: stretch;
}

.section-mini-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.section-mini-heading h2 {
  margin: 0;
  color: #081528;
  font-size: 20px;
  line-height: 1.2;
}

.section-mini-heading a {
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
}

.feature-card-link {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  height: 142px;
  overflow: hidden;
  border: 1px solid #dde8ef;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(7, 17, 31, 0.07);
}

.feature-card-link img {
  width: 100%;
  height: 142px;
  object-fit: cover;
}

.feature-card-link div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 13px;
}

.feature-card-link h3 {
  margin: 5px 0 6px;
  color: #081528;
  font-size: 14px;
  line-height: 1.16;
}

.feature-card-link p {
  margin: 0 0 7px;
  color: #617184;
  font-size: 10px;
  line-height: 1.32;
}

.feature-card-link small {
  color: #8090a1;
  font-size: 10px;
}

.reference-topic-strip {
  padding-left: 20px;
  border-left: 1px solid #dce7ee;
}

.reference-topic-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  min-height: 112px;
  border: 1px solid #edf2f6;
  border-radius: 8px;
  background: #ffffff;
}

.reference-topic-row a {
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 14px 10px;
  border-right: 1px solid #dde8ef;
  color: #0b4a73;
  text-align: center;
}

.reference-topic-row a:last-child {
  border-right: 0;
}

.reference-topic-row svg {
  width: 30px;
  height: 30px;
}

.reference-topic-row span {
  color: #081528;
  font-size: 11px;
  font-weight: 900;
}

.reference-topic-row a:hover {
  background: #f6fcfd;
}

.reference-latest {
  padding: 0 0 12px;
}

.reference-card-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.reference-article-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #dce7ee;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(7, 17, 31, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.reference-article-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 142, 152, 0.36);
  box-shadow: 0 20px 48px rgba(7, 17, 31, 0.11);
}

.reference-article-card img {
  width: 100%;
  height: 68px;
  object-fit: cover;
  background: #07111f;
}

.reference-article-card div {
  padding: 8px 9px 7px;
}

.reference-article-card h3 {
  min-height: 34px;
  margin: 3px 0 5px;
  color: #081528;
  font-size: 11px;
  line-height: 1.16;
}

.reference-article-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.reference-article-card small {
  color: #8190a1;
  font-size: 9px;
  font-weight: 800;
}

.reference-newsletter {
  padding: 0 0 8px;
}

.reference-newsletter-panel {
  min-height: 64px;
  display: grid;
  grid-template-columns: 56px minmax(260px, 1fr) minmax(320px, 420px) auto;
  gap: 16px;
  align-items: center;
  padding: 10px 20px;
  border: 1px solid #d8e8f1;
  border-radius: 8px;
  background: linear-gradient(135deg, #f3fbff, #eef8fd);
}

.reference-newsletter-panel > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #0097a3, #00c8d7);
  color: #ffffff;
}

.reference-newsletter-panel svg {
  width: 20px;
  height: 20px;
}

.reference-newsletter-panel h2 {
  margin: 0 0 2px;
  color: #081528;
  font-size: 17px;
}

.reference-newsletter-panel p {
  margin: 0;
  color: #637386;
  font-size: 11px;
}

.reference-newsletter-panel form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.reference-newsletter-panel input,
.footer-form input {
  width: 100%;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #d4e0e8;
  border-radius: 6px;
  background: #ffffff;
}

.reference-newsletter-panel button,
.footer-form button,
.reference-help aside button {
  min-height: 32px;
  padding: 0 15px;
  border-radius: 6px;
  background: linear-gradient(135deg, #0097a3, #00bac8);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
}

.reference-newsletter-panel small {
  color: #008e98;
  font-size: 12px;
  font-weight: 800;
}

.reference-help {
  padding: 0 0 8px;
}

.reference-help-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.88fr) repeat(4, minmax(150px, 1fr)) minmax(210px, 0.9fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid #e2ebf1;
  border-radius: 8px;
  background: #ffffff;
}

.reference-help-grid > div,
.reference-help-grid article,
.reference-help-grid aside {
  min-height: 66px;
  padding: 8px;
  border-right: 1px solid #e2ebf1;
}

.reference-help-grid aside {
  border-right: 0;
  background: #eff8fd;
}

.reference-help h2 {
  margin: 0 0 6px;
  color: #081528;
  font-size: 18px;
  line-height: 1.1;
}

.reference-help h3 {
  margin: 0 0 4px;
  color: #081528;
  font-size: 11px;
  line-height: 1.1;
}

.reference-help p {
  margin: 0;
  color: #607184;
  font-size: 9px;
  line-height: 1.2;
}

.reference-help article {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  column-gap: 8px;
  align-content: center;
}

.reference-help article svg {
  grid-row: span 2;
  width: 24px;
  height: 24px;
  color: var(--teal);
}

.reference-help aside button {
  min-height: 24px;
  margin-top: 5px;
  padding-inline: 10px;
  font-size: 9px;
}

.reference-footer {
  padding: 8px 0 5px;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 200, 215, 0.14), transparent 28%),
    linear-gradient(135deg, #06162a, #051426 64%, #03101e);
  color: rgba(229, 241, 247, 0.72);
}

.reference-footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.18fr) repeat(3, minmax(130px, 0.72fr)) minmax(260px, 1fr);
  gap: 24px;
}

.footer-brand-block img {
  width: 88px;
}

.footer-brand-block p,
.footer-newsletter p {
  max-width: 260px;
  margin: 5px 0;
  color: rgba(229, 241, 247, 0.72);
  font-size: 8px;
  line-height: 1.15;
}

.reference-footer h2 {
  margin: 0 0 4px;
  color: #ffffff;
  font-size: 8.5px;
  line-height: 1.05;
}

.reference-footer nav,
.footer-newsletter {
  display: grid;
  align-content: start;
  gap: 1px;
}

.reference-footer a,
.reference-footer button {
  width: fit-content;
  padding: 0;
  background: transparent;
  color: rgba(229, 241, 247, 0.72);
  font-size: 8px;
  line-height: 1.05;
  text-align: left;
}

.reference-footer a:hover,
.reference-footer button:hover {
  color: #7df6ff;
}

.footer-newsletter .footer-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.footer-newsletter .footer-form input {
  border-color: rgba(128, 221, 229, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.reference-footer-bottom {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 3px;
  color: rgba(229, 241, 247, 0.64);
  font-size: 8px;
}

.reference-home .reference-article-card span {
  font-size: 9px;
  line-height: 1.1;
}

.reference-home .reference-article-card .save-button {
  width: 20px;
  height: 20px;
  border-radius: 4px;
}

.reference-home .reference-article-card .save-button::before {
  width: 8px;
  height: 11px;
  border-width: 1.5px;
}

.reference-footer .social-row {
  gap: 5px;
  margin-top: 6px;
}

.reference-footer .social-row a {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  font-size: 8px;
}

.reference-footer .footer-form {
  margin-top: 5px;
}

.reference-footer .footer-form input,
.reference-footer .footer-form button {
  height: 22px;
  min-height: 22px;
  font-size: 8px;
}

.reference-footer .footer-form input {
  padding-inline: 9px;
}

.reference-footer .footer-form button {
  padding-inline: 10px;
}

.reference-footer-bottom button {
  color: inherit;
}

@media (max-width: 1120px) {
  .reference-header-actions .reference-search {
    width: 230px;
  }

  .reference-hero-grid {
    grid-template-columns: 1fr;
  }

  .reference-console {
    max-width: 920px;
  }

  .reference-card-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .reference-help-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1040px) {
  .reference-header-inner {
    grid-template-columns: auto auto;
  }

  .reference-header-actions {
    display: none;
  }

  .reference-home .nav-toggle {
    display: grid;
  }

  .reference-home .reference-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 50px;
    display: none;
    max-height: calc(100dvh - 68px);
    overflow: auto;
    align-items: stretch;
    justify-content: start;
    gap: 8px;
    padding: 12px;
    border: 1px solid #d9e4eb;
    border-radius: 0 0 12px 12px;
    background: #ffffff;
    box-shadow: 0 22px 46px rgba(7, 17, 31, 0.16);
  }

  .reference-home .reference-nav.open {
    display: grid;
  }

  .reference-nav > a,
  .reference-nav .nav-group > a {
    min-height: 42px;
    justify-content: flex-start;
    padding: 0 12px;
    border: 1px solid #edf2f6;
    border-radius: 7px;
    background: #f8fbfd;
  }

  .reference-nav > a.active::before {
    display: none;
  }

  .reference-nav .mega-menu {
    position: static;
    width: auto;
    grid-template-columns: 1fr;
    margin-top: 8px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
  }

  .reference-feature-topic-grid,
  .reference-newsletter-panel,
  .reference-footer-grid {
    grid-template-columns: 1fr;
  }

  .reference-topic-strip {
    padding-left: 0;
    border-left: 0;
  }

  .reference-topic-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .reference-shell {
    width: min(100% - 32px, 560px);
  }

  .reference-hero {
    padding-top: 34px;
  }

  .reference-hero-copy h1 {
    font-size: 42px;
  }

  .reference-hero-copy p {
    font-size: 15px;
  }

  .reference-stats,
  .reference-console,
  .console-insight-row,
  .reference-topic-row,
  .reference-card-row,
  .reference-help-grid {
    grid-template-columns: 1fr;
  }

  .reference-console {
    display: grid;
  }

  .console-sidebar,
  .console-performance {
    display: none;
  }

  .feature-card-link {
    grid-template-columns: 1fr;
  }

  .reference-newsletter-panel form,
  .footer-newsletter .footer-form {
    grid-template-columns: 1fr;
  }

  .reference-help-grid > div,
  .reference-help-grid article,
  .reference-help-grid aside,
  .reference-topic-row a {
    border-right: 0;
    border-bottom: 1px solid #e2ebf1;
  }
}

/* Final header/footer authority: keep this after legacy homepage rules. */
body .site-header,
.reference-home .insight-header.site-header,
.topic-library-page .insight-header.site-header,
.content-page .site-header {
  height: 72px;
  overflow: visible;
  border-bottom: 1px solid rgba(199, 214, 224, 0.78);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 18px 42px rgba(7, 20, 38, 0.06);
}

body .site-header::after {
  display: none;
}

body .header-inner,
.reference-home .insight-header-inner,
.topic-library-page .insight-header-inner,
.content-page .header-inner {
  height: 72px;
  width: min(100% - 48px, 1480px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

body .brand,
body .reference-brand {
  min-width: 0;
}

body .brand img,
body .reference-brand img {
  width: 165px;
  height: auto;
}

body .brand span {
  display: none;
}

body .main-nav,
.reference-home .insight-nav,
.topic-library-page .insight-nav,
.content-page .main-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  padding: 5px;
  border: 1px solid rgba(214, 226, 235, 0.92);
  border-radius: 999px;
  background: rgba(246, 250, 252, 0.9);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.92) inset;
}

body .main-nav > a,
body .main-nav .nav-group > a,
.reference-home .insight-nav > a,
.reference-home .insight-nav .nav-group > a,
.topic-library-page .insight-nav > a,
.topic-library-page .insight-nav .nav-group > a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #0b1b31;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
  box-shadow: none;
}

body .main-nav > a.active,
body .main-nav > a:hover,
body .main-nav .nav-group:hover > a,
body .main-nav .nav-group:focus-within > a {
  background: #ffffff;
  color: #008e98;
  box-shadow: 0 10px 22px rgba(7, 20, 38, 0.08);
}

body .main-nav > a.active::before {
  display: none;
}

body .header-actions,
body .reference-header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

body .external-link,
body .reference-search {
  min-height: 40px;
  border: 1px solid rgba(214, 226, 235, 0.92);
  border-radius: 12px;
  background: #ffffff;
  color: #5b6b7d;
  box-shadow: 0 10px 24px rgba(7, 20, 38, 0.05);
}

body .external-link {
  padding: 0 13px;
}

body .button.button-primary,
body .reference-cta {
  min-height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #008e98, #00c8d7);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(0, 142, 152, 0.26);
}

body .nav-toggle {
  display: none;
}

@media (max-width: 1180px) {
  body .header-inner,
  .reference-home .insight-header-inner,
  .topic-library-page .insight-header-inner,
  .content-page .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  body .header-actions,
  body .reference-header-actions {
    display: none;
  }

  body .nav-toggle {
    display: grid;
    justify-self: end;
  }

  body .main-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    width: auto;
    max-height: calc(100dvh - 90px);
    overflow: auto;
    justify-content: start;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    border-radius: 0 0 16px 16px;
    background: #ffffff;
    box-shadow: 0 22px 46px rgba(7, 17, 31, 0.16);
  }

  body .main-nav.open {
    display: grid;
  }

  body .main-nav > a,
  body .main-nav .nav-group > a {
    justify-content: flex-start;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid #edf2f6;
    border-radius: 10px;
    background: #f8fbfd;
  }

  body .main-nav .mega-menu {
    position: static;
    width: auto;
    grid-template-columns: 1fr;
    margin-top: 8px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
  }
}

@media (max-width: 760px) {
  body .site-header,
  .reference-home .insight-header.site-header,
  .topic-library-page .insight-header.site-header,
  .content-page .site-header {
    height: 64px;
  }

  body .header-inner,
  .reference-home .insight-header-inner,
  .topic-library-page .insight-header-inner,
  .content-page .header-inner {
    height: 64px;
    width: min(100% - 32px, 560px);
  }

  body .brand img,
  body .reference-brand img {
    width: 148px;
  }

  body .main-nav {
    top: 64px;
  }
}

/* Webtoro reference shell for static article and category fallbacks. */
body .site-header.wt-static-reference-header {
  --wt-ref-paper: #f3fbfa;
  --wt-ref-ink: #103334;
  --wt-ref-line: rgba(16, 51, 52, .2);
  --wt-ref-teal: #37c7cf;
  --wt-ref-dark: #0f3435;
  position: sticky !important;
  top: 0;
  z-index: 1400;
  height: 90px !important;
  background: rgba(243, 251, 250, .97) !important;
  border-bottom: 1px solid var(--wt-ref-line) !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

body .site-header.wt-static-reference-header.scrolled {
  box-shadow: 0 10px 30px rgba(15, 52, 53, .07) !important;
}

body .site-header.wt-static-reference-header .shell.header-inner {
  width: min(100% - 64px, 1460px) !important;
  height: 90px !important;
  gap: 26px !important;
}

body .site-header.wt-static-reference-header .brand {
  width: 220px !important;
  min-width: 220px !important;
  height: 68px;
  display: flex !important;
  align-items: center;
}

body .site-header.wt-static-reference-header .brand img {
  width: 208px !important;
  max-width: 208px !important;
  height: 62px !important;
  object-fit: contain;
  object-position: left center;
}

body .site-header.wt-static-reference-header .main-nav {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  z-index: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 1 1 auto;
  min-width: 0;
  max-height: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  gap: 22px !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body .site-header.wt-static-reference-header .main-nav > .wt-reference-nav-link,
body .site-header.wt-static-reference-header .wt-reference-services > .wt-reference-nav-link {
  display: inline-flex !important;
  width: auto !important;
  min-height: 44px !important;
  align-items: center;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--wt-ref-ink) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  text-transform: uppercase;
  white-space: nowrap;
}

body .site-header.wt-static-reference-header .main-nav > .wt-reference-nav-link:hover,
body .site-header.wt-static-reference-header .wt-reference-services > .wt-reference-nav-link:hover,
body .site-header.wt-static-reference-header .wt-reference-nav-current {
  color: #10777c !important;
  box-shadow: inset 0 -2px 0 var(--wt-ref-teal);
}

body .site-header.wt-static-reference-header .wt-reference-services {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
}

body .site-header.wt-static-reference-header .wt-reference-services-toggle {
  display: inline-grid;
  width: 29px;
  height: 29px;
  place-items: center;
  padding: 0;
  border: 2px solid var(--wt-ref-teal);
  border-radius: 0;
  background: transparent;
  color: #0a99a3;
  font-family: inherit;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

body .site-header.wt-static-reference-header .wt-reference-services-toggle:hover,
body .site-header.wt-static-reference-header .wt-reference-services.is-open .wt-reference-services-toggle {
  background: var(--wt-ref-teal);
  color: var(--wt-ref-dark);
  transform: rotate(45deg);
}

body .site-header.wt-static-reference-header .wt-reference-services-panel {
  position: absolute;
  top: calc(100% + 18px);
  left: -22px;
  z-index: 1500;
  display: grid;
  grid-template-columns: repeat(2, minmax(200px, 1fr));
  width: 500px;
  padding: 14px;
  border: 1px solid var(--wt-ref-ink);
  background: #f7fcfb;
  box-shadow: 10px 10px 0 rgba(55, 199, 207, .23), 0 22px 40px rgba(15, 52, 53, .12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

body .site-header.wt-static-reference-header .wt-reference-services.is-open .wt-reference-services-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

body .site-header.wt-static-reference-header .wt-reference-services-panel a {
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr);
  min-height: 68px;
  align-items: center;
  gap: 10px;
  margin: 0 !important;
  padding: 12px !important;
  border: 1px solid transparent;
  background: transparent;
  color: var(--wt-ref-ink) !important;
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

body .site-header.wt-static-reference-header .wt-reference-services-panel a:hover {
  border-color: var(--wt-ref-ink);
  background: #e4f7f5;
  transform: translateX(3px);
}

body .site-header.wt-static-reference-header .wt-reference-services-panel span {
  color: #14959d;
  font-size: 11px;
  font-weight: 900;
}

body .site-header.wt-static-reference-header .wt-reference-services-panel strong {
  color: inherit;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.15;
}

body .site-header.wt-static-reference-header .header-actions {
  display: flex !important;
  align-items: center;
  margin-left: 0 !important;
}

body .site-header.wt-static-reference-header .wt-reference-cta {
  display: inline-flex !important;
  min-width: 166px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 !important;
  padding: 0 20px !important;
  border: 1px solid var(--wt-ref-dark) !important;
  border-radius: 999px !important;
  background: var(--wt-ref-dark) !important;
  color: #f7fffe !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  text-align: center !important;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

body .site-header.wt-static-reference-header .wt-reference-cta svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

body .site-header.wt-static-reference-header .wt-reference-cta:hover {
  background: var(--wt-ref-teal) !important;
  color: var(--wt-ref-dark) !important;
  transform: translateY(-2px);
}

body .site-header.wt-static-reference-header .nav-toggle {
  border-color: var(--wt-ref-ink) !important;
  border-radius: 0 !important;
  color: var(--wt-ref-ink) !important;
}

body .site-header.wt-static-reference-header .nav-toggle svg {
  stroke: currentColor;
}

.site-footer.wt-static-reference-footer {
  background: #0f3435 !important;
  border-top: 1px solid #092627;
}

.site-footer.wt-static-reference-footer .footer-grid {
  padding-top: 52px;
}

.site-footer.wt-static-reference-footer .footer-brand p,
.site-footer.wt-static-reference-footer .footer-grid p,
.site-footer.wt-static-reference-footer .footer-grid a,
.site-footer.wt-static-reference-footer .footer-grid button,
.site-footer.wt-static-reference-footer .footer-bottom {
  color: #b7d8d5 !important;
}

.site-footer.wt-static-reference-footer .footer-grid h2,
.site-footer.wt-static-reference-footer .footer-grid a:hover,
.site-footer.wt-static-reference-footer .footer-grid button:hover {
  color: #f2fffd !important;
}

.site-footer.wt-static-reference-footer .footer-bottom {
  border-top-color: rgba(231, 255, 252, .2) !important;
}

@media (max-width: 1040px) {
  body .site-header.wt-static-reference-header .shell.header-inner {
    width: min(100% - 40px, 1200px) !important;
    gap: 16px !important;
  }

  body .site-header.wt-static-reference-header .brand {
    width: 190px !important;
    min-width: 190px !important;
  }

  body .site-header.wt-static-reference-header .brand img {
    width: 182px !important;
    max-width: 182px !important;
  }

  body .site-header.wt-static-reference-header .main-nav {
    gap: 14px !important;
  }

  body .site-header.wt-static-reference-header .wt-reference-cta {
    min-width: 148px;
    padding-inline: 15px !important;
  }
}

@media (max-width: 900px) {
  body .site-header.wt-static-reference-header {
    height: 76px !important;
  }

  body .site-header.wt-static-reference-header .shell.header-inner {
    width: min(100% - 36px, 760px) !important;
    height: 76px !important;
  }

  body .site-header.wt-static-reference-header .brand {
    width: 170px !important;
    min-width: 170px !important;
  }

  body .site-header.wt-static-reference-header .brand img {
    width: 162px !important;
    max-width: 162px !important;
    height: 54px !important;
  }

  body .site-header.wt-static-reference-header .main-nav {
    position: fixed !important;
    top: 76px !important;
    left: 0 !important;
    right: 0 !important;
    display: none !important;
    max-height: calc(100dvh - 76px) !important;
    margin: 0 !important;
    padding: 18px !important;
    overflow-y: auto !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 5px !important;
    border-top: 1px solid var(--wt-ref-line) !important;
    border-bottom: 1px solid var(--wt-ref-ink) !important;
    background: #f3fbfa !important;
    box-shadow: 0 18px 35px rgba(15, 52, 53, .12) !important;
  }

  body .site-header.wt-static-reference-header .main-nav.open {
    display: flex !important;
  }

  body .site-header.wt-static-reference-header .main-nav > .wt-reference-nav-link,
  body .site-header.wt-static-reference-header .wt-reference-services > .wt-reference-nav-link {
    width: 100% !important;
    min-height: 52px !important;
    padding: 0 5px !important;
    border-bottom: 1px solid rgba(16, 51, 52, .14) !important;
    font-size: 14px !important;
  }

  body .site-header.wt-static-reference-header .wt-reference-services {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 0;
  }

  body .site-header.wt-static-reference-header .wt-reference-services-toggle {
    width: 42px;
    height: 42px;
    align-self: center;
    justify-self: end;
  }

  body .site-header.wt-static-reference-header .wt-reference-services-panel {
    position: static;
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    margin: 7px 0 10px;
    padding: 8px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  body .site-header.wt-static-reference-header .wt-reference-services.is-open .wt-reference-services-panel {
    display: grid;
  }

  body .site-header.wt-static-reference-header .header-actions {
    margin-left: auto !important;
  }
}

@media (max-width: 560px) {
  body .site-header.wt-static-reference-header {
    height: 70px !important;
  }

  body .site-header.wt-static-reference-header .shell.header-inner {
    width: min(100% - 24px, 560px) !important;
    height: 70px !important;
    gap: 8px !important;
  }

  body .site-header.wt-static-reference-header .brand {
    width: 142px !important;
    min-width: 142px !important;
  }

  body .site-header.wt-static-reference-header .brand img {
    width: 136px !important;
    max-width: 136px !important;
    height: 48px !important;
  }

  body .site-header.wt-static-reference-header .main-nav {
    top: 70px !important;
    max-height: calc(100dvh - 70px) !important;
  }

  body .site-header.wt-static-reference-header .wt-reference-cta {
    min-width: 108px;
    min-height: 42px;
    gap: 7px;
    padding-inline: 10px !important;
    font-size: 10px !important;
  }

  body .site-header.wt-static-reference-header .wt-reference-cta svg {
    width: 14px;
    height: 14px;
  }
}

/* Webtoro-style full-width topic directory for static fallbacks. */
body .site-header.wt-static-reference-header .wt-reference-services-toggle {
  width: 20px;
  height: 20px;
  border: 0;
  background: transparent;
  color: #0aaab3;
  font-size: 16px;
  box-shadow: none;
  outline: none;
}

body .site-header.wt-static-reference-header .wt-reference-services-toggle:hover,
body .site-header.wt-static-reference-header .wt-reference-services.is-open .wt-reference-services-toggle {
  background: transparent;
  color: #0cc8d2;
  transform: rotate(45deg);
}

body .site-header.wt-static-reference-header .wt-reference-services-toggle:focus-visible {
  outline: 2px solid #0cc8d2;
  outline-offset: 3px;
}

@media (min-width: 901px) {
  body .site-header.wt-static-reference-header .shell.header-inner {
    width: calc(100% - 104px) !important;
    max-width: 1768px !important;
    padding-inline: 0 !important;
  }

  body .site-header.wt-static-reference-header .wt-insights-mega-menu {
    position: fixed;
    top: 90px;
    right: 0;
    left: 0;
    display: block;
    width: 100vw;
    max-width: none;
    max-height: calc(100dvh - 90px);
    margin: 0 !important;
    padding: 34px 0 38px !important;
    overflow: auto;
    border: 0;
    border-top: 1px solid rgba(108, 190, 190, .22);
    background: #0d393a;
    box-shadow: 0 30px 62px rgba(6, 31, 32, .3);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px) scaleY(.985);
    transform-origin: top center;
    transition: opacity 180ms ease, transform 220ms ease, visibility 180ms ease;
  }

  body .site-header.wt-static-reference-header .wt-reference-services:hover .wt-insights-mega-menu,
  body .site-header.wt-static-reference-header .wt-reference-services:focus-within .wt-insights-mega-menu,
  body .site-header.wt-static-reference-header .wt-reference-services.is-open .wt-insights-mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scaleY(1);
  }

  body .site-header.wt-static-reference-header .wt-mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: min(1768px, calc(100vw - 104px));
    margin: 0 auto;
    border: 1px solid rgba(134, 203, 201, .28);
  }

  body .site-header.wt-static-reference-header .wt-mega-menu-column {
    min-width: 0;
    min-height: 405px;
    padding: 24px 22px 28px;
    border-right: 1px solid rgba(134, 203, 201, .28);
  }

  body .site-header.wt-static-reference-header .wt-mega-menu-column:last-child {
    border-right: 0;
  }

  body .site-header.wt-static-reference-header .wt-mega-kicker {
    display: block;
    margin: 0 0 26px;
    color: #22d3dc;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  body .site-header.wt-static-reference-header .wt-insights-mega-menu .wt-mega-title {
    display: flex !important;
    min-height: 0 !important;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 18px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #fff !important;
    text-decoration: none;
    transform: none;
  }

  body .site-header.wt-static-reference-header .wt-insights-mega-menu .wt-mega-title strong {
    max-width: 290px;
    color: inherit;
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  body .site-header.wt-static-reference-header .wt-insights-mega-menu .wt-mega-title img {
    width: 12px;
    height: 12px;
    margin-top: 4px;
    object-fit: contain;
  }

  body .site-header.wt-static-reference-header .wt-mega-links {
    display: grid;
    gap: 11px;
  }

  body .site-header.wt-static-reference-header .wt-insights-mega-menu .wt-mega-links a {
    display: block !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #b9d8d6 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    text-decoration: none;
    transform: translateX(0);
    transition: color 150ms ease, transform 150ms ease;
  }

  body .site-header.wt-static-reference-header .wt-insights-mega-menu .wt-mega-title:hover,
  body .site-header.wt-static-reference-header .wt-insights-mega-menu .wt-mega-links a:hover,
  body .site-header.wt-static-reference-header .wt-insights-mega-menu .wt-mega-title:focus-visible,
  body .site-header.wt-static-reference-header .wt-insights-mega-menu .wt-mega-links a:focus-visible {
    border-color: transparent !important;
    background: transparent !important;
    color: #fff !important;
    transform: translateX(4px);
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  body .site-header.wt-static-reference-header .shell.header-inner {
    width: calc(100% - 48px) !important;
    max-width: none !important;
  }

  body .site-header.wt-static-reference-header .wt-mega-menu-grid {
    width: calc(100vw - 48px);
  }

  body .site-header.wt-static-reference-header .wt-mega-menu-column {
    padding-inline: 18px;
  }

  body .site-header.wt-static-reference-header .wt-insights-mega-menu .wt-mega-title strong {
    font-size: 19px;
  }

  body .site-header.wt-static-reference-header .wt-insights-mega-menu .wt-mega-links a {
    font-size: 11px !important;
  }
}

@media (max-width: 900px) {
  body .site-header.wt-static-reference-header .wt-reference-services-toggle {
    width: 42px;
    height: 42px;
  }

  body .site-header.wt-static-reference-header .wt-insights-mega-menu {
    grid-column: 1 / -1;
    display: none !important;
    width: 100%;
    max-height: min(62dvh, 620px);
    margin: 8px 0 12px !important;
    padding: 10px !important;
    overflow-y: auto;
    border: 1px solid #0d393a;
    background: #0d393a;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  body .site-header.wt-static-reference-header .wt-reference-services.is-open .wt-insights-mega-menu {
    display: block !important;
  }

  body .site-header.wt-static-reference-header .wt-mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid rgba(134, 203, 201, .28);
  }

  body .site-header.wt-static-reference-header .wt-mega-menu-column {
    min-width: 0;
    padding: 18px;
    border-right: 1px solid rgba(134, 203, 201, .28);
    border-bottom: 1px solid rgba(134, 203, 201, .28);
  }

  body .site-header.wt-static-reference-header .wt-mega-menu-column:nth-child(2n) {
    border-right: 0;
  }

  body .site-header.wt-static-reference-header .wt-mega-menu-column:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  body .site-header.wt-static-reference-header .wt-mega-kicker {
    display: block;
    margin-bottom: 14px;
    color: #22d3dc;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
  }

  body .site-header.wt-static-reference-header .wt-insights-mega-menu .wt-mega-title img {
    display: none;
  }

  body .site-header.wt-static-reference-header .wt-insights-mega-menu .wt-mega-title {
    display: block !important;
    min-height: 0 !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    border: 0 !important;
    color: #fff !important;
  }

  body .site-header.wt-static-reference-header .wt-insights-mega-menu .wt-mega-title strong {
    color: inherit;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
  }

  body .site-header.wt-static-reference-header .wt-mega-links {
    display: grid;
    gap: 9px;
  }

  body .site-header.wt-static-reference-header .wt-insights-mega-menu .wt-mega-links a {
    display: block !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    color: #b9d8d6 !important;
    font-size: 12px !important;
    font-weight: 750 !important;
    line-height: 1.25 !important;
  }
}

@media (max-width: 560px) {
  body .site-header.wt-static-reference-header .wt-mega-menu-grid {
    grid-template-columns: 1fr;
  }

  body .site-header.wt-static-reference-header .wt-mega-menu-column,
  body .site-header.wt-static-reference-header .wt-mega-menu-column:nth-child(2n),
  body .site-header.wt-static-reference-header .wt-mega-menu-column:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid rgba(134, 203, 201, .28);
  }

  body .site-header.wt-static-reference-header .wt-mega-menu-column:last-child {
    border-bottom: 0;
  }
}

@media (min-width: 1181px) {
  body .site-header.wt-static-reference-header .brand {
    width: 325px !important;
    min-width: 325px !important;
    height: 80px !important;
  }

  body .site-header.wt-static-reference-header .brand img {
    width: 315px !important;
    max-width: 315px !important;
    height: 78px !important;
  }
}
