
:root {
  --bg: #000000;
  --bg-2: #0a0a0c;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.065);
  --surface-3: rgba(255, 255, 255, 0.10);
  --border: rgba(255, 255, 255, 0.07);
  --border-2: rgba(255, 255, 255, 0.12);
  --border-3: rgba(255, 255, 255, 0.18);
  --hairline: rgba(255, 255, 255, 0.06);

  --text: rgba(255, 255, 255, 0.96);
  --text-2: rgba(235, 235, 245, 0.62);
  --text-3: rgba(235, 235, 245, 0.36);
  --text-4: rgba(235, 235, 245, 0.18);

  --accent: #0a84ff;
  --accent-2: #4ca8ff;
  --accent-glow: rgba(10, 132, 255, 0.2);
  --accent-tint: rgba(10, 132, 255, 0.14);

  --green: #30d158;
  --orange: #ff9f0a;
  --red: #ff453a;
  --purple: #bf5af2;
  --yellow: #ffd60a;

  --sf: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", system-ui, sans-serif;
  --sf-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  --r-xs: 6px;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 36px;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --spring: cubic-bezier(0.34, 1.35, 0.64, 1);

  --max-w: 1200px;
  --nav-h: 56px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sf);
  font-size: 15px;
  line-height: 1.5;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
  min-height: 100dvh;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11";
}
button, input, select, textarea { font: inherit; color: inherit; }
button { border: none; background: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.08; letter-spacing: -0.025em; }
strong { font-weight: 600; }
code, kbd, pre, samp {
  font-family: var(--sf-mono);
  font-size: 0.92em;
  letter-spacing: 0;
}
::selection { background: var(--accent-tint); color: var(--text); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.14); }

.bg-base {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 45% at 18% 0%, rgba(10, 132, 255, 0.08), transparent 55%),
    radial-gradient(ellipse 55% 45% at 85% 15%, rgba(191, 90, 242, 0.05), transparent 60%),
    radial-gradient(ellipse 50% 50% at 50% 100%, rgba(48, 209, 88, 0.035), transparent 70%),
    var(--bg);
}

.glass {
  background: var(--surface);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid var(--border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 1px 2px rgba(0, 0, 0, 0.3);
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.header {
  position: sticky; top: 12px; z-index: 50;
  margin: 12px auto 0;
  width: calc(100% - 24px); max-width: calc(var(--max-w) - 0px);
  padding: 0;
}
.header-inner {
  display: flex; align-items: center; gap: 16px;
  height: var(--nav-h);
  padding: 0 10px 0 16px;
  border-radius: 100px;
  background: rgba(12, 12, 14, 0.62);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid var(--border);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 12px 40px rgba(0,0,0,0.4);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 15px; color: var(--text);
  letter-spacing: -0.015em;
  flex-shrink: 0;
  padding-right: 8px;
}
.brand-mark {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  color: var(--accent);
}
.brand-tag {
  font-family: var(--sf);
  font-size: 10px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 7px;
  border: 1px solid var(--border-2);
  border-radius: 100px;
  margin-left: 2px;
}
.nav-cats {
  display: flex; gap: 2px; flex: 1;
  overflow-x: auto; scrollbar-width: none;
  min-width: 0;
}
.nav-cats::-webkit-scrollbar { display: none; }
.nav-cat {
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
  white-space: nowrap;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-cat:hover { color: var(--text); background: var(--surface); }
.nav-cat.active {
  color: var(--text);
  background: var(--surface-3);
}
.nav-right {
  display: flex; align-items: center; gap: 4px;
  flex-shrink: 0;
}
.icon-btn {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 100px;
  color: var(--text-2);
  transition: all 0.2s var(--ease);
}
.icon-btn:hover {
  color: var(--text);
  background: var(--surface);
}
.cmd-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 8px 7px 14px;
  border-radius: 100px;
  background: var(--surface);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s var(--ease);
}
.cmd-btn:hover {
  background: var(--surface-2);
  color: var(--text);
}
.cmd-btn .kbd {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255,255,255,0.09);
  font-family: var(--sf);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: 0;
  min-width: 28px;
  text-align: center;
}

.main { padding: 36px 0 96px; }

.eyebrow {
  font-family: var(--sf);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--accent);
  margin-bottom: 14px;
}

