/**
 * The Agent Hub homepage.
 *
 * Generated from agent-hub-site/app/globals.css so the WordPress front page
 * and the localhost React experience share one visual source of truth.
 * Component rules are isolated beneath .agent-home.
 */

:root {
  --ink: #02070d;
  --ink-soft: #06111a;
  --panel: #09141f;
  --panel-raised: #0c1b2a;
  --line: rgba(244, 247, 248, 0.12);
  --line-strong: rgba(244, 247, 248, 0.23);
  --paper: #f4f7f8;
  --muted: #9da9b7;
  --violet: #a855f7;
  --violet-light: #c084fc;
  --violet-deep: #5b21b6;
  --mint: #48f59a;
  --coral: #ff6b6b;
  --display: "Space Grotesk", "Arial Black", sans-serif;
  --body: "Inter", Arial, sans-serif;
  --mono: "JetBrains Mono", Consolas, monospace;
  --max: 1480px;
  --radius: 20px;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

/* WordPress's toolbar overlays the absolutely positioned homepage header. */
body.admin-bar .agent-home .topbar { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .agent-home .topbar { top: 46px; }
}
.agent-home [data-tool-spotlight][hidden] { display: none !important; }

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: 1000;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.62'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

::selection {
  background: var(--violet);
  color: var(--paper);
}

::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: var(--ink);
}

::-webkit-scrollbar-thumb {
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #392057;
}

.agent-home a {
  color: inherit;
  text-decoration: none;
}

.agent-home button,
.agent-home input {
  font: inherit;
}

.agent-home button,
.agent-home a {
  -webkit-tap-highlight-color: transparent;
}

.agent-home button {
  color: inherit;
}

.agent-home :focus-visible {
  outline: 2px solid var(--violet-light);
  outline-offset: 4px;
}

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

.agent-home [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.agent-home [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.agent-home [hidden] {
  display: none !important;
}

.agent-home {
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 18%, rgba(91, 33, 182, 0.12), transparent 27%),
    var(--ink);
}

/*
 * The production theme previously loaded a generic `.hero` system before the
 * homepage. These explicit initial values make the homepage deterministic
 * even while an upstream page cache is transitioning between theme versions.
 */
.agent-home::before,
.agent-home .topbar::after,
.agent-home .hero::before,
.agent-home .hero::after {
  content: none;
}

.agent-home .hero {
  grid-template-columns: none;
  gap: normal;
  padding: 0;
}

.agent-home .hero__media video {
  opacity: 1;
}

.agent-home .hero__scanline {
  height: auto;
}

.agent-home .topbar {
  position: absolute;
  z-index: 40;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  min-height: 84px;
  padding: 0 clamp(22px, 4vw, 72px);
  border-bottom: 1px solid rgba(244, 247, 248, 0.1);
  background: linear-gradient(180deg, rgba(2, 7, 13, 0.86), rgba(2, 7, 13, 0.18));
  backdrop-filter: blur(14px);
}

.agent-home .brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.agent-home .brand__image {
  position: relative;
  display: block;
  width: 168px;
  height: 75px;
}

.agent-home .brand__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.agent-home .primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3vw, 52px);
}

.agent-home .primary-nav a {
  position: relative;
  padding: 31px 0 28px;
  color: rgba(244, 247, 248, 0.72);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.015em;
  transition: color 180ms ease;
}

.agent-home .primary-nav a::after {
  position: absolute;
  right: 50%;
  bottom: 19px;
  left: 50%;
  height: 2px;
  content: "";
  background: var(--violet-light);
  transition:
    right 180ms ease,
    left 180ms ease;
}

.agent-home .primary-nav a:hover {
  color: var(--paper);
}

.agent-home .primary-nav a:hover::after {
  right: 0;
  left: 0;
}

.agent-home .topbar__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.agent-home .network-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agent-home .network-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(72, 245, 154, 0.1), 0 0 14px var(--mint);
  animation: livePulse 2.4s ease-in-out infinite;
}

.agent-home .command-trigger,
.agent-home .wallet-pill {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(9, 20, 31, 0.72);
  color: var(--paper);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.agent-home .command-trigger:hover,
.agent-home .wallet-pill:hover {
  border-color: rgba(192, 132, 252, 0.55);
  background: rgba(91, 33, 182, 0.22);
  transform: translateY(-1px);
}

.agent-home .command-trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 9px 0 14px;
  color: var(--muted);
  font-size: 12px;
}

.agent-home .command-trigger svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.agent-home .command-trigger kbd {
  min-width: 34px;
  padding: 4px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(244, 247, 248, 0.05);
  color: rgba(244, 247, 248, 0.6);
  font-family: var(--mono);
  font-size: 9px;
}

.agent-home .wallet-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 17px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.agent-home .wallet-pill__signal {
  width: 7px;
  height: 7px;
  border: 1px solid var(--violet-light);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--ink);
  background: var(--violet);
}

.agent-home .wallet-pill.is-connected {
  border-color: rgba(72, 245, 154, 0.28);
}

.agent-home .wallet-pill.is-connected .wallet-pill__signal {
  border-color: var(--mint);
  background: var(--mint);
  box-shadow: 0 0 10px rgba(72, 245, 154, 0.48);
}

.agent-home .hero {
  --pointer-x: 65%;
  --pointer-y: 40%;
  position: relative;
  display: grid;
  align-items: end;
  min-height: max(760px, 100svh);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.agent-home .hero__media,
.agent-home .hero__wash,
.agent-home .hero__grid,
.agent-home .hero__scanline {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.agent-home .hero__media {
  z-index: -4;
  background: #07030c;
}

.agent-home .hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
  filter: saturate(0.95) contrast(1.08);
}

.agent-home .hero__wash {
  z-index: -3;
  background:
    radial-gradient(
      circle at var(--pointer-x) var(--pointer-y),
      rgba(168, 85, 247, 0.19),
      transparent 20%
    ),
    linear-gradient(90deg, rgba(2, 7, 13, 0.98) 0%, rgba(2, 7, 13, 0.87) 37%, rgba(2, 7, 13, 0.18) 72%, rgba(2, 7, 13, 0.58) 100%),
    linear-gradient(0deg, rgba(2, 7, 13, 0.96), transparent 40%);
}

.agent-home .hero__grid {
  z-index: -2;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(192, 132, 252, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192, 132, 252, 0.22) 1px, transparent 1px);
  background-position: center;
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, transparent 0%, black 34%, black 90%, transparent);
  transform: perspective(700px) rotateX(64deg) scale(1.55) translateY(42%);
  transform-origin: center bottom;
  animation: gridDrift 16s linear infinite;
}

.agent-home .hero__scanline {
  z-index: -1;
  width: 45%;
  opacity: 0.28;
  background: linear-gradient(90deg, transparent, rgba(192, 132, 252, 0.26), transparent);
  transform: skewX(-18deg) translateX(-160%);
  animation: scanHero 8s ease-in-out infinite;
}

.agent-home .hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.5fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: end;
  width: min(calc(100% - 44px), var(--max));
  margin: 0 auto;
  padding: 160px 0 104px;
}

.agent-home .hero__copy {
  max-width: 990px;
}

.agent-home .hero__kicker {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 26px;
  color: var(--violet-light);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.agent-home .hero__kicker::before {
  width: 52px;
  height: 1px;
  content: "";
  background: var(--violet);
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.8);
}

