/* Startr Agent Updates feature page.
   Scoped to .agent-page so the existing marketing site remains untouched. */

.agent-page {
  --agent-panel: rgba(18, 27, 48, 0.72);
  --agent-panel-strong: #111b2d;
  --agent-line: rgba(148, 163, 184, 0.16);
  --agent-cyan-soft: rgba(34, 211, 238, 0.12);
  --agent-indigo-soft: rgba(129, 140, 248, 0.13);
  background-color: #080d18;
  background-image:
    radial-gradient(ellipse 760px 540px at 72% 9%, rgba(56, 189, 248, 0.13), transparent 64%),
    radial-gradient(ellipse 800px 560px at 10% 5%, rgba(129, 140, 248, 0.11), transparent 65%);
}

.agent-page main::before {
  opacity: 0.2;
  top: -430px;
  left: 36%;
}

.agent-page main::after {
  opacity: 0.18;
  top: 980px;
  right: -480px;
}

.agent-nav {
  background: rgba(8, 13, 24, 0.78);
}

.agent-page .agent-nav nav a[aria-current="page"] {
  color: var(--ink);
}

/* Hero */

.agent-hero {
  min-height: min(840px, calc(100svh - 69px));
  max-width: 1240px;
  margin: 0 auto;
  padding: 92px 48px 104px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.98fr);
  align-items: center;
  gap: 72px;
}

.agent-hero-copy {
  max-width: 620px;
}

.agent-kicker {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.agent-kicker > span {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.85);
  vertical-align: 1px;
}

.agent-hero h1 {
  max-width: 680px;
  margin-bottom: 26px;
  font-size: clamp(54px, 6.5vw, 92px);
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.agent-gradient {
  background: linear-gradient(92deg, var(--cyan), var(--sky) 42%, var(--indigo) 80%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.agent-lede {
  max-width: 590px;
  margin: 0 0 30px;
  color: #b6c4d8;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.65;
}

.agent-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-bottom: 18px;
}

.agent-btn {
  padding: 15px 24px;
  border-radius: 999px;
  font-size: 15px;
}

.agent-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d7e2f1;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.agent-text-link span {
  color: var(--cyan);
  transition: transform 150ms ease;
}

.agent-text-link:hover {
  color: #fff;
}

.agent-text-link:hover span {
  transform: translateX(3px);
}

.agent-actions .agent-text-link:hover span {
  transform: translateY(3px);
}

.agent-availability {
  max-width: 520px;
  margin: 0;
  color: var(--ink-mute);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.015em;
}

/* Illustrative iPhone / Live Activity mockup */

.agent-demo {
  position: relative;
  min-height: 650px;
  margin: 0;
  display: grid;
  place-items: center;
}

.agent-demo figcaption {
  position: absolute;
  right: 22px;
  bottom: -16px;
  max-width: 360px;
  color: var(--ink-mute);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.agent-orbit {
  position: absolute;
  border: 1px solid rgba(129, 140, 248, 0.13);
  border-radius: 50%;
  pointer-events: none;
}

.agent-orbit-one {
  width: 530px;
  height: 530px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.1), transparent 65%);
}

.agent-orbit-two {
  width: 420px;
  height: 620px;
  transform: rotate(28deg);
  border-color: rgba(34, 211, 238, 0.09);
}

.agent-phone {
  position: relative;
  width: 322px;
  height: 638px;
  overflow: hidden;
  padding: 18px 15px 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 53px;
  background:
    radial-gradient(circle at 50% 77%, rgba(129, 140, 248, 0.3), transparent 30%),
    radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.12), transparent 38%),
    linear-gradient(160deg, #121c31, #070b14 68%);
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.62),
    0 0 80px rgba(56, 189, 248, 0.12),
    inset 0 0 0 5px #05080e,
    inset 0 0 0 7px rgba(255, 255, 255, 0.07);
}

.agent-phone::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.045) 35%, transparent 47%),
    radial-gradient(circle at 78% 40%, rgba(244, 114, 182, 0.08), transparent 33%);
  pointer-events: none;
}