.crumb {
  display: flex; gap: 6px; align-items: center;
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 20px;
}
.crumb a {
  color: var(--text-2);
  transition: color 0.15s;
}
.crumb a:hover { color: var(--text); }
.crumb .sep { color: var(--text-4); }

.view-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.view-head h1, .view-head h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.032em;
  line-height: 1;
  color: var(--text);
}
.view-head .sub {
  margin-top: 12px;
  font-size: 17px;
  color: var(--text-2);
  max-width: 640px;
  line-height: 1.45;
}

.tool-hero {
  padding: 12px 0 40px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--hairline);
}
.tool-hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 600;
  letter-spacing: -0.034em;
  line-height: 1;
  color: var(--text);
}
.tool-hero-sub {
  margin-top: 18px;
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.5;
  max-width: 660px;
}

.hero-block {
  padding: 24px 0 40px;
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(44px, 7vw, 72px);
  font-weight: 600;
  letter-spacing: -0.034em;
  line-height: 1.02;
  color: var(--text);
  max-width: 880px;
}
.hero-sub {
  margin-top: 16px;
  font-size: 18px;
  color: var(--text-2);
  max-width: 560px;
  line-height: 1.5;
}

.home-hero {
  padding: 40px 0 48px;
  text-align: center;
}
.home-hero-title {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 600;
  letter-spacing: -0.034em;
  line-height: 1.02;
  color: var(--text);
  margin-inline: auto;
}
.home-hero-sub {
  margin-top: 14px;
  margin-inline: auto;
  font-size: 16px;
  color: var(--text-2);
  max-width: 540px;
  line-height: 1.5;
}
.lookup-bar {
  margin: 30px auto 12px;
  max-width: 640px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 8px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  transition: all 0.22s var(--ease);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.lookup-bar:focus-within {
  background: var(--surface-2);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-tint), 0 12px 32px rgba(0,0,0,0.35);
}
.lookup-icon {
  color: var(--text-3);
  flex-shrink: 0;
}
.lookup-bar:focus-within .lookup-icon { color: var(--accent); }
.lookup-bar input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 12px 0;
  font-family: var(--sf);
  font-size: 17px;
  letter-spacing: -0.005em;
  color: var(--text);
  min-width: 0;
}
.lookup-bar input::placeholder { color: var(--text-3); }
.lookup-bar .btn {
  flex-shrink: 0;
  padding: 10px 18px;
  font-size: 14.5px;
}
.lookup-hint {
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-3);
}
.lookup-hint strong {
  color: var(--text);
  font-family: var(--sf-mono);
  font-weight: 600;
}
.lookup-hint-link {
  color: var(--accent-2);
  margin-left: 4px;
  transition: color 0.15s;
}
.lookup-hint-link:hover { color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 100px;
  font-family: var(--sf);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn:active { transform: scale(0.97); transition-duration: 0.1s; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-xs { padding: 5px 11px; font-size: 12px; }

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-2); }

.btn-tint {
  background: var(--accent-tint);
  color: var(--accent-2);
}
.btn-tint:hover { background: rgba(10,132,255,0.22); }

.btn-outline {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-2);
}
.btn-outline:hover {
  background: var(--surface-2);
  border-color: var(--border-3);
}

.btn-ghost {
  color: var(--text-2);
}
.btn-ghost:hover {
  color: var(--text);
  background: var(--surface);
}

.btn-danger {
  color: var(--red);
  background: rgba(255,69,58,0.1);
}
.btn-danger:hover { background: rgba(255,69,58,0.16); }

.field { margin-bottom: 16px; }
.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
}
.input {
  width: 100%;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  color: var(--text);
  font-family: var(--sf);
  font-size: 15px;
  outline: none;
  transition: all 0.18s var(--ease);
}
.input:focus {
  border-color: var(--accent);
  background: var(--surface-3);
  box-shadow: 0 0 0 4px var(--accent-tint);
}
.input::placeholder { color: var(--text-3); }