.agent-home .hero__edition {
  padding: 6px 10px;
  border: 1px solid rgba(192, 132, 252, 0.25);
  border-radius: 999px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.agent-home .hero h1 {
  max-width: 1100px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(64px, 7.5vw, 124px);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 0.87;
}

.agent-home .hero h1 span {
  display: block;
  color: var(--violet-light);
  font-weight: 500;
}

.agent-home .hero__lede {
  max-width: 660px;
  margin: 34px 0 0;
  color: rgba(244, 247, 248, 0.7);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.62;
}

.agent-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.agent-home .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.agent-home .button svg,
.agent-home .tool-row__launch svg,
.agent-home .tool-spotlight__foot a svg,
.agent-home .command-palette a > svg,
.agent-home .tool-header__back svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.agent-home .button--primary {
  background: var(--violet);
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(91, 33, 182, 0.32);
}

.agent-home .button--primary:hover {
  background: #b766fa;
  color: var(--ink);
  box-shadow: 0 18px 48px rgba(91, 33, 182, 0.47);
  transform: translateY(-2px);
}

.agent-home .button--quiet {
  gap: 20px;
  border-color: var(--line);
  background: rgba(2, 7, 13, 0.45);
  color: var(--paper);
}

.agent-home .button--quiet:hover {
  border-color: rgba(192, 132, 252, 0.5);
  background: rgba(91, 33, 182, 0.16);
}

.agent-home .button--quiet span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: rgba(244, 247, 248, 0.08);
  font-family: var(--mono);
  font-size: 9px;
}

.agent-home .hero-console {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  align-self: center;
  min-height: 500px;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(244, 247, 248, 0.16);
  border-radius: 4px;
  background: linear-gradient(145deg, rgba(9, 20, 31, 0.83), rgba(2, 7, 13, 0.56));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  transform: perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform 120ms ease-out;
}

.agent-home .hero-console::before,
.agent-home .tool-spotlight::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.7;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(192, 132, 252, 0.08) 50%, transparent 50.2%),
    linear-gradient(0deg, transparent 49.8%, rgba(192, 132, 252, 0.08) 50%, transparent 50.2%);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, black, transparent 75%);
}

.agent-home .hero-console__head,
.agent-home .tool-spotlight__topline {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
}

.agent-home .hero-console__head div {
  display: grid;
  gap: 7px;
}

.agent-home .hero-console__head span,
.agent-home .hero-console__head strong {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.agent-home .hero-console__head span {
  color: var(--muted);
}

.agent-home .hero-console__head strong {
  font-weight: 500;
}

.agent-home .hero-console__head .hero-console__live {
  padding: 6px 8px;
  border: 1px solid rgba(72, 245, 154, 0.25);
  color: var(--mint);
}

.agent-home .command-orbit {
  position: relative;
  width: min(100%, 330px);
  aspect-ratio: 1;
  margin: 18px auto 7px;
}

.agent-home .orbit,
.agent-home .orbit-node,
.agent-home .orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
}

.agent-home .orbit {
  border: 1px solid rgba(192, 132, 252, 0.26);
}

.agent-home .orbit::before {
  position: absolute;
  top: -2px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  content: "";
  background: var(--violet-light);
  box-shadow: 0 0 12px var(--violet-light);
}

.agent-home .orbit--one {
  width: 88%;
  height: 88%;
  animation: orbitSpin 18s linear infinite;
  transform: translate(-50%, -50%);
}

.agent-home .orbit--two {
  width: 65%;
  height: 65%;
  border-style: dashed;
  animation: spinReverse 12s linear infinite;
  transform: translate(-50%, -50%) rotate(28deg);
}

.agent-home .orbit--three {
  width: 43%;
  height: 43%;
  opacity: 0.55;
  animation: spin 9s linear infinite;
  transform: translate(-50%, -50%);
}

.agent-home .orbit-node {
  z-index: 3;
  width: 8px;
  height: 8px;
  background: var(--mint);
  box-shadow: 0 0 16px rgba(72, 245, 154, 0.8);
}

.agent-home .orbit-node--one {
  transform: translate(102px, -80px);
}

.agent-home .orbit-node--two {
  background: var(--violet-light);
  box-shadow: 0 0 16px var(--violet);
  transform: translate(-129px, 20px);
}

.agent-home .orbit-node--three {
  width: 5px;
  height: 5px;
  transform: translate(62px, 80px);
}

.agent-home .orbit-core {
  display: grid;
  width: 112px;
  height: 112px;
  place-content: center;
  border: 1px solid rgba(192, 132, 252, 0.38);
  background: radial-gradient(circle, rgba(91, 33, 182, 0.42), rgba(9, 20, 31, 0.78) 62%);
  box-shadow: 0 0 55px rgba(91, 33, 182, 0.28);
  text-align: center;
  transform: translate(-50%, -50%);
}

.agent-home .orbit-core b {
  font-family: var(--display);
  font-size: 42px;
  font-weight: 500;
  line-height: 1;
}

.agent-home .orbit-core small {
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agent-home .hero-console__signals {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.agent-home .hero-console__signals div {
  display: grid;
  gap: 7px;
  padding: 13px 10px;
  background: rgba(2, 7, 13, 0.72);
}

.agent-home .hero-console__signals span,
.agent-home .hero-console__signals strong {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.agent-home .hero-console__signals span {
  color: var(--muted);
}

.agent-home .hero-console__signals strong {
  color: var(--mint);
  font-weight: 500;
}

.agent-home .scroll-cue {
  position: absolute;
  z-index: 4;
  right: clamp(22px, 4vw, 72px);
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.agent-home .scroll-cue i {
  position: relative;
  width: 1px;
  height: 44px;
  overflow: hidden;
  background: rgba(244, 247, 248, 0.2);
}

.agent-home .scroll-cue i::after {
  position: absolute;
  top: -50%;
  left: 0;
  width: 1px;
  height: 50%;
  content: "";
  background: var(--violet-light);
  animation: scrollLine 2s ease-in-out infinite;
}

.agent-home .signal-ticker {
  position: relative;
  z-index: 3;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.agent-home .signal-ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 32s linear infinite;
}

.agent-home .signal-ticker span {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 50px;
  padding: 0 28px;
  border-right: 1px solid rgba(2, 7, 13, 0.16);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.agent-home .signal-ticker i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--violet);
}

.agent-home .signal-ticker small {
  color: rgba(2, 7, 13, 0.68);
  font-family: var(--mono);
  font-size: 8px;
}

.agent-home .command-section,
.agent-home .workflow-section,
.agent-home .crew-section {
  width: min(calc(100% - 44px), var(--max));
  margin: 0 auto;
}

.agent-home .command-section {
  padding: clamp(100px, 10vw, 170px) 0;
}

.agent-home .section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.5fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 56px;
}

.agent-home .section-kicker {
  margin: 0 0 18px;
  color: var(--violet-light);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.agent-home .section-heading h2,
.agent-home .workflow-intro h2,
.agent-home .data-plane__copy h2,
.agent-home .crew-heading h2,
.agent-home .closing-section h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(48px, 5.8vw, 88px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.agent-home .section-heading > p {
  max-width: 430px;
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.agent-home .command-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 17px;
}

.agent-home .group-tabs {
  display: flex;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ink-soft);
}

.agent-home .group-tabs button {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 15px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.agent-home .group-tabs button small {
  color: rgba(157, 169, 183, 0.56);
  font-family: var(--mono);
  font-size: 8px;
}

.agent-home .group-tabs button:hover,
.agent-home .group-tabs button.is-active {
  background: var(--paper);
  color: var(--ink);
}

.agent-home .group-tabs button.is-active small {
  color: var(--violet-deep);
}

.agent-home .deck-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 245px;
  min-height: 48px;
  padding: 0 10px 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(9, 20, 31, 0.7);
  transition: border-color 180ms ease;
}

.agent-home .deck-search:focus-within {
  border-color: var(--violet-light);
}

.agent-home .deck-search svg {
  width: 17px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.7;
}

.agent-home .deck-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--paper);
  font-size: 12px;
}

.agent-home .deck-search input::placeholder {
  color: rgba(157, 169, 183, 0.65);
}

.agent-home .deck-search kbd {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}

.agent-home .command-deck {
  display: grid;
  grid-template-columns: minmax(360px, 0.72fr) minmax(480px, 1.28fr);
  min-height: 690px;
  border: 1px solid var(--line-strong);
  background: var(--ink-soft);
  box-shadow: var(--shadow);
}

.agent-home .tool-index {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border-right: 1px solid var(--line);
}

.agent-home .tool-index__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.agent-home .tool-index__rows {
  flex: 1;
}

.agent-home .tool-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 52px;
  min-height: 76px;
  border-bottom: 1px solid rgba(244, 247, 248, 0.08);
  transition:
    background 180ms ease,
    box-shadow 180ms ease;
}