.agent-phone-top {
  position: relative;
  z-index: 2;
  height: 30px;
  padding: 0 12px;
  display: grid;
  grid-template-columns: 1fr 110px 1fr;
  align-items: center;
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  font-weight: 650;
}

.agent-island {
  width: 92px;
  height: 25px;
  justify-self: center;
  border-radius: 999px;
  background: #020306;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.agent-signal {
  justify-self: end;
  letter-spacing: 1px;
}

.agent-date {
  position: relative;
  margin-top: 43px;
  color: rgba(231, 239, 250, 0.66);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-align: center;
}

.agent-time {
  position: relative;
  margin-top: -3px;
  color: #eef5ff;
  font-family: var(--display);
  font-size: 72px;
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1;
  text-align: center;
  text-shadow: 0 5px 25px rgba(0, 0, 0, 0.28);
}

.live-card {
  position: absolute;
  z-index: 3;
  right: 15px;
  bottom: 104px;
  left: 15px;
  padding: 15px 16px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 23px;
  background: rgba(4, 9, 16, 0.78);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.44);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}

.live-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
}

.live-agent,
.live-phase {
  color: var(--cyan);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.live-phase {
  color: #7dd3fc;
}

.live-terminal {
  display: inline-grid;
  width: 21px;
  height: 21px;
  margin-right: 4px;
  place-items: center;
  border-radius: 7px;
  background: rgba(34, 211, 238, 0.12);
  color: var(--cyan);
  font-size: 9px;
}

.live-card > strong {
  display: block;
  margin-bottom: 2px;
  color: #f8fbff;
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: -0.02em;
}

.live-card > p {
  margin: 0 0 11px;
  color: #9caac0;
  font-size: 11px;
}

.live-progress-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 9px;
}

.live-countdown {
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.05em;
}

.live-fraction {
  color: #9eb0c9;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.live-track {
  display: block;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.live-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--arc);
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.5);
}

.agent-phone-bottom {
  position: absolute;
  right: 36px;
  bottom: 28px;
  left: 36px;
  display: flex;
  justify-content: space-between;
}

.agent-phone-bottom span {
  display: block;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
}

.agent-state {
  position: absolute;
  z-index: 4;
  min-width: 194px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 15px;
  background: rgba(12, 19, 33, 0.9);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(20px);
}

.agent-state small,
.agent-state strong {
  display: block;
}

.agent-state small {
  margin-bottom: 2px;
  color: #fbbf24;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.agent-state strong {
  color: #e8eef8;
  font-size: 11px;
}

.agent-state-warn {
  top: 135px;
  right: -10px;
}

.agent-state-done {
  left: -12px;
  bottom: 60px;
}

.agent-state-done small {
  color: #67e8f9;
}

.state-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.65);
}

.state-check {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.14);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
}

/* Proof strip */

.agent-proof {
  border-top: 1px solid var(--agent-line);
  border-bottom: 1px solid var(--agent-line);
  background: rgba(6, 11, 20, 0.66);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.agent-proof p {
  min-height: 86px;
  margin: 0;
  padding: 22px 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border-right: 1px solid var(--agent-line);
  color: #bbc8da;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.agent-proof p:last-child {
  border-right: 0;
}

.agent-proof p span {
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

/* Shared section layout */

.agent-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 118px 48px;
}

.agent-section-head {
  max-width: 790px;
  margin-bottom: 54px;
}

.agent-section-head.compact {
  max-width: 760px;
}

.agent-section-head h2,
.grammar-copy h2,
.privacy-copy h2,
.agent-cta h2 {
  margin-bottom: 20px;
  font-size: clamp(38px, 5vw, 62px);
  letter-spacing: -0.045em;
}

.agent-section-head > p:last-child,
.grammar-copy > p:last-child,
.privacy-lede {
  max-width: 650px;
  margin: 0;
  color: #9eacc0;
  font-size: 18px;
  line-height: 1.7;
}

/* Outcome cards */

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

.outcome-card {
  min-height: 380px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--agent-line);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(20, 30, 51, 0.84), rgba(10, 16, 29, 0.78));
  box-shadow: 0 24px 70px -42px rgba(0, 0, 0, 0.9);
}