.input-mono {
  font-family: var(--sf-mono);
  font-size: 14px;
  letter-spacing: 0;
}

.query-bar {
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: calc(var(--r) + 8px);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.22s var(--ease);
}
.query-bar:focus-within {
  border-color: var(--border-3);
  background: var(--surface-2);
  box-shadow: 0 0 0 4px var(--accent-tint);
}
.query-bar .input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px 14px;
  font-size: 16px;
}
.query-bar .input:focus {
  background: transparent;
  border: none;
  box-shadow: none;
}
.query-bar .btn { flex-shrink: 0; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s;
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
}
.card:hover { border-color: var(--border-2); }
.card-head {
  padding: 20px 22px 12px;
}
.card-head h2, .card-head h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}
.card-head .eyebrow { margin-bottom: 6px; }
.card-body { padding: 20px 22px 22px; }
.card-body + .card-head { padding-top: 8px; border-top: 1px solid var(--hairline); }

.chip {
  padding: 6px 12px;
  border-radius: 100px;
  background: var(--surface);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.15s var(--ease);
  border: 1px solid transparent;
}
.chip:hover { color: var(--text); background: var(--surface-2); }
.chip.on {
  background: var(--text);
  color: var(--bg);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  border-radius: 100px;
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 11px;
  font-weight: 500;
}
.badge-blue { background: var(--accent-tint); color: var(--accent-2); }
.badge-red { background: rgba(255,69,58,0.14); color: var(--red); }
.badge-orange { background: rgba(255,159,10,0.14); color: var(--orange); }
.badge-green { background: rgba(48,209,88,0.14); color: var(--green); }

.empty {
  padding: 56px 24px;
  text-align: center;
  color: var(--text-3);
  font-size: 14px;
}

.kv {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px 20px;
  font-size: 14px;
}
.kv dt {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  align-self: center;
}
.kv dd {
  color: var(--text);
  font-family: var(--sf-mono);
  font-size: 13.5px;
  word-break: break-all;
}

.loader {
  width: 20px; height: 20px;
  display: inline-block;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-right-color: currentColor;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

.results { margin: 28px 0; }
.results-empty {
  padding: 56px 24px;
  text-align: center;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-3);
  font-size: 14px;
}

.content-section { margin: 48px 0; }
.content-section h2 {
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.028em;
  margin-bottom: 14px;
}
.content-section h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 24px 0 10px;
  color: var(--text);
}
.content-section p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 720px;
  margin-bottom: 14px;
}
.content-section ul, .content-section ol {
  padding-left: 18px;
  color: var(--text-2);
  max-width: 720px;
}
.content-section li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.faq {
  display: flex; flex-direction: column;
  gap: 6px;
}
.faq details {
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0;
  overflow: hidden;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.faq details[open] {
  background: var(--surface-2);
  border-color: var(--border-2);
}
.faq summary {
  padding: 16px 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  list-style: none;
  user-select: none;
}
.faq summary::-webkit-details-marker,
.faq summary::marker { display: none; content: ""; }
.faq summary .chev {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--text-3);
  transition: transform 0.25s var(--ease), color 0.2s;
}
.faq summary:hover .chev { color: var(--text-2); }
.faq details[open] summary .chev {
  transform: rotate(180deg);
  color: var(--accent-2);
}
.faq-body {
  padding: 0 20px 18px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.6;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
}
.tool-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  transition: all 0.22s var(--ease);
  height: 100%;
  position: relative;
}
.tool-card:hover {
  border-color: var(--border-3);
  background: var(--surface-2);
  transform: translateY(-1px);
}
.tool-card-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--accent-tint);
  color: var(--accent-2);
  display: grid; place-items: center;
  margin-bottom: 4px;
}
.tool-card-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
}
.tool-card-desc {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.45;
}

.cat-heading {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 48px 0 16px;
}
.cat-heading h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}
.cat-heading p {
  color: var(--text-3);
  font-size: 13px;
}