.agent-home .tool-row::before {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  content: "";
  background: var(--violet-light);
  transform: scaleY(0);
  transition: transform 180ms ease;
}

.agent-home .tool-row:hover,
.agent-home .tool-row.is-active {
  background: rgba(168, 85, 247, 0.08);
}

.agent-home .tool-row.is-active::before {
  transform: scaleY(1);
}

.agent-home .tool-row > button {
  display: grid;
  grid-template-columns: 34px 42px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  min-width: 0;
  padding: 12px 14px 12px 20px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.agent-home .tool-row__number {
  color: rgba(157, 169, 183, 0.5);
  font-family: var(--mono);
  font-size: 8px;
}

.agent-home .tool-row__glyph {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition:
    border-color 180ms ease,
    color 180ms ease,
    background 180ms ease;
}

.agent-home .tool-row__glyph svg {
  width: 19px;
}

.agent-home .tool-row.is-active .tool-row__glyph {
  border-color: rgba(192, 132, 252, 0.45);
  background: rgba(168, 85, 247, 0.16);
  color: var(--violet-light);
}

.agent-home .tool-row__title {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.agent-home .tool-row__title strong {
  overflow: hidden;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agent-home .tool-row__title small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.agent-home .tool-row__signal {
  padding: 4px 6px;
  border: 1px solid rgba(72, 245, 154, 0.18);
  color: var(--mint);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.05em;
}

.agent-home .tool-row__launch {
  display: grid;
  place-items: center;
  border-left: 1px solid var(--line);
  color: rgba(244, 247, 248, 0.46);
  transition:
    color 180ms ease,
    background 180ms ease;
}

.agent-home .tool-row__launch:hover {
  background: var(--violet);
  color: var(--ink);
}

.agent-home .tool-empty {
  display: grid;
  gap: 18px;
  justify-items: start;
  padding: 36px 24px;
  color: var(--muted);
}

.agent-home .tool-empty button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.agent-home .tool-spotlight {
  --pointer-x: 70%;
  --pointer-y: 30%;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  padding: 22px;
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(168, 85, 247, 0.18), transparent 26%),
    linear-gradient(145deg, var(--panel-raised), var(--ink) 80%);
  transform: perspective(1300px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-origin: center;
  transition: transform 120ms ease-out;
}

.agent-home .tool-spotlight::after {
  position: absolute;
  right: -16%;
  bottom: -30%;
  width: 60%;
  aspect-ratio: 1;
  border: 1px solid rgba(192, 132, 252, 0.15);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 60px rgba(192, 132, 252, 0.025),
    0 0 0 120px rgba(192, 132, 252, 0.018);
}

.agent-home .tool-spotlight__topline {
  align-self: start;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agent-home .tool-spotlight__status {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--mint);
}

.agent-home .tool-spotlight__status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 9px currentColor;
}

.agent-home .tool-spotlight__visual {
  position: absolute;
  top: 82px;
  right: 40px;
  display: grid;
  width: clamp(210px, 27vw, 360px);
  aspect-ratio: 1;
  place-items: center;
}

.agent-home .spotlight-radar,
.agent-home .spotlight-radar span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(192, 132, 252, 0.2);
  border-radius: 50%;
}

.agent-home .spotlight-radar::before,
.agent-home .spotlight-radar::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  background: rgba(192, 132, 252, 0.15);
  transform: translate(-50%, -50%);
}

.agent-home .spotlight-radar::before {
  width: 100%;
  height: 1px;
}

.agent-home .spotlight-radar::after {
  width: 1px;
  height: 100%;
}

.agent-home .spotlight-radar span:nth-child(1) {
  inset: 15%;
}

.agent-home .spotlight-radar span:nth-child(2) {
  inset: 31%;
}

.agent-home .spotlight-radar span:nth-child(3) {
  inset: 45%;
}

.agent-home .spotlight-radar i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, var(--violet-light), transparent);
  box-shadow: 0 0 12px var(--violet);
  transform-origin: left;
  animation: spin 6s linear infinite;
}

.agent-home .tool-spotlight__glyph {
  position: relative;
  z-index: 2;
  width: 72px;
  color: var(--paper);
  filter: drop-shadow(0 0 18px rgba(192, 132, 252, 0.7));
}

.agent-home .spotlight-code {
  position: absolute;
  bottom: -26px;
  color: rgba(192, 132, 252, 0.55);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.agent-home .tool-spotlight__body {
  position: relative;
  z-index: 3;
  align-self: end;
  max-width: 62%;
  margin-bottom: 118px;
}

.agent-home .tool-spotlight__body p {
  margin: 0 0 14px;
  color: var(--violet-light);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.agent-home .tool-spotlight__body h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 4.2vw, 68px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.agent-home .tool-spotlight__body strong {
  display: block;
  margin-top: 20px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}

.agent-home .tool-spotlight__body > span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.agent-home .tool-spotlight__foot {
  position: absolute;
  z-index: 3;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: stretch;
  border: 1px solid var(--line);
}

.agent-home .tool-spotlight__foot div {
  display: grid;
  gap: 7px;
  padding: 14px 16px;
  border-right: 1px solid var(--line);
}

.agent-home .tool-spotlight__foot span,
.agent-home .tool-spotlight__foot strong {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.agent-home .tool-spotlight__foot span {
  color: var(--muted);
}

.agent-home .tool-spotlight__foot strong {
  color: var(--mint);
  font-weight: 500;
}

.agent-home .tool-spotlight__foot a {
  display: flex;
  align-items: center;
  gap: 26px;
  min-width: 160px;
  padding: 0 18px;
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.agent-home .tool-spotlight__foot a:hover {
  background: var(--violet);
  color: var(--ink);
}

.agent-home .workflow-section {
  padding: 30px 0 clamp(120px, 12vw, 190px);
}

.agent-home .workflow-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  column-gap: 90px;
  align-items: end;
}

.agent-home .workflow-intro .section-kicker {
  grid-column: 1 / -1;
}

.agent-home .workflow-intro h2 span {
  display: block;
  color: var(--violet-light);
}

.agent-home .workflow-intro > p:last-child {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.agent-home .workflow-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 90px;
}

.agent-home .workflow-line::before {
  position: absolute;
  top: 42px;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--violet), rgba(192, 132, 252, 0.35), var(--mint));
}

.agent-home .workflow-line article {
  position: relative;
  padding: 0 60px 0 0;
}

.agent-home .workflow-line article + article {
  padding-left: 40px;
}

.agent-home .workflow-line__index {
  position: absolute;
  top: -24px;
  color: rgba(157, 169, 183, 0.48);
  font-family: var(--mono);
  font-size: 8px;
}

.agent-home .workflow-line__node {
  position: relative;
  z-index: 2;
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  border: 1px solid rgba(192, 132, 252, 0.26);
  border-radius: 50%;
  background: var(--ink);
}

.agent-home .workflow-line__node::before,
.agent-home .workflow-line__node::after {
  position: absolute;
  border: 1px solid rgba(192, 132, 252, 0.12);
  border-radius: 50%;
  content: "";
}

.agent-home .workflow-line__node::before {
  inset: 9px;
}

.agent-home .workflow-line__node::after {
  inset: 20px;
}

.agent-home .workflow-line__node i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--violet-light);
  box-shadow: 0 0 18px var(--violet);
}