.outcome-card-featured {
  border-color: rgba(245, 158, 11, 0.25);
  background:
    radial-gradient(circle at 100% 0%, rgba(245, 158, 11, 0.1), transparent 42%),
    linear-gradient(160deg, rgba(22, 31, 51, 0.9), rgba(10, 16, 29, 0.8));
}

.outcome-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 18px;
  font-weight: 700;
}

.outcome-cyan { color: var(--cyan); background: var(--agent-cyan-soft); }
.outcome-warn { color: #fbbf24; background: rgba(245, 158, 11, 0.12); }
.outcome-indigo { color: #a5b4fc; background: var(--agent-indigo-soft); }

.outcome-label {
  margin: 0 0 10px;
  color: var(--ink-mute);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.outcome-card h3 {
  margin-bottom: 13px;
  font-size: 25px;
}

.outcome-card > p:not(.outcome-label) {
  margin: 0 0 24px;
  color: #9eacc0;
  font-size: 14px;
  line-height: 1.65;
}

.outcome-sample {
  margin-top: auto;
  padding: 13px 14px;
  display: grid;
  grid-template-columns: 9px 1fr auto;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  background: rgba(2, 6, 12, 0.42);
}

.outcome-sample span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.6);
}

.outcome-sample strong {
  color: #eaf1fa;
  font-size: 11px;
}

.outcome-sample small {
  color: var(--ink-mute);
  font-size: 9px;
}

.outcome-sample-warn span { background: #f59e0b; box-shadow: 0 0 10px rgba(245, 158, 11, 0.6); }
.outcome-sample-done span { background: #a5b4fc; box-shadow: 0 0 10px rgba(129, 140, 248, 0.6); }

/* Grammar */

.agent-grammar {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(480px, 1.2fr);
  gap: 78px;
  align-items: start;
}

.grammar-copy {
  position: sticky;
  top: 120px;
}

.grammar-stack {
  border-top: 1px solid var(--agent-line);
}

.grammar-item {
  min-height: 158px;
  padding: 28px 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--agent-line);
}

.grammar-num {
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

.grammar-item strong {
  display: block;
  margin-bottom: 6px;
  color: #eef4fc;
  font-family: var(--display);
  font-size: 20px;
}

.grammar-item p {
  max-width: 390px;
  margin: 0;
  color: #8f9db1;
  font-size: 13px;
  line-height: 1.6;
}

.grammar-example {
  min-width: 92px;
  padding: 8px 11px;
  border: 1px solid rgba(34, 211, 238, 0.16);
  border-radius: 9px;
  background: rgba(34, 211, 238, 0.08);
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.grammar-example-warn {
  border-color: rgba(245, 158, 11, 0.2);
  background: rgba(245, 158, 11, 0.08);
  color: #fbbf24;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.grammar-example-copy {
  color: #b8c4d6;
  font-size: 9px;
}

/* Possibilities */

.agent-possibilities {
  max-width: none;
  padding-right: max(48px, calc((100vw - 1144px) / 2));
  padding-left: max(48px, calc((100vw - 1144px) / 2));
  overflow: hidden;
  scroll-margin-top: 90px;
  border-bottom: 1px solid var(--agent-line);
  background:
    radial-gradient(circle at 8% 10%, rgba(34, 211, 238, 0.07), transparent 28%),
    radial-gradient(circle at 92% 62%, rgba(129, 140, 248, 0.07), transparent 30%),
    rgba(11, 18, 31, 0.58);
}

.possibility-heading {
  max-width: 940px;
}

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

.possibility-card {
  --case-accent: 34, 211, 238;
  position: relative;
  min-width: 0;
  min-height: 580px;
  padding: 30px 30px 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(var(--case-accent), 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 86% 8%, rgba(var(--case-accent), 0.12), transparent 30%),
    linear-gradient(155deg, rgba(19, 29, 49, 0.96), rgba(8, 14, 25, 0.94));
  box-shadow: 0 32px 80px -54px rgba(var(--case-accent), 0.75);
}

.possibility-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 280px;
  height: 280px;
  right: -160px;
  top: -160px;
  border: 1px solid rgba(var(--case-accent), 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(var(--case-accent), 0.025), 0 0 0 90px rgba(var(--case-accent), 0.018);
}

.possibility-window,
.possibility-story {
  grid-column: span 7;
}

.possibility-cue,
.possibility-open {
  grid-column: span 5;
}

.possibility-cue { --case-accent: 245, 158, 11; }
.possibility-story { --case-accent: 167, 139, 250; }
.possibility-open { --case-accent: 56, 189, 248; }

.possibility-copy {
  position: relative;
  z-index: 2;
}

.possibility-label {
  margin: 0 0 15px;
  color: rgba(var(--case-accent), 0.95);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.possibility-label span {
  margin-right: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 600;
  opacity: 0.62;
}

.possibility-card h3 {
  max-width: 500px;
  margin: 0 0 11px;
  color: #f2f6fd;
  font-size: clamp(24px, 2.35vw, 32px);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.possibility-card .possibility-copy > p:last-of-type {
  max-width: 520px;
  margin: 0;
  color: #9ba9bd;
  font-size: 14px;
  line-height: 1.62;
}

.possibility-tags {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.possibility-tags span {
  padding: 6px 9px;
  border: 1px solid rgba(var(--case-accent), 0.14);
  border-radius: 999px;
  background: rgba(var(--case-accent), 0.06);
  color: #b8c8da;
  font-size: 9px;
  font-weight: 650;
}

.possibility-screen {
  position: relative;
  width: min(100%, 410px);
  aspect-ratio: 1.17 / 1;
  min-height: 0;
  margin: auto auto -34px;
  padding: 15px 15px 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 0;
  border-radius: 36px 36px 0 0;
  box-shadow:
    0 34px 70px -34px rgba(0, 0, 0, 0.95),
    inset 0 1px rgba(255, 255, 255, 0.12);
}

.possibility-screen::before {
  content: "";
  position: absolute;
  pointer-events: none;
}

.screen-dawn {
  background:
    radial-gradient(circle at 72% 29%, rgba(254, 240, 138, 0.92) 0 3.2%, rgba(251, 146, 60, 0.28) 4%, transparent 17%),
    linear-gradient(165deg, #101b3a 0%, #694369 44%, #d37a5e 62%, #17233b 63%, #07101f 100%);
}

.screen-dawn::before {
  inset: auto -12% 0;
  height: 42%;
  background: linear-gradient(135deg, #16213a, #070e1b 68%);
  clip-path: polygon(0 58%, 17% 34%, 31% 52%, 52% 16%, 67% 49%, 81% 30%, 100% 55%, 100% 100%, 0 100%);
  opacity: 0.95;
}

.screen-stage {
  background:
    radial-gradient(ellipse at 18% -4%, rgba(251, 191, 36, 0.6), transparent 43%),
    radial-gradient(ellipse at 84% -8%, rgba(244, 114, 182, 0.42), transparent 40%),
    linear-gradient(165deg, #2a1728 0%, #121326 54%, #080d18 100%);
}

.screen-stage::before {
  inset: 0;
  background:
    linear-gradient(111deg, transparent 18%, rgba(255, 236, 194, 0.08) 18.5%, transparent 29%),
    linear-gradient(72deg, transparent 64%, rgba(251, 191, 36, 0.08) 64.5%, transparent 76%);
}

.screen-stars {
  background:
    radial-gradient(circle at 14% 23%, rgba(255,255,255,0.75) 0 1px, transparent 1.8px),
    radial-gradient(circle at 76% 18%, rgba(196,181,253,0.8) 0 1px, transparent 1.8px),
    radial-gradient(circle at 88% 48%, rgba(255,255,255,0.65) 0 1px, transparent 1.8px),
    radial-gradient(circle at 29% 59%, rgba(255,255,255,0.6) 0 1px, transparent 1.8px),
    radial-gradient(circle at 73% 42%, rgba(139, 92, 246, 0.3), transparent 30%),
    linear-gradient(165deg, #191735 0%, #11162d 50%, #070c18 100%);
}

.screen-stars::before {
  width: 170px;
  height: 170px;
  right: -45px;
  top: 36px;
  border: 1px solid rgba(196, 181, 253, 0.15);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(167, 139, 250, 0.025), 0 0 44px rgba(139, 92, 246, 0.13);
}

.screen-ui {
  position: relative;
  z-index: 1;
  height: 100%;
}

.screen-status {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 9px;
  font-weight: 700;
}

.screen-status > span:last-child {
  text-align: right;
  letter-spacing: -0.12em;
}

.screen-island {
  min-width: 112px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.88);
  color: rgba(var(--case-accent), 0.98);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  letter-spacing: -0.02em;
  text-align: center;
}

.screen-date {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
}

.screen-time {
  margin-top: -3px;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--display);
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.04em;
  text-align: center;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.32);
}

.case-live-card {
  margin-top: 17px;
  padding: 14px 14px 13px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  background: rgba(7, 10, 17, 0.88);
  box-shadow: 0 18px 34px -18px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.case-live-card::before {
  content: "";
  position: absolute;
}

.case-topline,
.case-metric,
.case-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.case-topline {
  margin-bottom: 9px;
  color: #aeb8c8;
  font-size: 8px;
  font-weight: 650;
}

.case-topline span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-topline i {
  margin-right: 4px;
  color: rgba(var(--case-accent), 1);
  font-style: normal;
}

.case-topline b {
  flex: 0 0 auto;
  color: rgba(var(--case-accent), 1);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.case-live-card > strong {
  display: block;
  overflow: hidden;
  color: #f7f9fd;
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-live-card > p {
  margin: 3px 0 11px;
  overflow: hidden;
  color: #8d99aa;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-metric {
  color: #aeb9ca;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
}

.case-metric b {
  margin-left: 3px;
  color: #f6f9fc;
  font-size: 13px;
}

.case-metric em {
  color: #788597;
  font-size: 8px;
  font-style: normal;
}

.case-track {
  height: 3px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.case-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(var(--case-accent), 0.75), rgba(var(--case-accent), 1));
  box-shadow: 0 0 10px rgba(var(--case-accent), 0.55);
}

.case-route {
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(var(--case-accent), 1);
  font-size: 8px;
  font-weight: 700;
}

.case-route span {
  font-size: 12px;
}

.possibility-open {
  min-height: 580px;
  padding-bottom: 30px;
  justify-content: flex-end;
  background:
    radial-gradient(circle at 50% 28%, rgba(56, 189, 248, 0.11), transparent 32%),
    linear-gradient(155deg, rgba(16, 28, 48, 0.95), rgba(7, 13, 24, 0.95));
}

.possibility-open::before {
  right: 50%;
  top: 58px;
  transform: translateX(50%);
}

.open-orbit {
  position: absolute;
  top: 48px;
  left: 50%;
  width: 230px;
  height: 230px;
  transform: translateX(-50%);
  border: 1px solid rgba(56, 189, 248, 0.13);
  border-radius: 50%;
}

.open-orbit::before,
.open-orbit::after {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(129, 140, 248, 0.13);
  border-radius: 50%;
}

.open-orbit::after {
  inset: 68px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.32), rgba(34, 211, 238, 0.02) 55%, transparent 70%);
  box-shadow: 0 0 48px rgba(34, 211, 238, 0.16);
}

.open-orbit span {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.85);
}

.open-orbit span:nth-child(1) { top: 34px; left: 31px; }
.open-orbit span:nth-child(2) { top: 86px; right: -3px; background: #a5b4fc; }
.open-orbit span:nth-child(3) { bottom: 7px; left: 92px; background: #f9a8d4; }

.possibility-open .possibility-copy {
  margin-bottom: 25px;
}

.contract-preview {
  display: grid;
  grid-template-columns: 0.8fr 1.55fr;
  gap: 7px;
}

.contract-preview span {
  min-width: 0;
  padding: 9px 10px;
  overflow: hidden;
  border: 1px dashed rgba(56, 189, 248, 0.2);
  border-radius: 9px;
  background: rgba(56, 189, 248, 0.045);
  color: #7791a7;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contract-preview span:nth-child(2),
.contract-preview span:nth-child(3) {
  border-color: rgba(129, 140, 248, 0.2);
  background: rgba(129, 140, 248, 0.045);
}

.possibility-disclaimer {
  max-width: 900px;
  margin: 26px 0 0;
  padding-left: 18px;
  border-left: 2px solid rgba(34, 211, 238, 0.28);
  color: #718096;
  font-size: 11px;
  line-height: 1.65;
}

/* Flow */

.agent-how .agent-section-head {
  text-align: center;
  margin-right: auto;
  margin-left: auto;
}

.agent-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px minmax(0, 1fr) 100px minmax(0, 1fr);
  align-items: center;
}

.flow-node {
  position: relative;
  min-height: 285px;
  padding: 30px;
  border: 1px solid var(--agent-line);
  border-radius: 22px;
  background: linear-gradient(155deg, rgba(19, 29, 49, 0.8), rgba(8, 14, 25, 0.7));
}

.flow-step {
  position: absolute;
  top: 17px;
  right: 18px;
  color: var(--ink-mute);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

.flow-symbol {
  width: 54px;
  height: 54px;
  margin-bottom: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: 15px;
  background: var(--agent-cyan-soft);
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 18px;
}

.flow-node:nth-child(3) .flow-symbol {
  border-color: rgba(129, 140, 248, 0.2);
  background: var(--agent-indigo-soft);
  color: #a5b4fc;
}

.flow-node:nth-child(5) .flow-symbol {
  border-color: rgba(244, 114, 182, 0.18);
  background: rgba(244, 114, 182, 0.09);
  color: #f9a8d4;
}

.flow-node h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.flow-node p {
  margin: 0;
  color: #8e9db1;
  font-size: 13px;
  line-height: 1.65;
}

.flow-line {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.2), rgba(129, 140, 248, 0.45), rgba(34, 211, 238, 0.2));
}

.flow-line::after {
  content: "›";
  position: absolute;
  top: -12px;
  right: -2px;
  color: #8393aa;
  font-size: 20px;
}

.flow-line span {
  position: absolute;
  top: -26px;
  left: 50%;
  color: var(--ink-mute);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
}

.agent-event-strip {
  max-width: 750px;
  margin: 48px auto 0;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 1px solid var(--agent-line);
  border-radius: 999px;
  background: rgba(5, 10, 18, 0.45);
}

.agent-event-strip span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #8291a7;
  font-size: 10px;
}

.agent-event-strip i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
}

.agent-event-strip strong {
  color: #dbe5f2;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.agent-event-strip b {
  color: #536176;
  font-weight: 400;
}

/* Privacy */

.agent-privacy {
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(460px, 1.3fr);
  gap: 92px;
  align-items: center;
}

.privacy-mark {
  position: relative;
  width: min(100%, 390px);
  aspect-ratio: 1;
  justify-self: center;
  display: grid;
  place-items: center;
  border: 1px solid rgba(34, 211, 238, 0.12);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.12), rgba(129, 140, 248, 0.04) 46%, transparent 68%);
  box-shadow: inset 0 0 70px rgba(34, 211, 238, 0.04);
}

.privacy-mark::before,
.privacy-mark::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(129, 140, 248, 0.12);
  border-radius: 50%;
}

.privacy-mark::before { inset: 13%; }
.privacy-mark::after { inset: 27%; border-color: rgba(34, 211, 238, 0.17); }

.privacy-mark span {
  position: relative;
  z-index: 2;
  width: 88px;
  height: 76px;
  border: 4px solid #b8f3fb;
  border-radius: 22px;
  background: rgba(7, 15, 25, 0.85);
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.18);
}

.privacy-mark span::before {
  content: "";
  position: absolute;
  width: 46px;
  height: 43px;
  top: -42px;
  left: 17px;
  border: 4px solid #b8f3fb;
  border-bottom: 0;
  border-radius: 26px 26px 0 0;
}

.privacy-mark i {
  position: absolute;
  z-index: 3;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.8);
}

.privacy-list {
  margin: 34px 0 26px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--agent-line);
}

