:root {
  --bg: #07111f;
  --bg-soft: #0d1b31;
  --surface: rgba(10, 21, 38, 0.72);
  --surface-1: rgba(8, 17, 29, 0.54);
  --surface-strong: rgba(12, 24, 44, 0.9);
  --surface-2: rgba(16, 33, 58, 0.82);
  --border: rgba(160, 204, 255, 0.12);
  --border-strong: rgba(160, 204, 255, 0.24);
  --text: #edf6ff;
  --muted: #96abc6;
  --muted-2: #6f86a3;
  --accent: #8bf0ff;
  --primary: #34c8ff;
  --primary-alpha: rgba(52, 200, 255, 0.14);
  --accent-2: #34c8ff;
  --accent-3: #7bf7c6;
  --danger: #ff6c7a;
  --danger-rgb: 255, 108, 122;
  --warning: #ffbf5c;
  --success: #7ef0b3;
  --ink: #07101b;
  --glow: 0 24px 80px rgba(36, 103, 208, 0.24);
  --glow-soft: 0 16px 42px rgba(15, 55, 121, 0.2);
  --radius-xs: 12px;
  --radius-sm: 18px;
  --radius-md: 26px;
  --radius-lg: 34px;
  --radius-xl: 42px;
  --content: 1240px;
  --font-head: "Sora", sans-serif;
  --font-body: "Manrope", sans-serif;
  --transition: 220ms ease;
}

html {
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 20%, rgba(52, 200, 255, 0.15), transparent 26%),
    radial-gradient(circle at 85% 14%, rgba(123, 247, 198, 0.12), transparent 22%),
    radial-gradient(circle at 50% 82%, rgba(255, 108, 122, 0.08), transparent 24%),
    linear-gradient(180deg, #07111f 0%, #081321 28%, #0a1729 62%, #07111f 100%);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
}

body::before {
  background-image:
    linear-gradient(rgba(139, 240, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 240, 255, 0.04) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

body::after {
  background:
    linear-gradient(90deg, transparent 0%, rgba(139, 240, 255, 0.04) 48%, transparent 100%);
  transform: translateY(-12%);
  filter: blur(60px);
  opacity: 0.5;
}

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

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

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

button {
  cursor: pointer;
}

#scene-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

.site-shell {
  position: relative;
  isolation: isolate;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 20px 20px 0;
}

.site-header.scrolled .nav-frame {
  background: rgba(7, 17, 31, 0.9);
  border-color: rgba(160, 204, 255, 0.18);
  box-shadow: 0 16px 50px rgba(4, 11, 23, 0.45);
}

.nav-frame {
  max-width: var(--content);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(10, 21, 38, 0.62);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(20px);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: 1rem;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(139, 240, 255, 0.25), rgba(52, 200, 255, 0.1)),
    rgba(7, 17, 31, 0.76);
  border: 1px solid rgba(139, 240, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 24px rgba(52, 200, 255, 0.16);
  color: var(--accent);
}

.logo-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-copy small {
  font-family: var(--font-body);
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: rgba(160, 204, 255, 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  min-width: 112px;
  min-height: 46px;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(10, 21, 38, 0.72);
  color: var(--text);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.theme-toggle::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 38px;
  height: calc(100% - 10px);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(139, 240, 255, 0.22), rgba(52, 200, 255, 0.12));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 18px rgba(15, 55, 121, 0.18);
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.theme-toggle[data-active-theme="dark"]::before {
  transform: translateX(64px);
}

.theme-toggle:hover {
  transform: translateY(-2px);
}

.theme-toggle-icon {
  position: absolute;
  top: 50%;
  left: 13px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  font-size: 0.88rem;
  line-height: 1;
  font-weight: 800;
  transition: transform var(--transition), color var(--transition);
}

.theme-toggle[data-active-theme="dark"] .theme-toggle-icon {
  transform: translate(64px, -50%);
}

.theme-toggle:not([data-active-theme="dark"]) .theme-toggle-icon {
  transform: translateY(-50%);
}

.theme-toggle-label {
  position: relative;
  z-index: 1;
  margin-left: 50px;
  margin-right: 12px;
  font-weight: 700;
  font-size: 0.94rem;
  line-height: 1;
  letter-spacing: -0.02em;
  transition: color var(--transition);
}

.theme-toggle[data-active-theme="dark"] .theme-toggle-label {
  margin-left: 12px;
  margin-right: 50px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(10, 21, 38, 0.84);
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-panel {
  max-width: var(--content);
  margin: 12px auto 0;
  background: rgba(10, 21, 38, 0.94);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 16px;
  display: none;
  flex-direction: column;
  gap: 10px;
  backdrop-filter: blur(18px);
  box-shadow: var(--glow-soft);
}

.mobile-panel.open {
  display: flex;
}

.mobile-panel .nav-link,
.mobile-panel .button {
  width: 100%;
  justify-content: center;
}

.urgent-strip {
  max-width: var(--content);
  margin: 12px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border-radius: 28px;
  border: 1px solid rgba(255, 108, 122, 0.16);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 108, 122, 0.12), transparent 20%),
    radial-gradient(circle at 86% 82%, rgba(255, 191, 92, 0.09), transparent 24%),
    rgba(10, 21, 38, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 38px rgba(10, 18, 32, 0.24);
}

.urgent-copy {
  display: grid;
  gap: 4px;
}

.urgent-copy strong {
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.urgent-tag {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 108, 122, 0.14);
  color: var(--danger);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.urgent-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.urgent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}

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

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--ink);
  box-shadow: 0 16px 34px rgba(52, 200, 255, 0.28);
}

.button-secondary {
  border-color: var(--border-strong);
  background: rgba(160, 204, 255, 0.06);
  color: var(--text);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.06);
  background: rgba(8, 17, 29, 0.44);
  color: var(--muted);
}

.page-main {
  padding-bottom: 72px;
}

.hero-section,
.page-hero {
  padding: 44px 20px 24px;
}

.hero-frame,
.page-hero-frame,
.section-frame,
.footer-frame {
  max-width: var(--content);
  margin: 0 auto;
}

.hero-panel {
  position: relative;
  padding: 72px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(160, 204, 255, 0.14);
  background:
    linear-gradient(160deg, rgba(15, 29, 53, 0.88), rgba(9, 18, 32, 0.78)),
    rgba(8, 17, 29, 0.72);
  box-shadow: var(--glow);
}

.hero-panel::before,
.hero-panel::after,
.page-hero-panel::before,
.page-hero-panel::after,
.content-card::before {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-panel::before,
.page-hero-panel::before {
  inset: -12% auto auto -8%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 240, 255, 0.22), transparent 70%);
  filter: blur(10px);
}

.hero-panel::after,
.page-hero-panel::after {
  inset: auto -6% -18% auto;
  width: 360px;
  height: 360px;
  border-radius: 40%;
  background: radial-gradient(circle, rgba(123, 247, 198, 0.16), transparent 70%);
  filter: blur(14px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 34px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(139, 240, 255, 0.2);
  background: rgba(139, 240, 255, 0.09);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-title,
.page-title,
.section-title,
.card-title,
.result-title {
  font-family: var(--font-head);
  letter-spacing: -0.05em;
}

.hero-title {
  margin: 18px 0 20px;
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.95;
}

.text-gradient {
  background: linear-gradient(135deg, #d8fbff, #7defff 45%, #7ef0b3 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy > p,
.page-hero-copy > p,
.section-copy,
.lead-copy {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.meta-pill,
.mini-chip,
.signal-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid rgba(160, 204, 255, 0.12);
  background: rgba(160, 204, 255, 0.06);
  color: var(--muted);
  font-size: 0.9rem;
}

.meta-pill-link {
  color: var(--muted);
  text-decoration: none;
}

.hero-stack {
  position: relative;
  display: grid;
  gap: 18px;
}

.hero-orbit {
  position: absolute;
  inset: 10px 20px auto auto;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  border: 1px solid rgba(139, 240, 255, 0.22);
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.42), rgba(52, 200, 255, 0.12) 38%, rgba(7, 17, 31, 0.2) 80%);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.08), 0 0 40px rgba(52, 200, 255, 0.18);
  animation: floatY 7s ease-in-out infinite;
}

.surface-card,
.content-card,
.tool-card,
.stat-card,
.signal-card,
.story-card,
.faq-card,
.feed-card,
.tool-article,
.playbook-card,
.report-card,
.page-hero-panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(16, 33, 58, 0.72), rgba(8, 17, 29, 0.72)),
    var(--surface);
  border: 1px solid rgba(160, 204, 255, 0.14);
  border-radius: var(--radius-md);
  box-shadow: var(--glow-soft);
}

.surface-card {
  padding: 24px;
}

.surface-card::after,
.content-card::after,
.tool-card::after,
.signal-card::after {
  content: "";
  position: absolute;
  inset: auto 14px 14px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 240, 255, 0.12), transparent 66%);
  opacity: 0.7;
  pointer-events: none;
}

.terminal-card {
  padding: 26px;
  min-height: 340px;
  border-radius: 30px;
  transform: perspective(1400px) rotateY(-10deg) rotateX(7deg);
  transform-style: preserve-3d;
}

.terminal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.88rem;
}

.terminal-dots {
  display: flex;
  gap: 8px;
}

.terminal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.terminal-dots span:first-child {
  background: var(--danger);
}

.terminal-dots span:nth-child(2) {
  background: var(--warning);
}

.terminal-dots span:nth-child(3) {
  background: var(--success);
}

.scan-lines {
  display: grid;
  gap: 14px;
}

.scan-line {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(160, 204, 255, 0.06);
  border: 1px solid rgba(160, 204, 255, 0.08);
}

.scan-label {
  color: var(--muted-2);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.scan-value {
  margin-top: 8px;
  display: block;
  font-size: 0.96rem;
}

.score-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
}

.score-ring {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(7, 17, 31, 0.94) 48%, transparent 49%),
    conic-gradient(var(--danger) 0 72%, rgba(255, 255, 255, 0.08) 72% 100%);
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
}

.score-summary strong {
  display: block;
  font-size: 1.05rem;
}

.score-summary p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.floating-chip {
  position: absolute;
  max-width: calc(100% - 24px);
  padding: 10px 14px;
  border-radius: 16px;
  border: 1px solid rgba(160, 204, 255, 0.14);
  background: rgba(7, 17, 31, 0.76);
  backdrop-filter: blur(16px);
  box-shadow: var(--glow-soft);
  font-size: 0.82rem;
  color: var(--text);
}

.floating-chip.top {
  top: 12px;
  right: 8px;
  animation: floatY 6.4s ease-in-out infinite;
}

.floating-chip.bottom {
  bottom: 14px;
  left: 12px;
  animation: floatY 8s ease-in-out infinite reverse;
}

.section {
  padding: 34px 20px;
}

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

.emergency-card,
.emergency-side-card {
  height: 100%;
}

.emergency-title {
  margin-bottom: 16px;
  font-size: clamp(1.65rem, 3.5vw, 2.5rem);
}

.emergency-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.emergency-steps li::marker {
  color: var(--danger);
  font-weight: 800;
}

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

.trust-note {
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(160, 204, 255, 0.12);
  background: rgba(8, 17, 29, 0.42);
}

.trust-note strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-head);
  font-size: 0.98rem;
  letter-spacing: -0.03em;
}

.trust-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.home-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 30px;
  border-radius: 34px;
  border: 1px solid rgba(160, 204, 255, 0.12);
  background:
    linear-gradient(160deg, rgba(12, 25, 44, 0.8), rgba(8, 17, 29, 0.74)),
    rgba(8, 17, 29, 0.72);
  box-shadow: var(--glow-soft);
}

.home-band > * {
  position: relative;
  z-index: 1;
}

.home-band .lane-card,
.home-band .feed-card,
.home-band .story-card,
.home-band .tool-article,
.home-band .trust-item,
.home-band .faq-item,
.home-band .stat-card {
  position: relative;
  overflow: hidden;
}

.home-band::before,
.home-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(18px);
  opacity: 0.9;
  z-index: 0;
}

.home-band::before {
  top: -90px;
  left: -70px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(139, 240, 255, 0.14), transparent 72%);
}

.home-band::after {
  right: -90px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(123, 247, 198, 0.1), transparent 72%);
}

.home-band .lane-card::after,
.home-band .feed-card::after,
.home-band .story-card::after,
.home-band .tool-article::after,
.home-band .trust-item::after,
.home-band .faq-item::after,
.home-band .stat-card::after {
  content: "";
  position: absolute;
  inset: auto 14px 14px auto;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 240, 255, 0.1), transparent 66%);
  opacity: 0.72;
  pointer-events: none;
}

.home-band--entry .trust-item:nth-child(2)::after,
.home-band--featured .tool-card:nth-child(2)::after,
.home-band--alerts .feed-card:nth-child(2)::after,
.home-band--stories .story-card:nth-child(2)::after,
.home-band--paths .tool-article:nth-child(3)::after {
  background: radial-gradient(circle, rgba(255, 191, 92, 0.14), transparent 66%);
}

.home-band--entry .trust-item:nth-child(3)::after,
.home-band--alerts .feed-card:nth-child(1)::after {
  background: radial-gradient(circle, rgba(255, 108, 122, 0.14), transparent 66%);
}

.home-band--stats {
  background:
    radial-gradient(circle at 88% 22%, rgba(255, 191, 92, 0.08), transparent 22%),
    linear-gradient(160deg, rgba(13, 27, 48, 0.84), rgba(8, 17, 29, 0.78));
}

.home-band--emergency {
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 108, 122, 0.14), transparent 22%),
    radial-gradient(circle at 84% 82%, rgba(255, 191, 92, 0.12), transparent 24%),
    linear-gradient(160deg, rgba(14, 28, 49, 0.9), rgba(8, 17, 29, 0.84));
}

.home-band--stats .stat-card:nth-child(odd) {
  background:
    radial-gradient(circle at 82% 18%, rgba(139, 240, 255, 0.14), transparent 22%),
    linear-gradient(180deg, rgba(17, 35, 61, 0.74), rgba(8, 17, 29, 0.72));
}

.home-band--stats .stat-card:nth-child(even) {
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 191, 92, 0.1), transparent 22%),
    linear-gradient(180deg, rgba(17, 33, 56, 0.74), rgba(8, 17, 29, 0.72));
}

.home-band--lanes {
  background:
    radial-gradient(circle at 12% 18%, rgba(123, 247, 198, 0.11), transparent 22%),
    radial-gradient(circle at 84% 78%, rgba(52, 200, 255, 0.08), transparent 26%),
    linear-gradient(160deg, rgba(12, 26, 46, 0.84), rgba(8, 17, 29, 0.8));
}

.home-band--lanes .lane-card:nth-child(2) {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 191, 92, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(18, 35, 58, 0.72), rgba(8, 17, 29, 0.8));
  border-color: rgba(255, 191, 92, 0.16);
}

.home-band--scanner {
  padding: 34px;
  background:
    radial-gradient(circle at 12% 14%, rgba(139, 240, 255, 0.16), transparent 24%),
    radial-gradient(circle at 88% 82%, rgba(123, 247, 198, 0.1), transparent 24%),
    linear-gradient(160deg, rgba(14, 28, 49, 0.9), rgba(8, 17, 29, 0.84));
}

.home-band--entry {
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 191, 92, 0.11), transparent 24%),
    radial-gradient(circle at 16% 80%, rgba(255, 108, 122, 0.07), transparent 24%),
    linear-gradient(160deg, rgba(13, 26, 46, 0.88), rgba(8, 17, 29, 0.82));
}

.home-band--entry .trust-item:nth-child(1) {
  background:
    radial-gradient(circle at 16% 18%, rgba(139, 240, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(18, 36, 61, 0.68), rgba(8, 17, 29, 0.74));
}

.home-band--entry .trust-item:nth-child(2) {
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 191, 92, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(18, 34, 56, 0.68), rgba(8, 17, 29, 0.74));
}

.home-band--entry .trust-item:nth-child(3) {
  background:
    radial-gradient(circle at 16% 82%, rgba(255, 108, 122, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(18, 33, 56, 0.68), rgba(8, 17, 29, 0.74));
}

.home-band--entry .trust-item:nth-child(4) {
  background:
    radial-gradient(circle at 84% 82%, rgba(123, 247, 198, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(18, 35, 58, 0.68), rgba(8, 17, 29, 0.74));
}

.home-band--featured {
  background:
    radial-gradient(circle at 14% 18%, rgba(139, 240, 255, 0.16), transparent 22%),
    radial-gradient(circle at 86% 82%, rgba(255, 108, 122, 0.08), transparent 24%),
    linear-gradient(160deg, rgba(12, 27, 47, 0.88), rgba(8, 17, 29, 0.82));
}

.home-band--featured .tool-card:nth-child(1) {
  background:
    radial-gradient(circle at 78% 18%, rgba(139, 240, 255, 0.12), transparent 20%),
    linear-gradient(180deg, rgba(17, 35, 60, 0.72), rgba(8, 17, 29, 0.76));
}

.home-band--featured .tool-card:nth-child(2) {
  background:
    radial-gradient(circle at 84% 16%, rgba(255, 191, 92, 0.13), transparent 22%),
    linear-gradient(180deg, rgba(18, 35, 58, 0.74), rgba(8, 17, 29, 0.78));
  border-color: rgba(255, 191, 92, 0.16);
  box-shadow: 0 18px 44px rgba(255, 191, 92, 0.08), var(--glow-soft);
}

.home-band--featured .tool-card:nth-child(3) {
  background:
    radial-gradient(circle at 14% 18%, rgba(123, 247, 198, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(17, 34, 58, 0.72), rgba(8, 17, 29, 0.76));
}

.home-band--ticker {
  padding: 20px 22px;
  background:
    linear-gradient(160deg, rgba(11, 24, 42, 0.84), rgba(8, 17, 29, 0.76));
}

.home-band--ticker::before {
  background: radial-gradient(circle, rgba(52, 200, 255, 0.14), transparent 72%);
}

.home-band--alerts {
  background:
    radial-gradient(circle at 82% 16%, rgba(255, 108, 122, 0.13), transparent 22%),
    radial-gradient(circle at 18% 82%, rgba(255, 191, 92, 0.1), transparent 24%),
    linear-gradient(160deg, rgba(14, 28, 49, 0.88), rgba(8, 17, 29, 0.84));
}

.home-band--alerts .feed-card:nth-child(1) {
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 108, 122, 0.1), transparent 22%),
    linear-gradient(180deg, rgba(17, 33, 56, 0.72), rgba(8, 17, 29, 0.76));
}

.home-band--alerts .feed-card:nth-child(2) {
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 191, 92, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(18, 35, 58, 0.72), rgba(8, 17, 29, 0.76));
}

.home-band--alerts .feed-card:nth-child(3) {
  background:
    radial-gradient(circle at 14% 82%, rgba(139, 240, 255, 0.11), transparent 24%),
    linear-gradient(180deg, rgba(17, 34, 58, 0.72), rgba(8, 17, 29, 0.76));
}

.home-band--paths {
  background:
    radial-gradient(circle at 16% 18%, rgba(123, 247, 198, 0.12), transparent 22%),
    radial-gradient(circle at 86% 82%, rgba(139, 240, 255, 0.09), transparent 24%),
    linear-gradient(160deg, rgba(13, 27, 47, 0.88), rgba(8, 17, 29, 0.8));
}