.agent-home .workflow-line article:nth-child(3) .workflow-line__node i {
  background: var(--mint);
  box-shadow: 0 0 18px var(--mint);
}

.agent-home .workflow-line article > p {
  margin: 30px 0 10px;
  color: var(--violet-light);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.agent-home .workflow-line h3 {
  max-width: 310px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(25px, 2.3vw, 37px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.agent-home .workflow-line article > span:last-child {
  display: block;
  max-width: 330px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.agent-home .data-plane {
  position: relative;
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.2fr) minmax(260px, 0.55fr);
  min-height: 680px;
  overflow: hidden;
  border-top: 1px solid rgba(192, 132, 252, 0.22);
  border-bottom: 1px solid rgba(192, 132, 252, 0.22);
  background:
    radial-gradient(circle at 18% 50%, rgba(168, 85, 247, 0.24), transparent 28%),
    linear-gradient(120deg, #0a0610, #140922 48%, #040910);
}

.agent-home .data-plane::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(192, 132, 252, 0.26) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192, 132, 252, 0.26) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, black, transparent 72%);
}

.agent-home .data-plane__graphic {
  position: relative;
  align-self: center;
  width: 120%;
  aspect-ratio: 1;
  transform: translateX(-18%);
}

.agent-home .data-plane__orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(192, 132, 252, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.agent-home .data-plane__orbit::before {
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  content: "";
  background: var(--violet-light);
  box-shadow: 0 0 14px var(--violet-light);
}

.agent-home .data-plane__orbit--one {
  width: 86%;
  height: 86%;
  animation: orbitSpin 24s linear infinite;
}

.agent-home .data-plane__orbit--two {
  width: 52%;
  height: 52%;
  border-style: dashed;
  animation: spinReverse 15s linear infinite;
}

.agent-home .data-plane__node {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 20px rgba(72, 245, 154, 0.72);
}

.agent-home .data-plane__node--one {
  top: 23%;
  right: 13%;
}

.agent-home .data-plane__node--two {
  bottom: 28%;
  left: 22%;
  background: var(--violet-light);
}

.agent-home .data-plane__node--three {
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  background: var(--paper);
  box-shadow:
    0 0 0 14px rgba(192, 132, 252, 0.08),
    0 0 50px rgba(192, 132, 252, 0.65);
  transform: translate(-50%, -50%);
}

.agent-home .data-plane__copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 80px clamp(30px, 5vw, 80px);
  border-left: 1px solid rgba(244, 247, 248, 0.1);
}

.agent-home .data-plane__copy h2 {
  max-width: 720px;
}

.agent-home .data-plane__copy > p:not(.section-kicker) {
  max-width: 590px;
  margin: 28px 0 0;
  color: rgba(244, 247, 248, 0.7);
  font-size: 16px;
  line-height: 1.7;
}

.agent-home .data-plane__signals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}

.agent-home .data-plane__signals span {
  padding: 9px 12px;
  border: 1px solid rgba(192, 132, 252, 0.22);
  border-radius: 999px;
  color: var(--violet-light);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.agent-home .data-plane__readout {
  position: relative;
  z-index: 2;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(244, 247, 248, 0.1);
}

.agent-home .data-plane__readout > span {
  padding: 24px;
  border-bottom: 1px solid rgba(244, 247, 248, 0.1);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.09em;
}

.agent-home .data-plane__readout > div {
  display: grid;
  flex: 1;
  align-content: center;
  padding: 24px;
  border-bottom: 1px solid rgba(244, 247, 248, 0.1);
}

.agent-home .data-plane__readout strong {
  font-family: var(--display);
  font-size: clamp(38px, 4vw, 62px);
  font-weight: 500;
  letter-spacing: -0.06em;
}

.agent-home .data-plane__readout small {
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.agent-home .crew-section {
  padding: clamp(110px, 11vw, 180px) 0;
}

.agent-home .crew-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.55fr;
  column-gap: 90px;
  align-items: end;
  max-width: 1240px;
  margin-bottom: 68px;
}

.agent-home .crew-heading .section-kicker {
  grid-column: 1 / -1;
}

.agent-home .crew-heading > p:last-child {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.agent-home .crew-dossiers {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: start;
  gap: 22px;
}

.agent-home .crew-card {
  position: relative;
}

.agent-home .crew-card--ricky {
  margin-top: 96px;
}

.agent-home .crew-card__image {
  position: relative;
  aspect-ratio: 1.35 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.agent-home .crew-card__image::before {
  position: absolute;
  z-index: 2;
  inset: 14px;
  border: 1px solid rgba(244, 247, 248, 0.14);
  content: "";
  pointer-events: none;
}

.agent-home .crew-card__image::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
  background:
    linear-gradient(0deg, rgba(2, 7, 13, 0.9), transparent 45%),
    linear-gradient(90deg, rgba(168, 85, 247, 0.14), transparent 36%);
  pointer-events: none;
}

.agent-home .crew-card__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: saturate(0.72) contrast(1.08);
  transform: scale(1.13);
  transition:
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 500ms ease;
}

.agent-home .crew-card:hover .crew-card__image img {
  filter: saturate(1) contrast(1.06);
  transform: scale(1.17);
}

.agent-home .crew-card__scan {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: 23%;
  width: 1px;
  opacity: 0.65;
  background: var(--violet-light);
  box-shadow: 0 0 16px var(--violet);
  transition: left 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.agent-home .crew-card:hover .crew-card__scan {
  left: 77%;
}

.agent-home .crew-card__caption {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 6px 26px;
  margin: -46px 20px 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: rgba(6, 17, 26, 0.9);
  backdrop-filter: blur(15px);
  transform: translateZ(0);
}

.agent-home .crew-card__caption > span {
  grid-column: 1 / -1;
  color: var(--violet-light);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agent-home .crew-card__caption h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(25px, 3vw, 42px);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.agent-home .crew-card__caption small {
  justify-self: end;
  padding-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
}

.agent-home .closing-section {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.agent-home .closing-section__background {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 7, 13, 0.97), rgba(2, 7, 13, 0.58) 56%, rgba(2, 7, 13, 0.5)),
    url("../img/touchline-manager-hero.webp") center 42% / cover;
  filter: saturate(0.8);
  transform: scaleX(-1);
}

.agent-home .closing-section::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 64% 48%, rgba(168, 85, 247, 0.22), transparent 29%),
    linear-gradient(0deg, var(--ink), transparent 38%);
}

.agent-home .closing-section__content {
  display: grid;
  align-content: center;
  width: min(calc(100% - 44px), var(--max));
  min-height: 700px;
  margin: 0 auto;
}

.agent-home .closing-section h2 {
  max-width: 870px;
}

.agent-home .closing-section__content > div {
  display: flex;
  gap: 12px;
  margin-top: 36px;
}

.agent-home .closing-section__telemetry {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  padding: 18px clamp(22px, 4vw, 72px);
  border-top: 1px solid var(--line);
  color: rgba(157, 169, 183, 0.62);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.agent-home .site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 50px;
  align-items: center;
  min-height: 150px;
  padding: 28px max(22px, calc((100% - var(--max)) / 2));
  background: #01050a;
}