.section-head {
  display: flex; align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

/* Command palette */
.palette-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 112px 20px 0;
  animation: fade-in 0.18s var(--ease);
}
.palette-box {
  width: min(620px, 100%);
  background: rgba(22, 22, 24, 0.78);
  backdrop-filter: blur(50px) saturate(200%);
  -webkit-backdrop-filter: blur(50px) saturate(200%);
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 30px 100px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.07);
  animation: fade-up 0.24s var(--spring);
}
.palette-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--hairline);
}
.palette-input-row svg { color: var(--text-3); flex-shrink: 0; }
.palette-input-row input {
  flex: 1;
  background: none; border: none; outline: none;
  color: var(--text);
  font-size: 17px;
  letter-spacing: -0.01em;
}
.palette-input-row input::placeholder { color: var(--text-3); }
.palette-input-row .kbd {
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--text-3);
  font-size: 11px;
}
.palette-results {
  max-height: 420px;
  overflow-y: auto;
  padding: 6px;
}
.palette-group {
  padding: 12px 14px 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: -0.005em;
}
.palette-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.1s;
}
.palette-item:hover,
.palette-item.on {
  background: var(--accent);
  color: #fff;
}
.palette-item-meta {
  margin-left: auto;
  font-family: var(--sf-mono);
  font-size: 12px;
  color: var(--text-3);
}
.palette-item.on .palette-item-meta { color: rgba(255,255,255,0.8); }

/* Toasts */
.toasts {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 400;
  display: flex; flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  min-width: 220px;
  max-width: 360px;
  background: rgba(28,28,30,0.9);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid var(--border-2);
  border-radius: var(--r);
  font-size: 14px;
  color: var(--text);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  animation: fade-up 0.22s var(--spring);
}
.toast::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.toast.err::before { background: var(--red); }

/* Footer */
.footer {
  border-top: 1px solid var(--hairline);
  margin-top: 80px;
  padding: 32px 0 48px;
  color: var(--text-3);
  font-size: 13px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer nav a { transition: color 0.15s; }
.footer nav a:hover { color: var(--text); }

/* Live IP card */
.live-ip-card {
  padding: 32px;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  margin-bottom: 48px;
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}
.live-ip-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 6px;
}
.live-ip-value {
  font-family: var(--sf-mono);
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1;
}
.live-ip-meta {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-2);
}
.live-ip-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

/* KPIs for reports */
.report-hero {
  padding: 28px 32px;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  margin-bottom: 16px;
}
.report-hero-ip {
  font-family: var(--sf-mono);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.05;
  word-break: break-all;
  color: var(--text);
}
.report-hero-loc {
  margin-top: 8px;
  font-size: 15px;
  color: var(--text-2);
}
.report-pills {
  margin-top: 14px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* DNS record rows */
.record-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 11px 14px;
  background: var(--surface);
  border-radius: var(--r-sm);
  font-family: var(--sf-mono);
  font-size: 13.5px;
  transition: background 0.15s;
}
.record-row:hover { background: var(--surface-2); }
.record-row .v { word-break: break-all; color: var(--text); }
.record-row .ttl {
  font-size: 11.5px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}
.record-row .copy {
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11.5px;
  font-family: var(--sf);
  color: var(--accent-2);
  background: var(--accent-tint);
  transition: background 0.15s;
}
.record-row .copy:hover { background: rgba(10,132,255,0.22); }

/* 404 / stub */
.stub-box {
  padding: 36px 28px;
  text-align: center;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
}

@media (max-width: 720px) {
  .header-inner { padding: 0 8px 0 14px; }
  .nav-cats { gap: 0; }
  .nav-cat { padding: 6px 10px; font-size: 12.5px; }
  .brand-tag { display: none; }
  .cmd-btn span:not(.kbd) { display: none; }
  .cmd-btn .kbd { display: none; }
  .main { padding: 28px 0 64px; }
  .view-head { flex-direction: column; align-items: flex-start; }
  .kv { grid-template-columns: 1fr; gap: 3px 0; }
  .kv dd { margin-bottom: 12px; }
  .live-ip-card { padding: 22px; gap: 18px; }
  .live-ip-actions { margin-left: 0; width: 100%; }
  .live-ip-actions .btn { flex: 1; }
}