.home-band--paths .tool-article:nth-child(1) {
  background:
    radial-gradient(circle at 84% 18%, rgba(123, 247, 198, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(17, 35, 59, 0.72), rgba(8, 17, 29, 0.76));
}

.home-band--paths .tool-article:nth-child(2) {
  background:
    radial-gradient(circle at 16% 16%, rgba(139, 240, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(17, 34, 58, 0.72), rgba(8, 17, 29, 0.76));
}

.home-band--paths .tool-article:nth-child(3) {
  background:
    radial-gradient(circle at 82% 82%, rgba(255, 191, 92, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(18, 35, 58, 0.72), rgba(8, 17, 29, 0.76));
}

.home-band--stories {
  background:
    radial-gradient(circle at 84% 18%, rgba(139, 240, 255, 0.13), transparent 22%),
    radial-gradient(circle at 14% 82%, rgba(255, 191, 92, 0.08), transparent 24%),
    linear-gradient(160deg, rgba(12, 26, 46, 0.86), rgba(8, 17, 29, 0.82));
}

.home-band--stories .story-card:nth-child(1) {
  background:
    radial-gradient(circle at 16% 16%, rgba(139, 240, 255, 0.1), transparent 22%),
    linear-gradient(180deg, rgba(17, 34, 58, 0.72), rgba(8, 17, 29, 0.76));
}

.home-band--stories .story-card:nth-child(2) {
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 191, 92, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(18, 35, 58, 0.72), rgba(8, 17, 29, 0.76));
}

.home-band--stories .story-card:nth-child(3) {
  background:
    radial-gradient(circle at 18% 82%, rgba(123, 247, 198, 0.11), transparent 24%),
    linear-gradient(180deg, rgba(17, 34, 58, 0.72), rgba(8, 17, 29, 0.76));
}

.home-band--faq {
  background:
    radial-gradient(circle at 16% 18%, rgba(139, 240, 255, 0.12), transparent 22%),
    radial-gradient(circle at 86% 20%, rgba(123, 247, 198, 0.08), transparent 22%),
    linear-gradient(160deg, rgba(13, 26, 46, 0.9), rgba(8, 17, 29, 0.84));
}

.home-band--faq .faq-item:nth-child(odd) {
  background:
    radial-gradient(circle at 82% 18%, rgba(139, 240, 255, 0.1), transparent 22%),
    linear-gradient(180deg, rgba(17, 34, 58, 0.7), rgba(8, 17, 29, 0.74));
}

.home-band--faq .faq-item:nth-child(even) {
  background:
    radial-gradient(circle at 16% 16%, rgba(255, 191, 92, 0.09), transparent 22%),
    linear-gradient(180deg, rgba(17, 33, 56, 0.7), rgba(8, 17, 29, 0.74));
}

.metric-grid > .reveal:nth-child(1),
.lane-grid > .reveal:nth-child(1),
.trust-strip > .reveal:nth-child(1),
.tool-grid > .reveal:nth-child(1),
.feed-grid > .reveal:nth-child(1),
.resource-grid > .reveal:nth-child(1),
.story-grid > .reveal:nth-child(1),
.faq-grid > .reveal:nth-child(1) {
  transition-delay: 60ms;
}

.metric-grid > .reveal:nth-child(2),
.lane-grid > .reveal:nth-child(2),
.trust-strip > .reveal:nth-child(2),
.tool-grid > .reveal:nth-child(2),
.feed-grid > .reveal:nth-child(2),
.resource-grid > .reveal:nth-child(2),
.story-grid > .reveal:nth-child(2),
.faq-grid > .reveal:nth-child(2) {
  transition-delay: 150ms;
}

.metric-grid > .reveal:nth-child(3),
.lane-grid > .reveal:nth-child(3),
.trust-strip > .reveal:nth-child(3),
.tool-grid > .reveal:nth-child(3),
.feed-grid > .reveal:nth-child(3),
.resource-grid > .reveal:nth-child(3),
.story-grid > .reveal:nth-child(3),
.faq-grid > .reveal:nth-child(3) {
  transition-delay: 240ms;
}

.metric-grid > .reveal:nth-child(4),
.trust-strip > .reveal:nth-child(4),
.faq-grid > .reveal:nth-child(4) {
  transition-delay: 330ms;
}

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

.section-kicker,
.card-kicker {
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  font-weight: 800;
}

.section-title {
  margin: 10px 0 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.02;
}

.hero-title,
.page-title,
.section-title,
.panel-title,
.tool-card h3,
.story-card h3,
.playbook-card h3,
.report-card h3,
.tool-article h3,
.faq-item h3,
.lane-card h3 {
  text-wrap: balance;
}

.section-side-note {
  max-width: 320px;
  color: var(--muted);
}

.hero-copy > p,
.page-hero-copy > p,
.section-copy,
.panel-subtitle,
.muted-copy,
.section-side-note,
.result-summary {
  max-width: 58ch;
  text-wrap: pretty;
}

.metric-grid,
.tool-grid,
.story-grid,
.signal-grid,
.faq-grid,
.playbook-grid,
.footer-grid,
.info-grid,
.feed-grid,
.resource-grid,
.split-grid {
  display: grid;
  gap: 18px;
}

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

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

.story-grid,
.playbook-grid,
.feed-grid,
.resource-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

.footer-grid {
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 0.8fr));
}

.split-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: start;
}

.stat-card,
.signal-card,
.story-card,
.playbook-card,
.feed-card,
.tool-article,
.report-card {
  padding: 24px;
}

.stat-card strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  letter-spacing: -0.06em;
}

.stat-card span,
.signal-card p,
.story-card p,
.playbook-card p,
.feed-card p,
.tool-article p,
.report-card p,
.muted-copy {
  color: var(--muted);
}

.tool-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  transform: perspective(1200px) rotateX(var(--rotate-x, 0deg)) rotateY(var(--rotate-y, 0deg)) translateY(0);
  transform-style: preserve-3d;
}

.tilt-surface {
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  transform: perspective(1200px) rotateX(var(--rotate-x, 0deg)) rotateY(var(--rotate-y, 0deg)) translateY(0);
  transform-style: preserve-3d;
  will-change: transform;
}

.tool-card:hover {
  border-color: rgba(139, 240, 255, 0.24);
  box-shadow: 0 28px 70px rgba(18, 66, 150, 0.28);
}

.tool-card-media {
  position: relative;
  display: block;
  overflow: hidden;
  margin: -6px -6px 18px;
  border-radius: 24px;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(160, 204, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(160, 204, 255, 0.14), rgba(8, 17, 29, 0.12)),
    rgba(8, 17, 29, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.tool-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 26%, rgba(7, 17, 31, 0.2)),
    linear-gradient(135deg, transparent 54%, rgba(139, 240, 255, 0.08));
  pointer-events: none;
}

.tool-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.55s ease;
}

.tool-card:hover .tool-card-media img,
.tool-card:focus-within .tool-card-media img {
  transform: scale(1.035);
  filter: saturate(1.04);
}

.tool-card-media .scene-card,
.tool-card-media .tool-media-preview {
  width: 100%;
  height: 100%;
}

.tool-card:hover .scene-card--tile,
.tool-card:focus-within .scene-card--tile {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(139, 240, 255, 0.28);
  box-shadow: 0 24px 58px rgba(10, 28, 58, 0.34);
}

.tool-media-preview {
  --tool-media-accent: #3fc7ff;
  --tool-media-accent-2: #79e7ff;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
  padding: 14px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(139, 240, 255, 0.14);
  background:
    radial-gradient(circle at 84% 18%, rgba(121, 228, 255, 0.12), transparent 22%),
    radial-gradient(circle at 12% 86%, rgba(120, 240, 192, 0.1), transparent 24%),
    linear-gradient(160deg, rgba(13, 28, 49, 0.98), rgba(7, 17, 29, 0.92));
  box-shadow: 0 20px 48px rgba(7, 17, 31, 0.28);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.tool-media-preview > * {
  position: relative;
  z-index: 1;
}

.tool-media-preview__grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.12), transparent 24%, transparent 74%, rgba(121, 228, 255, 0.08)),
    linear-gradient(rgba(121, 228, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(121, 228, 255, 0.05) 1px, transparent 1px);
  background-size: auto, 38px 38px, 38px 38px;
  opacity: 0.8;
  pointer-events: none;
}

.tool-media-preview__header,
.tool-media-preview__body,
.tool-media-preview__footer {
  display: grid;
  align-items: start;
}

.tool-media-preview__header {
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
}

.tool-media-preview__badge {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(139, 240, 255, 0.16);
  background: rgba(61, 143, 197, 0.28);
  color: #ecf6ff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tool-media-preview__body {
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 12px;
  min-height: 0;
}

.tool-media-preview__copy {
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 0;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(160, 204, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(160, 204, 255, 0.08), rgba(8, 17, 29, 0.08)),
    rgba(160, 204, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.tool-media-preview__kicker {
  color: rgba(202, 220, 241, 0.78);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tool-media-preview__copy strong {
  font-family: var(--font-head);
  font-size: 1.12rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #f3f8ff;
  text-wrap: balance;
}

.tool-media-preview__copy p {
  margin: 0;
  color: rgba(214, 227, 244, 0.86);
  font-size: 0.84rem;
  line-height: 1.44;
}

.tool-media-preview__score {
  display: grid;
  align-content: stretch;
}

.tool-media-preview__score-ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 92px;
  min-height: 100%;
  border-radius: 20px;
  border: 1px solid rgba(160, 204, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(160, 204, 255, 0.08), rgba(8, 17, 29, 0.08)),
    rgba(160, 204, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.tool-media-preview__score-ring::before {
  content: "";
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(7, 17, 31, 0.96) 48%, transparent 49%),
    conic-gradient(var(--tool-media-accent) 0 76%, rgba(255, 255, 255, 0.1) 76% 100%);
}

.tool-media-preview__score-ring span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: #f3f8ff;
}

.tool-media-preview__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-media-preview__chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(160, 204, 255, 0.12);
  background: rgba(160, 204, 255, 0.08);
  color: rgba(233, 242, 252, 0.92);
  font-size: 0.72rem;
  line-height: 1.3;
}

.tool-media-preview--url {
  --tool-media-accent: #39c8ff;
  --tool-media-accent-2: #7ee9ff;
}

.tool-media-preview--message {
  --tool-media-accent: #41ddc6;
  --tool-media-accent-2: #79e7ff;
}

.tool-media-preview--payment {
  --tool-media-accent: #45c5ff;
  --tool-media-accent-2: #7cf3d2;
}

.tool-media-preview--document {
  --tool-media-accent: #78caff;
  --tool-media-accent-2: #ffd278;
}

.tool-media-preview--recovery {
  --tool-media-accent: #74beff;
  --tool-media-accent-2: #7ef0c3;
}

.tool-media-preview--call {
  --tool-media-accent: #7cc3ff;
  --tool-media-accent-2: #ffd472;
}

.tool-media-preview--market {
  --tool-media-accent: #90b7ff;
  --tool-media-accent-2: #7ef0c3;
}

.tool-card:hover .tool-media-preview,
.tool-card:focus-within .tool-media-preview {
  transform: translateY(-2px) scale(1.015);
  border-color: rgba(139, 240, 255, 0.28);
  box-shadow: 0 24px 58px rgba(10, 28, 58, 0.34);
}

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

.tool-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  background: linear-gradient(140deg, rgba(139, 240, 255, 0.16), rgba(52, 200, 255, 0.08));
  border: 1px solid rgba(139, 240, 255, 0.18);
}

.tool-card h3,
.story-card h3,
.playbook-card h3,
.report-card h3,
.tool-article h3,
.faq-item h3 {
  margin: 0;
  font-size: 1.2rem;
  font-family: var(--font-head);
  letter-spacing: -0.04em;
}

.tool-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.compact-card p,
.tool-card p,
.lane-card p,
.story-card p,
.feed-card p,
.resource-link-card p,
.trust-item p,
.signal-card p,
.playbook-card p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.tool-tags,
.signal-list,
.faq-list,
.article-list,
.summary-list,
.action-list,
.chat-suggestions,
.detail-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.signal-list li,
.tool-tags li,
.faq-list li,
.article-list li,
.summary-list li,
.detail-list li {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(160, 204, 255, 0.08);
  border: 1px solid rgba(160, 204, 255, 0.1);
  color: var(--muted);
  font-size: 0.84rem;
}

.tool-card-foot {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 700;
}

.link-arrow::after {
  content: "->";
}

.accent-line {
  width: 64px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
  margin-top: 16px;
}

.content-card {
  padding: 28px;
}

.content-card::before {
  inset: 0;
  background: linear-gradient(130deg, rgba(139, 240, 255, 0.06), transparent 44%);
}

.content-card > * {
  position: relative;
}

.checklist,
.stack-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li,
.stack-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
}

.checklist li::before,
.stack-list li::before,
.action-list li::before {
  content: "-";
  color: var(--accent);
  font-size: 1.2rem;
  line-height: 1;
  margin-top: 2px;
}

.page-hero-panel {
  padding: 58px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
  gap: 28px;
  align-items: start;
}

.page-hero-grid--media {
  align-items: center;
}

.page-title {
  margin: 18px 0 16px;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 0.96;
}

.page-hero-side {
  display: grid;
  gap: 16px;
}

.page-hero-side--motion {
  align-content: start;
}

.page-hero-motion {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 30px;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(160, 204, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(160, 204, 255, 0.14), rgba(8, 17, 29, 0.12)),
    rgba(8, 17, 29, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 60px rgba(8, 17, 29, 0.24);
}

.page-hero-motion::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(7, 17, 31, 0.18));
  pointer-events: none;
}

.page-hero-motion picture,
.page-hero-motion img {
  display: block;
  width: 100%;
  height: 100%;
}

.page-hero-motion img {
  object-fit: cover;
}

.page-hero-motion--scene {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.page-hero-motion--scene img {
  display: none !important;
}

.page-hero-motion--preview {
  padding: 18px;
  background:
    radial-gradient(circle at 84% 18%, rgba(121, 228, 255, 0.16), transparent 22%),
    radial-gradient(circle at 18% 82%, rgba(120, 240, 192, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(160, 204, 255, 0.1), rgba(8, 17, 29, 0.08)),
    rgba(8, 17, 29, 0.18);
}

.page-hero-motion--preview::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 26px;
  border: 1px solid rgba(160, 204, 255, 0.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 52%);
  pointer-events: none;
}

.page-hero-motion--preview::after {
  display: none;
}

.page-hero-motion--preview > * {
  position: relative;
  z-index: 1;
}

.page-hero-preview {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100%;
  height: 100%;
}

.page-hero-preview .hero-orbit {
  inset: 12px 18px auto auto;
  width: 86px;
  height: 86px;
  opacity: 0.94;
}

.page-hero-preview .hero-live-card,
.page-hero-preview .terminal-card {
  min-height: 100%;
  height: 100%;
  margin: 0;
  padding: 20px 20px 18px;
  border-radius: 30px;
}

.page-hero-preview .hero-live-card {
  box-shadow: 0 28px 70px rgba(8, 22, 46, 0.34);
}

.page-hero-preview .hero-live-card.tilt-surface {
  transform: perspective(1400px) rotateY(calc(-7deg + var(--rotate-y, 0deg))) rotateX(calc(4deg + var(--rotate-x, 0deg))) translateY(0);
}

.page-hero-preview .terminal-top {
  margin-bottom: 12px;
  padding-right: 82px;
  font-size: 0.8rem;
}

.page-hero-preview .command-layout {
  grid-template-columns: minmax(0, 1fr) 162px;
  gap: 12px;
}

.page-hero-preview .signal-cluster,
.page-hero-preview .hero-mini-stack {
  display: grid;
  gap: 10px;
}

.page-hero-preview .scan-line {
  padding: 10px 12px;
  border-radius: 16px;
}

.page-hero-preview .scan-label {
  font-size: 0.62rem;
  letter-spacing: 0.06em;
}

.page-hero-preview .scan-value {
  margin-top: 5px;
  font-size: 0.8rem;
  line-height: 1.4;
}

.page-hero-preview .mini-surface {
  padding: 11px 12px;
  border-radius: 20px;
}

.page-hero-preview .mini-surface strong {
  margin-top: 4px;
  font-size: 0.85rem;
  line-height: 1.28;
}

.page-hero-preview .mini-surface p {
  margin-top: 5px;
  font-size: 0.75rem;
  line-height: 1.38;
}

.page-hero-preview .hero-mini-stack article:last-child {
  display: none;
}

.page-hero-preview .score-panel {
  gap: 12px;
  margin-top: 12px;
}

.page-hero-preview .score-ring {
  width: 68px;
  height: 68px;
  font-size: 0.96rem;
}

.page-hero-preview .score-summary strong {
  font-size: 0.9rem;
}

.page-hero-preview .score-summary p {
  font-size: 0.75rem;
  line-height: 1.34;
}

.page-hero-preview .floating-chip.top {
  top: 14px;
  right: 14px;
}

.page-hero-preview .floating-chip.bottom {
  bottom: 12px;
  left: 14px;
  display: none;
}

.scene-card {
  --scene-accent: #39b8ff;
  --scene-accent-2: #79e4ff;
  --scene-accent-3: #78f0c0;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 16px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(139, 240, 255, 0.14);
  background:
    radial-gradient(circle at 82% 18%, rgba(121, 228, 255, 0.12), transparent 22%),
    radial-gradient(circle at 18% 84%, rgba(120, 240, 192, 0.1), transparent 24%),
    linear-gradient(160deg, rgba(12, 27, 48, 0.98), rgba(7, 17, 29, 0.88));
  box-shadow: 0 20px 48px rgba(7, 17, 31, 0.28);
  transform: perspective(1400px) rotateY(calc(-5deg + var(--rotate-y, 0deg))) rotateX(calc(4deg + var(--rotate-x, 0deg)));
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.scene-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.12), transparent 24%, transparent 74%, rgba(121, 228, 255, 0.08)),
    linear-gradient(rgba(121, 228, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(121, 228, 255, 0.05) 1px, transparent 1px);
  background-size: auto, 54px 54px, 54px 54px;
  pointer-events: none;
  opacity: 0.78;
}

.scene-card__halo {
  position: absolute;
  inset: auto auto -22px -18px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(121, 228, 255, 0.18), transparent 68%);
  filter: blur(6px);
  animation: sceneFloat 8s ease-in-out infinite;
  pointer-events: none;
}

.scene-card--tile {
  padding: 12px;
  border-radius: 22px;
  transform: none;
}

.scene-card--tile::before {
  background-size: auto, 42px 42px, 42px 42px;
}

.scene-card--url {
  --scene-accent: #37c9ff;
  --scene-accent-2: #7ee9ff;
  --scene-accent-3: #ffd06b;
}

.scene-card--message {
  --scene-accent: #41ddc6;
  --scene-accent-2: #79e7ff;
  --scene-accent-3: #ffe18c;
}

.scene-card--payment {
  --scene-accent: #45c5ff;
  --scene-accent-2: #7cf3d2;
  --scene-accent-3: #ffd278;
}

.scene-card--document {
  --scene-accent: #74c8ff;
  --scene-accent-2: #9ce8ff;
  --scene-accent-3: #ffcc70;
}

.scene-card--recovery {
  --scene-accent: #74beff;
  --scene-accent-2: #7ef0c3;
  --scene-accent-3: #ff9db0;
}

.scene-card--call {
  --scene-accent: #7cc3ff;
  --scene-accent-2: #90eeff;
  --scene-accent-3: #ffd472;
}

.scene-card--market {
  --scene-accent: #7dc2ff;
  --scene-accent-2: #90b7ff;
  --scene-accent-3: #7ef0c3;
}

.scene-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
  height: 100%;
}

.scene-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.scene-dots {
  display: flex;
  gap: 6px;
}

.scene-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: scenePulse 2.4s ease-in-out infinite;
}

.scene-dots span:first-child {
  background: #ff7f8f;
}

.scene-dots span:nth-child(2) {
  background: #ffd06b;
  animation-delay: 0.18s;
}

.scene-dots span:nth-child(3) {
  background: #7ef0c3;
  animation-delay: 0.36s;
}

.scene-chip-row,
.scene-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.scene-chip-row {
  justify-content: flex-end;
}

.scene-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(139, 240, 255, 0.16);
  background: rgba(160, 204, 255, 0.08);
  color: #edf6ff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.scene-tag--accent {
  background: linear-gradient(135deg, rgba(57, 184, 255, 0.2), rgba(121, 228, 255, 0.14));
}

.scene-tag--success {
  background: linear-gradient(135deg, rgba(126, 240, 195, 0.18), rgba(86, 216, 164, 0.12));
}

.scene-tag--warning {
  background: linear-gradient(135deg, rgba(255, 208, 107, 0.18), rgba(255, 224, 140, 0.12));
}

.scene-tag--soft {
  color: rgba(237, 246, 255, 0.84);
}

.scene-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px;
  gap: 12px;
  flex: 1;
  min-height: 0;
}

.scene-main,
.scene-side,
.scene-bubbles,
.scene-steps,
.scene-payment-grid {
  display: grid;
  gap: 12px;
  min-height: 0;
}

.scene-block,
.scene-bubble,
.scene-step {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(160, 204, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(160, 204, 255, 0.07), rgba(8, 17, 29, 0.08)),
    rgba(160, 204, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 12px;
}

.scene-block::after,
.scene-bubble::after,
.scene-step::after {
  content: "";
  position: absolute;
  inset: auto 10px 10px auto;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(121, 228, 255, 0.12), transparent 68%);
  opacity: 0.55;
  pointer-events: none;
}

.scene-block--hero {
  min-height: 110px;
}

.scene-block--compact {
  min-height: 58px;
}

.scene-block--metric {
  display: grid;
  place-items: center;
  min-height: 118px;
}

.scene-stack {
  display: grid;
  gap: 8px;
}

.scene-bar {
  --bar-w: 72;
  --bar-delay: 0s;
  display: block;
  width: calc(var(--bar-w) * 1%);
  max-width: 100%;
  height: 9px;
  border-radius: 999px;
  background: rgba(215, 229, 247, 0.42);
  transform-origin: left center;
  animation: sceneBarFlow 3.9s ease-in-out infinite;
  animation-delay: var(--bar-delay);
}

.scene-bar--accent {
  background: linear-gradient(90deg, var(--scene-accent), var(--scene-accent-2));
}

.scene-bar--success {
  background: linear-gradient(90deg, var(--scene-accent-2), var(--scene-accent-3));
}

.scene-bar--warning {
  background: linear-gradient(90deg, var(--scene-accent-3), #ffe3a4);
}

.scene-bar--muted {
  background: rgba(211, 226, 245, 0.86);
}

.scene-progress {
  height: 14px;
  border-radius: 999px;
  background: rgba(160, 204, 255, 0.12);
  overflow: hidden;
  border: 1px solid rgba(160, 204, 255, 0.08);
}

.scene-progress__bar {
  display: block;
  width: var(--progress, 62%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--scene-accent), var(--scene-accent-2));
  animation: sceneProgressPulse 4.6s ease-in-out infinite;
}