.agent-home .brand--footer .brand__image {
  width: 166px;
  height: 74px;
}

.agent-home .site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.agent-home .site-footer > div {
  display: flex;
  gap: 28px;
}

.agent-home .site-footer > div a {
  color: var(--muted);
  font-size: 11px;
  transition: color 180ms ease;
}

.agent-home .site-footer > div a:hover {
  color: var(--paper);
}

.agent-home .site-footer small {
  color: rgba(157, 169, 183, 0.5);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
}

.agent-home .mobile-dock {
  display: none;
}

/* Command palette */
.agent-home .palette-shell,
.agent-home .modal-shell {
  position: fixed;
  z-index: 1100;
  inset: 0;
  display: grid;
  place-items: start center;
  overflow-y: auto;
  padding: min(12vh, 110px) 20px 40px;
  background: rgba(1, 5, 10, 0.82);
  backdrop-filter: blur(18px);
  animation: modalFade 180ms ease both;
}

.agent-home .modal-shell {
  z-index: 1200;
}

.agent-home .command-palette {
  width: min(720px, 100%);
  overflow: hidden;
  border: 1px solid rgba(192, 132, 252, 0.35);
  border-radius: 12px;
  background: rgba(6, 17, 26, 0.97);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.72);
  animation: modalRise 240ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.agent-home .command-palette__search {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 15px;
  align-items: center;
  min-height: 72px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
}

.agent-home .command-palette__search svg {
  width: 21px;
  fill: none;
  stroke: var(--violet-light);
  stroke-width: 1.6;
}

.agent-home .command-palette__search input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--paper);
  font-family: var(--display);
  font-size: 20px;
}

.agent-home .command-palette__search input::placeholder {
  color: rgba(157, 169, 183, 0.6);
}

.agent-home .command-palette__close {
  display: none;
}

.agent-home .command-palette kbd {
  padding: 5px 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(244, 247, 248, 0.04);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
}

.agent-home .command-palette__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 10px;
}

.agent-home .command-palette__meta h2,
.agent-home .command-palette__meta span {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agent-home .command-palette__results {
  max-height: min(62vh, 520px);
  overflow-y: auto;
  padding: 6px 10px 12px;
}

.agent-home .command-palette__results a {
  display: grid;
  grid-template-columns: 32px 42px 1fr 24px;
  gap: 12px;
  align-items: center;
  min-height: 64px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  transition:
    border-color 160ms ease,
    background 160ms ease;
}

.agent-home .command-palette__results a:hover,
.agent-home .command-palette__results a:focus-visible,
.agent-home .command-palette__results a.is-active {
  border-color: rgba(192, 132, 252, 0.25);
  background: rgba(168, 85, 247, 0.09);
}

.agent-home .command-palette__index {
  color: rgba(157, 169, 183, 0.45);
  font-family: var(--mono);
  font-size: 8px;
}

.agent-home .command-palette__glyph {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--violet-light);
}

.agent-home .command-palette__glyph svg {
  width: 18px;
}

.agent-home .command-palette__results a > span:nth-child(3) {
  display: grid;
  gap: 5px;
}

.agent-home .command-palette__results strong {
  font-family: var(--display);
  font-size: 13px;
}

.agent-home .command-palette__results small {
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agent-home .command-palette__results a > svg {
  color: var(--muted);
}

.agent-home .command-palette__empty {
  padding: 30px 16px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.agent-home .command-palette__foot {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 48px;
  padding: 0 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
}

.agent-home .command-palette__live {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
}

.agent-home .command-palette__live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
}

/* Wallet */
.agent-home .wallet-modal {
  position: relative;
  width: min(500px, 100%);
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(192, 132, 252, 0.34);
  border-radius: 12px;
  background:
    linear-gradient(150deg, rgba(168, 85, 247, 0.08), transparent 38%),
    rgba(6, 17, 26, 0.98);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.72);
  animation: modalRise 240ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.agent-home .wallet-modal::after {
  position: absolute;
  top: -180px;
  right: -180px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(192, 132, 252, 0.15);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 44px rgba(192, 132, 252, 0.02),
    0 0 0 88px rgba(192, 132, 252, 0.016);
}

.agent-home .modal-close {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 16px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(2, 7, 13, 0.54);
  color: var(--muted);
  cursor: pointer;
  font-size: 22px;
}

.agent-home .wallet-modal__mark {
  position: relative;
  width: 58px;
  height: 58px;
  margin-bottom: 30px;
}

.agent-home .wallet-modal__mark span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(192, 132, 252, 0.35);
  border-radius: 50%;
}

.agent-home .wallet-modal__mark span:nth-child(2) {
  inset: 12px;
}

.agent-home .wallet-modal__mark span:nth-child(3) {
  inset: 23px;
  border: 0;
  background: var(--violet-light);
  box-shadow: 0 0 18px var(--violet);
}