.privacy-list li {
  padding: 15px 0;
  display: grid;
  grid-template-columns: 21px 1fr;
  gap: 10px;
  border-bottom: 1px solid var(--agent-line);
}

.privacy-list li > span {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.11);
  color: var(--cyan);
  font-size: 9px;
  font-weight: 800;
}

.privacy-list p {
  margin: 0;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.6;
}

.privacy-list strong {
  color: #e6edf7;
  font-weight: 650;
}

/* FAQ */

.agent-faq {
  max-width: 880px;
}

.agent-faq-list {
  border-top: 1px solid var(--agent-line);
}

.agent-faq-list details {
  border-bottom: 1px solid var(--agent-line);
}

.agent-faq-list summary {
  position: relative;
  padding: 23px 46px 23px 0;
  color: #e8eef7;
  cursor: pointer;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  list-style: none;
}

.agent-faq-list summary::-webkit-details-marker { display: none; }

.agent-faq-list summary::after {
  content: "+";
  position: absolute;
  top: 22px;
  right: 4px;
  color: var(--cyan);
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 400;
}

.agent-faq-list details[open] summary::after { content: "−"; }

.agent-faq-list details p {
  max-width: 720px;
  margin: -5px 0 24px;
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.7;
}

/* Final CTA */

.agent-cta {
  position: relative;
  z-index: 1;
  overflow: hidden;
  max-width: 1144px;
  margin: 22px auto 110px;
  padding: 94px 48px;
  border: 1px solid rgba(56, 189, 248, 0.17);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 120%, rgba(129, 140, 248, 0.19), transparent 48%),
    linear-gradient(145deg, rgba(18, 29, 50, 0.93), rgba(8, 14, 25, 0.96));
  text-align: center;
}