.scene-meter {
  --meter: 84;
  position: relative;
  width: 82px;
  height: 82px;
}

.scene-meter__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(var(--scene-accent) 0 calc(var(--meter) * 1%), rgba(255, 255, 255, 0.12) 0 100%);
  animation: sceneSpin 6.8s linear infinite;
}

.scene-meter__ring::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: rgba(8, 17, 29, 0.96);
  border: 1px solid rgba(160, 204, 255, 0.08);
}

.scene-meter__value {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #f2f8ff;
}

.scene-browser-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.scene-urlbar {
  position: relative;
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(160, 204, 255, 0.06);
  border: 1px solid rgba(160, 204, 255, 0.1);
}

.scene-domain-line {
  display: block;
  height: 9px;
  border-radius: 999px;
  background: rgba(211, 226, 245, 0.78);
}

.scene-domain-line--long {
  width: 72%;
}

.scene-domain-line--accent {
  width: 46%;
  background: linear-gradient(90deg, var(--scene-accent), var(--scene-accent-2));
}

.scene-domain-line--short {
  width: 28%;
}

.scene-scan-beam {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 10px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  animation: sceneScan 4.4s ease-in-out infinite;
}

.scene-shield {
  width: 64px;
  height: 74px;
  margin: 0 auto;
  clip-path: polygon(50% 0%, 86% 16%, 86% 54%, 50% 100%, 14% 54%, 14% 16%);
  background: linear-gradient(180deg, var(--scene-accent-2), var(--scene-accent));
  position: relative;
  animation: sceneFloat 5.8s ease-in-out infinite;
}

.scene-shield::after {
  content: "";
  position: absolute;
  left: 24px;
  top: 18px;
  width: 16px;
  height: 30px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 -12px 0 -2px rgba(255, 255, 255, 0.92);
}

.scene-bubbles {
  align-content: start;
}

.scene-bubble {
  min-height: 64px;
  display: grid;
  align-content: center;
}

.scene-bubble--right {
  margin-left: 22%;
}

.scene-bubble--alert {
  border-color: rgba(255, 208, 107, 0.18);
}

.scene-payment-grid {
  grid-template-columns: minmax(0, 1fr) 88px;
  align-items: start;
}

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

.scene-block--qr {
  min-height: 156px;
  display: grid;
  place-items: center;
}

.scene-qr {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  width: 58px;
  height: 58px;
}

.scene-qr span {
  border-radius: 4px;
  background: linear-gradient(135deg, var(--scene-accent), var(--scene-accent-2));
  animation: sceneBlink 2.8s ease-in-out infinite;
}

.scene-qr span:nth-child(3n) {
  animation-delay: 0.18s;
}

.scene-doc-stack {
  position: relative;
  height: 100%;
  min-height: 156px;
}

.scene-doc {
  position: absolute;
  inset: 12px 20px 12px 20px;
  border-radius: 20px;
  border: 1px solid rgba(160, 204, 255, 0.12);
  background: linear-gradient(180deg, rgba(244, 250, 255, 0.98), rgba(232, 242, 252, 0.92));
}

.scene-doc--back {
  inset: 22px 8px 0 34px;
  opacity: 0.66;
  transform: rotate(4deg);
}

.scene-doc--front {
  color: #23405f;
}

.scene-stamp {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 3px solid var(--scene-accent);
  background: rgba(255, 208, 107, 0.92);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.12);
  animation: scenePulse 2.8s ease-in-out infinite;
}

.scene-stamp::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 15px;
  width: 22px;
  height: 12px;
  border-left: 4px solid #fff;
  border-bottom: 4px solid #fff;
  transform: rotate(-45deg);
}

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

.scene-step {
  min-height: 146px;
}

.scene-step__index {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
  border-radius: 50%;
  border: 1px solid rgba(160, 204, 255, 0.16);
  background: linear-gradient(135deg, rgba(57, 184, 255, 0.18), rgba(121, 228, 255, 0.1));
  color: #edf6ff;
  font-size: 0.8rem;
  font-weight: 700;
}

.scene-block--wave {
  min-height: 72px;
  display: grid;
  align-items: center;
}

.scene-wave {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
}

.scene-wave span {
  width: 4px;
  height: var(--wave-h, 30px);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--scene-accent-2), var(--scene-accent));
  animation: sceneWave 1.8s ease-in-out infinite;
  animation-delay: var(--wave-delay, 0s);
}

.scene-bubbles--call .scene-bubble:last-child {
  min-height: 92px;
}

.scene-block--chart {
  min-height: 142px;
  display: grid;
  align-items: end;
}

.scene-chart {
  display: flex;
  align-items: end;
  gap: 12px;
  height: 100%;
  padding-top: 18px;
}

.scene-chart__bar {
  flex: 1;
  height: var(--chart-h, 48%);
  border-radius: 14px 14px 8px 8px;
  background: linear-gradient(180deg, var(--scene-accent-2), var(--scene-accent));
  animation: sceneChartBar 4.2s ease-in-out infinite;
}

.scene-chart__bar:nth-child(2n) {
  background: linear-gradient(180deg, var(--scene-accent-3), var(--scene-accent));
  animation-delay: 0.16s;
}

.scene-chart-line {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 34px;
  height: 56px;
  border-radius: 24px;
  border: 1px dashed rgba(160, 204, 255, 0.14);
  opacity: 0.8;
}

.scene-footer {
  margin-top: auto;
}

@keyframes scenePulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.18);
    opacity: 1;
  }
}

@keyframes sceneFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes sceneBarFlow {
  0%,
  100% {
    transform: scaleX(0.92);
    opacity: 0.86;
  }
  50% {
    transform: scaleX(1.03);
    opacity: 1;
  }
}

@keyframes sceneProgressPulse {
  0%,
  100% {
    transform: scaleX(0.94);
    transform-origin: left center;
  }
  50% {
    transform: scaleX(1.03);
    transform-origin: left center;
  }
}

@keyframes sceneScan {
  0%,
  100% {
    transform: translateX(-18%);
    opacity: 0;
  }
  20%,
  80% {
    opacity: 1;
  }
  50% {
    transform: translateX(18%);
  }
}

@keyframes sceneBlink {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes sceneWave {
  0%,
  100% {
    transform: scaleY(0.78);
  }
  50% {
    transform: scaleY(1.14);
  }
}

@keyframes sceneChartBar {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes sceneSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 960px) {
  .scene-layout {
    grid-template-columns: 1fr;
  }

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

  .scene-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-hero-motion--scene,
  .tool-card-media {
    padding: 12px;
  }

  .scene-card {
    padding: 12px;
    border-radius: 22px;
  }

  .scene-chip-row {
    display: none;
  }

  .scene-block,
  .scene-bubble,
  .scene-step {
    padding: 10px;
    border-radius: 16px;
  }

  .scene-block--hero {
    min-height: 88px;
  }

  .scene-block--metric {
    min-height: 88px;
  }

  .scene-meter {
    width: 66px;
    height: 66px;
  }

  .scene-meter__ring::after {
    inset: 10px;
  }

  .scene-meter__value {
    font-size: 1.5rem;
  }

  .scene-payment-grid {
    grid-template-columns: 1fr;
  }

  .scene-block--qr {
    min-height: 84px;
  }

  .scene-qr {
    width: 46px;
    height: 46px;
  }

  .scene-wave {
    gap: 5px;
  }

  .scene-wave span {
    width: 3px;
  }

  .scene-footer {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scene-card,
  .scene-card::before,
  .scene-card::after,
  .scene-card * {
    animation: none !important;
    transition: none !important;
  }
}

.compact-card {
  padding: 20px;
  border-radius: 24px;
  background: rgba(8, 17, 29, 0.44);
  border: 1px solid rgba(160, 204, 255, 0.12);
}

.compact-card strong {
  display: block;
  margin-bottom: 6px;
}

.error-hero-panel {
  border-color: rgba(139, 240, 255, 0.2);
  background:
    radial-gradient(circle at top right, rgba(123, 247, 198, 0.12), transparent 28%),
    radial-gradient(circle at 12% 18%, rgba(52, 200, 255, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(16, 33, 58, 0.8), rgba(8, 17, 29, 0.82)),
    var(--surface);
}

.error-hero-grid {
  align-items: center;
}

.error-code-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.error-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 164px;
  padding: 16px 20px;
  border-radius: 28px;
  border: 1px solid rgba(139, 240, 255, 0.24);
  background: linear-gradient(135deg, rgba(139, 240, 255, 0.2), rgba(52, 200, 255, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 36px rgba(52, 200, 255, 0.18);
  color: #d8fbff;
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 10vw, 6.4rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.84;
}

.error-signal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 191, 92, 0.16);
  background: rgba(255, 191, 92, 0.08);
  color: #ffd798;
  font-size: 0.92rem;
  font-weight: 700;
}

.error-signal::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--warning);
  box-shadow: 0 0 0 6px rgba(255, 191, 92, 0.08);
}

.error-status-card,
.error-path-card {
  background: rgba(8, 17, 29, 0.54);
}

.shortcut-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
}

.shortcut-card h3 {
  margin: 0;
}

.shortcut-card .link-arrow {
  margin-top: auto;
}

.utility-link-list li {
  color: var(--text);
}

.utility-link-list a {
  color: inherit;
  transition: color var(--transition);
}

.utility-link-list a:hover {
  color: var(--accent);
}

.checker-shell {
  display: grid;
  gap: 18px;
}

.checker-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 18px;
}

.panel {
  padding: 26px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(16, 33, 58, 0.76), rgba(8, 17, 29, 0.76));
  border: 1px solid rgba(160, 204, 255, 0.14);
  box-shadow: var(--glow-soft);
}

.panel-title {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: 1.38rem;
  letter-spacing: -0.04em;
}

.panel-subtitle {
  margin: 0 0 18px;
  color: var(--muted);
}

.mode-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.mode-switch button {
  border: 1px solid rgba(160, 204, 255, 0.12);
  background: rgba(160, 204, 255, 0.06);
  color: var(--muted);
  padding: 11px 14px;
  border-radius: 999px;
  transition: all var(--transition);
}

.mode-switch button.active {
  color: var(--ink);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
}

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

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.field label {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid rgba(160, 204, 255, 0.12);
  background: rgba(8, 17, 29, 0.54);
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(139, 240, 255, 0.32);
  box-shadow: 0 0 0 4px rgba(139, 240, 255, 0.08);
  background: rgba(8, 17, 29, 0.78);
}

.field textarea {
  resize: vertical;
  min-height: 170px;
}

.helper-text,
.limit-note,
.file-note {
  color: var(--muted-2);
  font-size: 0.84rem;
}

.upload-zone {
  display: grid;
  gap: 10px;
  padding: 22px;
  border-radius: 24px;
  border: 1px dashed rgba(139, 240, 255, 0.24);
  background: rgba(139, 240, 255, 0.05);
}

.upload-zone.dragover {
  border-color: rgba(123, 247, 198, 0.36);
  background: rgba(123, 247, 198, 0.08);
}

.upload-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hidden-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-preview {
  display: none;
  gap: 12px;
  margin-top: 12px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(160, 204, 255, 0.08);
  border: 1px solid rgba(160, 204, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.upload-preview.visible {
  display: grid;
}

.upload-preview.loading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(139, 240, 255, 0.08) 36%, transparent 68%);
  transform: translateX(-100%);
  animation: upload-sheen 1.2s linear infinite;
  pointer-events: none;
}

.upload-preview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.upload-preview-headline {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.upload-preview-headline strong {
  font-size: 0.98rem;
  line-height: 1.3;
  color: var(--text);
  overflow-wrap: anywhere;
}

.upload-preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(139, 240, 255, 0.14);
  background: rgba(139, 240, 255, 0.1);
  color: var(--muted);
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.upload-preview-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.9;
}

.upload-preview.loading .upload-preview-badge::before {
  animation: pulse-dot 0.9s ease-in-out infinite;
}

.upload-preview-remove {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(160, 204, 255, 0.18);
  background: rgba(8, 16, 28, 0.45);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.32rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.upload-preview-remove:hover {
  transform: rotate(90deg);
  border-color: rgba(123, 247, 198, 0.28);
  background: rgba(8, 16, 28, 0.72);
}

.upload-preview-status {
  color: var(--muted);
  line-height: 1.6;
}

@keyframes upload-sheen {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(100%);
  }
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.82);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.staged-loader {
  display: none;
  gap: 12px;
  margin: 20px 0 0;
  padding: 18px;
  border-radius: 24px;
  background: rgba(160, 204, 255, 0.06);
  border: 1px solid rgba(160, 204, 255, 0.12);
}

.staged-loader.visible {
  display: grid;
}

.stage-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.stage-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.stage-row.active .stage-dot,
.stage-row.done .stage-dot {
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(139, 240, 255, 0.1);
}

.stage-row.done .stage-dot {
  background: var(--success);
}

.stage-row.active span:last-child {
  color: var(--text);
}

.progress-track {
  width: 100%;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.progress-bar {
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
  transition: width 0.35s ease;
}

.result-shell {
  display: grid;
  gap: 16px;
}

.empty-state {
  min-height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 10px;
  color: var(--muted);
}

.pulse-orb {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.42), rgba(139, 240, 255, 0.18) 34%, rgba(139, 240, 255, 0.04) 70%);
  border: 1px solid rgba(139, 240, 255, 0.18);
  box-shadow: 0 0 0 18px rgba(139, 240, 255, 0.04), 0 0 80px rgba(52, 200, 255, 0.16);
  animation: pulseOrb 3s ease-in-out infinite;
}

.result-shell.hidden,
.chat-shell.hidden,
.inline-message.hidden {
  display: none;
}

.result-banner {
  display: grid;
  gap: 12px;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(160, 204, 255, 0.12);
  background: rgba(160, 204, 255, 0.06);
}

.result-banner.high {
  background: rgba(255, 108, 122, 0.1);
  border-color: rgba(255, 108, 122, 0.2);
}

.result-banner.medium {
  background: rgba(255, 191, 92, 0.12);
  border-color: rgba(255, 191, 92, 0.22);
}

.result-banner.low {
  background: rgba(126, 240, 179, 0.1);
  border-color: rgba(126, 240, 179, 0.18);
}

.result-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.result-banner.high .result-label {
  color: var(--danger);
  background: rgba(255, 108, 122, 0.16);
}

.result-banner.medium .result-label {
  color: var(--warning);
  background: rgba(255, 191, 92, 0.16);
}

.result-banner.low .result-label {
  color: var(--success);
  background: rgba(126, 240, 179, 0.16);
}

.result-title {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.02;
}

.result-summary {
  margin: 0;
  color: var(--text);
}

.risk-meter {
  display: grid;
  gap: 10px;
}

.risk-scale {
  position: relative;
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--success), var(--warning), var(--danger));
  overflow: hidden;
}

.risk-scale::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent);
}

.risk-pointer {
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid rgba(7, 17, 31, 0.94);
  background: #fff;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.14);
}

.risk-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.detail-card {
  padding: 20px;
  border-radius: 24px;
  background: rgba(8, 17, 29, 0.5);
  border: 1px solid rgba(160, 204, 255, 0.1);
}

.detail-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: -0.04em;
}

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

.action-list li {
  display: flex;
  gap: 10px;
  color: var(--muted);
}

.extracted-text {
  max-height: 240px;
  overflow: auto;
  white-space: pre-wrap;
  color: var(--muted);
  font-size: 0.92rem;
}

.chat-shell {
  display: grid;
  gap: 14px;
}

.chat-thread {
  display: grid;
  gap: 10px;
  max-height: 280px;
  overflow: auto;
}

.chat-bubble {
  max-width: 90%;
  padding: 13px 15px;
  border-radius: 18px;
  background: rgba(160, 204, 255, 0.08);
  border: 1px solid rgba(160, 204, 255, 0.1);
  white-space: pre-wrap;
}

.chat-bubble.user {
  justify-self: end;
  background: rgba(139, 240, 255, 0.12);
  color: var(--text);
}

.chat-bubble.assistant {
  justify-self: start;
}

.chat-suggestions button {
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(160, 204, 255, 0.1);
  background: rgba(160, 204, 255, 0.06);
  color: var(--muted);
}

.chat-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.chat-input-row input {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(160, 204, 255, 0.12);
  background: rgba(8, 17, 29, 0.54);
  color: var(--text);
}

.chat-counter,
.inline-message,
.counter-copy {
  color: var(--muted-2);
  font-size: 0.86rem;
}

.hero-cta-band,
.trust-strip,
.resource-strip {
  display: grid;
  gap: 14px;
}

.trust-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.trust-item {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(160, 204, 255, 0.1);
  background: rgba(8, 17, 29, 0.46);
}

.trust-item strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-head);
  font-size: 1rem;
}

.trust-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.ticker-band {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  overflow: hidden;
  padding: 16px 18px;
  border-radius: 999px;
  border: 1px solid rgba(160, 204, 255, 0.12);
  background: rgba(160, 204, 255, 0.06);
}

.ticker-label {
  flex-shrink: 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 108, 122, 0.14);
  color: var(--danger);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ticker-viewport {
  min-width: 0;
  overflow: hidden;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  min-width: max-content;
  animation: tickerSlide 32s linear infinite;
  color: var(--muted);
  white-space: nowrap;
}

.ticker-track span {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-right: 26px;
}

.ticker-track span::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(160, 204, 255, 0.26);
  transform: translateY(-50%);
}

.faq-item {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(160, 204, 255, 0.12);
  background: rgba(8, 17, 29, 0.52);
}

.faq-item p {
  margin: 12px 0 0;
  color: var(--muted);
}

.site-footer {
  padding: 18px 20px 36px;
}

.footer-shell {
  padding: 34px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(160, 204, 255, 0.12);
  background: linear-gradient(180deg, rgba(16, 33, 58, 0.74), rgba(8, 17, 29, 0.74));
  box-shadow: var(--glow-soft);
}