.agent-home .wallet-modal h2 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(34px, 6vw, 52px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.agent-home .wallet-modal__intro {
  position: relative;
  z-index: 2;
  margin: 17px 0 26px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.agent-home .dapper-button {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 58px;
  padding: 0 17px 0 12px;
  border: 0;
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
  text-align: left;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.agent-home .dapper-button:hover {
  background: #fff;
  transform: translateY(-1px);
}

.agent-home .dapper-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.agent-home .dapper-button__glyph {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #121212;
  color: var(--paper);
  font-family: var(--display);
  font-size: 14px;
}

.agent-home .modal-divider {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  margin: 24px 0 20px;
  color: rgba(157, 169, 183, 0.56);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.agent-home .modal-divider::before {
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: var(--line);
}

.agent-home .modal-divider span {
  position: relative;
  padding: 0 12px;
  background: var(--ink-soft);
}

.agent-home .wallet-form {
  position: relative;
  z-index: 2;
}

.agent-home .wallet-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.agent-home .wallet-form > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.agent-home .wallet-form input {
  min-width: 0;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  outline: 0;
  background: rgba(2, 7, 13, 0.72);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  transition: border-color 180ms ease;
}

.agent-home .wallet-form input:focus {
  border-color: var(--violet-light);
}

.agent-home .wallet-form button,
.agent-home .wallet-current button {
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(192, 132, 252, 0.35);
  border-radius: 5px;
  background: rgba(168, 85, 247, 0.13);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.agent-home .wallet-error {
  position: relative;
  z-index: 2;
  min-height: 18px;
  margin: 11px 0 0;
  color: var(--coral);
  font-size: 10px;
}

.agent-home .wallet-modal__footnote {
  position: relative;
  z-index: 2;
  margin: 12px 0 0;
  color: rgba(157, 169, 183, 0.5);
  font-size: 9px;
  text-align: center;
}

.agent-home .wallet-current {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(72, 245, 154, 0.25);
  background: rgba(72, 245, 154, 0.04);
}

.agent-home .wallet-current span {
  color: var(--mint);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agent-home .wallet-current strong {
  overflow-wrap: anywhere;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
}

.agent-home .wallet-current button {
  justify-self: start;
  margin-top: 4px;
  border-color: rgba(255, 107, 107, 0.28);
  background: rgba(255, 107, 107, 0.08);
  color: var(--coral);
}

/* Tool workspace */
.agent-home .tool-shell {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 0%, rgba(91, 33, 182, 0.18), transparent 28%),
    radial-gradient(circle at 7% 76%, rgba(72, 245, 154, 0.055), transparent 22%),
    var(--ink);
}

.agent-home .tool-shell::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(rgba(192, 132, 252, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192, 132, 252, 0.028) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 72%);
  pointer-events: none;
}

.agent-home .tool-shell > * {
  position: relative;
  z-index: 1;
}

.agent-home .tool-header {
  position: relative;
  z-index: 40;
  display: grid;
  grid-template-columns: 72px 170px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 76px;
  padding: 0 24px 0 0;
  border-bottom: 1px solid var(--line);
  background: rgba(2, 7, 13, 0.94);
  box-shadow:
    0 12px 34px rgba(0, 0, 0, 0.3),
    inset 0 -1px 0 rgba(192, 132, 252, 0.06);
  backdrop-filter: blur(16px);
}

.agent-home .tool-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  width: min(32vw, 420px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet-light));
  box-shadow: 0 0 14px rgba(192, 132, 252, 0.48);
  content: "";
  pointer-events: none;
}

.agent-home .tool-header__back {
  display: grid;
  min-height: 76px;
  place-items: center;
  border-right: 1px solid var(--line);
  color: var(--muted);
  transition:
    color 180ms ease,
    background 180ms ease;
}

.agent-home .tool-header__back:hover {
  background: rgba(168, 85, 247, 0.09);
  color: var(--paper);
}

.agent-home .tool-header__back span {
  display: none;
}

.agent-home .tool-header__brand {
  position: relative;
  width: 142px;
  height: 63px;
  margin-left: 22px;
}

.agent-home .tool-header__brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.agent-home .tool-header__station {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
  min-width: 0;
  margin-left: 30px;
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.agent-home .tool-header__glyph {
  position: relative;
  display: grid;
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(192, 132, 252, 0.35);
  border-radius: 50%;
  color: var(--violet-light);
  background: rgba(168, 85, 247, 0.08);
}

.agent-home .tool-header__glyph::before {
  position: absolute;
  inset: -5px;
  border: 1px dashed rgba(192, 132, 252, 0.22);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.agent-home .tool-header__glyph svg {
  width: 18px;
}

.agent-home .tool-header__station div {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.agent-home .tool-header__station small {
  color: var(--violet-light);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agent-home .tool-header__station strong {
  overflow: hidden;
  font-family: var(--display);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agent-home .tool-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.agent-home .tool-switcher-button {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.agent-home .tool-switcher-button:hover {
  border-color: rgba(192, 132, 252, 0.48);
  background: rgba(168, 85, 247, 0.11);
  box-shadow: 0 0 24px rgba(91, 33, 182, 0.18);
  transform: translateY(-1px);
}

.agent-home .tool-switcher-button span {
  margin-left: 8px;
  color: var(--violet-light);
}

.agent-home .tool-switcher {
  position: absolute;
  z-index: 35;
  top: 76px;
  right: 0;
  left: 0;
  padding: 28px clamp(22px, 4vw, 70px) 34px;
  border-bottom: 1px solid rgba(192, 132, 252, 0.35);
  background: rgba(6, 17, 26, 0.98);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(20px);
  animation: switcherDrop 240ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.agent-home .tool-switcher::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 84% 0%, rgba(168, 85, 247, 0.15), transparent 32%),
    repeating-linear-gradient(
      90deg,
      transparent 0 71px,
      rgba(192, 132, 252, 0.025) 72px
    );
  content: "";
  pointer-events: none;
}

.agent-home .tool-switcher > * {
  position: relative;
  z-index: 1;
}

.agent-home .tool-switcher__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.agent-home .tool-switcher__head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.agent-home .tool-switcher__head button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 22px;
}

.agent-home .tool-switcher__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.agent-home .tool-switcher__grid a {
  display: grid;
  grid-template-columns: 22px 32px 1fr auto;
  gap: 9px;
  align-items: center;
  min-height: 72px;
  padding: 10px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.agent-home .tool-switcher__grid a:hover,
.agent-home .tool-switcher__grid a.is-active {
  background: rgba(168, 85, 247, 0.11);
  border-color: rgba(192, 132, 252, 0.28);
  box-shadow: inset 0 0 28px rgba(91, 33, 182, 0.09);
}

.agent-home .tool-switcher__grid a:hover {
  transform: translateY(-2px);
}

.agent-home .tool-switcher__grid a.is-active {
  box-shadow: inset 2px 0 var(--violet-light);
}

.agent-home .tool-switcher__grid a > span {
  color: rgba(157, 169, 183, 0.5);
  font-family: var(--mono);
  font-size: 7px;
}

.agent-home .tool-switcher__grid svg {
  width: 19px;
  color: var(--violet-light);
}

.agent-home .tool-switcher__grid strong {
  font-family: var(--display);
  font-size: 10px;
  line-height: 1.2;
}

.agent-home .tool-switcher__grid small {
  color: var(--mint);
  font-family: var(--mono);
  font-size: 6px;
}

.agent-home .tool-context {
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  padding: 9px 24px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(168, 85, 247, 0.055), transparent 24%),
    var(--ink-soft);
}

.agent-home .tool-context > div {
  display: flex;
  align-items: center;
  gap: 16px;
}

.agent-home .tool-context__status {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.agent-home .tool-context__status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 9px var(--mint);
}

.agent-home .tool-context p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.agent-home .tool-context__actions button,
.agent-home .tool-context__actions a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  font-size: 10px;
  transition:
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.agent-home .tool-context__actions button:hover,
.agent-home .tool-context__actions a:hover {
  border-color: rgba(192, 132, 252, 0.4);
  background: rgba(168, 85, 247, 0.07);
  color: var(--paper);
  transform: translateY(-1px);
}

.agent-home .tool-context__hint {
  color: var(--violet-light);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.agent-home .tool-stage {
  position: relative;
  min-height: calc(100svh - 136px);
  padding-top: 25px;
  background:
    radial-gradient(circle at 78% 8%, rgba(168, 85, 247, 0.09), transparent 26%),
    #090c12;
  box-shadow: inset 0 1px 0 rgba(192, 132, 252, 0.08);
}

.agent-home .tool-stage__effects {
  position: absolute;
  z-index: 4;
  inset: 25px 0 0;
  overflow: hidden;
  pointer-events: none;
}

.agent-home .tool-stage__effects::before {
  position: absolute;
  top: -18%;
  right: 0;
  left: 0;
  height: 16%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(192, 132, 252, 0.045),
    rgba(72, 245, 154, 0.028),
    transparent
  );
  content: "";
  animation: toolStageScan 8s linear infinite;
}

.agent-home .tool-stage__effects span {
  position: absolute;
  width: 32px;
  height: 32px;
  opacity: 0.7;
}

.agent-home .tool-stage__effects span:nth-child(1),
.agent-home .tool-stage__effects span:nth-child(2) {
  top: 12px;
  border-top: 1px solid rgba(192, 132, 252, 0.52);
}

.agent-home .tool-stage__effects span:nth-child(3),
.agent-home .tool-stage__effects span:nth-child(4) {
  bottom: 12px;
  border-bottom: 1px solid rgba(72, 245, 154, 0.32);
}

.agent-home .tool-stage__effects span:nth-child(odd) {
  left: 12px;
  border-left: 1px solid rgba(192, 132, 252, 0.52);
}

.agent-home .tool-stage__effects span:nth-child(even) {
  right: 12px;
  border-right: 1px solid rgba(192, 132, 252, 0.52);
}

.agent-home .tool-stage__rail {
  position: absolute;
  z-index: 6;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 25px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(244, 247, 248, 0.08);
  background: #04080d;
  color: rgba(157, 169, 183, 0.54);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.agent-home .tool-stage iframe {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  min-height: calc(100svh - 161px);
  border: 0;
  background: #090c12;
  opacity: 1;
  transition: opacity 240ms ease;
}

.agent-home .tool-stage iframe.is-loading {
  opacity: 0;
}

.agent-home .tool-stage__loader {
  position: absolute;
  z-index: 5;
  inset: 25px 0 0;
  display: grid;
  place-content: center;
  justify-items: center;
  background:
    radial-gradient(circle, rgba(91, 33, 182, 0.15), transparent 30%),
    #070c12;
  text-align: center;
}

.agent-home .tool-stage__loader-orbit {
  position: relative;
  width: 110px;
  height: 110px;
  margin-bottom: 18px;
}

.agent-home .tool-stage__loader-orbit span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(192, 132, 252, 0.3);
  border-radius: 50%;
  animation: spin 2s linear infinite;
}

.agent-home .tool-stage__loader-orbit span:nth-child(2) {
  inset: 20px;
  border-style: dashed;
  animation-direction: reverse;
  animation-duration: 1.4s;
}

.agent-home .tool-stage__loader-orbit i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--violet-light);
  box-shadow: 0 0 20px var(--violet);
  transform: translate(-50%, -50%);
}

.agent-home .tool-stage__loader p {
  margin: 0;
  font-family: var(--display);
  font-size: 18px;
}

.agent-home .tool-stage__loader small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
}

.agent-home .tool-mobile-bar {
  display: none;
}

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

@keyframes toolStageScan {
  to {
    transform: translateY(760%);
  }
}

@keyframes orbitSpin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes spinReverse {
  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

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

@keyframes gridDrift {
  to {
    background-position: 0 72px;
  }
}

@keyframes scanHero {
  0%,
  15% {
    transform: skewX(-18deg) translateX(-160%);
  }
  70%,
  100% {
    transform: skewX(-18deg) translateX(360%);
  }
}

@keyframes scrollLine {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(300%);
  }
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

@keyframes modalFade {
  from {
    opacity: 0;
  }
}

@keyframes modalRise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
}

@keyframes switcherDrop {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
}

@media (max-width: 1260px) {
  .agent-home .topbar {
    grid-template-columns: 210px 1fr auto;
  }

  .agent-home .primary-nav {
    gap: 22px;
  }

  .agent-home .network-status {
    display: none;
  }

  .agent-home .command-trigger span {
    display: none;
  }

  .agent-home .hero__content {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
    gap: 35px;
  }

  .agent-home .hero-console {
    min-height: 450px;
  }

  .agent-home .tool-spotlight__body {
    max-width: 70%;
  }

  .agent-home .tool-switcher__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1020px) {
  .agent-home .topbar {
    grid-template-columns: 1fr auto;
  }

  .agent-home .primary-nav {
    display: none;
  }

  .agent-home .hero__content {
    grid-template-columns: 1fr;
    align-items: end;
    padding-bottom: 92px;
  }

  .agent-home .hero-console {
    display: none;
  }

  .agent-home .hero__copy {
    max-width: 850px;
  }

  .agent-home .hero h1 {
    font-size: clamp(62px, 11vw, 104px);
  }

  .agent-home .section-heading,
  .agent-home .workflow-intro,
  .agent-home .crew-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .agent-home .command-filter {
    align-items: stretch;
    flex-direction: column;
  }

  .agent-home .group-tabs {
    width: 100%;
    overflow-x: auto;
    border-radius: 8px;
  }

  .agent-home .group-tabs button {
    flex: 1 0 auto;
  }

  .agent-home .deck-search {
    width: 100%;
  }

  .agent-home .command-deck {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .agent-home .tool-row > button {
    grid-template-columns: 26px 38px minmax(0, 1fr);
    gap: 9px;
    padding-left: 13px;
  }

  .agent-home .tool-row__signal {
    display: none;
  }

  .agent-home .tool-spotlight__visual {
    top: 95px;
    right: -30px;
  }

  .agent-home .tool-spotlight__body {
    max-width: 78%;
  }

  .agent-home .data-plane {
    grid-template-columns: minmax(260px, 0.6fr) minmax(0, 1.2fr);
  }

  .agent-home .data-plane__readout {
    display: none;
  }

  .agent-home .crew-heading {
    max-width: 840px;
  }

  .agent-home .site-footer {
    grid-template-columns: auto 1fr auto;
  }

  .agent-home .site-footer small {
    display: none;
  }

  .agent-home .tool-header {
    grid-template-columns: 64px 150px minmax(0, 1fr) auto;
  }

  .agent-home .tool-header__station {
    margin-left: 15px;
    padding-left: 15px;
  }

  .agent-home .tool-header__actions .network-status {
    display: none;
  }

  .agent-home .tool-context p,
  .agent-home .tool-context__hint {
    display: none;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }

  .agent-home .topbar {
    position: absolute;
    min-height: 72px;
    padding: 0 16px;
  }

  .agent-home .brand__image {
    width: 136px;
    height: 61px;
  }

  .agent-home .topbar__actions .command-trigger {
    display: none;
  }

  .agent-home .topbar__actions .wallet-pill {
    width: 44px;
    padding: 0;
  }

  .agent-home .topbar__actions .wallet-pill__label {
    display: none;
  }

  .agent-home .hero {
    min-height: 850px;
  }

  .agent-home .hero__media video {
    object-position: 62% center;
  }

  .agent-home .hero__wash {
    background:
      linear-gradient(90deg, rgba(2, 7, 13, 0.97), rgba(2, 7, 13, 0.43)),
      linear-gradient(0deg, rgba(2, 7, 13, 0.98), transparent 60%);
  }

  .agent-home .hero__content {
    width: calc(100% - 32px);
    padding: 130px 0 100px;
  }

  .agent-home .hero__kicker {
    gap: 10px;
    margin-bottom: 20px;
  }

  .agent-home .hero__kicker::before {
    width: 28px;
  }

  .agent-home .hero h1 {
    font-size: clamp(55px, 18vw, 82px);
    letter-spacing: -0.065em;
    line-height: 0.9;
  }

  .agent-home .hero__lede {
    margin-top: 26px;
    font-size: 15px;
  }

  .agent-home .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .agent-home .button {
    width: 100%;
    justify-content: space-between;
  }

  .agent-home .scroll-cue {
    display: none;
  }

  .agent-home .signal-ticker span {
    min-height: 44px;
  }

  .agent-home .command-section,
  .agent-home .workflow-section,
  .agent-home .crew-section {
    width: calc(100% - 32px);
  }

  .agent-home .command-section {
    padding: 90px 0 110px;
  }

  .agent-home .section-heading {
    margin-bottom: 40px;
  }

  .agent-home .section-heading h2,
  .agent-home .workflow-intro h2,
  .agent-home .data-plane__copy h2,
  .agent-home .crew-heading h2,
  .agent-home .closing-section h2 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .agent-home .group-tabs button span {
    white-space: nowrap;
  }

  .agent-home .command-deck {
    display: block;
    min-height: 0;
  }

  .agent-home .tool-index {
    border-right: 0;
  }

  .agent-home .tool-index__rows {
    max-height: 520px;
    overflow-y: auto;
  }

  .agent-home .tool-row {
    min-height: 72px;
  }

  .agent-home .tool-row > button {
    grid-template-columns: 28px 38px minmax(0, 1fr);
  }

  .agent-home .tool-spotlight {
    display: block;
    min-height: 590px;
    border-top: 1px solid var(--line-strong);
  }

  .agent-home .tool-spotlight__visual {
    top: 86px;
    right: -40px;
    width: 265px;
    opacity: 0.7;
  }

  .agent-home .tool-spotlight__body {
    position: relative;
    max-width: 88%;
    margin: 230px 0 130px;
  }

  .agent-home .tool-spotlight__body h3 {
    font-size: 47px;
  }

  .agent-home .tool-spotlight__foot {
    grid-template-columns: 1fr 1fr;
  }

  .agent-home .tool-spotlight__foot a {
    grid-column: 1 / -1;
    min-height: 52px;
    justify-content: space-between;
  }

  .agent-home .workflow-section {
    padding-bottom: 120px;
  }

  .agent-home .workflow-line {
    grid-template-columns: 1fr;
    gap: 62px;
    margin-top: 70px;
    padding-left: 24px;
  }

  .agent-home .workflow-line::before {
    top: 0;
    right: auto;
    bottom: 0;
    left: 65px;
    width: 1px;
    height: auto;
    background: linear-gradient(0deg, var(--mint), rgba(192, 132, 252, 0.35), var(--violet));
  }

  .agent-home .workflow-line article,
  .agent-home .workflow-line article + article {
    display: grid;
    min-height: 132px;
    padding: 0 0 0 130px;
  }

  .agent-home .workflow-line__index {
    top: 31px;
    left: 0;
  }

  .agent-home .workflow-line__node {
    position: absolute;
    top: 0;
    left: 0;
  }

  .agent-home .workflow-line article > p {
    margin-top: 0;
  }

  .agent-home .data-plane {
    display: block;
    min-height: 720px;
  }

  .agent-home .data-plane__graphic {
    position: absolute;
    top: -80px;
    right: -190px;
    width: 520px;
    opacity: 0.7;
  }

  .agent-home .data-plane__copy {
    min-height: 720px;
    padding: 250px 24px 70px;
    border-left: 0;
  }

  .agent-home .crew-section {
    padding: 100px 0 120px;
  }

  .agent-home .crew-dossiers {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .agent-home .crew-card--ricky {
    margin-top: 0;
  }

  .agent-home .crew-card__image {
    aspect-ratio: 1 / 1.05;
  }

  .agent-home .crew-card__caption {
    grid-template-columns: 1fr;
    margin-right: 12px;
    margin-left: 12px;
  }

  .agent-home .crew-card__caption small {
    justify-self: start;
  }

  .agent-home .closing-section,
  .agent-home .closing-section__content {
    min-height: 680px;
  }

  .agent-home .closing-section__content {
    width: calc(100% - 32px);
  }

  .agent-home .closing-section__content > div {
    align-items: stretch;
    flex-direction: column;
  }

  .agent-home .closing-section__content .wallet-pill {
    width: 100%;
  }

  .agent-home .closing-section__telemetry span:nth-child(2) {
    display: none;
  }

  .agent-home .site-footer {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 42px 20px 36px;
  }

  .agent-home .site-footer > div {
    gap: 22px;
  }

  .agent-home .mobile-dock {
    position: fixed;
    z-index: 80;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    min-height: 68px;
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid rgba(192, 132, 252, 0.25);
    background: rgba(2, 7, 13, 0.95);
    backdrop-filter: blur(18px);
  }

  .agent-home .mobile-dock a,
  .agent-home .mobile-dock button {
    display: grid;
    min-height: 64px;
    place-content: center;
    justify-items: center;
    gap: 5px;
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 9px;
  }

  .agent-home .mobile-dock span,
  .agent-home .mobile-dock svg {
    width: 20px;
    height: 20px;
    color: var(--paper);
    font-size: 18px;
  }

  .agent-home .mobile-dock svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
  }

  .agent-home .palette-shell,
  .agent-home .modal-shell {
    align-items: end;
    padding: 14px 10px max(14px, env(safe-area-inset-bottom));
  }

  .agent-home .command-palette,
  .agent-home .wallet-modal {
    max-height: calc(100svh - 28px);
    border-radius: 13px;
  }

  .agent-home .command-palette__results {
    max-height: calc(100svh - 210px);
  }

  .agent-home .command-palette__search {
    grid-template-columns: 24px minmax(0, 1fr) 44px;
    padding-right: 10px;
  }

  .agent-home .command-palette__search > kbd {
    display: none;
  }

  .agent-home .command-palette__close {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(192, 132, 252, 0.28);
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.1);
    color: var(--paper);
    cursor: pointer;
  }

  .agent-home .command-palette__close svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
  }

  .agent-home .command-palette__results small {
    max-width: 200px;
  }

  .agent-home .wallet-modal {
    overflow-y: auto;
    padding: 28px 20px;
  }

  .agent-home .wallet-form > div {
    grid-template-columns: 1fr;
  }

  .agent-home .tool-shell {
    padding-bottom: calc(62px + env(safe-area-inset-bottom));
  }

  .agent-home .tool-header {
    grid-template-columns: 58px 1fr auto;
    min-height: 66px;
    padding-right: 12px;
  }

  .agent-home .tool-header__back {
    min-height: 66px;
  }

  .agent-home .tool-header__brand {
    display: none;
  }

  .agent-home .tool-header__station {
    margin-left: 14px;
    padding-left: 0;
    border-left: 0;
  }

  .agent-home .tool-header__station small {
    display: none;
  }

  .agent-home .tool-header__actions .tool-switcher-button,
  .agent-home .tool-header__actions .wallet-pill__label {
    display: none;
  }

  .agent-home .tool-header__actions .wallet-pill {
    width: 44px;
    padding: 0;
  }

  .agent-home .tool-context {
    min-height: 48px;
    padding: 5px 12px;
  }

  .agent-home .tool-context__actions button {
    display: none;
  }

  .agent-home .tool-context__actions a {
    min-height: 44px;
  }

  .agent-home .tool-stage {
    min-height: calc(100svh - 114px);
  }

  .agent-home .tool-stage iframe {
    min-height: calc(100svh - 139px);
  }

  .agent-home .tool-switcher {
    position: fixed;
    top: 0;
    bottom: calc(62px + env(safe-area-inset-bottom));
    overflow-y: auto;
    padding: 24px 14px max(24px, env(safe-area-inset-bottom));
  }

  .agent-home .tool-switcher__grid {
    grid-template-columns: 1fr 1fr;
  }

  .agent-home .tool-switcher__grid a {
    grid-template-columns: 20px 30px 1fr;
    min-height: 68px;
  }

  .agent-home .tool-switcher__grid small {
    display: none;
  }

  .agent-home .tool-mobile-bar {
    position: fixed;
    z-index: 50;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    min-height: calc(62px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid rgba(192, 132, 252, 0.25);
    background: rgba(2, 7, 13, 0.96);
    backdrop-filter: blur(16px);
  }

  .agent-home .tool-mobile-bar a,
  .agent-home .tool-mobile-bar button {
    display: grid;
    min-height: 62px;
    place-content: center;
    justify-items: center;
    gap: 4px;
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 10px;
  }

  .agent-home .tool-mobile-bar svg {
    width: 18px;
  }

  .agent-home .tool-stage__effects {
    opacity: 0.42;
  }

  .agent-home .tool-stage__effects::before {
    animation: none;
  }
}

@media (max-width: 380px) {
  .agent-home .tool-switcher__grid {
    grid-template-columns: 1fr;
  }

  .agent-home .tool-switcher__grid a {
    min-height: 64px;
  }

  .agent-home .tool-context__actions a {
    padding-inline: 10px;
    font-size: 9px;
  }

  .agent-home .workflow-line {
    padding-left: 10px;
  }

  .agent-home .workflow-line::before {
    left: 49px;
  }

  .agent-home .workflow-line article,
  .agent-home .workflow-line article + article {
    padding-left: 102px;
  }

  .agent-home .workflow-line__node {
    width: 78px;
    height: 78px;
  }

  .agent-home .tool-row__number {
    display: none;
  }

  .agent-home .tool-row > button {
    grid-template-columns: 38px minmax(0, 1fr);
  }
}

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

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

  .agent-home [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .agent-home .hero__media video {
    display: none;
  }

  .agent-home .hero__media {
    background: url("../video/agent-hub-command-still.png") center / cover;
  }
}
