/* Agent presentation only. Brand values match the live Ukiyo website. */
.agents-page {
  --agent-ink: #0f172a;
  --agent-muted: #475569;
  --agent-blue: #2563eb;
  color: var(--agent-ink);
  font-family: Inter, sans-serif;
  background: #f3f5f8;
}
.agents-page::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1000px;
  pointer-events: none;
  background: radial-gradient(ellipse at 85% 25%, #bfdbfe80, transparent 55%),
    radial-gradient(ellipse at 15% 10%, #dbeafe80, transparent 60%),
    linear-gradient(180deg, #f8fbff, #f3f5f8);
}
.agents-page main { max-width: 1184px; margin: auto; padding: 144px 32px 96px; }
.agents-page main > section { padding: 0; margin-top: 64px; min-width: 0; }
.agents-page main > section:first-child { margin-top: 0; }
.agents-page main h1 { font-size: clamp(38px, 4.4vw, 64px); font-weight: 500; letter-spacing: -.055em; line-height: 1.08; }
.agents-page main h2 { font-size: 30px; font-weight: 500; letter-spacing: -.04em; margin-bottom: 20px; line-height: 1.25; }
.agents-page main p, .agents-page main li { line-height: 1.7; }
.agents-page main p { overflow-wrap: break-word; }
.agents-page main a:not(.agent-button) { color: var(--agent-blue); text-underline-offset: 4px; }
.agent-hero { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 56px; }
.agent-eyebrow { display: inline-flex; padding: 8px 14px; border-radius: 999px; background: #ffffffcc; border: 1px solid white; font: 11px 'JetBrains Mono', monospace; letter-spacing: .12em; color: var(--agent-blue); margin-bottom: 24px; }
.agent-hero h1 span { color: var(--agent-blue); }
.agent-hero .agent-intro { font-size: 17px; color: var(--agent-muted); margin-top: 24px; }
.agent-hero .agent-guide { font-size: 13px; margin-top: 20px; color: var(--agent-muted); }
.agent-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.agent-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-size: 13px; font-weight: 500; border: 1px solid #dbe5f1; background: #ffffffd6; color: var(--agent-ink); transition: transform .2s, box-shadow .2s; }
.agent-button-primary { color: white; background: linear-gradient(to bottom, #3b82f6, #2563eb); border-color: #1d4ed8; box-shadow: 0 5px 14px #3b82f647, inset 0 1px 0 #ffffff59; }
.agent-button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px #2563eb20; }
.agent-button-primary:hover { background: linear-gradient(to bottom, #60a5fa, #3b82f6); }
.agent-reference-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; font-size: 12px; }
.agent-launch-card { border-radius: 28px; padding: 28px; background: #ffffffd6; border: 1px solid white; box-shadow: 0 24px 60px -28px #0f172a30, inset 0 1px 0 white; }
.agent-launch-card ol { display: grid; gap: 18px; list-style: none; padding: 0; }
.agent-launch-card li { display: grid; grid-template-columns: 32px 1fr; align-items: center; gap: 14px; font-size: 15px; }
.agent-launch-card li span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #eff6ff; color: var(--agent-blue); font: 12px 'JetBrains Mono', monospace; }
.agent-launch-card .agent-terminal { margin-top: 24px; background: #eff6ff; border-color: #dbeafe; }
.agent-card { border-radius: 24px; background: #ffffffd6; border: 1px solid #ffffff; padding: 28px; box-shadow: 0 18px 55px -40px #0f172a73, inset 0 1px 0 white; min-width: 0; }
.agent-card > p:first-child { font-size: 16px; font-weight: 500; color: var(--agent-ink); }
.agent-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.agent-interfaces { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.agent-interfaces .agent-card { padding: 24px; border-top: 3px solid #bfdbfe; }
.agent-interfaces .agent-card > p:first-child { font-size: 20px; margin-bottom: 14px; }
.agent-interfaces .agent-card > p:last-child { overflow-wrap: anywhere; }
.agents-page main pre { margin: 18px 0 12px; padding: 20px; border-radius: 14px; background: #f5f8fc; border: 1px solid #dbe5f1; color: #334155; font: 12px/1.9 'JetBrains Mono', monospace; white-space: pre; overflow-x: auto; max-width: 100%; tab-size: 2; scrollbar-width: thin; scrollbar-color: #93b4e4 #eff6ff; }
.agents-page main code { font: .88em 'JetBrains Mono', monospace; background: #eef3fa; border-radius: 5px; padding: .15em .35em; color: #334155; overflow-wrap: anywhere; }
.agents-page main table { width: 100%; border-collapse: collapse; }
.agents-page main th { font-size: 12px; color: #64748b; font-weight: 500; }
.agents-page main td { font-size: 12px; }
.agents-page main th, .agents-page main td { padding: 14px 20px; white-space: nowrap; }
.agent-inventory { border-radius: 24px; background: #ffffffd6; border: 1px solid white; overflow: hidden; box-shadow: 0 18px 55px -40px #0f172a73; }
.agent-install-list { display: grid; gap: 20px; }
.agents-page :focus-visible { outline: 2px solid var(--agent-blue); outline-offset: 4px; }
@media (max-width: 1024px) {
  .agent-hero { gap: 32px; }
  .agent-interfaces { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .agents-page main { padding: 124px 20px 64px; }
  .agents-page main > section { margin-top: 44px; }
  .agent-hero, .agent-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .agent-hero h1 { max-width: 15ch; }
  .agent-hero .agent-intro { font-size: 15px; margin-top: 20px; }
  .agent-launch-card { padding: 24px; border-radius: 24px; }
  .agent-card { padding: 24px; border-radius: 20px; }
  .agents-page main h2 { font-size: 26px; }
  .agents-page main pre { padding: 16px; font-size: 11px; }
}
@media (max-width: 420px) {
  .agent-interfaces { grid-template-columns: minmax(0, 1fr); }
  .agent-button { padding: 11px 16px; }
  .agents-page main { padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .agents-page { scroll-behavior: auto; }
  .agent-button { transition: none; }
}