.footer-brand p,
.footer-links a,
.footer-bottom,
.footer-small {
  color: var(--muted);
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-links strong {
  font-family: var(--font-head);
  letter-spacing: -0.03em;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid rgba(160, 204, 255, 0.08);
  font-size: 0.88rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.hidden {
  display: none !important;
}

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

.mobile-home-quickstrip,
.mobile-home-launcher {
  display: none;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes homeGradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes pulseOrb {
  0%,
  100% {
    box-shadow: 0 0 0 18px rgba(139, 240, 255, 0.04), 0 0 80px rgba(52, 200, 255, 0.16);
  }
  50% {
    box-shadow: 0 0 0 26px rgba(139, 240, 255, 0.03), 0 0 110px rgba(52, 200, 255, 0.22);
  }
}

@keyframes tickerSlide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes ambientDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(18px, -14px, 0) scale(1.06);
  }
  100% {
    transform: translate3d(-12px, 16px, 0) scale(0.98);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .home-band::before,
  .home-band::after {
    animation: ambientDrift 16s ease-in-out infinite alternate;
  }

  .home-band::after {
    animation-duration: 20s;
    animation-delay: -6s;
  }

  .home-band--lanes .lane-card:nth-child(2)::after,
  .home-band--featured .tool-card:nth-child(2)::after,
  .home-band--paths .tool-article:nth-child(2)::after,
  .home-band--stories .story-card:nth-child(2)::after {
    animation: ambientDrift 12s ease-in-out infinite alternate;
  }
}

@media (max-width: 1120px) {
  .hero-panel,
  .page-hero-panel,
  .footer-shell {
    padding: 34px;
  }

  .hero-grid,
  .page-hero-grid,
  .checker-grid,
  .split-grid,
  .footer-grid,
  .emergency-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid,
  .tool-grid,
  .story-grid,
  .playbook-grid,
  .signal-grid,
  .faq-grid,
  .feed-grid,
  .resource-grid,
  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-band,
  .home-band--scanner {
    padding: 26px;
  }

  .urgent-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .urgent-actions {
    justify-content: flex-start;
  }

  .terminal-card {
    transform: none;
  }
}

@media (max-width: 840px) {
  .site-header {
    padding: 16px 14px 0;
  }

  .nav-links,
  .nav-actions .button-secondary {
    display: none;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .hero-section,
  .page-hero,
  .section,
  .site-footer {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-panel,
  .page-hero-panel,
  .panel,
  .content-card,
  .surface-card,
  .tool-card,
  .stat-card,
  .signal-card,
  .story-card,
  .playbook-card,
  .feed-card,
  .tool-article,
  .report-card,
  .footer-shell {
    border-radius: 26px;
  }

  .field-grid,
  .form-grid,
  .metric-grid,
  .tool-grid,
  .story-grid,
  .playbook-grid,
  .signal-grid,
  .faq-grid,
  .feed-grid,
  .resource-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .page-title {
    font-size: clamp(2.2rem, 11vw, 3.6rem);
  }

  .hero-actions,
  .upload-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .hero-actions .button {
    width: 100%;
  }

  .ticker-band {
    border-radius: 28px;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .nav-frame {
    padding: 12px 14px;
  }

  .hero-panel,
  .page-hero-panel,
  .footer-shell {
    padding: 24px 20px;
  }

  .panel,
  .content-card,
  .surface-card,
  .tool-card,
  .stat-card,
  .signal-card,
  .story-card,
  .playbook-card,
  .feed-card,
  .tool-article,
  .report-card {
    padding: 20px;
  }

  .hero-meta {
    gap: 10px;
  }

  .meta-pill,
  .mini-chip,
  .signal-pill {
    width: 100%;
    justify-content: center;
  }

  .score-panel {
    grid-template-columns: 1fr;
    justify-items: start;
  }

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

.online-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #52ff98;
  box-shadow: 0 0 0 0 rgba(82, 255, 152, 0.42);
  animation: pulseOnline 1.6s ease-in-out infinite;
}

.helper-pill {
  gap: 10px;
}

.hero-command-center {
  background:
    radial-gradient(circle at 80% 18%, rgba(139, 240, 255, 0.16), transparent 30%),
    radial-gradient(circle at 18% 82%, rgba(123, 247, 198, 0.12), transparent 26%),
    linear-gradient(160deg, rgba(16, 31, 56, 0.94), rgba(8, 17, 29, 0.86));
}

.hero-live-card {
  background:
    linear-gradient(160deg, rgba(12, 27, 48, 0.98), rgba(7, 17, 29, 0.86)),
    rgba(8, 17, 29, 0.86);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  box-shadow: 0 28px 70px rgba(8, 22, 46, 0.38);
}

.hero-live-card.tilt-surface {
  transform: perspective(1400px) rotateY(calc(-10deg + var(--rotate-y, 0deg))) rotateX(calc(7deg + var(--rotate-x, 0deg))) translateY(0);
}

.hero-live-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--shine-x, 50%) var(--shine-y, 50%), rgba(255, 255, 255, 0.12), transparent 30%);
  pointer-events: none;
}

.hero-live-card[data-live-card]:hover {
  box-shadow: 0 34px 84px rgba(10, 28, 58, 0.46);
}

.hero-live-card .terminal-top,
.hero-live-card .scan-line,
.hero-live-card .mini-surface,
.hero-live-card .score-panel {
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
  will-change: transform;
}

.hero-live-card .terminal-top {
  transform: translate3d(calc(var(--move-x, 0px) * -0.08), calc(var(--move-y, 0px) * -0.08), 0);
}

.hero-live-card .scan-line:nth-child(1) {
  transform: translate3d(calc(var(--move-x, 0px) * -0.18), calc(var(--move-y, 0px) * -0.14), 0);
}

.hero-live-card .scan-line:nth-child(2) {
  transform: translate3d(calc(var(--move-x, 0px) * 0.08), calc(var(--move-y, 0px) * -0.08), 0);
}

.hero-live-card .scan-line:nth-child(3) {
  transform: translate3d(calc(var(--move-x, 0px) * 0.18), calc(var(--move-y, 0px) * 0.12), 0);
}

.hero-live-card .mini-surface:nth-child(1) {
  transform: translate3d(calc(var(--move-x, 0px) * 0.14), calc(var(--move-y, 0px) * -0.12), 0);
}

.hero-live-card .mini-surface:nth-child(2) {
  transform: translate3d(calc(var(--move-x, 0px) * -0.12), calc(var(--move-y, 0px) * 0.08), 0);
}

.hero-live-card .mini-surface:nth-child(3) {
  transform: translate3d(calc(var(--move-x, 0px) * 0.1), calc(var(--move-y, 0px) * 0.16), 0);
}

.hero-live-card .score-panel {
  transform: translate3d(calc(var(--move-x, 0px) * 0.1), calc(var(--move-y, 0px) * 0.1), 0);
}

.hero-live-card:hover .scan-line,
.hero-live-card:hover .mini-surface {
  border-color: rgba(139, 240, 255, 0.2);
}

.hero-live-card:hover .score-ring {
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.03), 0 14px 36px rgba(255, 108, 122, 0.12);
}

.command-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(170px, 0.8fr);
  gap: 16px;
  align-items: stretch;
}

.hero-mini-stack {
  display: grid;
  gap: 14px;
}

.mini-surface {
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(160, 204, 255, 0.12);
  background: rgba(160, 204, 255, 0.06);
}

.mini-surface strong {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-family: var(--font-head);
  letter-spacing: -0.03em;
}

.mini-surface p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.mini-surface-accent {
  background: linear-gradient(145deg, rgba(123, 247, 198, 0.08), rgba(160, 204, 255, 0.05));
}

.compact-card-inline {
  margin-top: 18px;
  max-width: 360px;
}

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

.resource-link-card {
  position: relative;
  padding: 22px;
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(16, 33, 58, 0.74), rgba(8, 17, 29, 0.78)),
    rgba(10, 21, 38, 0.74);
  border: 1px solid rgba(160, 204, 255, 0.14);
  box-shadow: var(--glow-soft);
}

.resource-link-card h3 {
  margin: 14px 0 10px;
  font-family: var(--font-head);
  font-size: 1.12rem;
  letter-spacing: -0.04em;
}

.resource-link-card p {
  margin: 0;
  color: var(--muted);
}

.resource-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.resource-provider {
  color: var(--muted-2);
  font-size: 0.82rem;
}

.resource-example {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(160, 204, 255, 0.08);
  border: 1px solid rgba(160, 204, 255, 0.1);
  color: var(--text);
  font-size: 0.88rem;
}

.tool-page-layout {
  align-items: stretch;
}

.tool-intake-card {
  position: sticky;
  top: 112px;
}

.scanner-hero-shell,
.live-helper-hero {
  background:
    radial-gradient(circle at 20% 20%, rgba(139, 240, 255, 0.12), transparent 25%),
    radial-gradient(circle at 82% 78%, rgba(123, 247, 198, 0.11), transparent 26%),
    linear-gradient(160deg, rgba(14, 28, 49, 0.92), rgba(8, 17, 29, 0.84));
}

.live-helper-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.helper-presence {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(82, 255, 152, 0.2);
  background: rgba(82, 255, 152, 0.08);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
}

.live-thread {
  min-height: 420px;
}

.helper-suggestion-grid {
  margin-top: 22px;
}

.helper-suggestion-grid button,
.chat-suggestions button {
  border: 1px solid rgba(160, 204, 255, 0.12);
  background: rgba(160, 204, 255, 0.08);
  color: var(--text);
  padding: 12px 14px;
  border-radius: 16px;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.helper-suggestion-grid button:hover,
.chat-suggestions button:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 240, 255, 0.24);
  background: rgba(160, 204, 255, 0.12);
}

.helper-input-row {
  margin-top: 18px;
}

.live-helper-panel {
  display: flex;
  flex-direction: column;
}

.helper-input-row .button {
  width: auto;
}

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

.trust-item {
  padding: 22px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(16, 33, 58, 0.66), rgba(8, 17, 29, 0.74)),
    rgba(10, 21, 38, 0.74);
  border: 1px solid rgba(160, 204, 255, 0.14);
  box-shadow: var(--glow-soft);
}

.trust-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.08rem;
  letter-spacing: -0.03em;
}

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

.chat-thread {
  background: rgba(8, 17, 29, 0.52);
}

.chat-bubble {
  max-width: 92%;
}

.chat-bubble.assistant {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.button,
.tool-card,
.resource-link-card,
.surface-card {
  will-change: transform;
}

@keyframes pulseOnline {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(82, 255, 152, 0.42);
    opacity: 1;
  }

  50% {
    box-shadow: 0 0 0 8px rgba(82, 255, 152, 0);
    opacity: 0.9;
  }
}

@media (max-width: 960px) {
  .command-layout,
  .resource-link-grid,
  .trust-strip,
  .trust-note-grid {
    grid-template-columns: 1fr;
  }

  .tool-intake-card {
    position: relative;
    top: 0;
  }

  .live-helper-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .resource-link-card,
  .trust-item,
  .mini-surface {
    padding: 18px;
  }

  .helper-input-row .button {
    width: 100%;
  }
}

.scan-value,
.result-summary,
.chat-bubble,
.resource-example,
.tool-card p,
.faq-item p,
.helper-text,
.inline-message,
.muted-copy,
.panel-subtitle,
.section-side-note {
  overflow-wrap: anywhere;
}

@media (max-width: 840px) {
  .nav-actions .button {
    display: none;
  }

  .nav-frame {
    gap: 12px;
    padding: 12px 14px;
  }

  .site-logo {
    gap: 10px;
    min-width: 0;
    font-size: 0.94rem;
  }

  .logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    flex-shrink: 0;
  }

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

  .logo-copy small {
    font-size: 0.62rem;
    line-height: 1.15;
    white-space: normal;
  }

  .mobile-panel {
    margin-top: 10px;
    padding: 14px;
    border-radius: 22px;
  }

  .urgent-strip {
    margin-top: 10px;
    padding: 14px;
    border-radius: 22px;
  }
}

@media (max-width: 720px) {
  .hero-section,
  .page-hero {
    padding-top: 30px;
    padding-bottom: 18px;
  }

  .hero-panel,
  .page-hero-panel,
  .footer-shell {
    padding: 24px 18px;
  }

  .home-band,
  .home-band--scanner,
  .home-band--ticker {
    padding: 20px 18px;
    border-radius: 26px;
  }

  .panel,
  .content-card,
  .surface-card,
  .tool-card,
  .stat-card,
  .signal-card,
  .story-card,
  .playbook-card,
  .feed-card,
  .tool-article,
  .report-card,
  .resource-link-card,
  .trust-item {
    padding: 18px;
    border-radius: 22px;
  }

  .hero-title {
    font-size: clamp(2.1rem, 12vw, 3rem);
    line-height: 1;
  }

  .page-title {
    font-size: clamp(1.95rem, 10vw, 2.7rem);
    line-height: 1.02;
  }

  .section-title {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }

  .eyebrow {
    width: 100%;
    justify-content: center;
    padding: 8px 12px;
    font-size: 0.74rem;
    line-height: 1.3;
  }

  .hero-copy > p,
  .page-hero-copy > p,
  .section-copy,
  .lead-copy {
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .hero-actions,
  .hero-meta {
    gap: 10px;
    margin-top: 20px;
  }

  .meta-pill,
  .mini-chip,
  .signal-pill {
    width: 100%;
    justify-content: center;
    padding: 10px 12px;
    font-size: 0.84rem;
  }

  .hero-orbit,
  .floating-chip {
    display: none;
  }

  .terminal-card {
    min-height: auto;
    padding: 18px;
    border-radius: 24px;
  }

  .terminal-top {
    gap: 10px;
    align-items: flex-start;
    flex-direction: column;
  }

  .command-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .scan-line {
    padding: 12px 13px;
    border-radius: 16px;
  }

  .scan-value {
    font-size: 0.9rem;
  }

  .score-panel {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .score-ring {
    width: 72px;
    height: 72px;
    font-size: 1rem;
  }

  .section-header {
    margin-bottom: 18px;
  }

  .section-side-note {
    max-width: none;
    font-size: 0.94rem;
  }

  .checker-shell {
    gap: 14px;
  }

  .panel-title {
    font-size: 1.16rem;
  }

  .panel-subtitle {
    margin-bottom: 14px;
    font-size: 0.92rem;
  }

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

  .mode-switch button {
    width: 100%;
    min-width: 0;
    padding: 10px 12px;
    font-size: 0.88rem;
    text-align: center;
  }

  .field {
    margin-bottom: 14px;
  }

  .field label {
    font-size: 0.85rem;
  }

  .field input,
  .field select,
  .field textarea,
  .chat-input-row input {
    padding: 13px 14px;
    border-radius: 16px;
    font-size: 16px;
  }

  .field textarea {
    min-height: 140px;
  }

  .upload-zone {
    padding: 18px;
    border-radius: 20px;
  }

  .upload-actions {
    gap: 10px;
  }

  .staged-loader {
    padding: 14px;
    border-radius: 18px;
  }

  .stage-row {
    align-items: flex-start;
    font-size: 0.86rem;
  }

  .result-banner,
  .detail-card,
  .compact-card {
    padding: 16px;
    border-radius: 20px;
  }

  .result-title {
    font-size: 1.4rem;
  }

  .risk-meta {
    flex-wrap: wrap;
    font-size: 0.82rem;
  }

  .action-list li {
    gap: 8px;
    font-size: 0.94rem;
  }

  .extracted-text {
    max-height: 180px;
    font-size: 0.88rem;
  }

  .tool-card-foot,
  .resource-topline {
    flex-direction: column;
    align-items: stretch;
  }

  .tool-card-foot .button {
    width: 100%;
  }

  .chat-thread {
    max-height: 320px;
  }

  .chat-bubble {
    max-width: 100%;
    padding: 12px 13px;
    border-radius: 16px;
  }

  .chat-input-row,
  .helper-input-row {
    grid-template-columns: 1fr;
  }

  .live-thread {
    min-height: 280px;
  }

  .ticker-band {
    grid-template-columns: 1fr;
    padding: 14px;
    border-radius: 24px;
  }

  .ticker-label {
    width: 100%;
    text-align: center;
  }

  .page-hero-grid,
  .hero-grid,
  .split-grid {
    gap: 16px;
  }

  .page-hero-side {
    gap: 10px;
  }

  .page-hero-motion {
    border-radius: 24px;
  }

  .tool-card-media {
    margin: 0 0 14px;
    border-radius: 20px;
  }

  .compact-card p,
  .tool-card p,
  .signal-card p,
  .feed-card p,
  .resource-link-card p,
  .panel-subtitle,
  .muted-copy {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .section {
    padding-top: 24px;
    padding-bottom: 24px;
  }
}

@media (max-width: 420px) {
  body {
    line-height: 1.55;
  }

  .site-header {
    padding: 12px 10px 0;
  }

  .nav-frame {
    padding: 10px 12px;
    gap: 10px;
  }

  .site-logo {
    gap: 8px;
    font-size: 0.88rem;
  }

  .logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .logo-copy small {
    display: none;
  }

  .hero-section,
  .page-hero,
  .section,
  .site-footer {
    padding-left: 10px;
    padding-right: 10px;
  }

  .hero-panel,
  .page-hero-panel,
  .footer-shell {
    padding: 20px 14px;
    border-radius: 20px;
  }

  .panel,
  .content-card,
  .surface-card,
  .tool-card,
  .stat-card,
  .signal-card,
  .story-card,
  .playbook-card,
  .feed-card,
  .tool-article,
  .report-card,
  .resource-link-card,
  .trust-item,
  .mini-surface {
    padding: 16px;
    border-radius: 18px;
  }

  .hero-title {
    font-size: clamp(1.85rem, 13vw, 2.45rem);
  }

  .page-title {
    font-size: clamp(1.72rem, 12vw, 2.25rem);
  }

  .section-title {
    font-size: clamp(1.42rem, 9vw, 1.9rem);
  }

  .eyebrow {
    padding: 7px 10px;
    font-size: 0.68rem;
  }

  .button {
    padding: 12px 16px;
    font-size: 0.94rem;
  }

  .score-ring {
    width: 64px;
    height: 64px;
    font-size: 0.94rem;
  }

  .scan-label {
    font-size: 0.68rem;
  }

  .scan-value {
    font-size: 0.86rem;
  }

  .mode-switch {
    grid-template-columns: 1fr;
  }

  .field input,
  .field select,
  .field textarea,
  .chat-input-row input {
    padding: 12px 13px;
  }

  .field textarea {
    min-height: 124px;
  }

  .upload-zone,
  .result-banner,
  .detail-card,
  .compact-card {
    padding: 14px;
    border-radius: 18px;
  }

  .chat-thread {
    max-height: 260px;
  }

  .live-thread {
    min-height: 240px;
  }

  .helper-presence {
    width: 100%;
    justify-content: center;
  }

  .resource-provider {
    font-size: 0.76rem;
  }
}

@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: fadeOut 0.2s ease;
}

::view-transition-new(root) {
  animation: fadeIn 0.2s ease;
}

button,
a,
[role="button"],
select,
input[type="checkbox"],
input[type="radio"] {
  min-height: 44px;
}

body.nav-open {
  overflow: hidden;
}

.hotline-fab {
  display: none;
  position: fixed;
  right: 16px;
  bottom: 80px;
  z-index: 80;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--danger);
  color: var(--ink);
  font-weight: 800;
  box-shadow: 0 4px 24px rgba(var(--danger-rgb), 0.34);
  animation: hotlinePulse 2s infinite;
}

.scanning-active .scan-input-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--primary-alpha) 50%, transparent 60%);
  animation: scanLine 1.5s linear infinite;
  pointer-events: none;
}

.result-shell[data-visible="true"] {
  animation: resultReveal 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.chat-bubble {
  animation: bubbleIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: bottom left;
}

.chat-bubble.assistant {
  transform-origin: bottom right;
}

.typing-indicator {
  display: flex;
  gap: 4px;
  width: fit-content;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  animation: typingPulse 1.4s ease infinite;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

.action-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 12px 0;
  animation: slideUp 0.3s ease;
}

.action-card--high {
  border-color: var(--warning);
  background: color-mix(in srgb, var(--warning) 8%, var(--surface-2));
}

.ac-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.ac-icon {
  display: inline-grid;
  min-width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 16px;
  background: rgba(160, 204, 255, 0.08);
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.ac-title {
  display: block;
  font-weight: 800;
  font-size: 0.98rem;
}

.ac-badge {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
}

.ac-badge--high {
  background: var(--warning);
  color: var(--ink);
}

.ac-badge--normal {
  background: var(--primary);
  color: var(--ink);
}

.ac-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.ac-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ac-field-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ac-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.ac-field-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  background: var(--surface-1);
  color: var(--text);
  font-family: inherit;
  font-size: 0.94rem;
}

.ac-field-input.is-prefilled {
  border-color: var(--primary);
  color: var(--accent);
  box-shadow: 0 0 0 3px var(--primary-alpha);
}

.ac-copy-field {
  padding: 8px 12px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  background: rgba(160, 204, 255, 0.08);
  color: var(--text);
  font-weight: 800;
}

.ac-field-hint {
  color: var(--muted);
  font-size: 0.76rem;
  font-style: italic;
}

.ac-submit-note {
  margin: 4px 0 0;
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  background: var(--surface-1);
  color: var(--text);
  font-size: 0.84rem;
}

.ac-next-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.ac-actions,
.compact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.risk-gauge {
  display: grid;
  place-items: center;
}

.risk-gauge-arc {
  transition: stroke-dashoffset 1.2s cubic-bezier(0.34, 1.56, 0.64, 1), stroke 0.3s ease;
}

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

.source-card {
  display: grid;
  gap: 6px;
  min-height: 92px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(160, 204, 255, 0.06);
}

.source-card--danger {
  border-color: rgba(var(--danger-rgb), 0.42);
  background: rgba(var(--danger-rgb), 0.1);
}

.source-card--warning {
  border-color: rgba(255, 191, 92, 0.42);
  background: rgba(255, 191, 92, 0.1);
}

.source-card--safe {
  border-color: rgba(126, 240, 179, 0.34);
  background: rgba(126, 240, 179, 0.08);
}

.source-card--unknown {
  border-color: var(--border);
}

.source-name {
  font-weight: 900;
  color: var(--text);
}

.source-verdict {
  color: var(--muted);
  font-size: 0.88rem;
}

.case-timeline {
  position: relative;
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.timeline-item {
  position: relative;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(160, 204, 255, 0.06);
}

.timeline-time {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.timeline-item p {
  margin: 6px 0 0;
  color: var(--muted);
}

.evidence-checklist {
  display: grid;
  gap: 10px;
}

.evidence-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(160, 204, 255, 0.06);
  color: var(--muted);
}

.evidence-item input:checked + span {
  color: var(--success);
  text-decoration: line-through;
}

.emergency-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  background: var(--danger);
  color: var(--ink);
  font-weight: 800;
  animation: shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

.filing-action-card {
  background:
    radial-gradient(circle at 0 0, rgba(123, 247, 198, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(16, 33, 58, 0.9), rgba(8, 17, 29, 0.84));
}

.fc-card-copy {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.fc-self-guide {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(8, 17, 29, 0.52);
  color: var(--muted);
}

.fc-self-guide ol {
  display: grid;
  gap: 10px;
  margin: 12px 0;
  padding-left: 22px;
}

.filing-copilot {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(2, 8, 18, 0.78);
  backdrop-filter: blur(16px);
}

.fc-panel {
  width: min(1120px, 100%);
  max-height: min(760px, 94vh);
  overflow: hidden;
  border: 1px solid rgba(139, 240, 255, 0.22);
  border-radius: 30px;
  background:
    radial-gradient(circle at 12% 0, rgba(139, 240, 255, 0.14), transparent 30%),
    radial-gradient(circle at 88% 100%, rgba(123, 247, 198, 0.1), transparent 30%),
    rgba(7, 17, 31, 0.98);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55);
}

.fc-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border-bottom: 1px solid var(--border);
}

.fc-head h2 {
  margin: 6px 0 8px;
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1.05;
}

.fc-head p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
}

.fc-kicker {
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fc-close {
  align-self: flex-start;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(160, 204, 255, 0.08);
  color: var(--text);
  font-weight: 800;
}

.fc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  min-height: 520px;
}

.fc-window,
.fc-chat {
  min-height: 0;
}

.fc-window {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border-right: 1px solid var(--border);
  background:
    linear-gradient(rgba(139, 240, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 240, 255, 0.035) 1px, transparent 1px),
    rgba(8, 17, 29, 0.42);
  background-size: 36px 36px;
}

.fc-window-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.86rem;
}