.agent-cta-glow {
  position: absolute;
  width: 480px;
  height: 190px;
  right: 50%;
  bottom: -130px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.2);
  filter: blur(60px);
  transform: translateX(50%);
  pointer-events: none;
}

.agent-cta .agent-kicker,
.agent-cta h2,
.agent-cta p,
.agent-cta a,
.agent-cta small {
  position: relative;
}

.agent-cta h2 {
  margin-bottom: 18px;
  font-size: clamp(46px, 6vw, 74px);
  line-height: 0.95;
}

.agent-cta > p:not(.agent-kicker) {
  max-width: 550px;
  margin: 0 auto 28px;
  color: #9fadc1;
  font-size: 17px;
}

.agent-cta small {
  display: block;
  margin-top: 16px;
  color: var(--ink-mute);
  font-size: 11px;
}

/* Responsive */

@media (max-width: 1080px) {
  .agent-hero {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.85fr);
    gap: 32px;
  }

  .agent-state-warn { right: 4px; }
  .agent-state-done { left: 4px; }

  .agent-flow {
    grid-template-columns: 1fr 62px 1fr 62px 1fr;
  }

  .flow-node { padding: 24px; }
}

@media (max-width: 860px) {
  .agent-hero {
    min-height: auto;
    padding: 68px 20px 82px;
    grid-template-columns: 1fr;
    gap: 58px;
    text-align: center;
  }

  .agent-hero-copy,
  .agent-lede,
  .agent-availability {
    margin-right: auto;
    margin-left: auto;
  }

  .agent-actions { justify-content: center; }

  .agent-demo {
    min-height: 610px;
  }

  .agent-demo figcaption {
    right: 50%;
    bottom: -10px;
    width: 100%;
    transform: translateX(50%);
  }

  .agent-proof {
    grid-template-columns: 1fr;
  }

  .agent-proof p {
    min-height: 64px;
    border-right: 0;
    border-bottom: 1px solid var(--agent-line);
  }

  .agent-proof p:last-child { border-bottom: 0; }

  .agent-section { padding: 88px 20px; }
  .agent-possibilities { padding: 88px 20px; }

  .possibility-grid {
    max-width: 620px;
    margin: 0 auto;
    grid-template-columns: 1fr;
  }

  .possibility-window,
  .possibility-cue,
  .possibility-story,
  .possibility-open {
    grid-column: auto;
  }

  .possibility-card {
    min-height: 570px;
  }

  .possibility-open {
    min-height: 520px;
  }

  .outcome-grid { grid-template-columns: 1fr; }
  .outcome-card { min-height: 340px; }

  .agent-grammar {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .grammar-copy { position: static; }

  .agent-flow {
    max-width: 520px;
    margin: 0 auto;
    grid-template-columns: 1fr;
  }

  .flow-node { min-height: auto; }
  .flow-symbol { margin-bottom: 38px; }

  .flow-line {
    width: 1px;
    height: 58px;
    justify-self: center;
    background: linear-gradient(rgba(34, 211, 238, 0.2), rgba(129, 140, 248, 0.45), rgba(34, 211, 238, 0.2));
  }

  .flow-line::after {
    content: "⌄";
    top: auto;
    right: -7px;
    bottom: -8px;
  }

  .flow-line span {
    top: 20px;
    left: 14px;
    transform: none;
  }

  .agent-event-strip {
    max-width: 520px;
    border-radius: 18px;
    flex-direction: column;
    gap: 10px;
  }

  .agent-event-strip b { transform: rotate(90deg); }

  .agent-privacy {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .privacy-mark { width: min(78vw, 360px); }

  .agent-cta {
    margin: 14px 20px 80px;
    padding: 78px 22px;
  }
}

@media (max-width: 620px) {
  .agent-nav nav a:not(.cta-sm) { display: none; }
  .agent-nav .cta-sm { padding: 8px 13px; font-size: 12px; }

  .agent-hero h1 {
    font-size: clamp(48px, 15vw, 68px);
  }

  .agent-lede { font-size: 17px; }

  .agent-demo {
    min-height: 540px;
    transform: scale(0.86);
    transform-origin: top center;
    margin-bottom: -80px;
  }

  .agent-orbit-one { width: 460px; height: 460px; }
  .agent-orbit-two { width: 360px; height: 540px; }

  .agent-state {
    min-width: 170px;
    padding: 10px 11px;
  }

  .agent-state-warn { right: -6px; }
  .agent-state-done { left: -6px; }

  .agent-section-head h2,
  .grammar-copy h2,
  .privacy-copy h2 {
    font-size: 38px;
  }

  .grammar-item {
    grid-template-columns: 28px 1fr;
    gap: 15px;
  }

  .grammar-example {
    grid-column: 2;
    justify-self: start;
  }

  .possibility-card {
    min-height: 600px;
    padding: 24px 20px 0;
    border-radius: 23px;
  }

  .possibility-card h3 {
    font-size: 26px;
  }

  .possibility-screen {
    width: min(100%, 390px);
    min-height: 320px;
    aspect-ratio: auto;
    margin-bottom: -28px;
    border-radius: 30px 30px 0 0;
  }

  .possibility-open {
    min-height: 480px;
    padding-bottom: 24px;
  }

  .open-orbit {
    width: 210px;
    height: 210px;
  }

  .contract-preview {
    grid-template-columns: 1fr;
  }

  .agent-cta h2 { font-size: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .agent-text-link span,
  .agent-demo {
    transition: none;
  }
}
