:root {
  color-scheme: dark;
  --bg: #05080e;
  --bg-raised: #09111c;
  --panel: rgba(12, 23, 36, 0.9);
  --panel-strong: #101e2d;
  --panel-soft: rgba(15, 30, 45, 0.68);
  --line: rgba(139, 174, 205, 0.16);
  --line-strong: rgba(93, 224, 201, 0.32);
  --text: #edf5ff;
  --muted: #8fa5b8;
  --faint: #63778a;
  --cyan: #58e1cf;
  --cyan-soft: rgba(88, 225, 207, 0.12);
  --green: #80ed99;
  --yellow: #f6c85f;
  --orange: #ff9364;
  --red: #ff6b7a;
  --blue: #78b7ff;
  --purple: #b69cff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 70% -10%, rgba(46, 157, 171, 0.14), transparent 38rem),
    radial-gradient(circle at 0 45%, rgba(63, 97, 173, 0.1), transparent 35rem),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(127, 170, 196, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 170, 196, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

a {
  color: inherit;
}

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

button {
  color: inherit;
}

.boot-screen {
  min-height: 100vh;
  display: grid;
  place-content: center;
  gap: 18px;
  text-align: center;
  color: var(--muted);
}

.boot-mark {
  width: 64px;
  height: 64px;
  margin: auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--cyan-soft);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 21px;
  font-weight: 800;
  box-shadow: 0 0 50px rgba(88, 225, 207, 0.14);
}

.seo-fallback {
  min-height: 100vh;
  color: var(--text);
}

.seo-header {
  min-height: 70px;
  padding: 0 7vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 8, 14, 0.78);
}

.seo-header a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.seo-header a:first-child {
  color: var(--text);
  letter-spacing: 0.03em;
}

.seo-header a:first-child span {
  width: 38px;
  height: 38px;
  margin-right: 10px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: var(--cyan-soft);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 13px;
}

.seo-main {
  width: min(1040px, 86vw);
  margin: 0 auto;
  padding: 84px 0 110px;
}

.seo-eyebrow {
  margin: 0 0 16px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.seo-main h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.seo-lead {
  max-width: 780px;
  margin: 28px 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.7;
}

.seo-main > ul {
  max-width: 800px;
  margin: 28px 0 36px;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.8;
}

.seo-launch {
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--cyan);
  color: #061017;
  font-weight: 800;
  text-decoration: none;
}

.seo-main section {
  margin-top: 68px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.seo-main section h2 {
  font-size: 24px;
}

.seo-main section p {
  max-width: 800px;
  color: var(--muted);
  line-height: 1.8;
}

.seo-main section p a {
  color: var(--cyan);
}

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

.seo-links a {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  text-decoration: none;
}

.seo-links a:hover,
.seo-links a:focus-visible {
  color: var(--cyan);
}

.seo-noscript {
  margin: 0;
  padding: 18px;
  border-top: 1px solid var(--line);
  background: rgba(246, 200, 95, 0.08);
  color: var(--yellow);
  text-align: center;
}

.hub-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px 16px;
  border-right: 1px solid var(--line);
  background: rgba(5, 10, 17, 0.92);
  backdrop-filter: blur(22px);
  display: flex;
  flex-direction: column;
  z-index: 30;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 4px 8px 22px;
  text-decoration: none;
}