.fc-window-top strong {
  margin-left: 6px;
  color: var(--text);
}

.fc-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--danger);
}

.fc-dot:nth-child(2) {
  background: var(--warning);
}

.fc-dot:nth-child(3) {
  background: var(--success);
}

.fc-fields {
  display: grid;
  gap: 12px;
  padding: 18px;
  overflow: auto;
}

.fc-field {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(7, 17, 31, 0.72);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.fc-field.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(139, 240, 255, 0.08);
  transform: translateY(-1px);
}

.fc-field strong {
  display: block;
  color: var(--text);
}

.fc-field small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.fc-field-input {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(8, 17, 29, 0.72);
  color: var(--text);
  resize: vertical;
  outline: none;
}

.fc-field-input.is-prefilled {
  border-color: var(--primary);
  color: var(--accent);
}

.fc-chat {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  gap: 12px;
  padding: 18px;
}

.fc-chat-log {
  display: grid;
  align-content: start;
  gap: 10px;
  overflow: auto;
  padding-right: 4px;
}

.fc-bubble {
  max-width: 92%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(160, 204, 255, 0.08);
  color: var(--text);
  animation: bubbleIn 0.24s ease;
}

.fc-bubble.user {
  justify-self: end;
  background: rgba(139, 240, 255, 0.12);
}

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

.fc-chat-form input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(8, 17, 29, 0.72);
  color: var(--text);
  outline: none;
}

.fc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 840px) {
  .mobile-panel {
    position: fixed;
    inset: 0 0 0 28%;
    z-index: 120;
    display: flex;
    max-width: none;
    margin: 0;
    padding: min(20vh, 8rem) 1.5rem 2rem;
    border-radius: 0;
    border-width: 0 0 0 1px;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  }

  .mobile-panel.open,
  .mobile-panel[data-visible="true"] {
    transform: translateX(0);
  }

  .hotline-fab {
    display: inline-flex;
  }

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

  .result-shell {
    position: static;
    width: 100%;
  }

  .risk-meter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .result-actions,
  .ac-actions,
  .compact-actions {
    display: flex;
    flex-direction: column;
  }

  .ac-actions .button,
  .compact-actions .button {
    width: 100%;
  }

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

  .fc-choice-grid {
    grid-template-columns: 1fr;
  }

  .filing-copilot {
    align-items: stretch;
    padding: 10px;
  }

  .fc-panel {
    max-height: 96vh;
    border-radius: 22px;
  }

  .fc-head {
    padding: 18px;
    flex-direction: column;
  }

  .fc-close {
    width: 100%;
  }

  .fc-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    max-height: calc(96vh - 170px);
    overflow: auto;
  }

  .fc-window {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .fc-fields {
    max-height: 46vh;
  }

  .fc-chat {
    min-height: 360px;
  }

  .fc-actions,
  .fc-chat-form {
    grid-template-columns: 1fr;
  }

  .fc-actions .button,
  .fc-chat-form .button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .mobile-panel {
    inset-inline-start: 12%;
  }

  .helper-input-row {
    position: sticky;
    bottom: 0;
    z-index: 10;
    grid-template-columns: 1fr auto;
    padding: 12px 0;
    background: var(--surface-strong);
    border-top: 1px solid var(--border);
  }

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

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.page-hero-grid > *,
.checker-grid > *,
.mission-grid > *,
.mission-lower-grid > *,
.browser-toolbar > * {
  min-width: 0;
}

.inline-message[data-tone="error"] {
  color: var(--danger);
}

.inline-message[data-tone="warning"] {
  color: var(--warning);
}

.inline-message[data-tone="success"] {
  color: var(--success);
}

.mission-hero {
  background:
    radial-gradient(circle at 18% 24%, rgba(139, 240, 255, 0.18), transparent 28%),
    radial-gradient(circle at 82% 24%, rgba(255, 191, 92, 0.12), transparent 26%),
    radial-gradient(circle at 78% 78%, rgba(123, 247, 198, 0.12), transparent 28%),
    linear-gradient(160deg, rgba(14, 28, 49, 0.95), rgba(8, 17, 29, 0.9));
}

.mission-hero-side {
  align-self: stretch;
}

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

.lane-grid-compact .lane-card {
  min-height: 100%;
}

.lane-card {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(160, 204, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(16, 33, 58, 0.68), rgba(8, 17, 29, 0.8)),
    rgba(8, 17, 29, 0.72);
  box-shadow: var(--glow-soft);
}

.lane-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(139, 240, 255, 0.24);
  background: rgba(139, 240, 255, 0.1);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.lane-card h3 {
  margin: 18px 0 10px;
  font-family: var(--font-head);
  font-size: 1.16rem;
  letter-spacing: -0.03em;
}

.lane-card p {
  margin: 0;
  color: var(--muted);
}

.mission-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.28fr) minmax(320px, 0.82fr);
  gap: 18px;
}

.mission-lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
}

.mission-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mission-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

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

.mission-summary-card {
  min-height: 110px;
}

.mission-summary-card strong,
.browser-address strong,
.route-title {
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.mission-summary-card .section-kicker {
  display: block;
  margin-bottom: 8px;
}

.mission-inline-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(8, 17, 29, 0.42);
  border: 1px solid rgba(160, 204, 255, 0.1);
}

.mission-inline-card h3 {
  margin-top: 0;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.route-tile {
  text-align: left;
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(160, 204, 255, 0.14);
  background: rgba(160, 204, 255, 0.06);
  color: var(--text);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.route-tile:hover,
.route-tile.active {
  transform: translateY(-2px);
  border-color: rgba(139, 240, 255, 0.32);
  background: rgba(52, 200, 255, 0.12);
}

.route-copy {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.hero-meta-secondary {
  margin-top: 14px;
}

.home-entry-band {
  background:
    radial-gradient(circle at 16% 18%, rgba(139, 240, 255, 0.16), transparent 22%),
    radial-gradient(circle at 84% 82%, rgba(123, 247, 198, 0.1), transparent 24%),
    linear-gradient(160deg, rgba(13, 28, 49, 0.9), rgba(8, 17, 29, 0.84));
}

.home-entry-grid {
  margin-top: 10px;
}

.home-entry-band .route-tile {
  min-height: 182px;
  align-content: start;
  gap: 10px;
}

.home-entry-band .route-tile strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.18rem;
  letter-spacing: -0.04em;
}

.home-entry-band .route-copy {
  margin: 0;
}

.home-entry-actions {
  margin-top: 22px;
}

.browser-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(160, 204, 255, 0.14);
  background: rgba(8, 17, 29, 0.48);
}

.browser-address {
  display: grid;
  gap: 5px;
}

.browser-address span {
  color: var(--muted);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

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

.mode-switch-inline {
  margin-bottom: 0;
}

.browser-actions .button,
.browser-actions .mode-switch {
  width: auto;
}

.icon-button {
  padding-inline: 16px;
}

.browser-frame-wrap {
  position: relative;
  min-height: 640px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(160, 204, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0.96), rgba(236, 244, 255, 0.92)),
    #f6f9ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 18px 54px rgba(5, 12, 24, 0.36);
}

.browser-dock-state {
  position: absolute;
  inset: 18px;
  z-index: 2;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  padding: 26px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(246, 250, 255, 0.96), rgba(236, 244, 255, 0.94));
  border: 1px solid rgba(160, 204, 255, 0.22);
  text-align: center;
  color: #16304f;
  box-shadow: 0 20px 48px rgba(19, 44, 88, 0.12);
}

.browser-dock-state strong {
  font-family: var(--font-head);
  font-size: 1.08rem;
  letter-spacing: -0.03em;
}

.browser-dock-state p {
  margin: 0;
  max-width: 32ch;
  color: #4a6686;
  line-height: 1.5;
}

.browser-dock-state.is-loading::after {
  content: "";
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid rgba(52, 200, 255, 0.18);
  border-top-color: rgba(52, 200, 255, 0.8);
  animation: spinLoader 0.9s linear infinite;
}

.browser-frame {
  display: block;
  width: 100%;
  height: 640px;
  border: 0;
  background: #ffffff;
}

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

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

.mini-stat {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(160, 204, 255, 0.07);
  border: 1px solid rgba(160, 204, 255, 0.1);
  display: grid;
  gap: 6px;
}

.mini-stat span {
  color: var(--muted-2);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mini-stat strong {
  font-size: 1rem;
}

.browser-form-block {
  padding: 14px 0;
  border-top: 1px solid rgba(160, 204, 255, 0.08);
}

.browser-form-block:first-child {
  padding-top: 0;
  border-top: 0;
}

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

.browser-field-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(160, 204, 255, 0.05);
  color: var(--muted);
  font-size: 0.9rem;
}

.browser-field-row strong {
  color: var(--text);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.queue-stack {
  display: grid;
  gap: 12px;
}

.queue-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(160, 204, 255, 0.12);
  background: rgba(8, 17, 29, 0.46);
}

.queue-item--danger {
  border-color: rgba(var(--danger-rgb), 0.34);
  background: rgba(var(--danger-rgb), 0.08);
}

.queue-item--warning {
  border-color: rgba(255, 191, 92, 0.22);
  background: rgba(255, 191, 92, 0.08);
}

.queue-count {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(139, 240, 255, 0.18), rgba(52, 200, 255, 0.08));
  border: 1px solid rgba(139, 240, 255, 0.2);
  font-weight: 800;
}

.queue-copy {
  display: grid;
  gap: 8px;
}

.queue-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.queue-row strong {
  font-family: var(--font-head);
  letter-spacing: -0.03em;
}

.queue-copy p,
.queue-empty {
  margin: 0;
  color: var(--muted);
}

.queue-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(160, 204, 255, 0.14);
  background: rgba(160, 204, 255, 0.06);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.mission-copilot {
  min-height: 100%;
}

.mission-thread {
  min-height: 280px;
  flex: 1;
}

.helper-input-row {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.mission-input-row {
  margin-top: auto;
  grid-template-columns: minmax(0, 1fr) auto;
}

.resource-toolbar {
  display: grid;
  grid-template-columns: minmax(200px, 0.4fr) minmax(0, 1fr);
  gap: 14px;
}

.resource-results {
  display: grid;
  gap: 10px;
}

.resource-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(160, 204, 255, 0.12);
  background: rgba(8, 17, 29, 0.42);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.resource-row:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 240, 255, 0.28);
  background: rgba(160, 204, 255, 0.08);
}

.resource-row-main {
  display: grid;
  gap: 6px;
}

.resource-row-main strong {
  font-family: var(--font-head);
  letter-spacing: -0.03em;
}

.resource-row-main p {
  margin: 0;
  color: var(--muted);
}

.resource-row-meta {
  display: grid;
  gap: 8px;
  text-align: right;
  color: var(--muted-2);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 1240px) {
  .mission-grid,
  .mission-lower-grid,
  .browser-inspector-grid {
    grid-template-columns: 1fr;
  }

  .browser-frame-wrap,
  .browser-frame {
    min-height: 560px;
    height: 560px;
  }
}

@media (max-width: 960px) {
  .lane-grid {
    grid-template-columns: 1fr;
  }

  .mission-summary-strip,
  .mini-stat-grid,
  .resource-toolbar {
    grid-template-columns: 1fr;
  }

  .browser-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .browser-actions .button,
  .browser-actions .mode-switch {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .mission-panel-head,
  .queue-row,
  .resource-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .browser-frame-wrap,
  .browser-frame {
    min-height: 480px;
    height: 480px;
  }

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

@media (max-width: 560px) {
  .helper-input-row {
    grid-template-columns: 1fr;
  }

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

  .browser-frame-wrap,
  .browser-frame {
    min-height: 420px;
    height: 420px;
  }

  .queue-item {
    grid-template-columns: 1fr;
  }

  .queue-count {
    width: 30px;
    height: 30px;
  }

  .resource-row-meta {
    text-align: left;
  }
}

@keyframes scanLine {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

@keyframes resultReveal {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes bubbleIn {
  from {
    opacity: 0;
    transform: scale(0.85) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes typingPulse {
  0%,
  80%,
  100% {
    opacity: 0.4;
    transform: scale(0.8);
  }
  40% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes hotlinePulse {
  0%,
  100% {
    box-shadow: 0 4px 20px rgba(var(--danger-rgb), 0.3);
  }
  50% {
    box-shadow: 0 4px 30px rgba(var(--danger-rgb), 0.6);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  20%,
  60% {
    transform: translateX(-4px);
  }
  40%,
  80% {
    transform: translateX(4px);
  }
}

.live-workspace-page {
  position: relative;
}

.live-workspace-page .section {
  padding-top: 24px;
  padding-bottom: 28px;
}

.live-workspace-hero {
  padding: 46px 46px 42px;
  background:
    radial-gradient(circle at 16% 18%, rgba(139, 240, 255, 0.2), transparent 24%),
    radial-gradient(circle at 84% 20%, rgba(123, 247, 198, 0.14), transparent 24%),
    linear-gradient(160deg, rgba(14, 28, 49, 0.96), rgba(8, 17, 29, 0.92));
}

.live-workspace-hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 20px;
  align-items: stretch;
}

.live-workspace-hero .page-title {
  max-width: 12ch;
}

.live-workspace-hero .page-hero-copy > p {
  max-width: 62ch;
}

.live-workspace-hero .page-hero-side {
  gap: 12px;
}

.live-workspace-hero .compact-card {
  border-radius: 20px;
  background: rgba(7, 17, 31, 0.5);
}

.helper-workspace-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.78fr) minmax(0, 1.22fr);
  gap: 20px;
  align-items: start;
}

.helper-workspace-grid > * {
  min-width: 0;
}

.workspace-chat-panel,
.workspace-dock-panel {
  padding: 24px;
  border-radius: 28px;
}

.workspace-chat-panel {
  display: grid;
  gap: 14px;
  align-self: start;
}

.workspace-chat-panel .panic-preset-grid {
  margin-bottom: 4px;
}

.workspace-chat-panel .field,
.workspace-dock-panel .field,
.live-workspace-page .field-grid {
  margin-bottom: 0;
}

.workspace-chat-panel .field-grid {
  gap: 12px;
}

.workspace-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

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

.panic-preset {
  min-height: 46px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(160, 204, 255, 0.14);
  background: rgba(7, 17, 31, 0.62);
  color: var(--text);
  font: inherit;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.panic-preset:hover {
  transform: translateY(-1px);
  border-color: rgba(139, 240, 255, 0.34);
  background: rgba(11, 24, 41, 0.82);
}

.workspace-details {
  border-radius: 20px;
  border: 1px solid rgba(160, 204, 255, 0.1);
  background: rgba(7, 17, 31, 0.46);
  padding: 14px 16px 16px;
}

.workspace-details summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 700;
  list-style: none;
}

.workspace-details summary::-webkit-details-marker {
  display: none;
}

.workspace-details[open] summary {
  margin-bottom: 14px;
}

.workspace-actions .button {
  width: 100%;
}

.workspace-thread {
  min-height: 360px;
  max-height: 560px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(160, 204, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(10, 21, 38, 0.9), rgba(8, 17, 29, 0.84)),
    rgba(8, 17, 29, 0.78);
  overflow: auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.workspace-thread .chat-bubble {
  max-width: min(92%, 34rem);
}

.workspace-chat-input {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 0;
}

.workspace-chat-input .button {
  min-height: 48px;
}

.workspace-dock-panel {
  display: grid;
  gap: 16px;
}

.workspace-dock-panel .route-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.workspace-dock-panel .route-tile {
  min-height: 104px;
  align-content: start;
}

.workspace-dock-panel .browser-toolbar {
  gap: 16px;
  padding: 18px;
  border-radius: 24px;
}

.workspace-dock-panel .browser-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 10px;
  width: 100%;
}

.workspace-dock-panel .browser-actions .mode-switch-inline {
  grid-column: 1 / -1;
}

.workspace-dock-panel .browser-actions .button {
  width: 100%;
  min-height: 48px;
}

.browser-frame-wrap--workspace {
  min-height: min(80vh, 920px);
  height: min(80vh, 920px);
  border-radius: 26px;
}

.browser-frame--workspace {
  height: min(80vh, 920px);
}

.workspace-dock-panel .browser-inspector-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.workspace-dock-panel .mission-inline-card {
  min-height: 100%;
}

.workspace-dock-panel .browser-form-block {
  padding-top: 12px;
}

.workspace-dock-panel .browser-field-row {
  align-items: center;
}

.live-workspace-page .resource-toolbar {
  grid-template-columns: minmax(220px, 0.4fr) minmax(0, 1fr);
}

.live-workspace-page .resource-results {
  max-height: 760px;
  overflow: auto;
  padding-right: 4px;
}

.live-workspace-page .lane-grid-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.live-workspace-page .lane-card {
  padding: 20px;
}

@media (max-width: 1240px) {
  .helper-workspace-grid,
  .live-workspace-page .mission-lower-grid {
    grid-template-columns: 1fr;
  }

  .browser-frame-wrap--workspace {
    min-height: min(74vh, 860px);
    height: min(74vh, 860px);
  }

  .browser-frame--workspace {
    height: min(74vh, 860px);
  }
}

@media (max-width: 960px) {
  .live-workspace-hero {
    padding: 34px 26px 30px;
  }

  .live-workspace-hero-grid,
  .live-workspace-page .lane-grid-compact,
  .workspace-dock-panel .browser-inspector-grid {
    grid-template-columns: 1fr;
  }

  .workspace-actions,
  .panic-preset-grid,
  .workspace-chat-panel .field-grid {
    grid-template-columns: 1fr;
  }

  .workspace-chat-panel,
  .workspace-dock-panel {
    padding: 20px;
  }

  .browser-frame-wrap--workspace {
    min-height: 72vh;
    height: 72vh;
  }

  .browser-frame--workspace {
    height: 72vh;
  }
}

@media (max-width: 720px) {
  .live-workspace-page .page-hero,
  .live-workspace-page .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .workspace-chat-panel,
  .workspace-dock-panel {
    padding: 18px;
    border-radius: 24px;
  }

  .workspace-chat-input {
    grid-template-columns: 1fr;
  }

  .workspace-thread {
    min-height: 300px;
    max-height: 420px;
  }

  .workspace-dock-panel .browser-actions,
  .panic-preset-grid {
    grid-template-columns: 1fr 1fr;
  }

  .browser-frame-wrap--workspace {
    min-height: 68vh;
    height: 68vh;
  }

  .browser-frame--workspace {
    height: 68vh;
  }

  .browser-dock-state {
    inset: 12px;
    padding: 20px 16px;
  }
}

@media (max-width: 560px) {
  .live-workspace-hero {
    padding: 24px 18px 18px;
  }

  .live-workspace-hero .page-title {
    max-width: none;
  }

  .live-workspace-hero .page-hero-side {
    display: none;
  }

  .workspace-chat-panel,
  .workspace-dock-panel {
    padding: 16px;
  }

  .workspace-chat-input {
    position: static;
    bottom: auto;
    z-index: auto;
    padding: 8px 0 0;
    background: none;
  }

  .workspace-dock-panel .browser-actions {
    grid-template-columns: 1fr;
  }

  .panic-preset-grid {
    grid-template-columns: 1fr;
  }

  .browser-frame-wrap--workspace {
    min-height: 300px;
    height: 300px;
  }

  .browser-frame--workspace {
    height: 300px;
  }

  .live-workspace-page .resource-results {
    max-height: none;
    overflow: visible;
  }

  .workspace-dock-panel .browser-inspector-grid {
    display: none;
  }
}

@keyframes spinLoader {
  to {
    transform: rotate(360deg);
  }
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.cluster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.cluster-card {
  height: 100%;
}

.cluster-card h3 {
  margin: 10px 0 12px;
  font-family: var(--font-head);
  font-size: 1.3rem;
  letter-spacing: -0.04em;
}

.cluster-card p {
  margin: 0;
  color: var(--muted);
}

.blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 24px;
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(16, 33, 58, 0.74), rgba(8, 17, 29, 0.78)),
    rgba(10, 21, 38, 0.74);
  border: 1px solid rgba(160, 204, 255, 0.14);
  box-shadow: var(--glow-soft);
}

.blog-card::after {
  content: "";
  position: absolute;
  inset: auto 14px 14px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 240, 255, 0.12), transparent 66%);
  opacity: 0.78;
  pointer-events: none;
}

.blog-card > * {
  position: relative;
}

.blog-card-media {
  position: relative;
  display: block;
  overflow: hidden;
  margin: -8px -8px 18px;
  border-radius: 24px;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(160, 204, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(160, 204, 255, 0.14), rgba(8, 17, 29, 0.12)),
    rgba(8, 17, 29, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.blog-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 28%, rgba(7, 17, 31, 0.18)),
    linear-gradient(135deg, transparent 52%, rgba(139, 240, 255, 0.12));
  pointer-events: none;
}

.blog-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.55s ease;
}

.blog-card:hover .blog-card-media img,
.blog-card:focus-within .blog-card-media img {
  transform: scale(1.035);
  filter: saturate(1.04);
}

.blog-card h3 {
  margin: 14px 0 10px;
  font-family: var(--font-head);
  font-size: 1.24rem;
  letter-spacing: -0.04em;
}

.blog-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.blog-card .hero-actions,
.blog-card .link-arrow {
  margin-top: auto;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.blog-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(160, 204, 255, 0.08);
  border: 1px solid rgba(160, 204, 255, 0.1);
  color: var(--muted);
  font-size: 0.82rem;
}

.auto-language-hidden {
  display: none !important;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

.article-main,
.article-sidebar {
  display: grid;
  gap: 18px;
}

.article-sidebar {
  position: sticky;
  top: 112px;
}

.article-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.article-breadcrumbs span {
  color: var(--muted-2);
}

.article-breadcrumbs a {
  color: var(--accent);
}

.article-prose {
  display: grid;
  gap: 18px;
}

.article-prose h2,
.article-prose h3 {
  margin: 0;
  font-family: var(--font-head);
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.article-prose h2 {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.article-prose h3 {
  font-size: 1.1rem;
}

.article-prose p {
  margin: 0;
  color: var(--muted);
}

.article-updated {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.94rem;
}

.article-section {
  display: grid;
  gap: 14px;
}

.article-callout {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 191, 92, 0.18);
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 191, 92, 0.12), transparent 24%),
    rgba(13, 24, 41, 0.8);
}

.article-callout strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-head);
  font-size: 1rem;
}

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

