/* ============================================================
   /mcp, /mcp/actions and /pricing (templates/page.html).
   Plain-CSS port of CGov components/mcp/mcp.module.css (the IA2027 visual
   system: black ground, layer-cake bands, blue to purple gradient, pill
   buttons, glass panels) plus named classes for the Tailwind utilities the
   CGov components used. Loaded after styles.css, so the shared header and
   tokens (--font) come from there.

   Every animation stops under prefers-reduced-motion; reveals carry
   data-motion-reveal and are pinned visible under reduced motion, without
   JS and in print.
   ============================================================ */

.pg {
  --ia-blue: #0a84ff;
  --ia-purple: #8f5cff;
  /* Avatier blue. Brand 3005C is #0081c6 (4.24:1 with white text, under AA);
     #0077b8 is the nearest shade that clears 4.5:1 (4.85:1). */
  --ia-cta: #0077b8;
  --ia-cta-hover: #005f94;
  --ia-line: rgba(255, 255, 255, .12);
  display: block; background: #000; color: #fff; font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
/* Zero-specificity resets (:where), so the component classes below win. */
:where(.pg) :where(p, h1, h2, h3, figure) { margin: 0; }
:where(.pg) :where(ul, ol) { list-style: none; margin: 0; padding: 0; }
:where(.pg) img { max-width: 100%; }
.ic { width: 16px; height: 16px; flex: none; display: inline-block; vertical-align: middle; }

/* ---------- layout ---------- */
.wrap { width: 100%; margin-inline: auto; }
.wrap-wide { max-width: 1160px; }
.wrap-mid { max-width: 1000px; }
.wrap-narrow { max-width: 48rem; }
.center { text-align: center; }
.mt-10 { margin-top: 40px; }
.mt-cta { margin-top: 48px; }
.band { padding: 96px 24px; }
@media (min-width: 1024px) { .band { padding-inline: 32px; } }

/* ---------- type ---------- */
.pg .eyebrow {
  margin: 0 0 16px; font-size: .8rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: #6cb8ff; /* light blue: 9:1 on black */
}
.pg-h1 {
  font-size: 2.25rem; line-height: 1.1; font-weight: 800; letter-spacing: -.025em; text-wrap: balance;
}
@media (min-width: 768px) { .pg-h1 { font-size: 3.75rem; line-height: 1.02; } }
.pg-h2 {
  font-size: clamp(2rem, 4.6vw, 3.5rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; text-wrap: balance;
}
.h2-narrow { max-width: 56rem; margin-inline: auto; }
.pg-lead { max-width: 42rem; margin: 20px auto 0; font-size: 1.125rem; line-height: 1.6; color: rgba(255, 255, 255, .8); text-wrap: pretty; }
.band-lead { max-width: 36rem; margin: 16px auto 0; font-size: 1.125rem; line-height: 1.6; color: rgba(255, 255, 255, .75); }
.grad-text {
  background: linear-gradient(90deg, var(--ia-blue), var(--ia-purple), var(--ia-blue));
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: pg-shimmer 6s ease-in-out infinite alternate;
}
@keyframes pg-shimmer { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
/* /mcp headline: a radial gradient centred on the letters "id" in "Inside"
   (mcp.js measures them and sets --pulse-x/--pulse-y; the static values are
   where they sit on one line), with a soft light ring breathing outward from
   there. Two layers, both clipped to the text: the ring, then the blue to
   purple base. Reduced motion keeps the static base gradient. */
@property --pulse-ring { syntax: "<length>"; inherits: false; initial-value: 0px; }
@property --pulse-ring-a { syntax: "<number>"; inherits: false; initial-value: 0; }
@property --pulse-core { syntax: "<length>"; inherits: false; initial-value: 40px; }
.grad-pulse {
  --pulse-x: 48%; --pulse-y: 55%; --pulse-core: 1.1em;
  display: inline-block;
  background:
    radial-gradient(circle at var(--pulse-x) var(--pulse-y),
      rgba(196, 181, 255, 0) calc(var(--pulse-ring) - .3em),
      rgba(196, 181, 255, var(--pulse-ring-a)) var(--pulse-ring),
      rgba(196, 181, 255, 0) calc(var(--pulse-ring) + .3em)),
    radial-gradient(circle at var(--pulse-x) var(--pulse-y),
      #5eb0ff 0, #0a84ff var(--pulse-core), #8f5cff calc(var(--pulse-core) * 3.4));
  background-size: auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: pg-radial-pulse 5.2s ease-in-out infinite;
}
@keyframes pg-radial-pulse {
  0% { --pulse-ring: 0em; --pulse-ring-a: 0; --pulse-core: .9em; }
  18% { --pulse-ring-a: .55; }
  50% { --pulse-core: 1.4em; }
  80% { --pulse-ring-a: 0; }
  100% { --pulse-ring: 5em; --pulse-ring-a: 0; --pulse-core: .9em; }
}

/* ---------- buttons + links ---------- */
.btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border-radius: 999px; padding: .9rem 1.6rem; font-size: .95rem; font-weight: 700; line-height: 1.2;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--ia-cta); color: #fff; }
.btn-primary:hover { background: var(--ia-cta-hover); transform: translateY(-2px); }
.btn-secondary { border: 1px solid rgba(255, 255, 255, .28); color: #fff; }
.btn-secondary:hover { border-color: #fff; transform: translateY(-2px); }
.pg a:focus-visible, .pg button:focus-visible, .pg summary:focus-visible, .pg [tabindex]:focus-visible {
  outline: 2px solid #fff; outline-offset: 3px;
}
.band-light a:focus-visible, .band-light summary:focus-visible { outline-color: #1f5fbf; }
.pg-actions { margin-top: 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
@media (min-width: 640px) { .pg-actions { flex-direction: row; flex-wrap: wrap; } }
.text-link { font-weight: 700; color: #8fd6ff; text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover { color: #fff; }

/* ---------- surfaces ---------- */
.glass {
  background: rgba(255, 255, 255, .05); border: 1px solid var(--ia-line); border-radius: 22px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.light-card { background: #fff; border: 1px solid rgba(16, 29, 36, .10); border-radius: 22px; }
.lift { transition: transform .25s ease, border-color .25s ease, background-color .25s ease, box-shadow .25s ease; }
.lift:hover { transform: translateY(-4px); border-color: rgba(108, 184, 255, .55); background: rgba(10, 132, 255, .08); }
.light-card.lift:hover { background: #fff; border-color: rgba(31, 95, 191, .45); box-shadow: 0 12px 30px rgba(16, 29, 36, .10); }
.glyph { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; color: #07101e; }
.glyph .ic { width: 20px; height: 20px; }
.glyph-lg { width: 44px; height: 44px; }

/* Layer cake: alternating IA2027 panel bands (styles.css .pricing/.claude
   light, .interop navy, .channels blue, .book black). */
.band-light {
  color: #16232b;
  background:
    radial-gradient(46% 44% at 12% 6%, rgba(90, 130, 165, .10) 0%, transparent 60%),
    radial-gradient(52% 50% at 92% 98%, rgba(110, 145, 175, .08) 0%, transparent 60%),
    linear-gradient(168deg, #f8fafc 0%, #f4f7fa 50%, #eef3f8 100%);
}
/* IA2027 uses #2f77dd; darkened so small caps clear 4.5:1 on the light band. */
.band-light .eyebrow { color: #1f5fbf; }
.band-light .pg-h2 { color: #101d24; }
.band-light .band-lead { color: rgba(22, 35, 43, .8); }
.band-navy {
  color: #eaf3ff;
  background:
    radial-gradient(48% 46% at 8% 8%, rgba(23, 201, 160, .14) 0%, transparent 60%),
    radial-gradient(52% 52% at 96% 94%, rgba(47, 119, 221, .18) 0%, transparent 60%),
    linear-gradient(168deg, #06111f 0%, #050c18 52%, #030811 100%);
}
.band-navy .eyebrow { color: #4fbfe6; }
.band-blue {
  color: #eef4ff;
  background:
    radial-gradient(52% 48% at 86% 2%, rgba(56, 189, 248, .30) 0%, transparent 62%),
    radial-gradient(56% 54% at 6% 100%, rgba(99, 102, 241, .30) 0%, transparent 62%),
    linear-gradient(165deg, #16305c 0%, #12264c 52%, #0e1d3c 100%);
}
.band-blue .eyebrow { color: #8fd6ff; }
.glow {
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(10, 132, 255, .16), transparent 70%),
    radial-gradient(40% 40% at 90% 100%, rgba(143, 92, 255, .14), transparent 70%),
    #000;
}

/* ---------- scroll reveal (mcp.js sets data-in) ----------
   Hidden only under html.reveal-ready: the inline head script in
   templates/page.html sets it and removes it after 3s unless mcp.js has
   started, so a failed or blocked mcp.js can never leave content invisible. */
.reveal { transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal-ready .reveal:not([data-in]) { opacity: 0; transform: translateY(28px); }

/* ---------- /mcp hero ---------- */
.pg-hero { position: relative; overflow: hidden; padding: 112px 24px 80px; text-align: center; }
@media (min-width: 1024px) { .pg-hero { padding: 144px 32px 80px; } }
.pg-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
/* Scrim: keeps hero copy at full contrast over the dense lines at the pinch. */
.pg-hero-scrim { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 40% 30% at 50% 46%, rgba(0, 0, 0, .7), transparent 100%); }
.pg-hero-fade { position: absolute; inset: auto 0 0 0; height: 128px; pointer-events: none; background: linear-gradient(to bottom, transparent, #000); }
.pg-hero-inner { position: relative; max-width: 48rem; margin: 0 auto; }
.pg-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 24px; border-radius: 16px; background: #fff; }
.pg-icon img { height: 36px; width: auto; }
.icon-pulse { animation: pg-pulse 3.2s ease-in-out infinite; }
@keyframes pg-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(10, 132, 255, .45); }
  50% { box-shadow: 0 0 0 14px rgba(10, 132, 255, 0); }
}
.pg .pg-live { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.live-dot-wrap { position: relative; display: flex; width: 8px; height: 8px; }
.live-ping { position: absolute; inset: 0; border-radius: 50%; background: #28c840; opacity: .75; animation: pg-ping 1s cubic-bezier(0, 0, .2, 1) infinite; }
.live-core { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #28c840; }
@keyframes pg-ping { 75%, 100% { transform: scale(2); opacity: 0; } }

.url-pill {
  display: flex; align-items: center; gap: 12px; max-width: 36rem; margin: 32px auto 0;
  padding: 8px 8px 8px 20px; border-radius: 999px; text-align: left;
}
.url-pill code {
  min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace; font-size: .875rem; color: #cfe6ff;
}
@media (min-width: 768px) { .url-pill code { font-size: 1rem; } }

/* Copy button: the label and icon follow data-state (idle | copied | failed). */
.copy-btn {
  display: inline-flex; flex: none; align-items: center; gap: 6px; padding: 6px 12px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); background: transparent;
  color: #fff; font: inherit; font-size: .75rem; font-weight: 700; line-height: 1.2; cursor: pointer;
  transition: border-color .2s ease;
}
.copy-btn:hover { border-color: #fff; }
.copy-btn .ic { width: 14px; height: 14px; }
.copy-ic-copied, .copy-ic-failed { display: none; }
.copy-btn[data-state="copied"] .copy-ic-idle, .copy-btn[data-state="failed"] .copy-ic-idle { display: none; }
.copy-btn[data-state="copied"] .copy-ic-copied { display: inline-block; color: #6cb8ff; }
.copy-btn[data-state="failed"] .copy-ic-failed { display: inline-block; }

/* Logo scroll: two copies of the row, slide -50% and loop. */
.logo-scroll { position: relative; margin: 64px -24px 0; }
@media (min-width: 1024px) { .logo-scroll { margin-inline: -32px; } }
.marquee { position: relative; overflow: hidden; padding: 8px 0; }
.marquee-track { display: flex; width: max-content; animation: pg-marquee 90s linear infinite; }
.marquee-row { display: flex; gap: 3.5rem; padding-right: 3.5rem; }
.marquee-row li { display: flex; flex: none; align-items: center; gap: 12px; color: #fff; }
/* Rendered white: brand marks vary (black, colour), so one tone keeps the row even on the dark hero. */
.marquee-row img { width: 28px; height: 28px; filter: brightness(0) invert(1); }
.marquee-row span { white-space: nowrap; font-size: 1rem; font-weight: 600; }
.marquee:hover .marquee-track, .marquee[data-paused] .marquee-track { animation-play-state: paused; }
@keyframes pg-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* Progressive-blur edges: 4 layered backdrop blurs under stepped masks. */
.marquee-edge { position: absolute; top: 0; bottom: 0; width: 90px; pointer-events: none; }
@media (min-width: 768px) { .marquee-edge { width: 200px; } }
.marquee-edge-left { left: 0; }
.marquee-edge-right { right: 0; }
.blur-layer { position: absolute; inset: 0; }
.blur-left-1, .blur-right-1 { backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.blur-left-2, .blur-right-2 { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.blur-left-3, .blur-right-3 { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.blur-left-4, .blur-right-4 { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.blur-left-1 { -webkit-mask-image: linear-gradient(270deg, rgba(255,255,255,0) 0%, #fff 20%, #fff 40%, rgba(255,255,255,0) 60%); mask-image: linear-gradient(270deg, rgba(255,255,255,0) 0%, #fff 20%, #fff 40%, rgba(255,255,255,0) 60%); }
.blur-left-2 { -webkit-mask-image: linear-gradient(270deg, rgba(255,255,255,0) 20%, #fff 40%, #fff 60%, rgba(255,255,255,0) 80%); mask-image: linear-gradient(270deg, rgba(255,255,255,0) 20%, #fff 40%, #fff 60%, rgba(255,255,255,0) 80%); }
.blur-left-3 { -webkit-mask-image: linear-gradient(270deg, rgba(255,255,255,0) 40%, #fff 60%, #fff 80%, rgba(255,255,255,0) 100%); mask-image: linear-gradient(270deg, rgba(255,255,255,0) 40%, #fff 60%, #fff 80%, rgba(255,255,255,0) 100%); }
.blur-left-4 { -webkit-mask-image: linear-gradient(270deg, rgba(255,255,255,0) 60%, #fff 80%, #fff 100%, rgba(255,255,255,0) 120%); mask-image: linear-gradient(270deg, rgba(255,255,255,0) 60%, #fff 80%, #fff 100%, rgba(255,255,255,0) 120%); }
.blur-right-1 { -webkit-mask-image: linear-gradient(90deg, rgba(255,255,255,0) 0%, #fff 20%, #fff 40%, rgba(255,255,255,0) 60%); mask-image: linear-gradient(90deg, rgba(255,255,255,0) 0%, #fff 20%, #fff 40%, rgba(255,255,255,0) 60%); }
.blur-right-2 { -webkit-mask-image: linear-gradient(90deg, rgba(255,255,255,0) 20%, #fff 40%, #fff 60%, rgba(255,255,255,0) 80%); mask-image: linear-gradient(90deg, rgba(255,255,255,0) 20%, #fff 40%, #fff 60%, rgba(255,255,255,0) 80%); }
.blur-right-3 { -webkit-mask-image: linear-gradient(90deg, rgba(255,255,255,0) 40%, #fff 60%, #fff 80%, rgba(255,255,255,0) 100%); mask-image: linear-gradient(90deg, rgba(255,255,255,0) 40%, #fff 60%, #fff 80%, rgba(255,255,255,0) 100%); }
.blur-right-4 { -webkit-mask-image: linear-gradient(90deg, rgba(255,255,255,0) 60%, #fff 80%, #fff 100%, rgba(255,255,255,0) 120%); mask-image: linear-gradient(90deg, rgba(255,255,255,0) 60%, #fff 80%, #fff 100%, rgba(255,255,255,0) 120%); }

/* ---------- prompt card ---------- */
.prompts-grid { max-width: 1100px; display: grid; gap: 48px; }
@media (min-width: 1024px) { .prompts-grid { grid-template-columns: 1fr 1.15fr; align-items: center; } }
.term { overflow: hidden; border-radius: 22px; background: #0b1426; color: #fff; box-shadow: 0 24px 60px rgba(16, 29, 36, .25); }
.term-bar { display: flex; align-items: center; gap: 8px; padding: 12px 20px; border-bottom: 1px solid rgba(255, 255, 255, .10); }
.term-dot { width: 12px; height: 12px; border-radius: 50%; }
.term-red { background: #ff5f57; } .term-amber { background: #febc2e; } .term-green { background: #28c840; }
.term-title { margin-left: 12px; font-size: .75rem; color: rgba(255, 255, 255, .5); }
.term-body { padding: 24px; font-family: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace; font-size: .875rem; line-height: 1.65; overflow-wrap: anywhere; }
@media (min-width: 768px) { .term-body { font-size: 1rem; } }
.term .you { color: #6cb8ff; }
.term .bot { color: #b9a2ff; }
.term .res { margin-top: 4px; color: rgba(255, 255, 255, .6); }
.typer-static li + li { margin-top: 20px; }
.typer-live { min-height: 7.5rem; }
.typer-live .res { margin-top: 8px; transition: opacity .5s ease; }
.typer-live .res.is-hidden { opacity: 0; }
.caret { display: inline-block; width: .55em; height: 1.1em; margin-left: 2px; vertical-align: text-bottom; background: #6cb8ff; animation: pg-blink 1s steps(1) infinite; }
.caret[hidden] { display: none; }
@keyframes pg-blink { 50% { opacity: 0; } }
.typer-controls { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.typer-controls[hidden], .typer-live[hidden] { display: none; }
.typer-dots { display: flex; gap: 6px; }
.typer-dots span { height: 4px; width: 12px; border-radius: 999px; background: rgba(255, 255, 255, .2); transition: width .5s ease, background-color .5s ease; }
.typer-dots span.is-on { width: 32px; background: #6cb8ff; }
.typer-toggle {
  margin-left: auto; display: grid; place-items: center; width: 32px; height: 32px; padding: 0;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #fff; cursor: pointer;
}
.typer-toggle:hover { border-color: #fff; }
.typer-toggle .ic { width: 14px; height: 14px; }
.typer-ic-play, .typer-toggle[data-paused] .typer-ic-pause { display: none; }
.typer-toggle[data-paused] .typer-ic-play { display: inline-block; }

/* ---------- capabilities ---------- */
.legend { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 24px; margin-top: 32px; font-size: .875rem; color: rgba(255, 255, 255, .8); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.swatch { width: 12px; height: 12px; border-radius: 2px; }
.cap-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .cap-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cap-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cap-tile { display: flex; height: 100%; align-items: center; gap: 12px; padding: 16px; }
@media (min-width: 768px) { .cap-tile { padding: 20px; } }
.cap-title { min-width: 0; font-size: .875rem; font-weight: 700; line-height: 1.375; overflow-wrap: anywhere; }
@media (min-width: 768px) { .cap-title { font-size: 1rem; } }

/* ---------- connect tabs ---------- */
#connect, #faq, .cat { scroll-margin-top: 96px; }
.tablist { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tab {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .2); background: transparent; color: rgba(255, 255, 255, .8);
  font: inherit; font-size: .875rem; font-weight: 700; cursor: pointer; transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.tab:hover { border-color: rgba(255, 255, 255, .6); color: #fff; }
.tab[aria-selected="true"] { border-color: #fff; background: #fff; color: #000; }
.pg .tab:focus-visible { outline-offset: 2px; }
.tab-logo { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: #fff; }
.tab-logo img { width: 16px; height: 16px; }
.tabpanel { max-width: 48rem; margin: 32px auto 0; padding: 24px; text-align: left; }
@media (min-width: 768px) { .tabpanel { padding: 32px; } }
.tabpanel-name { display: none; margin-bottom: 16px; font-size: 1.25rem; font-weight: 800; }
.steps li { display: flex; gap: 12px; font-size: 1rem; line-height: 1.6; color: rgba(255, 255, 255, .85); }
.steps li + li { margin-top: 12px; }
.step-n {
  display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, #0a84ff, #8f5cff); color: #fff; font-size: .875rem; font-weight: 700;
}
.step-t { min-width: 0; padding-top: 2px; overflow-wrap: anywhere; }
.code-box { margin-top: 24px; overflow: hidden; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .10); background: rgba(0, 0, 0, .6); }
.code-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 16px; border-bottom: 1px solid rgba(255, 255, 255, .10); }
.code-label { font-family: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace; font-size: .75rem; color: rgba(255, 255, 255, .6); }
.code-box pre {
  margin: 0; padding: 16px; overflow-x: auto; font-family: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  font-size: .875rem; line-height: 1.6; color: #cfe6ff;
}
.disclaimer { max-width: 48rem; margin: 32px auto 0; font-size: .75rem; line-height: 1.5; color: rgba(255, 255, 255, .6); }

/* ---------- guardrails ---------- */
.guard-grid { margin-top: 56px; display: grid; gap: 16px; }
@media (min-width: 640px) { .guard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .guard-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.guard-card { height: 100%; padding: 24px; }
.guard-ic { width: 32px; height: 32px; margin-bottom: 16px; color: #1f5fbf; }
.guard-card h3 { font-size: 1.125rem; font-weight: 800; line-height: 1.25; color: #101d24; }
.guard-card p { margin-top: 8px; font-size: .875rem; line-height: 1.6; color: rgba(22, 35, 43, .8); }

/* ---------- Pay Per Identity Action (preview) ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 20px; padding: 4px 12px;
  border-radius: 999px; border: 1px solid rgba(255, 106, 19, .6); color: #ffa36b;
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.badge .ic { width: 14px; height: 14px; }
.points { margin-top: 40px; display: grid; gap: 12px; }
@media (min-width: 640px) { .points { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.points li { padding: 20px; font-size: 1rem; font-weight: 700; }
.note { margin-top: 24px; font-size: .875rem; color: rgba(255, 255, 255, .65); }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 40px; display: grid; gap: 12px; }
.faq-item { padding: 20px; color: #101d24; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer;
  list-style: none; text-align: left; font-size: 1.125rem; font-weight: 700;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chev { width: 20px; height: 20px; transition: transform .2s ease; }
.faq-item[open] .faq-chev { transform: rotate(180deg); }
.faq-item p { margin-top: 12px; font-size: 1rem; line-height: 1.65; color: rgba(22, 35, 43, .8); }

/* ---------- CTA band (ribbon mesh) ---------- */
.cta-band { position: relative; overflow: hidden; padding: 128px 24px; text-align: center; background: #030712; }
/* Soft scrim so CTA text keeps contrast where ribbon strokes cross. */
.cta-scrim { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(closest-side at 50% 50%, rgba(3, 7, 18, .8), transparent 75%); }
.cta-inner { position: relative; z-index: 1; max-width: 42rem; margin: 0 auto; }
.cta-inner .btn-primary { margin-top: 32px; }

/* ---------- /mcp/actions ---------- */
.pg-intro { padding: 112px 24px 64px; }
@media (min-width: 1024px) { .pg-intro { padding: 144px 32px 64px; } }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 32px; font-size: .875rem; font-weight: 600; color: rgba(255, 255, 255, .75); }
.back-link:hover { color: #fff; }
.count { margin-top: 24px; font-size: .875rem; color: rgba(255, 255, 255, .6); }
.actions-body { padding: 0 24px 96px; background: #000; }
@media (min-width: 1024px) { .actions-body { padding-inline: 32px; } }
.cat + .cat { margin-top: 64px; }
.cat-head { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.cat-head h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.025em; }
@media (min-width: 768px) { .cat-head h2 { font-size: 1.875rem; } }
.cat-count { margin-left: auto; font-size: .875rem; color: rgba(255, 255, 255, .6); }
.action-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .action-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .action-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.action-tile { display: flex; height: 100%; align-items: center; gap: 12px; padding: 16px; font-weight: 700; border-left-width: 3px; }

/* ---------- /pricing ---------- */
.hero-line { margin-top: 20px; font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; color: #cfe6ff; }
.hl-grid { margin-top: 56px; display: grid; gap: 16px; }
@media (min-width: 640px) { .hl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .hl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hl-card { height: 100%; padding: 24px; color: #101d24; }
.hl-ic { width: 32px; height: 32px; margin-bottom: 16px; color: #1f5fbf; }
.hl-value { font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.hl-label { display: block; margin-top: 4px; font-size: 1.05rem; font-weight: 700; letter-spacing: 0; color: #1f5fbf; }
.hl-body { margin-top: 8px; font-size: .9375rem; line-height: 1.55; color: rgba(22, 35, 43, .8); }
.sys-grid { margin-top: 56px; display: grid; gap: 12px; }
@media (min-width: 640px) { .sys-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .sys-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.sys-card { display: flex; height: 100%; flex-direction: column; gap: 14px; padding: 20px; }
.sys-bar { display: block; height: 6px; border-radius: 3px; background: var(--sys); }
.sys-name { font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
.plan-grid { margin-top: 56px; display: grid; gap: 16px; }
@media (min-width: 768px) { .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .plan-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.plan { display: flex; height: 100%; flex-direction: column; padding: 28px 24px; border-radius: 22px; border: 1px solid rgba(255, 255, 255, .14); color: #fff; }
.plan-white { background: #fff; color: #101d24; border-color: rgba(16, 29, 36, .10); }
.plan-blue { background: linear-gradient(165deg, #0a5ad6 0%, #0b3f9c 100%); }
.plan-purple { background: linear-gradient(165deg, #6d3fd9 0%, #4a2a9e 100%); }
.plan-red { background: linear-gradient(165deg, #c62a2f 0%, #8f1d22 100%); }
.plan h3 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.plan-tag { margin-top: 4px; font-size: .875rem; opacity: .85; }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; margin-top: 20px; }
.plan-amount { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.plan-unit { font-size: .95rem; opacity: .8; }
.plan-credits { margin-top: 6px; font-size: .9rem; font-weight: 700; }
.plan-feats { flex: 1; display: grid; align-content: start; gap: 10px; margin-top: 20px; }
.plan-feats li { display: flex; gap: 8px; font-size: .9rem; line-height: 1.45; }
.feat-ic { margin-top: 2px; }
.plan-cta {
  display: inline-flex; align-items: center; justify-content: center; margin-top: 24px; padding: .8rem 1.2rem;
  border-radius: 999px; background: #fff; color: #101d24; font-size: .95rem; font-weight: 700; transition: transform .2s ease;
}
.plan-cta:hover { transform: translateY(-2px); }
.plan-white .plan-cta { background: var(--ia-cta); color: #fff; }
.pg .plan-white .plan-cta:focus-visible { outline-color: #1f5fbf; }
.credit-grid { margin-top: 48px; display: grid; gap: 16px; }
@media (min-width: 768px) { .credit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.credit-table { width: 100%; border-collapse: collapse; color: #101d24; font-variant-numeric: tabular-nums; }
.credit-card { height: 100%; padding: 20px 24px; }
.credit-table caption { caption-side: top; text-align: left; padding-bottom: 10px; font-size: 1.25rem; font-weight: 800; color: #101d24; }
.credit-table caption::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 10px; border-radius: 3px; background: var(--tone); }
.credit-blue { --tone: #0a5ad6; } .credit-purple { --tone: #6d3fd9; } .credit-red { --tone: #c62a2f; }
.credit-table th, .credit-table td { padding: 10px 4px; border-top: 1px solid rgba(16, 29, 36, .10); text-align: left; }
.credit-table thead th { border-top: 0; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #566673; }
.credit-table thead th:last-child, .credit-table td { text-align: right; }
.credit-table tbody th { font-weight: 600; }
.credit-table td { font-weight: 800; }
.credit-more { margin-top: 32px; text-align: center; font-size: 1.125rem; color: #16232b; }
.credit-more a { font-weight: 700; color: #1f5fbf; text-decoration: underline; text-underline-offset: 4px; }
.proof { padding-block: 72px; }
.proof-strip { display: grid; gap: 16px; }
@media (min-width: 640px) { .proof-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .proof-strip { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.proof-strip li { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; font-weight: 700; line-height: 1.4; }
.proof-ic { width: 20px; height: 20px; color: #4fbfe6; }
.footnote { max-width: 48rem; margin: 40px auto 0; text-align: center; font-size: .875rem; line-height: 1.55; color: rgba(255, 255, 255, .65); }
.trademarks { max-width: 48rem; margin: 16px auto 0; text-align: center; font-size: .75rem; line-height: 1.5; color: rgba(255, 255, 255, .6); }


/* ---------- no JS: nothing to run copy, tabs or the typer ---------- */
@media (scripting: none) {
  .copy-btn { display: none; }
  .tablist { display: none; }
  .tabpanel[hidden] { display: block; }
  .tabpanel-name { display: block; }
}

/* Reveals are pinned visible when they would never animate. */
@media (prefers-reduced-motion: reduce), (scripting: none), print {
  [data-motion-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .grad-text, .grad-pulse, .icon-pulse, .caret, .live-ping { animation: none; }
  .btn-primary:hover, .btn-secondary:hover, .lift:hover, .plan-cta:hover { transform: none; }
  .faq-chev { transition: none; }
  /* Static, wrapped row; drop the duplicate copy and the blur edges. */
  .marquee-track { animation: none; width: auto; justify-content: center; }
  .marquee-row { flex-wrap: wrap; justify-content: center; row-gap: 1.25rem; column-gap: 2.5rem; padding: 0 1.5rem; }
  .marquee-row[aria-hidden] { display: none; }
  .marquee-edge { display: none; }
}

@media print {
  .pg-canvas, .marquee-edge, .copy-btn, .typer-controls { display: none !important; }
}