.brand-mark {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(145deg, rgba(88, 225, 207, 0.18), rgba(58, 111, 172, 0.08));
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-copy strong,
.brand-copy span {
  display: block;
}

.brand-copy strong {
  font-size: 14px;
  letter-spacing: 0.025em;
}

.brand-copy span {
  margin-top: 3px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-label {
  margin: 16px 10px 8px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-list {
  display: grid;
  gap: 4px;
}

.nav-button {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
  transition: 160ms ease;
}

.nav-button:hover,
.nav-button:focus-visible {
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
}

.nav-button.active {
  border-color: var(--line-strong);
  background: var(--cyan-soft);
  color: var(--cyan);
}

.nav-icon {
  width: 20px;
  color: currentColor;
  font-family: var(--mono);
  font-size: 11px;
  text-align: center;
}

.nav-text {
  font-size: 12px;
  font-weight: 650;
}

.sidebar-foot {
  margin-top: auto;
  padding: 14px 10px 4px;
}

.system-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

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

.topbar {
  height: 70px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 8, 14, 0.76);
  backdrop-filter: blur(20px);
}

.breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.breadcrumb strong {
  color: var(--text);
  font-weight: 700;
}

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

.source-pill,
.live-pill {
  min-height: 30px;
  padding: 0 11px;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-pill {
  border-color: rgba(128, 237, 153, 0.22);
  color: var(--green);
}

.mobile-menu {
  display: none;
}

.workspace {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 34px;
}

.view-enter {
  animation: view-enter 240ms ease both;
}

@keyframes view-enter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-heading {
  margin-bottom: 26px;
}

.page-heading h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.page-heading p:not(.eyebrow) {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(310px, 0.75fr);
  gap: 18px;
}

.hero-panel {
  min-height: 330px;
  padding: clamp(26px, 4vw, 50px);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(16, 36, 50, 0.9), rgba(8, 17, 29, 0.92)),
    var(--panel);
  box-shadow: var(--shadow);
}

.hero-panel::after {
  width: 420px;
  height: 420px;
  position: absolute;
  right: -190px;
  bottom: -270px;
  content: "";
  border: 1px solid rgba(88, 225, 207, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 45px rgba(88, 225, 207, 0.025),
    0 0 0 90px rgba(88, 225, 207, 0.018);
}

.hero-kicker {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--green);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-title {
  max-width: 760px;
  margin: 24px 0 16px;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-title span {
  color: var(--cyan);
}

.hero-copy {
  max-width: 640px;
  margin: 0;
  color: #a7bacb;
  font-size: 15px;
  line-height: 1.7;
}

.action-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
  transition: 160ms ease;
}

.button:hover,
.button:focus-visible {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.button.primary {
  border-color: var(--cyan);
  background: var(--cyan);
  color: #04110f;
}

.button.danger {
  border-color: rgba(255, 107, 122, 0.34);
  color: var(--red);
}

.button.small {
  min-height: 34px;
  padding: 0 12px;
  font-size: 10px;
}

.intel-panel,
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.intel-panel {
  min-height: 330px;
  padding: 22px;
}

.panel {
  padding: 22px;
}

.panel-header {
  margin-bottom: 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.panel-title {
  margin: 0;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.panel-subtitle {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.terminal-label {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.intel-feed {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--line);
}

.intel-item {
  padding: 15px;
  display: grid;
  gap: 7px;
  background: #0a1420;
}

.intel-item:hover {
  background: #0e1a28;
}

.intel-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.cve {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
}

.date {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
}

.intel-name {
  color: #cad8e5;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.45;
}

.stats-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stat-card {
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel-soft);
}

.stat-label {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.stat-value {
  margin: 14px 0 5px;
  font-family: var(--mono);
  font-size: 27px;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.stat-detail {
  color: var(--muted);
  font-size: 10px;
}

.section {
  margin-top: 22px;
}

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

.section-header h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.section-header p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
}

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

.tool-card {
  min-height: 165px;
  padding: 19px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(10, 20, 32, 0.82);
  cursor: pointer;
  text-align: left;
  transition: 180ms ease;
}

.tool-card:hover,
.tool-card:focus-visible {
  border-color: var(--line-strong);
  background: rgba(12, 27, 40, 0.96);
  transform: translateY(-2px);
}

.tool-code {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.tool-card h3 {
  margin: 20px 0 8px;
  font-size: 15px;
}

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

.tool-arrow {
  margin-top: auto;
  padding-top: 14px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
}

.filters {
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(150px, 0.5fr));
  gap: 10px;
}

.input,
.select,
.textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  background: #07111c;
  color: var(--text);
  transition: 150ms ease;
}

.input,
.select {
  min-height: 42px;
  padding: 0 12px;
}

.textarea {
  min-height: 220px;
  padding: 14px;
  resize: vertical;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.6;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(88, 225, 207, 0.08);
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 16px;
}

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

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.data-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  background: #0b1724;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.data-table td {
  max-width: 410px;
  padding: 12px;
  border-bottom: 1px solid rgba(139, 174, 205, 0.09);
  color: #bac9d6;
  line-height: 1.45;
  vertical-align: top;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table tr:hover td {
  background: rgba(88, 225, 207, 0.025);
}

.mono {
  font-family: var(--mono);
}

.badge {
  min-height: 22px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge.red {
  border-color: rgba(255, 107, 122, 0.28);
  background: rgba(255, 107, 122, 0.07);
  color: var(--red);
}

.badge.yellow {
  border-color: rgba(246, 200, 95, 0.28);
  background: rgba(246, 200, 95, 0.07);
  color: var(--yellow);
}

.badge.green {
  border-color: rgba(128, 237, 153, 0.28);
  background: rgba(128, 237, 153, 0.07);
  color: var(--green);
}

.badge.blue {
  border-color: rgba(120, 183, 255, 0.28);
  background: rgba(120, 183, 255, 0.07);
  color: var(--blue);
}

.result-box {
  min-height: 90px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #07111b;
}

.result-box h3 {
  margin: 0 0 10px;
  font-size: 13px;
}

.result-box p,
.result-box li {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.result-box ul {
  margin: 0;
  padding-left: 18px;
}

.empty-state,
.loading-state,
.error-state {
  min-height: 150px;
  padding: 30px;
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--muted);
}

.error-state {
  color: var(--red);
}

.progress-line {
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.progress-line span {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--cyan);
}

.metric-list {
  display: grid;
  gap: 10px;
}

.metric-row {
  display: grid;
  grid-template-columns: minmax(100px, 0.6fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

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

.metric-row strong {
  font-family: var(--mono);
  font-size: 10px;
}

.score-orb {
  width: 160px;
  height: 160px;
  margin: 6px auto 18px;
  display: grid;
  place-content: center;
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88, 225, 207, 0.12), transparent 65%);
  text-align: center;
}

.score-orb strong {
  font-family: var(--mono);
  font-size: 40px;
  letter-spacing: -0.08em;
}

.score-orb span {
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.kv-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--line);
}

.kv-row {
  padding: 11px 12px;
  display: grid;
  grid-template-columns: minmax(130px, 0.35fr) minmax(0, 1fr);
  gap: 14px;
  background: #09131e;
}

.kv-key {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.kv-value {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #c5d3df;
  font-family: var(--mono);
  font-size: 10px;
}

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

.reference-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--panel-soft);
}

.reference-card h3 {
  margin: 0 0 9px;
  font-size: 13px;
}

.reference-card p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.footer {
  padding: 28px 34px 36px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer a {
  text-decoration: none;
}

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

.toast-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  display: grid;
  gap: 8px;
}

.toast {
  max-width: 360px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #0d1b28;
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 11px;
  animation: toast-in 180ms ease both;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

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

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

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

@media (max-width: 960px) {
  .hub-shell {
    display: block;
  }

  .sidebar {
    width: min(300px, 88vw);
    position: fixed;
    left: 0;
    transform: translateX(-102%);
    transition: transform 190ms ease;
  }

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

  .mobile-menu {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.03);
  }

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

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

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

@media (max-width: 700px) {
  .seo-header {
    padding: 0 18px;
  }

  .seo-header > a:last-child {
    display: none;
  }

  .seo-main {
    width: calc(100% - 36px);
    padding: 56px 0 80px;
  }

  .seo-links {
    grid-template-columns: 1fr;
  }

  .topbar {
    height: 62px;
    padding: 0 16px;
  }

  .source-pill {
    display: none;
  }

  .workspace {
    padding: 22px 15px;
  }

  .hero-panel,
  .intel-panel,
  .panel {
    padding: 18px;
  }

  .hero-title {
    font-size: 38px;
  }

  .tool-grid,
  .three-column,
  .reference-grid {
    grid-template-columns: 1fr;
  }

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

  .footer {
    padding: 24px 16px 30px;
    flex-direction: column;
  }

  .kv-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}