.stat-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(160, 204, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(160, 204, 255, 0.08), rgba(8, 17, 29, 0.05)),
    rgba(160, 204, 255, 0.04);
}

.stat-card strong {
  display: block;
  margin-top: 10px;
  font-size: 1.28rem;
  line-height: 1.2;
}

.stat-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.article-steps {
  margin: 6px 0 0;
  padding-left: 24px;
  display: grid;
  gap: 16px;
}

.article-steps li {
  padding-left: 8px;
}

.article-steps li::marker {
  font-weight: 800;
  color: var(--accent);
}

.article-steps strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
  line-height: 1.45;
}

.article-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.table-wrap {
  overflow-x: auto;
}

.signal-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.signal-table th,
.signal-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(160, 204, 255, 0.12);
  text-align: left;
  vertical-align: top;
}

.signal-table th {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.signal-table td {
  line-height: 1.7;
}

.scam-shot {
  margin-top: 10px;
  padding: 18px;
  border-radius: 28px;
  border: 1px solid rgba(160, 204, 255, 0.12);
  background:
    radial-gradient(circle at 82% 16%, rgba(121, 228, 255, 0.12), transparent 24%),
    linear-gradient(160deg, rgba(9, 19, 32, 0.96), rgba(12, 29, 44, 0.88));
  box-shadow: 0 18px 46px rgba(7, 17, 31, 0.22);
}

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

.scam-shot-head strong,
.scam-shot-head span {
  color: #eef8ff;
}

.scam-shot-head span {
  font-size: 0.86rem;
  opacity: 0.82;
}

.scam-shot-body {
  display: grid;
  gap: 12px;
}

.scam-bubble {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(160, 204, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #eff8ff;
  line-height: 1.7;
}

.scam-bubble--accent {
  background: linear-gradient(135deg, rgba(57, 184, 255, 0.2), rgba(121, 228, 255, 0.14));
  border-color: rgba(121, 228, 255, 0.24);
}

.cta-panel {
  margin-top: 8px;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(57, 184, 255, 0.16);
  background:
    radial-gradient(circle at 16% 16%, rgba(57, 184, 255, 0.12), transparent 24%),
    rgba(57, 184, 255, 0.05);
}

.cta-panel strong {
  display: block;
  font-size: 1rem;
}

.cta-panel p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.75;
}

.blog-search-shell {
  display: grid;
}

.blog-search-input {
  width: 100%;
  min-height: 62px;
  padding: 0 20px;
  border-radius: 20px;
  border: 1px solid rgba(160, 204, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font: inherit;
}

.blog-search-input::placeholder {
  color: var(--muted);
}

.seo-table-wrap {
  border-radius: 28px;
  border: 1px solid rgba(160, 204, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(160, 204, 255, 0.07), rgba(8, 17, 29, 0.04)),
    rgba(255, 255, 255, 0.02);
}

.seo-table th:nth-child(1),
.seo-table td:nth-child(1) {
  width: 56px;
}

.seo-table th:nth-child(3),
.seo-table td:nth-child(3) {
  width: 100px;
}

.seo-table th:nth-child(4),
.seo-table td:nth-child(4) {
  width: 140px;
}

.seo-table td a {
  font-weight: 700;
}

.meta-pill--very-easy {
  background: rgba(126, 240, 195, 0.16);
}

.meta-pill--easy {
  background: rgba(121, 228, 255, 0.14);
}

.meta-pill--medium {
  background: rgba(156, 184, 255, 0.14);
}

.meta-pill--high {
  background: rgba(255, 157, 176, 0.16);
}

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

.toc-list a {
  display: block;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(160, 204, 255, 0.1);
  background: rgba(160, 204, 255, 0.06);
  color: var(--text);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.toc-list a:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 240, 255, 0.24);
  background: rgba(160, 204, 255, 0.1);
}

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

.article-hero-panel {
  background:
    radial-gradient(circle at 18% 18%, rgba(139, 240, 255, 0.14), transparent 24%),
    radial-gradient(circle at 84% 82%, rgba(255, 191, 92, 0.08), transparent 24%),
    linear-gradient(160deg, rgba(14, 28, 49, 0.92), rgba(8, 17, 29, 0.84));
}

.article-hero-art {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 28px;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(160, 204, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(160, 204, 255, 0.14), rgba(8, 17, 29, 0.12)),
    rgba(8, 17, 29, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 40px rgba(5, 13, 24, 0.2);
}

.article-hero-art::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 30%;
  background: linear-gradient(180deg, transparent, rgba(7, 17, 31, 0.2));
  pointer-events: none;
}

.article-hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-hero-art--collection {
  aspect-ratio: 16 / 9;
}

@media (max-width: 960px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
    top: auto;
  }

  .related-read-grid {
    grid-template-columns: 1fr 1fr;
  }

  .blog-card-media {
    margin: -4px -4px 16px;
    border-radius: 22px;
  }

  .article-hero-art {
    border-radius: 24px;
  }

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

@media (max-width: 720px) {
  .related-read-grid {
    grid-template-columns: 1fr;
  }

  .blog-card-media {
    margin: 0 0 14px;
    border-radius: 20px;
  }

  .article-hero-art {
    border-radius: 22px;
  }

  .signal-table {
    min-width: 640px;
  }
}

@media (max-width: 720px) {
  .page-main {
    display: flex;
    flex-direction: column;
  }

  #scanner-workspace {
    order: -1;
    margin-top: 0;
    padding-top: 0;
  }

  .hero-meta {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
  }

  .meta-pill {
    width: auto !important;
    padding: 5px 10px;
    font-size: 0.75rem;
    justify-content: flex-start;
    text-align: left;
  }

  .hero-live-card.tilt-surface {
    transform: none !important;
    perspective: none;
  }

  .hero-live-card {
    margin-top: 16px;
    padding: 16px;
    border-radius: 20px;
    min-height: auto;
  }

  .hero-live-card .command-layout {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-live-card .hero-mini-stack {
    display: none;
  }

  .hero-live-card .score-panel {
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: center;
  }

  .hero-live-card .terminal-top {
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 560px) {
  .hero-actions .button-ghost {
    display: none;
  }

  .upload-zone {
    min-height: 54px;
    margin-bottom: 14px;
  }

  #analyze-button {
    margin-top: 12px;
    padding: 15px;
    font-size: 1rem;
    letter-spacing: 0.01em;
  }

  .chat-thread {
    max-height: 400px;
  }

  .live-thread {
    min-height: 320px;
  }

  .hero-title {
    font-size: clamp(1.5rem, 8.4vw, 2rem);
  }

  .page-title {
    font-size: clamp(1.42rem, 7.8vw, 1.88rem);
  }

  .section-title,
  .panel-title,
  .result-title {
    font-size: clamp(1.14rem, 6.2vw, 1.5rem);
  }

  .button {
    padding: 11px 14px;
    font-size: 0.88rem;
  }

  .panel-subtitle,
  .hero-copy p,
  .section-side-note,
  .scan-value,
  .chat-bubble,
  .helper-text {
    font-size: 0.84rem;
    line-height: 1.45;
  }
}

.nav-link,
.nav-actions .button,
.hero-actions .button {
  white-space: nowrap;
}

.nav-actions {
  flex-wrap: nowrap;
}

@media (min-width: 1280px) {
  .nav-frame,
  .hero-frame,
  .page-hero-frame,
  .section-frame,
  .footer-frame,
  .mobile-panel,
  .urgent-strip {
    max-width: min(1480px, calc(100vw - 44px));
  }

  .nav-frame {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
    padding: 12px 18px;
  }

  .nav-links {
    min-width: 0;
    justify-content: center;
    gap: 8px;
  }

  .nav-link {
    padding: 9px 12px;
    font-size: 0.92rem;
  }

  .nav-actions {
    justify-self: end;
    gap: 10px;
  }

  .nav-actions .button,
  .theme-toggle {
    min-height: 44px;
    padding: 10px 16px;
  }

  [data-page="home"] .hero-section {
    padding-top: 28px;
    padding-bottom: 26px;
  }

  [data-page="home"] .hero-panel {
    padding: 48px clamp(30px, 3vw, 46px) 56px;
  }

  [data-page="home"] .hero-grid {
    grid-template-columns: minmax(0, 1.14fr) minmax(340px, 0.82fr);
    gap: 24px;
    align-items: start;
  }

  [data-page="home"] .hero-copy > p {
    max-width: 52ch;
    font-size: 1rem;
    line-height: 1.56;
  }

  [data-page="home"] .hero-title {
    max-width: none;
    margin: 10px 0 14px;
    font-size: clamp(3.1rem, 4.7vw, 4.55rem);
    line-height: 0.92;
  }

  [data-page="home"] .hero-actions {
    margin-top: 18px;
    gap: 12px;
  }

  [data-page="home"] .hero-actions .button {
    padding: 12px 17px;
    font-size: 0.94rem;
  }

  [data-page="home"] .hero-meta {
    margin-top: 14px;
    gap: 9px;
  }

  [data-page="home"] .hero-meta .meta-pill {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  [data-page="home"] .hero-stack {
    gap: 12px;
  }

  [data-page="home"] .hero-orbit {
    width: 88px;
    height: 88px;
  }

  [data-page="home"] .hero-live-card,
  [data-page="home"] .terminal-card {
    min-height: 0;
    padding: 20px 20px 18px;
    border-radius: 32px;
  }

  [data-page="home"] .hero-live-card.tilt-surface {
    transform: perspective(1400px) rotateY(calc(-6deg + var(--rotate-y, 0deg))) rotateX(calc(4deg + var(--rotate-x, 0deg))) translateY(0);
  }

  [data-page="home"] .hero-live-card .terminal-top {
    padding-bottom: 8px;
    padding-right: 82px;
    font-size: 0.8rem;
  }

  [data-page="home"] .hero-live-card .command-layout {
    grid-template-columns: minmax(0, 1fr) 170px;
    gap: 12px;
  }

  [data-page="home"] .hero-live-card .signal-cluster,
  [data-page="home"] .hero-live-card .hero-mini-stack {
    gap: 10px;
  }

  [data-page="home"] .hero-live-card .scan-line {
    padding: 10px 12px;
    border-radius: 16px;
  }

  [data-page="home"] .hero-live-card .scan-label {
    font-size: 0.62rem;
    letter-spacing: 0.06em;
  }

  [data-page="home"] .hero-live-card .scan-value {
    margin-top: 5px;
    font-size: 0.8rem;
    line-height: 1.42;
  }

  [data-page="home"] .hero-live-card .mini-surface {
    padding: 11px 12px;
    border-radius: 22px;
  }

  [data-page="home"] .hero-live-card .mini-surface strong {
    margin-top: 4px;
    font-size: 0.87rem;
    line-height: 1.24;
  }

  [data-page="home"] .hero-live-card .mini-surface p {
    margin-top: 5px;
    font-size: 0.76rem;
    line-height: 1.38;
  }

  [data-page="home"] .hero-live-card .score-panel {
    gap: 12px;
    margin-top: 12px;
  }

  [data-page="home"] .hero-live-card .score-ring {
    width: 68px;
    height: 68px;
    font-size: 0.95rem;
  }

  [data-page="home"] .hero-live-card .score-summary strong {
    font-size: 0.9rem;
  }

  [data-page="home"] .hero-live-card .score-summary p {
    font-size: 0.74rem;
    line-height: 1.34;
  }

  [data-page="home"] .floating-chip.top {
    top: 14px;
    right: 14px;
  }

  [data-page="home"] .floating-chip.bottom {
    display: none;
  }
}

@media (min-width: 1280px) and (max-height: 940px) {
  [data-page="home"] .site-header {
    padding-top: 14px;
  }

  [data-page="home"] .hero-section {
    padding-top: 20px;
    padding-bottom: 24px;
  }

  [data-page="home"] .hero-panel {
    padding: 40px 32px 48px;
  }

  [data-page="home"] .hero-grid {
    gap: 20px;
  }

  [data-page="home"] .hero-title {
    font-size: clamp(2.85rem, 4.15vw, 4.05rem);
    line-height: 0.88;
  }

  [data-page="home"] .hero-copy > p {
    font-size: 0.94rem;
    line-height: 1.5;
  }

  [data-page="home"] .hero-actions {
    margin-top: 16px;
  }

  [data-page="home"] .hero-actions .button {
    padding: 11px 15px;
    font-size: 0.9rem;
  }

  [data-page="home"] .hero-meta {
    margin-top: 12px;
    gap: 8px;
  }

  [data-page="home"] .hero-meta .meta-pill {
    padding: 8px 11px;
    font-size: 0.78rem;
  }

  [data-page="home"] .hero-meta-secondary {
    display: none;
  }

  [data-page="home"] .hero-live-card,
  [data-page="home"] .terminal-card {
    padding: 18px;
  }

  [data-page="home"] .hero-live-card .command-layout {
    grid-template-columns: minmax(0, 1fr) 148px;
  }

  [data-page="home"] .hero-live-card .mini-surface:last-child {
    display: none;
  }
}

.field-hidden {
  display: none !important;
}

.helper-route-card {
  margin-top: 14px;
  border-style: dashed;
}

.helper-route-card .muted-copy {
  margin: 12px 0 0;
}

.helper-route-card .ac-actions {
  margin-top: 14px;
}

.workspace-details summary {
  position: relative;
  padding-right: 28px;
}

.workspace-details summary::after {
  content: "▾";
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 0.9rem;
  transition: transform var(--transition), color var(--transition);
}

.workspace-details[open] summary::after {
  transform: translateY(-50%) rotate(180deg);
  color: var(--accent);
}

.panic-preset {
  min-height: 0;
  padding: 12px 14px;
  font-size: 0.96rem;
  line-height: 1.25;
}

.workspace-dock-panel .route-grid {
  gap: 10px;
}

.workspace-dock-panel .route-tile {
  padding: 12px 14px;
}

.workspace-dock-panel .route-copy {
  font-size: 0.78rem;
  line-height: 1.35;
}

.workspace-dock-panel .browser-toolbar {
  gap: 10px;
}

.workspace-dock-panel .browser-address strong {
  font-size: 0.96rem;
}

.workspace-dock-panel .browser-address span,
.workspace-dock-panel .inline-message,
.workspace-dock-panel .queue-copy p,
.workspace-chat-panel .panel-subtitle,
.workspace-chat-panel .helper-text,
.workspace-chat-panel .chat-bubble,
.result-summary,
.action-list li {
  font-size: 0.9rem;
  line-height: 1.45;
}

.browser-frame-wrap--workspace {
  min-height: 540px;
}

.browser-frame--workspace {
  min-height: 540px;
}

.browser-dock-state {
  inset: 16px 16px auto auto;
  max-width: 240px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(7, 14, 24, 0.82);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.browser-dock-state strong {
  font-size: 0.86rem;
}

.browser-dock-state p {
  font-size: 0.76rem;
  line-height: 1.35;
}

@media (max-width: 960px) {
  .nav-actions .button {
    padding-inline: 16px;
  }

  .workspace-dock-panel .browser-actions {
    gap: 8px;
  }

  .browser-frame-wrap--workspace,
  .browser-frame--workspace {
    min-height: 500px;
  }
}

@media (max-width: 720px) {
  .nav-frame {
    gap: 10px;
  }

  .nav-link {
    font-size: 0.92rem;
  }

  .nav-actions .button {
    padding: 10px 14px;
    font-size: 0.86rem;
  }

  .page-title,
  .hero-title {
    letter-spacing: -0.05em;
  }

  .workspace-chat-panel .panel-title,
  .workspace-dock-panel .panel-title,
  .result-title {
    font-size: clamp(1.08rem, 5.4vw, 1.34rem);
  }

  .workspace-chat-panel .panel-subtitle,
  .workspace-dock-panel .panel-subtitle,
  .result-summary,
  .action-list li,
  .helper-text,
  .chat-bubble,
  .browser-address span,
  .queue-copy p {
    font-size: 0.84rem;
    line-height: 1.42;
  }

  .panic-preset-grid {
    gap: 8px;
  }

  .panic-preset {
    padding: 11px 12px;
    font-size: 0.86rem;
  }

  .workspace-actions .button,
  .workspace-dock-panel .browser-actions .button,
  .hero-actions .button {
    padding: 10px 13px;
    font-size: 0.84rem;
  }

  .browser-frame-wrap--workspace,
  .browser-frame--workspace {
    min-height: 440px;
  }

  .browser-dock-state {
    inset: 10px 10px auto auto;
    max-width: 188px;
    padding: 10px 12px;
  }
}

@media (max-width: 560px) {
  .nav-actions .button {
    font-size: 0.8rem;
    padding: 9px 12px;
  }

  .page-title,
  .hero-title {
    font-size: clamp(1.36rem, 7vw, 1.86rem);
  }

  .panel-title,
  .section-title,
  .result-title {
    font-size: clamp(1.02rem, 5.2vw, 1.24rem);
  }

  .workspace-chat-panel .panel-subtitle,
  .workspace-dock-panel .panel-subtitle,
  .result-summary,
  .action-list li,
  .helper-text,
  .chat-bubble,
  .queue-copy p,
  .browser-address span,
  .browser-dock-state p {
    font-size: 0.78rem;
    line-height: 1.38;
  }

  .workspace-chat-panel .field label,
  .workspace-dock-panel .inline-message,
  .meta-pill {
    font-size: 0.74rem;
  }

  .panic-preset-grid {
    grid-template-columns: 1fr 1fr;
  }

  .panic-preset,
  .workspace-actions .button,
  .workspace-dock-panel .browser-actions .button,
  .hero-actions .button,
  .mode-switch button {
    font-size: 0.79rem;
    padding: 10px 12px;
  }

  .browser-frame-wrap--workspace,
  .browser-frame--workspace {
    min-height: 380px;
  }
}

.nav-links .nav-link,
.nav-actions .button,
.mobile-panel .button,
.hero-actions .button {
  white-space: nowrap;
}

@media (max-width: 820px) {
  :root {
    --radius-sm: 16px;
    --radius-md: 18px;
    --radius-lg: 22px;
    --radius-xl: 24px;
  }

  html {
    scroll-behavior: auto;
  }

  body {
    background: linear-gradient(180deg, #07111f 0%, #081321 100%);
  }

  body::before,
  body::after,
  #scene-canvas,
  .hero-orbit,
  .floating-chip,
  .pulse-orb {
    display: none !important;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .reveal.visible {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-panel::before,
  .hero-panel::after,
  .page-hero-panel::before,
  .page-hero-panel::after,
  .content-card::before,
  .surface-card::after,
  .content-card::after,
  .tool-card::after,
  .signal-card::after,
  .hero-live-card::before {
    display: none !important;
  }

  .site-header {
    position: static;
    padding: 10px 10px 0;
  }

  .nav-frame,
  .mobile-panel,
  .urgent-strip,
  .ticker-band,
  .hero-panel,
  .page-hero-panel,
  .panel,
  .content-card,
  .surface-card,
  .tool-card,
  .stat-card,
  .signal-card,
  .story-card,
  .playbook-card,
  .feed-card,
  .tool-article,
  .report-card,
  .footer-shell,
  .resource-link-card,
  .trust-item,
  .mini-surface,
  .compact-card,
  .faq-item,
  .detail-card,
  .result-banner,
  .upload-zone,
  .staged-loader,
  .action-card,
  .browser-frame-wrap,
  .browser-frame-wrap--workspace,
  .browser-frame--workspace {
    background: rgba(10, 21, 38, 0.94);
    box-shadow: none !important;
    backdrop-filter: none;
  }

  .nav-frame {
    gap: 10px;
    padding: 10px 12px;
    border-radius: 18px;
  }

  .site-logo {
    min-width: 0;
    gap: 8px;
    font-size: 0.9rem;
  }

  .logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .logo-copy small {
    display: none;
  }

  .nav-link,
  .nav-actions .button,
  .mobile-panel .button,
  .hero-actions .button,
  .workspace-actions .button,
  .workspace-dock-panel .browser-actions .button {
    white-space: normal !important;
  }

  .hotline-fab {
    display: none !important;
  }

  .page-main {
    padding-bottom: 28px;
  }

  .hero-section,
  .page-hero,
  .section,
  .site-footer {
    padding: 12px 10px;
  }

  .hero-grid,
  .page-hero-grid,
  .checker-grid,
  .split-grid,
  .footer-grid,
  .metric-grid,
  .tool-grid,
  .story-grid,
  .playbook-grid,
  .signal-grid,
  .faq-grid,
  .feed-grid,
  .resource-grid,
  .trust-strip,
  .resource-link-grid,
  .command-layout {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .hero-panel,
  .page-hero-panel,
  .footer-shell {
    padding: 16px;
    border-radius: 20px;
  }

  .home-band,
  .compact-helpline-band {
    padding: 18px;
    border-radius: 22px;
  }

  .panel,
  .content-card,
  .surface-card,
  .tool-card,
  .stat-card,
  .signal-card,
  .story-card,
  .playbook-card,
  .feed-card,
  .tool-article,
  .report-card,
  .resource-link-card,
  .trust-item,
  .mini-surface,
  .compact-card,
  .faq-item,
  .detail-card,
  .result-banner,
  .upload-zone,
  .staged-loader,
  .action-card {
    padding: 14px;
    border-radius: 18px;
  }

  .hero-title {
    font-size: clamp(1.45rem, 7vw, 1.95rem) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.03em !important;
  }

  .page-title {
    font-size: clamp(1.35rem, 6.6vw, 1.8rem) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.03em !important;
  }

  .page-hero-motion {
    border-radius: 22px;
  }

  .tool-card-media {
    border-radius: 18px;
  }

  .section-title,
  .panel-title,
  .result-title,
  .workspace-chat-panel .panel-title,
  .workspace-dock-panel .panel-title {
    font-size: clamp(1.05rem, 5.4vw, 1.28rem) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
  }

  .hero-copy > p,
  .page-hero-copy > p,
  .section-copy,
  .lead-copy,
  .panel-subtitle,
  .muted-copy,
  .section-side-note,
  .result-summary,
  .chat-bubble,
  .helper-text,
  .action-list li,
  .scan-value,
  .browser-address span,
  .queue-copy p,
  .resource-link-card p,
  .tool-card p,
  .signal-card p,
  .feed-card p,
  .compact-card p {
    max-width: none;
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
  }

  .section-side-note,
  .tool-card p,
  .story-card p,
  .feed-card p,
  .resource-link-card p,
  .trust-item p,
  .signal-card p,
  .playbook-card p,
  .compact-card p,
  .route-copy,
  .faq-item p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .eyebrow,
  .section-kicker,
  .card-kicker,
  .ac-field-label {
    width: auto;
    justify-content: flex-start;
    padding: 6px 10px;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: none;
  }

  .hero-actions,
  .upload-actions,
  .workspace-actions,
  .browser-actions,
  .ac-actions,
  .compact-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .button,
  .hero-actions .button,
  .workspace-actions .button,
  .workspace-dock-panel .browser-actions .button,
  .mobile-panel .button,
  .mode-switch button,
  .panic-preset {
    width: 100% !important;
    min-height: 44px;
    padding: 12px 14px !important;
    font-size: 0.9rem !important;
    line-height: 1.35;
    text-align: left;
  }

  .tool-card-head {
    gap: 10px;
    margin-bottom: 10px;
  }

  .tool-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 1.1rem;
  }

  .tool-tags,
  .signal-list,
  .faq-list,
  .article-list,
  .summary-list,
  .detail-list {
    gap: 8px;
  }

  .tool-tags li,
  .signal-list li,
  .faq-list li,
  .article-list li,
  .summary-list li,
  .detail-list li {
    padding: 7px 10px;
    font-size: 0.76rem;
    line-height: 1.35;
  }

  .tool-tags li:nth-child(n+3) {
    display: none;
  }

  .tool-card-foot {
    margin-top: 12px;
    align-items: stretch;
  }

  .tool-card-foot .link-arrow {
    display: none;
  }

  .tool-card-foot .button {
    width: 100% !important;
    text-align: center;
  }

  .mode-switch {
    grid-template-columns: 1fr !important;
    gap: 8px;
  }

  .field,
  .section-header {
    margin-bottom: 12px;
  }

  .field label {
    font-size: 0.82rem;
  }

  .field input,
  .field select,
  .field textarea,
  .chat-input-row input,
  .ac-field-input {
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 16px !important;
  }

  .field textarea {
    min-height: 120px;
  }

  .hero-meta {
    gap: 8px;
    margin-top: 16px;
  }

  .meta-pill,
  .mini-chip,
  .signal-pill {
    width: auto !important;
    max-width: 100%;
    justify-content: flex-start;
    padding: 8px 10px !important;
    font-size: 0.78rem !important;
    line-height: 1.4;
    white-space: normal;
    text-align: left;
  }

  .resource-topline {
    gap: 8px;
  }

  .resource-provider {
    display: none;
  }

  .hero-stack,
  .page-hero-side,
  .hero-mini-stack {
    gap: 10px;
  }

  .hero-live-card,
  .terminal-card,
  .tool-card,
  .tilt-surface,
  [data-tilt],
  .hero-live-card.tilt-surface,
  .hero-live-card .terminal-top,
  .hero-live-card .scan-line,
  .hero-live-card .mini-surface,
  .hero-live-card .score-panel {
    transform: none !important;
    will-change: auto !important;
  }

  .terminal-card {
    min-height: auto;
  }

  .terminal-top,
  .tool-card-foot,
  .resource-topline,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .scan-line {
    padding: 10px 12px;
    border-radius: 14px;
  }

  .score-panel {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .score-ring {
    width: 56px;
    height: 56px;
    font-size: 0.88rem;
  }

  .ticker-band,
  .urgent-strip {
    padding: 14px;
    border-radius: 18px;
  }

  .ticker-band {
    grid-template-columns: 1fr;
  }

  .ticker-label {
    width: 100%;
    text-align: left;
  }

  .browser-frame-wrap--workspace,
  .browser-frame--workspace,
  .browser-frame-wrap {
    min-height: 320px !important;
  }

  .browser-dock-state {
    inset: 10px 10px auto 10px;
    max-width: none;
    padding: 10px 12px;
    border-radius: 14px;
  }

  .chat-thread,
  .live-thread {
    max-height: none;
    min-height: 0;
  }

  [data-page="home"] .hero-stack,
  [data-page="home"] .section-home--blogs,
  [data-page="home"] .section-home--ticker,
  [data-page="home"] .section-home--faq {
    display: none !important;
  }

  [data-page="home"] .reveal {
    opacity: 0 !important;
    transform: translateY(18px) !important;
    transition: opacity 0.55s ease, transform 0.55s ease !important;
  }

  [data-page="home"] .reveal.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  [data-page="home"] .text-gradient {
    background-size: 180% 180%;
    animation: homeGradientShift 8s ease infinite !important;
  }

  [data-page="home"] .mobile-home-mini,
  [data-page="home"] .route-tile,
  [data-page="home"] .tool-card,
  [data-page="home"] .feed-card,
  [data-page="home"] .tool-article {
    transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease, box-shadow 0.24s ease !important;
  }

  [data-page="home"] .hero-panel {
    padding: 18px 16px;
  }

  [data-page="home"] .hero-copy {
    gap: 12px;
  }

  [data-page="home"] .hero-copy > p {
    font-size: 0.94rem !important;
    line-height: 1.58 !important;
    margin: 0;
  }

  [data-page="home"] .hero-meta {
    margin-top: 12px;
  }

  [data-page="home"] .hero-meta-secondary {
    display: none;
  }

  [data-page="home"] .mobile-home-quickstrip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
  }

  [data-page="home"] .mobile-home-mini {
    display: grid;
    gap: 4px;
    padding: 12px 10px;
    border-radius: 16px;
    border: 1px solid rgba(148, 195, 255, 0.16);
    background: linear-gradient(180deg, rgba(16, 34, 58, 0.96), rgba(8, 19, 33, 0.98));
    color: var(--text);
    text-decoration: none;
  }

  [data-page="home"] .mobile-home-mini span {
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    color: var(--muted);
  }

  [data-page="home"] .mobile-home-mini strong {
    font-size: 0.84rem;
    line-height: 1.2;
  }

  [data-page="home"] .home-entry-band {
    padding: 16px;
    border-radius: 20px;
    border: 1px solid rgba(148, 195, 255, 0.14);
    box-shadow: none !important;
  }

  [data-page="home"] .home-entry-band .section-header {
    margin-bottom: 14px;
  }

  [data-page="home"] .home-entry-band .section-side-note {
    margin: 8px 0 0;
    font-size: 0.84rem !important;
    line-height: 1.45 !important;
  }

  [data-page="home"] .home-entry-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  [data-page="home"] .home-entry-band .route-tile {
    min-height: 132px;
    padding: 14px 12px;
    border-radius: 18px;
    border: 1px solid rgba(160, 204, 255, 0.14);
    background: linear-gradient(180deg, rgba(14, 31, 54, 0.96), rgba(10, 21, 38, 0.98));
  }

  [data-page="home"] .home-entry-band .route-tile strong {
    font-size: 0.96rem;
    line-height: 1.24;
  }

  [data-page="home"] .home-entry-band .route-copy {
    font-size: 0.77rem;
    line-height: 1.45;
    color: rgba(215, 231, 255, 0.72);
  }

  [data-page="home"] .home-entry-actions {
    margin-top: 14px;
  }

  [data-page="home"] .home-band--featured .tool-card:nth-child(n+3),
  [data-page="home"] .home-band--alerts .feed-card:nth-child(n+3),
  [data-page="home"] .home-band--paths .tool-article:nth-child(n+4) {
    display: none;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 8px 8px 0;
  }

  .nav-frame {
    padding: 8px 10px;
    border-radius: 16px;
  }

  .hero-section,
  .page-hero,
  .section,
  .site-footer {
    padding: 8px;
  }

  .hero-panel,
  .page-hero-panel,
  .footer-shell,
  .panel,
  .content-card,
  .surface-card,
  .tool-card,
  .feed-card,
  .tool-article,
  .faq-item,
  .detail-card,
  .result-banner,
  .upload-zone,
  .staged-loader,
  .action-card {
    border-radius: 16px;
  }

  [data-page="home"] .section-header {
    margin-bottom: 10px;
  }

  [data-page="home"] .section-home--entry .section-title,
  [data-page="home"] .section-home--featured .section-title,
  [data-page="home"] .section-home--alerts .section-title,
  [data-page="home"] .section-home--paths .section-title {
    font-size: 1.68rem !important;
    line-height: 1.05 !important;
    max-width: 12ch;
  }

  [data-page="home"] .hero-actions {
    gap: 6px;
  }

  [data-page="home"] .hero-actions .button {
    min-height: 42px;
    padding: 11px 13px !important;
    text-align: center;
  }

  [data-page="home"] .mobile-home-quickstrip {
    display: none;
  }

  [data-page="home"] .mobile-home-mini {
    min-height: 70px;
    padding: 12px 10px;
    border-radius: 14px;
  }

  [data-page="home"] .mobile-home-mini strong {
    font-size: 0.8rem;
  }

  [data-page="home"] .home-entry-band {
    padding: 12px;
    border-radius: 18px;
  }

  [data-page="home"] .home-entry-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  [data-page="home"] .home-entry-band .route-tile {
    min-height: 116px;
    padding: 14px 12px;
    border-radius: 16px;
  }

  [data-page="home"] .home-entry-band .route-tile strong {
    font-size: 0.9rem;
  }

  [data-page="home"] .home-entry-band .route-copy {
    font-size: 0.74rem;
    line-height: 1.38;
  }

  .home-band,
  .compact-helpline-band {
    padding: 14px;
    border-radius: 18px;
  }

  .tool-card,
  .feed-card,
  .tool-article,
  .resource-link-card,
  .story-card,
  .trust-item,
  .faq-item,
  .compact-card {
    padding: 12px;
  }

  .tool-card h3,
  .story-card h3,
  .tool-article h3,
  .faq-item h3 {
    font-size: 1rem;
    line-height: 1.2;
  }

  .section-side-note,
  .tool-card p,
  .story-card p,
  .feed-card p,
  .resource-link-card p,
  .trust-item p,
  .signal-card p,
  .playbook-card p,
  .compact-card p,
  .route-copy,
  .faq-item p {
    font-size: 0.82rem !important;
    line-height: 1.42 !important;
  }

  .tool-tags li {
    max-width: 100%;
  }
}

body[data-theme="dark"] {
  color-scheme: dark;
}

body:is(:not([data-theme]), [data-theme="light"]) {
  --bg: #f4f8fc;
  --bg-soft: #eaf1f8;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-1: rgba(255, 255, 255, 0.82);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --surface-2: rgba(248, 251, 255, 0.98);
  --border: rgba(34, 76, 126, 0.1);
  --border-strong: rgba(34, 76, 126, 0.18);
  --text: #152235;
  --muted: #61758f;
  --muted-2: #7d90a8;
  --accent: #1ba7d7;
  --primary: #2ca8df;
  --primary-alpha: rgba(44, 168, 223, 0.12);
  --accent-2: #5fc0ef;
  --accent-3: #52d6a4;
  --danger: #d95e76;
  --danger-rgb: 217, 94, 118;
  --warning: #d59a37;
  --success: #249770;
  --ink: #07111f;
  --glow: 0 24px 80px rgba(162, 186, 214, 0.24);
  --glow-soft: 0 16px 42px rgba(167, 185, 208, 0.18);
  background:
    radial-gradient(circle at 12% 18%, rgba(44, 168, 223, 0.12), transparent 24%),
    radial-gradient(circle at 86% 14%, rgba(82, 214, 164, 0.1), transparent 20%),
    radial-gradient(circle at 50% 82%, rgba(217, 94, 118, 0.06), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #f4f8fc 28%, #eef4fa 62%, #f8fbff 100%);
}

body:is(:not([data-theme]), [data-theme="light"])::before {
  background-image:
    linear-gradient(rgba(32, 112, 182, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 112, 182, 0.04) 1px, transparent 1px);
}

body:is(:not([data-theme]), [data-theme="light"])::after {
  background: linear-gradient(90deg, transparent 0%, rgba(32, 112, 182, 0.06) 48%, transparent 100%);
  opacity: 0.42;
}

body:is(:not([data-theme]), [data-theme="light"]) #scene-canvas {
  opacity: 1;
}

body:is(:not([data-theme]), [data-theme="light"]) .site-header.scrolled .nav-frame {
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: rgba(34, 76, 126, 0.12) !important;
  box-shadow: 0 16px 40px rgba(182, 196, 216, 0.26) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .nav-frame,
body:is(:not([data-theme]), [data-theme="light"]) .mobile-panel,
body:is(:not([data-theme]), [data-theme="light"]) .urgent-strip,
body:is(:not([data-theme]), [data-theme="light"]) .ticker-band,
body:is(:not([data-theme]), [data-theme="light"]) .hero-panel,
body:is(:not([data-theme]), [data-theme="light"]) .page-hero-panel,
body:is(:not([data-theme]), [data-theme="light"]) .panel,
body:is(:not([data-theme]), [data-theme="light"]) .content-card,
body:is(:not([data-theme]), [data-theme="light"]) .surface-card,
body:is(:not([data-theme]), [data-theme="light"]) .tool-card,
body:is(:not([data-theme]), [data-theme="light"]) .stat-card,
body:is(:not([data-theme]), [data-theme="light"]) .signal-card,
body:is(:not([data-theme]), [data-theme="light"]) .story-card,
body:is(:not([data-theme]), [data-theme="light"]) .playbook-card,
body:is(:not([data-theme]), [data-theme="light"]) .lane-card,
body:is(:not([data-theme]), [data-theme="light"]) .feed-card,
body:is(:not([data-theme]), [data-theme="light"]) .tool-article,
body:is(:not([data-theme]), [data-theme="light"]) .report-card,
body:is(:not([data-theme]), [data-theme="light"]) .footer-shell,
body:is(:not([data-theme]), [data-theme="light"]) .resource-link-card,
body:is(:not([data-theme]), [data-theme="light"]) .trust-item,
body:is(:not([data-theme]), [data-theme="light"]) .mini-surface,
body:is(:not([data-theme]), [data-theme="light"]) .mission-inline-card,
body:is(:not([data-theme]), [data-theme="light"]) .hero-live-card,
body:is(:not([data-theme]), [data-theme="light"]) .compact-card,
body:is(:not([data-theme]), [data-theme="light"]) .faq-item,
body:is(:not([data-theme]), [data-theme="light"]) .detail-card,
body:is(:not([data-theme]), [data-theme="light"]) .result-banner,
body:is(:not([data-theme]), [data-theme="light"]) .upload-zone,
body:is(:not([data-theme]), [data-theme="light"]) .staged-loader,
body:is(:not([data-theme]), [data-theme="light"]) .action-card,
body:is(:not([data-theme]), [data-theme="light"]) .browser-frame-wrap,
body:is(:not([data-theme]), [data-theme="light"]) .browser-frame-wrap--workspace,
body:is(:not([data-theme]), [data-theme="light"]) .browser-frame--workspace,
body:is(:not([data-theme]), [data-theme="light"]) .browser-toolbar,
body:is(:not([data-theme]), [data-theme="light"]) .home-band,
body:is(:not([data-theme]), [data-theme="light"]) .compact-helpline-band,
body:is(:not([data-theme]), [data-theme="light"]) .route-tile,
body:is(:not([data-theme]), [data-theme="light"]) .blog-card,
body:is(:not([data-theme]), [data-theme="light"]) .error-status-card,
body:is(:not([data-theme]), [data-theme="light"]) .error-path-card,
body:is(:not([data-theme]), [data-theme="light"]) .filing-action-card,
body:is(:not([data-theme]), [data-theme="light"]) .fc-self-guide,
body:is(:not([data-theme]), [data-theme="light"]) .queue-item,
body:is(:not([data-theme]), [data-theme="light"]) .resource-row,
body:is(:not([data-theme]), [data-theme="light"]) .workspace-details,
body:is(:not([data-theme]), [data-theme="light"]) .chat-thread,
body:is(:not([data-theme]), [data-theme="light"]) .nav-toggle,
body:is(:not([data-theme]), [data-theme="light"]) .theme-toggle {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 253, 0.94)) !important;
  border-color: rgba(34, 76, 126, 0.12) !important;
  box-shadow: 0 14px 34px rgba(181, 196, 218, 0.22) !important;
  color: var(--text) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .hero-command-center,
body:is(:not([data-theme]), [data-theme="light"]) .mission-hero,
body:is(:not([data-theme]), [data-theme="light"]) .home-entry-band,
body:is(:not([data-theme]), [data-theme="light"]) .scanner-hero-shell,
body:is(:not([data-theme]), [data-theme="light"]) .live-helper-hero,
body:is(:not([data-theme]), [data-theme="light"]) .live-workspace-hero,
body:is(:not([data-theme]), [data-theme="light"]) .error-hero-panel {
  background:
    radial-gradient(circle at 14% 18%, rgba(44, 168, 223, 0.16), transparent 24%),
    radial-gradient(circle at 84% 20%, rgba(82, 214, 164, 0.12), transparent 24%),
    radial-gradient(circle at 78% 82%, rgba(217, 94, 118, 0.05), transparent 22%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(239, 245, 252, 0.96)) !important;
  border-color: rgba(34, 76, 126, 0.12) !important;
  box-shadow: 0 20px 46px rgba(181, 196, 218, 0.24) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .logo-mark {
  background:
    linear-gradient(135deg, rgba(44, 168, 223, 0.18), rgba(95, 192, 239, 0.08)),
    rgba(255, 255, 255, 0.96) !important;
  border-color: rgba(44, 168, 223, 0.16) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 10px 24px rgba(44, 168, 223, 0.12) !important;
  color: var(--accent) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .theme-toggle-icon {
  background: transparent;
  color: #0e638b;
}

body:is(:not([data-theme]), [data-theme="light"]) .theme-toggle::before {
  background: linear-gradient(135deg, rgba(44, 168, 223, 0.16), rgba(95, 192, 239, 0.1));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 8px 18px rgba(181, 196, 218, 0.22);
}

body:is(:not([data-theme]), [data-theme="light"]) [data-page="home"] .mobile-home-mini {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 253, 0.94)) !important;
  border-color: rgba(34, 76, 126, 0.12) !important;
  box-shadow: 0 10px 24px rgba(181, 196, 218, 0.18) !important;
  color: var(--text) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) [data-page="home"] .mobile-home-mini span {
  color: var(--muted) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .button-primary {
  background: linear-gradient(135deg, #2aa8df, #64c6f1) !important;
  color: #07111f !important;
  box-shadow: 0 14px 30px rgba(44, 168, 223, 0.2) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .button-secondary,
body:is(:not([data-theme]), [data-theme="light"]) .button-ghost,
body:is(:not([data-theme]), [data-theme="light"]) .helper-suggestion-grid button,
body:is(:not([data-theme]), [data-theme="light"]) .chat-suggestions button,
body:is(:not([data-theme]), [data-theme="light"]) .icon-button {
  background: rgba(255, 255, 255, 0.86) !important;
  border-color: rgba(34, 76, 126, 0.14) !important;
  color: var(--text) !important;
  box-shadow: 0 10px 26px rgba(181, 196, 218, 0.14) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .button-secondary:hover,
body:is(:not([data-theme]), [data-theme="light"]) .button-ghost:hover,
body:is(:not([data-theme]), [data-theme="light"]) .helper-suggestion-grid button:hover,
body:is(:not([data-theme]), [data-theme="light"]) .chat-suggestions button:hover,
body:is(:not([data-theme]), [data-theme="light"]) .icon-button:hover,
body:is(:not([data-theme]), [data-theme="light"]) .fc-close:hover {
  background: rgba(44, 168, 223, 0.08) !important;
  border-color: rgba(44, 168, 223, 0.22) !important;
  color: var(--text) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .nav-link:hover,
body:is(:not([data-theme]), [data-theme="light"]) .nav-link.active,
body:is(:not([data-theme]), [data-theme="light"]) .route-tile:hover,
body:is(:not([data-theme]), [data-theme="light"]) .route-tile.active {
  background: rgba(44, 168, 223, 0.08) !important;
  border-color: rgba(44, 168, 223, 0.2) !important;
  color: var(--text) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .route-copy,
body:is(:not([data-theme]), [data-theme="light"]) .resource-provider,
body:is(:not([data-theme]), [data-theme="light"]) .home-entry-band .route-copy {
  color: var(--muted) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .ticker-label {
  background: rgba(217, 94, 118, 0.12) !important;
  border: 1px solid rgba(217, 94, 118, 0.18);
  color: #9c4a5b !important;
  position: relative;
  z-index: 2;
}

body:is(:not([data-theme]), [data-theme="light"]) .meta-pill,
body:is(:not([data-theme]), [data-theme="light"]) .mini-chip,
body:is(:not([data-theme]), [data-theme="light"]) .signal-pill,
body:is(:not([data-theme]), [data-theme="light"]) .tool-tags li,
body:is(:not([data-theme]), [data-theme="light"]) .signal-list li,
body:is(:not([data-theme]), [data-theme="light"]) .faq-list li,
body:is(:not([data-theme]), [data-theme="light"]) .article-list li,
body:is(:not([data-theme]), [data-theme="light"]) .summary-list li,
body:is(:not([data-theme]), [data-theme="light"]) .detail-list li,
body:is(:not([data-theme]), [data-theme="light"]) .scan-line,
body:is(:not([data-theme]), [data-theme="light"]) .terminal-top,
body:is(:not([data-theme]), [data-theme="light"]) .upload-preview,
body:is(:not([data-theme]), [data-theme="light"]) .blog-meta span,
body:is(:not([data-theme]), [data-theme="light"]) .queue-pill,
body:is(:not([data-theme]), [data-theme="light"]) .browser-dock-state {
  background: rgba(44, 168, 223, 0.06) !important;
  border-color: rgba(34, 76, 126, 0.12) !important;
  color: var(--muted) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .upload-preview-remove {
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(34, 76, 126, 0.12) !important;
  color: var(--text) !important;
  box-shadow: 0 12px 24px rgba(181, 196, 218, 0.18) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .upload-preview-badge {
  background: rgba(44, 168, 223, 0.08) !important;
  border-color: rgba(34, 76, 126, 0.12) !important;
  color: #136f96 !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .field input,
body:is(:not([data-theme]), [data-theme="light"]) .field select,
body:is(:not([data-theme]), [data-theme="light"]) .field textarea,
body:is(:not([data-theme]), [data-theme="light"]) .chat-input-row input,
body:is(:not([data-theme]), [data-theme="light"]) .ac-field-input,
body:is(:not([data-theme]), [data-theme="light"]) .fc-field-input,
body:is(:not([data-theme]), [data-theme="light"]) .fc-chat-form input,
body:is(:not([data-theme]), [data-theme="light"]) .mode-switch button {
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(34, 76, 126, 0.12) !important;
  color: var(--text) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .field input::placeholder,
body:is(:not([data-theme]), [data-theme="light"]) .field textarea::placeholder,
body:is(:not([data-theme]), [data-theme="light"]) .chat-input-row input::placeholder,
body:is(:not([data-theme]), [data-theme="light"]) .ac-field-input::placeholder,
body:is(:not([data-theme]), [data-theme="light"]) .fc-field-input::placeholder,
body:is(:not([data-theme]), [data-theme="light"]) .fc-chat-form input::placeholder {
  color: var(--muted-2);
}

body:is(:not([data-theme]), [data-theme="light"]) .mode-switch button.active {
  background: linear-gradient(135deg, #2aa8df, #69c6ef) !important;
  color: #07111f !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .article-callout {
  background:
    radial-gradient(circle at 88% 12%, rgba(213, 154, 55, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(255, 251, 244, 0.98), rgba(255, 247, 236, 0.94)) !important;
  border-color: rgba(213, 154, 55, 0.22) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .stat-card,
body:is(:not([data-theme]), [data-theme="light"]) .seo-table-wrap,
body:is(:not([data-theme]), [data-theme="light"]) .blog-search-input {
  background:
    linear-gradient(180deg, rgba(57, 184, 255, 0.06), rgba(255, 255, 255, 0.92)),
    rgba(255, 255, 255, 0.88) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .signal-table th,
body:is(:not([data-theme]), [data-theme="light"]) .signal-table td {
  border-bottom-color: rgba(46, 112, 161, 0.12) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .scam-shot {
  background:
    radial-gradient(circle at 82% 16%, rgba(121, 228, 255, 0.16), transparent 24%),
    linear-gradient(160deg, rgba(17, 36, 55, 0.92), rgba(25, 55, 78, 0.88)) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .cta-panel {
  background:
    radial-gradient(circle at 16% 16%, rgba(57, 184, 255, 0.1), transparent 24%),
    rgba(57, 184, 255, 0.06) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .score-ring {
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.98) 48%, transparent 49%),
    conic-gradient(var(--danger) 0 72%, rgba(34, 76, 126, 0.12) 72% 100%) !important;
  color: var(--text) !important;
  box-shadow: inset 0 0 0 1px rgba(34, 76, 126, 0.08), 0 14px 34px rgba(181, 196, 218, 0.18) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .hero-live-card:hover .score-ring {
  box-shadow: inset 0 0 0 1px rgba(34, 76, 126, 0.12), 0 16px 38px rgba(217, 94, 118, 0.16) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .floating-chip {
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(34, 76, 126, 0.12) !important;
  color: var(--text) !important;
  box-shadow: 0 16px 34px rgba(181, 196, 218, 0.22) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .error-code {
  color: #0f688f !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .error-signal {
  background: rgba(213, 154, 55, 0.12) !important;
  color: #986a1b !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .blog-card::after {
  background: radial-gradient(circle, rgba(44, 168, 223, 0.1), transparent 66%) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .blog-card-media,
body:is(:not([data-theme]), [data-theme="light"]) .article-hero-art {
  border-color: rgba(34, 76, 126, 0.14) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(233, 242, 250, 0.22)),
    rgba(240, 246, 252, 0.82) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.66),
    0 16px 34px rgba(181, 196, 218, 0.18) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .blog-card-media::after,
body:is(:not([data-theme]), [data-theme="light"]) .article-hero-art::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 26%, rgba(21, 34, 53, 0.1)),
    linear-gradient(135deg, transparent 56%, rgba(44, 168, 223, 0.08)) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .tool-card-media,
body:is(:not([data-theme]), [data-theme="light"]) .page-hero-motion {
  border-color: rgba(34, 76, 126, 0.14) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(233, 242, 250, 0.22)),
    rgba(240, 246, 252, 0.82) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.66),
    0 18px 38px rgba(181, 196, 218, 0.2) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .page-hero-motion--preview {
  background:
    radial-gradient(circle at 84% 16%, rgba(44, 168, 223, 0.14), transparent 23%),
    radial-gradient(circle at 18% 82%, rgba(82, 214, 164, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 245, 252, 0.88)) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .page-hero-motion--preview::before {
  border-color: rgba(34, 76, 126, 0.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.46), transparent 56%);
}

body:is(:not([data-theme]), [data-theme="light"]) .page-hero-preview .hero-live-card {
  box-shadow: 0 24px 54px rgba(157, 180, 205, 0.24) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .tool-card-media::after,
body:is(:not([data-theme]), [data-theme="light"]) .page-hero-motion::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 26%, rgba(21, 34, 53, 0.08)),
    linear-gradient(135deg, transparent 56%, rgba(44, 168, 223, 0.07)) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .filing-copilot {
  background: rgba(233, 240, 248, 0.78) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .fc-panel {
  background:
    radial-gradient(circle at 12% 0, rgba(44, 168, 223, 0.16), transparent 30%),
    radial-gradient(circle at 88% 100%, rgba(82, 214, 164, 0.12), transparent 30%),
    rgba(255, 255, 255, 0.98) !important;
  border-color: rgba(34, 76, 126, 0.16) !important;
  box-shadow: 0 30px 100px rgba(157, 180, 205, 0.34) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .fc-window {
  background:
    linear-gradient(rgba(32, 112, 182, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 112, 182, 0.04) 1px, transparent 1px),
    rgba(245, 249, 253, 0.92) !important;
  border-right-color: rgba(34, 76, 126, 0.12) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .fc-field,
body:is(:not([data-theme]), [data-theme="light"]) .fc-close {
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(34, 76, 126, 0.12) !important;
  color: var(--text) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .fc-bubble {
  background: rgba(44, 168, 223, 0.08) !important;
  border-color: rgba(34, 76, 126, 0.12) !important;
  color: var(--text) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .fc-bubble.user {
  background: rgba(44, 168, 223, 0.14) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .queue-item--danger {
  background: rgba(var(--danger-rgb), 0.09) !important;
  border-color: rgba(var(--danger-rgb), 0.24) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .queue-item--warning {
  background: rgba(213, 154, 55, 0.1) !important;
  border-color: rgba(213, 154, 55, 0.24) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .resource-row:hover,
body:is(:not([data-theme]), [data-theme="light"]) .panic-preset:hover {
  background: rgba(44, 168, 223, 0.08) !important;
  border-color: rgba(44, 168, 223, 0.22) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .panic-preset {
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(34, 76, 126, 0.12) !important;
  color: var(--text) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .workspace-thread {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 253, 0.94)),
    rgba(255, 255, 255, 0.96) !important;
  border-color: rgba(34, 76, 126, 0.12) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .workspace-chat-input {
  background: linear-gradient(180deg, rgba(244, 248, 252, 0), rgba(244, 248, 252, 0.96) 24%) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .text-gradient {
  background: linear-gradient(135deg, #0e638b, #1ba7d7 45%, #2bb98b 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body:is(:not([data-theme]), [data-theme="light"]) .hero-orbit {
  border-color: rgba(44, 168, 223, 0.16) !important;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.82), rgba(44, 168, 223, 0.12) 38%, rgba(244, 248, 252, 0.18) 80%) !important;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.44), 0 0 30px rgba(44, 168, 223, 0.12) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .pulse-orb {
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.7), rgba(44, 168, 223, 0.14) 34%, rgba(44, 168, 223, 0.04) 70%) !important;
  border-color: rgba(44, 168, 223, 0.14) !important;
  box-shadow: 0 0 0 18px rgba(44, 168, 223, 0.04), 0 0 70px rgba(44, 168, 223, 0.1) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .home-band::before {
  background: radial-gradient(circle, rgba(44, 168, 223, 0.08), transparent 72%) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .home-band::after {
  background: radial-gradient(circle, rgba(82, 214, 164, 0.08), transparent 72%) !important;
}

body:is(:not([data-theme]), [data-theme="light"]) .surface-card::after,
body:is(:not([data-theme]), [data-theme="light"]) .content-card::after,
body:is(:not([data-theme]), [data-theme="light"]) .tool-card::after,
body:is(:not([data-theme]), [data-theme="light"]) .signal-card::after,
body:is(:not([data-theme]), [data-theme="light"]) .home-band .lane-card::after,
body:is(:not([data-theme]), [data-theme="light"]) .home-band .feed-card::after,
body:is(:not([data-theme]), [data-theme="light"]) .home-band .story-card::after,
body:is(:not([data-theme]), [data-theme="light"]) .home-band .tool-article::after,
body:is(:not([data-theme]), [data-theme="light"]) .home-band .trust-item::after,
body:is(:not([data-theme]), [data-theme="light"]) .home-band .faq-item::after,
body:is(:not([data-theme]), [data-theme="light"]) .home-band .stat-card::after {
  background: radial-gradient(circle, rgba(44, 168, 223, 0.08), transparent 66%) !important;
}

@media (max-width: 840px) {
  .theme-toggle {
    width: 70px;
    min-width: 70px;
    padding: 4px;
    justify-content: flex-start;
    flex-shrink: 0;
  }

  .theme-toggle::before {
    top: 4px;
    left: 4px;
    width: 30px;
    height: calc(100% - 8px);
  }

  .theme-toggle[data-active-theme="dark"]::before {
    transform: translateX(32px);
  }

  .theme-toggle-icon {
    left: 8px;
  }

  .theme-toggle[data-active-theme="dark"] .theme-toggle-icon {
    transform: translate(32px, -50%);
  }

  .theme-toggle-label {
    display: none;
  }
}

@media (max-width: 560px) {
  .nav-frame {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    position: relative;
    padding-right: 58px;
  }

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

  .logo-copy > span:first-child {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-actions {
    margin-left: auto;
    gap: 8px;
  }

  .nav-actions .button {
    display: none;
  }

  .nav-toggle {
    display: inline-grid !important;
    flex: 0 0 auto;
    width: auto;
    height: 42px;
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    z-index: 2;
    padding: 0 12px;
    place-items: center;
  }

  .nav-toggle span {
    display: none;
  }

  .nav-toggle::after {
    content: "Menu";
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: -0.02em;
  }

  .theme-toggle {
    display: none;
  }

  .mobile-panel {
    inset: 0;
    padding: 84px 14px 20px;
    gap: 10px;
    background: rgba(244, 249, 255, 0.98);
  }

  body[data-theme="dark"] .mobile-panel {
    background: rgba(7, 17, 31, 0.98);
  }

  .page-hero-copy,
  .hero-copy,
  .page-hero-side,
  .page-hero-grid > *,
  .checker-grid > * {
    min-width: 0;
  }

  .page-title,
  .hero-title {
    max-width: none;
    line-height: 1.06 !important;
    overflow-wrap: anywhere;
  }

  .page-title {
    font-size: clamp(1.78rem, 8.6vw, 2.24rem) !important;
  }

  .hero-title {
    font-size: clamp(1.72rem, 8.8vw, 2.3rem) !important;
  }

  [data-page="home"] .hero-title {
    font-size: clamp(1.52rem, 8.8vw, 1.96rem) !important;
    line-height: 1.03 !important;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-actions .button,
  .tool-card-foot .button,
  .workspace-actions .button {
    width: 100%;
    justify-content: center;
  }

  .page-hero-motion {
    min-height: 210px;
    border-radius: 20px;
  }

  .page-hero-side .compact-card:last-child {
    display: none;
  }

  .tool-card-media,
  .article-hero-art {
    border-radius: 18px;
  }

  .article-breadcrumbs {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 4px;
    font-size: 0.8rem;
    scrollbar-width: none;
  }

  .article-breadcrumbs::-webkit-scrollbar {
    display: none;
  }

  .article-breadcrumbs > * {
    flex: 0 0 auto;
  }

  .blog-meta {
    gap: 8px;
  }

  .blog-meta span {
    font-size: 0.78rem;
  }

  .mode-switch {
    grid-template-columns: 1fr;
  }

  .mode-switch button {
    text-align: left;
  }

  .upload-preview-head {
    align-items: flex-start;
  }

  .upload-preview-headline strong,
  .upload-preview-status {
    overflow-wrap: anywhere;
  }

  .result-banner {
    gap: 12px;
  }

  .risk-meter {
    gap: 10px;
  }

  .risk-gauge svg {
    width: 122px;
    height: 82px;
  }

  .workspace-dock-panel .browser-actions {
    grid-template-columns: 1fr;
  }

  .workspace-dock-panel .browser-actions .button,
  .workspace-dock-panel .browser-actions .mode-switch-inline {
    width: 100%;
  }

  .workspace-chat-input {
    position: static;
    bottom: auto;
    z-index: auto;
    padding: 0;
    background: none;
  }

  .route-grid:empty ~ .browser-frame-wrap--workspace,
  .route-grid:empty ~ .browser-frame-wrap--workspace .browser-frame--workspace {
    min-height: 240px !important;
    height: 240px !important;
  }

  .route-grid:empty ~ .browser-inspector-grid {
    display: none;
  }

  .workspace-dock-panel .browser-toolbar {
    padding: 14px;
    border-radius: 18px;
  }

  .workspace-dock-panel .browser-address strong {
    display: block;
    margin-bottom: 4px;
  }

  .workspace-dock-panel .browser-address span,
  .workspace-dock-panel .panel-subtitle,
  .workspace-dock-panel .inline-message,
  .workspace-chat-panel .helper-text {
    font-size: 0.84rem !important;
    line-height: 1.45 !important;
  }

  .workspace-thread {
    padding: 14px;
    border-radius: 18px;
  }

  .workspace-chat-panel .chat-thread,
  .workspace-chat-panel .live-thread {
    min-height: 140px;
    max-height: 260px;
  }

  .tool-media-preview {
    gap: 6px;
    padding: 10px;
    border-radius: 18px;
  }

  .tool-media-preview__header {
    gap: 8px;
  }

  .tool-media-preview__badge {
    min-height: 24px;
    padding: 3px 8px;
    font-size: 0.6rem;
  }

  .tool-media-preview__body {
    grid-template-columns: minmax(0, 1fr) 58px;
    gap: 8px;
    align-items: end;
  }

  .tool-media-preview__copy {
    gap: 4px;
    min-height: 64px;
    padding: 10px 12px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(17, 35, 60, 0.82), rgba(10, 22, 38, 0.92));
  }

  .tool-media-preview__kicker {
    display: none;
  }

  .tool-media-preview__copy strong {
    font-size: 0.82rem;
    line-height: 1.18;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .tool-media-preview__copy p {
    display: none;
  }

  .tool-media-preview__score-ring {
    width: 58px;
    min-height: 58px;
    border-radius: 16px;
  }

  .tool-media-preview__score-ring::before {
    width: 38px;
    height: 38px;
  }

  .tool-media-preview__score-ring span {
    font-size: 0.76rem;
  }

  .tool-media-preview__footer {
    display: none;
  }

  [data-page="recent"] .mode-switch {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 2px;
    margin-bottom: 18px !important;
    scrollbar-width: none;
  }

  [data-page="recent"] .mode-switch::-webkit-scrollbar {
    display: none;
  }

  [data-page="recent"] .mode-switch button {
    width: auto !important;
    min-width: max-content;
    padding: 11px 14px !important;
    border-radius: 999px;
    text-align: center;
  }

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

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }

  .footer-shell {
    padding: 14px;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    align-content: start;
  }

  .footer-links strong {
    grid-column: 1 / -1;
  }

  .footer-links a {
    font-size: 0.86rem;
    line-height: 1.35;
  }

  .footer-bottom {
    padding-top: 14px;
    margin-top: 14px;
    font-size: 0.8rem;
  }

  [data-page="home"] .mobile-home-mini {
    min-height: 76px;
    align-content: center;
    gap: 3px;
  }

  [data-page="home"] .mobile-home-mini span {
    color: rgba(214, 227, 244, 0.74) !important;
    font-size: 0.64rem;
  }

  [data-page="home"] .mobile-home-mini strong {
    color: #f4f8ff !important;
    font-size: 0.82rem;
    line-height: 1.16;
  }

  [data-page="tools"] .tool-card-media,
  [data-page="home"] .tool-card-media {
    min-height: 156px;
  }
}

@media (max-width: 420px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  .tool-media-preview__body {
    grid-template-columns: minmax(0, 1fr) 54px;
  }

  .tool-media-preview__score-ring {
    width: 54px;
    min-height: 54px;
  }
}
