/* ==========================================================================
   Aviox — AI & GenAI service hub (/services/ai-genai/)
   Everything this page needs lives here, scoped under main.aig: the site's
   production bundle is purged, so no page-specific class can be assumed.
   Brand tokens follow assets/css/style.css.
   ========================================================================== */

@property --aig-ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

.aig {
  --aig-o: #F57A00;
  --aig-a: #F5A300;
  --aig-y: #F5B800;
  --aig-b: #1A9AD6;
  --aig-b2: #48B4F0;
  --aig-ink: #070C18;
  --aig-ink2: #0F1729;
  --aig-card: #0B1322;
  --aig-on: #E9EDF5;
  --aig-on-m: rgba(233, 237, 245, .74);
  --aig-line: rgba(255, 255, 255, .10);
  --aig-text: var(--text, #0F1729);
  --aig-muted: var(--muted, #5D6677);
  --aig-paper: var(--paper, #FCFAF7);
  --aig-r: clamp(22px, 2.6vw, 36px);
  --aig-inset: clamp(8px, 1vw, 16px);
  --aig-ease: cubic-bezier(.16, 1, .3, 1);
  --aig-mono: var(--font-mono, "JetBrains Mono", ui-monospace, monospace);
  --aig-serif: var(--font-serif, "Instrument Serif", Georgia, serif);
  overflow-x: clip;
}
.aig *, .aig *::before, .aig *::after { box-sizing: border-box; }
.aig [id] { scroll-margin-top: 96px; }
.aig-rel { position: relative; z-index: 1; }
.aig .visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- Shared type ---------- */
.aig-label {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 clamp(16px, 1.8vw, 24px);
  font-family: var(--aig-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--aig-muted);
}
.aig-label__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--aig-o); box-shadow: 0 0 0 4px rgba(245, 122, 0, .14); }
.aig-label--light { color: var(--aig-on-m); }
.aig-label--light .aig-label__dot { background: var(--aig-a); box-shadow: 0 0 12px var(--aig-a); }

.aig-h2 {
  margin: 0; font-weight: 300; letter-spacing: -.045em; line-height: 1.04;
  font-size: clamp(2.1rem, 1.3rem + 2.9vw, 4.25rem);
}
.aig-h3 { margin: 0 0 18px; font-weight: 400; letter-spacing: -.03em; line-height: 1.12; font-size: clamp(1.55rem, 1.1rem + 1.3vw, 2.35rem); }
.aig-h2 em, .aig-h3 em, .aig-hero__title em, .aig-final__title em {
  font-family: var(--aig-serif); font-style: italic; font-weight: 400; font-size: 1.07em; letter-spacing: -.015em;
}
.aig-muted { color: var(--aig-muted); line-height: 1.7; }

.aig-grad-text {
  background: linear-gradient(90deg, var(--aig-o), var(--aig-a) 40%, var(--aig-b2) 75%, var(--aig-o));
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: aigShimmer 9s linear infinite;
  padding-right: .06em;
}
/* darker stops for light sections (large text, 3:1 or better on paper) */
.aig-grad-text--deep { background-image: linear-gradient(90deg, #B85300, #A66A00 40%, #0D6A9E 75%, #B85300); }
@keyframes aigShimmer { to { background-position: -220% 0; } }

.aig-head {
  display: grid; gap: 18px 48px; align-items: end;
  margin-bottom: clamp(32px, 4vw, 60px);
}
.aig-head__text { margin: 0; color: var(--aig-muted); line-height: 1.7; max-width: 52ch; }
@media (min-width: 992px) { .aig-head { grid-template-columns: 7fr 4fr; } }

.aig-sec { padding-block: clamp(64px, 8vw, 120px); position: relative; }
.aig-sec--alt { background: linear-gradient(180deg, rgba(252, 250, 247, 0), var(--aig-paper) 16%, var(--aig-paper) 84%, rgba(252, 250, 247, 0)); }

/* ---------- Buttons ---------- */
.aig-btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 0 10px 0 24px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: -.01em; text-decoration: none;
  transition: transform .5s var(--aig-ease), box-shadow .5s var(--aig-ease), background-color .4s, border-color .4s;
}
.aig-btn svg { width: 34px; height: 34px; padding: 9px; border-radius: 50%; flex: none; transition: transform .5s var(--aig-ease); }
.aig-btn:hover svg { transform: rotate(45deg); }
.aig-btn:hover { transform: translateY(-2px); }
.aig-btn--glow { color: #0F1729; background: linear-gradient(100deg, var(--aig-o), var(--aig-a) 55%, var(--aig-y)); box-shadow: 0 10px 40px -10px rgba(245, 122, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .45); }
.aig-btn--glow svg { background: #0F1729; color: #fff; }
.aig-btn--glow:hover { color: #0F1729; box-shadow: 0 16px 54px -10px rgba(245, 163, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .5); }
.aig-btn--ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .04); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.aig-btn--ghost svg { background: rgba(255, 255, 255, .1); color: #fff; }
.aig-btn--ghost:hover { color: #fff; border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .08); }
.aig-btn--dark { color: #fff; background: var(--aig-ink2); box-shadow: 0 12px 34px -16px rgba(15, 23, 41, .6); }
.aig-btn--dark svg { background: #fff; color: var(--aig-ink2); }
.aig-btn--dark:hover { color: #fff; background: #000; }
.aig-btn:focus-visible, .aig a:focus-visible, .aig summary:focus-visible, .aig button:focus-visible { outline: 2px solid var(--aig-a); outline-offset: 3px; }
.aig-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--aig-text); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.aig-link svg { width: 16px; height: 16px; }
.aig-link:hover { color: #B85300; }

/* ---------- Ambient backgrounds ---------- */
.aig-grid {
  position: absolute; inset: -60px;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
  animation: aigGrid 24s linear infinite;
}
.aig-grid--fade { -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 10%, transparent 70%); }
@keyframes aigGrid { to { transform: translate3d(60px, 60px, 0); } }
.aig-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.aig-orb--o { width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; left: -12%; top: -18%; background: radial-gradient(circle, rgba(245, 122, 0, .75), rgba(245, 122, 0, 0) 70%); animation: aigFloat 18s ease-in-out infinite alternate; }
.aig-orb--b { width: 52vw; height: 52vw; max-width: 760px; max-height: 760px; right: -14%; bottom: -30%; background: radial-gradient(circle, rgba(26, 154, 214, .8), rgba(26, 154, 214, 0) 70%); animation: aigFloat 22s ease-in-out infinite alternate-reverse; }
.aig-orb--sm { opacity: .32; }
@keyframes aigFloat { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(6%, 8%, 0) scale(1.12); } }
.aig-noise {
  position: absolute; inset: 0; opacity: .07; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Dark stages ---------- */
.aig-dark {
  position: relative; isolation: isolate; overflow: hidden;
  margin-inline: var(--aig-inset); border-radius: var(--aig-r);
  padding-block: clamp(64px, 8vw, 120px);
  background: radial-gradient(120% 80% at 50% 0%, #0E1A33 0%, var(--aig-ink) 60%);
  color: var(--aig-on);
}
.aig-dark__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aig-dark .aig-head__text, .aig-dark .aig-muted { color: var(--aig-on-m); }
.aig-dark .aig-h2 { color: #fff; }

/* ==========================================================================
   HERO
   ========================================================================== */
.aig-hero { padding: calc(var(--header-h, 88px) + 4px) var(--aig-inset) 0; }
.aig-hero__panel {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--aig-r);
  min-height: min(calc(100svh - var(--header-h, 88px) - 16px), 920px);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: radial-gradient(90% 90% at 70% 40%, #0F2142 0%, #0A1428 45%, var(--aig-ink) 80%);
  color: var(--aig-on);
}
.aig-hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aig-hero__visual { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: 56%; pointer-events: none; }
.aig-hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.4s var(--aig-ease); }
.aig-net { position: absolute; inset: 6% 4%; width: 92%; height: 88%; transition: opacity 1.2s var(--aig-ease); }
.aig-net__lines line { stroke: rgba(130, 185, 235, .34); stroke-width: 1; }
.aig-net__dots circle { opacity: .9; }
.aig-hero__visual.is-live .aig-hero__canvas { opacity: 1; }
.aig-hero__visual.is-live .aig-net { opacity: 0; }

.aig-hero__inner { position: relative; z-index: 2; width: 100%; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(28px, 3vw, 44px); }
.aig-hero__content { max-width: 640px; }
.aig-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 26px; font-size: 13px; color: var(--aig-on-m); }
.aig-crumbs a { color: var(--aig-on-m); text-decoration: none; }
.aig-crumbs a:hover { color: #fff; }
.aig-crumbs [aria-current] { color: #fff; }
.aig-chip {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  font-family: var(--aig-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; border: 1px solid rgba(255, 255, 255, .16);
  background: linear-gradient(90deg, rgba(245, 122, 0, .16), rgba(26, 154, 214, .12));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.aig-chip__pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--aig-a); }
.aig-chip__pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--aig-a); animation: aigPing 2s var(--aig-ease) infinite; }
@keyframes aigPing { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

.aig-hero__title {
  margin: 0 0 26px; color: #fff;
  font-weight: 300; letter-spacing: -.05em; line-height: 1;
  font-size: clamp(2.4rem, 1.1rem + 3.7vw, 5rem);
}
.aig-hero__line { display: block; }
.aig-on .aig-hero__line { opacity: 0; transform: translateY(40%); filter: blur(8px); animation: aigLine 1.1s var(--aig-ease) forwards; }
.aig-on .aig-hero__line:nth-child(2) { animation-delay: .12s; }
.aig-on .aig-hero__line:nth-child(3) { animation-delay: .24s; }
@keyframes aigLine { to { opacity: 1; transform: none; filter: none; } }
.aig-hero__lead { margin: 0 0 32px; max-width: 58ch; font-size: clamp(1.02rem, .95rem + .3vw, 1.18rem); line-height: 1.65; color: var(--aig-on-m); }
.aig-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

.aig-prompt {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; max-width: 100%;
  padding: 11px 16px; border-radius: 14px;
  font-family: var(--aig-mono); font-size: 13px; color: #CFE6F7;
  background: rgba(7, 12, 24, .55); border: 1px solid rgba(72, 180, 240, .22);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .02), 0 20px 50px -20px rgba(26, 154, 214, .5);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.aig-prompt__caret { color: var(--aig-a); }
.aig-prompt__text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aig-prompt__cursor { width: 8px; height: 16px; background: var(--aig-b2); animation: aigBlink 1s steps(1) infinite; flex: none; }
@keyframes aigBlink { 50% { opacity: 0; } }

.aig-facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: clamp(36px, 5vw, 64px) 0 0;
  border-radius: 18px; overflow: hidden;
  background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .09);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  max-width: 820px;
}
.aig-facts > div { padding: 18px 20px; background: rgba(7, 12, 24, .62); }
.aig-facts dt { font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.8rem); font-weight: 300; letter-spacing: -.04em; line-height: 1; color: #fff; }
.aig-facts dt span { background: linear-gradient(90deg, var(--aig-a), var(--aig-b2)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.aig-facts dd { margin: 8px 0 0; font-size: 13px; line-height: 1.45; color: var(--aig-on-m); }

.aig-hero__scroll {
  position: absolute; z-index: 3; right: clamp(20px, 3vw, 44px); bottom: clamp(24px, 3vw, 44px);
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--aig-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--aig-on-m); text-decoration: none;
}
.aig-hero__scroll svg { width: 38px; height: 38px; padding: 10px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); animation: aigBob 2.4s ease-in-out infinite; }
.aig-hero__scroll:hover { color: #fff; }
@keyframes aigBob { 50% { transform: translateY(5px); } }

@media (max-width: 1199.98px) {
  .aig-hero__scroll { display: none; }
}
@media (max-width: 991.98px) {
  .aig-hero__panel { justify-content: flex-start; min-height: 0; }
  .aig-hero__visual { position: relative; width: 100%; height: clamp(260px, 62vw, 420px); margin-bottom: -40px; order: -1;
    -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
  .aig-hero__inner { padding-top: 0; }
  .aig-facts { grid-template-columns: 1fr; }
  .aig-facts > div { display: flex; align-items: center; gap: 16px; padding: 14px 18px; }
  .aig-facts dt { min-width: 44px; }
  .aig-facts dd { margin: 0; }
}
@media (max-width: 575.98px) {
  .aig-btn { width: 100%; justify-content: space-between; }
  .aig-prompt { display: flex; font-size: 12px; }
}

/* ---------- Jump nav ---------- */
.aig-jump { position: sticky; top: 0; z-index: 50; margin-top: 18px; }
.aig-jump ul {
  display: flex; gap: 4px; margin: 0 auto; padding: 6px; list-style: none; width: max-content; max-width: 100%;
  overflow-x: auto; scrollbar-width: none;
  border-radius: 999px; border: 1px solid rgba(15, 23, 41, .08);
  background: rgba(252, 250, 247, .82); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 10px 30px -18px rgba(15, 23, 41, .35);
}
.aig-jump ul::-webkit-scrollbar { display: none; }
.aig-jump a { display: block; padding: 9px 16px; border-radius: 999px; white-space: nowrap; font-size: 13.5px; font-weight: 500; color: var(--aig-muted); text-decoration: none; transition: color .3s, background-color .3s; }
.aig-jump a:hover { color: var(--aig-text); }
.aig-jump a.is-active { color: #fff; background: var(--aig-ink2); }

/* ==========================================================================
   CAPABILITIES
   ========================================================================== */
.aig-caps { margin-top: clamp(40px, 5vw, 72px); }
.aig-caps .aig-head { position: relative; }
.aig-caps__count {
  position: absolute; right: 0; top: -.62em; z-index: 0;
  font-family: var(--aig-mono); font-weight: 500; font-size: clamp(4rem, 2rem + 6vw, 9rem); letter-spacing: -.06em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .10);
  pointer-events: none;
}

.aig-cap-grid { display: grid; gap: clamp(14px, 1.4vw, 22px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }

.aig-cap {
  --c1: var(--aig-o); --c2: var(--aig-a);
  --mx: 50%; --my: 0%; --rx: 0deg; --ry: 0deg;
  position: relative; border-radius: 22px; padding: 1px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04) 40%, rgba(255, 255, 255, .08));
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .6s var(--aig-ease), box-shadow .6s var(--aig-ease);
  transform-style: preserve-3d;
}
.aig-cap--b { --c1: var(--aig-b); --c2: var(--aig-b2); }
.aig-cap--a { --c1: var(--aig-a); --c2: var(--aig-y); }
.aig-cap::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--aig-ang), transparent 0 55%, var(--c1) 70%, var(--c2) 80%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .0; transition: opacity .6s;
  animation: aigSpin 5s linear infinite paused;
}
.aig-cap:hover::before, .aig-cap:focus-within::before, .aig-cap:target::before { opacity: 1; animation-play-state: running; }
.aig-cap:hover { box-shadow: 0 30px 80px -40px color-mix(in srgb, var(--c1) 70%, transparent); }
.aig-cap:target { box-shadow: 0 0 0 1px var(--c1), 0 30px 90px -30px var(--c1); }
@keyframes aigSpin { to { --aig-ang: 360deg; } }
.aig-cap__inner {
  position: relative; overflow: hidden; height: 100%;
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(22px, 2vw, 30px); border-radius: 21px;
  background: linear-gradient(180deg, #0D172B, var(--aig-card));
}
.aig-cap__inner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--c1) 22%, transparent), transparent 60%);
}
.aig-cap:hover .aig-cap__inner::before { opacity: 1; }
.aig-cap__inner > * { position: relative; }
.aig-cap__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.aig-cap__num { font-family: var(--aig-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--c2); }
.aig-cap__glyph { width: 46px; height: 46px; fill: none; stroke: var(--c2); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 10px color-mix(in srgb, var(--c1) 55%, transparent)); transition: transform .8s var(--aig-ease); }
.aig-cap__glyph .fill { fill: var(--c1); stroke: none; }
.aig-cap:hover .aig-cap__glyph { transform: rotate(-8deg) scale(1.08); }
.aig-cap__title { margin: 4px 0 0; font-size: clamp(1.25rem, 1.1rem + .4vw, 1.5rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.2; color: #fff; }
.aig-cap__text { margin: 0; font-size: 15px; line-height: 1.65; color: var(--aig-on-m); }

.aig-cap__flow { position: relative; list-style: none; margin: 4px 0 0; padding: 14px 14px 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .06); counter-reset: f; display: grid; gap: 9px; }
.aig-cap__flow li { position: relative; padding-left: 22px; font-family: var(--aig-mono); font-size: 12px; line-height: 1.45; color: #C9D3E2; counter-increment: f; }
.aig-cap__flow li::before { content: ""; position: absolute; left: 0; top: .32em; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--c2); background: var(--aig-card); }
.aig-cap__flow li:not(:last-child)::after { content: ""; position: absolute; left: 4px; top: 1.15em; bottom: -9px; width: 1.5px; background: linear-gradient(var(--c2), transparent); opacity: .5; }
.aig-cap__flow li:last-child::before { background: var(--c1); box-shadow: 0 0 10px var(--c1); }
.aig-on .aig-cap.is-in .aig-cap__flow li::before { animation: aigDot 4s ease-in-out infinite; animation-delay: calc(var(--n, 0) * .5s); }
.aig-cap__flow li:nth-child(2) { --n: 1; } .aig-cap__flow li:nth-child(3) { --n: 2; } .aig-cap__flow li:nth-child(4) { --n: 3; }
@keyframes aigDot { 0%, 30%, 100% { box-shadow: none; } 12% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--c1) 30%, transparent), 0 0 14px var(--c1); background: var(--c1); } }

.aig-cap__outcome { margin: 0; font-size: 14px; line-height: 1.55; color: #fff; }
.aig-cap__outcome span { display: block; margin-bottom: 4px; font-family: var(--aig-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--aig-on-m); }
.aig-cap__more { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 12px; }
.aig-cap__more summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--c2); border-radius: 6px; }
.aig-cap__more summary::-webkit-details-marker { display: none; }
.aig-cap__more summary::before { content: "+"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1px solid currentColor; font-weight: 400; line-height: 1; transition: transform .4s var(--aig-ease); }
.aig-cap__more[open] summary::before { transform: rotate(45deg); }
.aig-cap__more p { margin: 10px 0 0; font-size: 14px; line-height: 1.65; color: var(--aig-on-m); }
.aig-cap__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0; padding: 0; list-style: none; }
.aig-cap__tags li { padding: 5px 11px; border-radius: 999px; font-size: 12px; color: #DCE4EF; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }

.aig-caps__also { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: clamp(28px, 3vw, 44px) 0 0; }
.aig-caps__also span { font-family: var(--aig-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--aig-on-m); margin-right: 4px; }
.aig-caps__also a { padding: 8px 14px; border-radius: 999px; font-size: 13.5px; color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, .14); transition: border-color .3s, background-color .3s; }
.aig-caps__also a:hover { color: #fff; border-color: var(--aig-a); background: rgba(245, 163, 0, .08); }

/* ==========================================================================
   OVERVIEW — streaming answer demo
   ========================================================================== */
.aig-split { display: grid; gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (min-width: 992px) { .aig-split { grid-template-columns: 1fr 1fr; } }
.aig-split__body p { color: var(--aig-muted); line-height: 1.75; }

.aig-stream { margin: 0; }
.aig-stream figcaption, .aig-guard figcaption { margin-top: 14px; font-size: 13px; line-height: 1.55; color: var(--aig-muted); }
.aig-stream__win, .aig-guard__win {
  position: relative; overflow: hidden; border-radius: 22px;
  background: radial-gradient(120% 90% at 100% 0%, #13264A, var(--aig-ink) 60%);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 40px 90px -40px rgba(7, 12, 24, .7), 0 0 0 1px rgba(15, 23, 41, .06);
  color: var(--aig-on);
}
.aig-stream__win::after, .aig-guard__win::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .05) 45%, transparent 60%);
  background-size: 250% 100%; animation: aigSheen 7s ease-in-out infinite;
}
@keyframes aigSheen { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.aig-stream__bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.aig-stream__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.aig-stream__bar i:first-child { background: var(--aig-o); } .aig-stream__bar i:nth-child(2) { background: var(--aig-a); }
.aig-stream__bar em { margin-left: auto; font-style: normal; font-family: var(--aig-mono); font-size: 11px; letter-spacing: .08em; color: var(--aig-on-m); }
.aig-stream__body, .aig-guard__body { padding: clamp(18px, 2.4vw, 30px); display: grid; gap: 16px; }
.aig-msg { margin: 0; font-size: 15px; line-height: 1.6; }
.aig-msg--user { justify-self: end; max-width: 86%; padding: 12px 16px; border-radius: 16px 16px 4px 16px; background: linear-gradient(100deg, rgba(245, 122, 0, .22), rgba(245, 163, 0, .14)); border: 1px solid rgba(245, 163, 0, .28); color: #fff; }
.aig-msg--ai { padding: 16px 18px; border-radius: 16px 16px 16px 4px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(72, 180, 240, .22); }
.aig-msg__who { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px; font-family: var(--aig-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--aig-b2); }
.aig-msg__who i { width: 16px; height: 16px; border-radius: 50%; background: conic-gradient(var(--aig-o), var(--aig-a), var(--aig-b), var(--aig-o)); animation: aigSpinR 3s linear infinite; }
@keyframes aigSpinR { to { transform: rotate(360deg); } }
.aig-stream__text { margin: 0; color: #E4EAF3; min-height: 4.8em; }
.aig-stream__text .w { opacity: 0; filter: blur(4px); transition: opacity .35s, filter .35s; }
.aig-stream__text .w.on { opacity: 1; filter: none; }
.aig-stream__text.is-typing::after { content: ""; display: inline-block; width: 8px; height: 1em; margin-left: 3px; vertical-align: -2px; background: var(--aig-b2); animation: aigBlink 1s steps(1) infinite; }
.aig-stream__cites, .aig-stream__checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.aig-cite { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px 5px 5px; border-radius: 999px; font-family: var(--aig-mono); font-size: 11.5px; color: #DDEBF7; background: rgba(26, 154, 214, .14); border: 1px solid rgba(72, 180, 240, .35); }
.aig-cite b { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: 10px; color: #0F1729; background: var(--aig-b2); }
.aig-stream__checks span { font-family: var(--aig-mono); font-size: 11px; color: #BFE7C9; padding: 4px 10px; border-radius: 999px; background: rgba(60, 190, 120, .1); border: 1px solid rgba(60, 190, 120, .3); }
.aig-stream__checks span::before { content: "\2713  "; }
.aig-on .aig-stream:not(.is-done) .aig-stream__cites > *, .aig-on .aig-stream:not(.is-done) .aig-stream__checks > * { opacity: 0; transform: translateY(8px) scale(.96); }
.aig-stream__cites > *, .aig-stream__checks > * { transition: opacity .5s var(--aig-ease), transform .5s var(--aig-ease); }
.aig-stream.is-done .aig-stream__cites > :nth-child(2), .aig-stream.is-done .aig-stream__checks > :nth-child(1) { transition-delay: .15s; }
.aig-stream.is-done .aig-stream__checks > :nth-child(2) { transition-delay: .3s; }
.aig-stream.is-done .aig-stream__checks > :nth-child(3) { transition-delay: .45s; }

.aig-checks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 16px; }
.aig-checks li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.aig-checks svg { width: 34px; height: 34px; padding: 8px; border-radius: 10px; color: #fff; background: linear-gradient(135deg, var(--aig-o), var(--aig-b)); box-shadow: 0 8px 20px -8px rgba(245, 122, 0, .6); }
.aig-checks b { display: block; font-weight: 600; color: var(--aig-text); margin-bottom: 2px; }
.aig-checks span { color: var(--aig-muted); line-height: 1.6; font-size: 15px; }

/* ==========================================================================
   USE CASES
   ========================================================================== */
.aig-uses { display: grid; gap: clamp(14px, 1.6vw, 24px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); margin-bottom: clamp(48px, 6vw, 90px); }
.aig-use {
  position: relative; overflow: hidden; padding: clamp(22px, 2.2vw, 32px); border-radius: 22px;
  background: #fff; border: 1px solid rgba(15, 23, 41, .08);
  box-shadow: 0 24px 60px -40px rgba(15, 23, 41, .35);
  transition: transform .6s var(--aig-ease), box-shadow .6s var(--aig-ease);
}
.aig-use::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--aig-o), var(--aig-a), var(--aig-b)); }
.aig-use:hover { transform: translateY(-4px); box-shadow: 0 34px 70px -40px rgba(15, 23, 41, .5); }
.aig-use__tag { font-family: var(--aig-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--aig-muted); }
.aig-use h3 { margin: 10px 0 20px; font-size: 1.45rem; font-weight: 500; letter-spacing: -.025em; color: var(--aig-text); }
.aig-use__row span { display: inline-block; margin-bottom: 6px; font-family: var(--aig-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; padding: 3px 9px; border-radius: 6px; }
.aig-use__row--do span { color: #0B5E8C; background: rgba(26, 154, 214, .12); }
.aig-use__row--stop span { color: #9A4600; background: rgba(245, 122, 0, .12); }
.aig-use__row p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--aig-muted); }
.aig-use__row b { color: var(--aig-text); font-weight: 600; }
.aig-use__fence { position: relative; height: 26px; margin: 12px 0; }
.aig-use__fence::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px dashed rgba(15, 23, 41, .2); }
.aig-use__fence i { position: absolute; top: 50%; left: 0; width: 26%; height: 2px; margin-top: -1px; background: linear-gradient(90deg, transparent, var(--aig-o), transparent); animation: aigFence 3.4s ease-in-out infinite; }
@keyframes aigFence { from { left: -26%; } to { left: 100%; } }

.aig-split--ops { align-items: start; }
.aig-ops { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.aig-ops li { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(15, 23, 41, .08); }
.aig-ops__ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; font-family: var(--aig-mono); font-size: 12px; color: #fff; background: var(--aig-ink2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 0 18px -4px rgba(26, 154, 214, .7); }
.aig-ops b { display: block; color: var(--aig-text); margin-bottom: 4px; }
.aig-ops span:not(.aig-ops__ic) { font-size: 14.5px; line-height: 1.6; color: var(--aig-muted); }

/* ==========================================================================
   ARCHITECTURE — animated request pipeline
   ========================================================================== */
.aig-pipe {
  position: relative; margin: 0 0 clamp(40px, 5vw, 70px);
  display: grid; gap: 18px; align-items: center;
  padding: clamp(20px, 2.6vw, 36px); border-radius: 24px;
  background: rgba(255, 255, 255, .025); border: 1px solid rgba(255, 255, 255, .08);
}
@media (min-width: 1200px) { .aig-pipe { grid-template-columns: 150px 1fr 130px; gap: 24px; } }
.aig-pipe__ends span { display: block; margin-bottom: 10px; font-family: var(--aig-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--aig-on-m); }
.aig-pipe__ends ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
@media (min-width: 1200px) { .aig-pipe__ends ul { flex-direction: column; } }
.aig-pipe__ends li { padding: 6px 12px; border-radius: 999px; font-size: 12.5px; color: #DCE4EF; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .03); white-space: nowrap; }
.aig-pipe__ends--out li { border-color: rgba(245, 163, 0, .35); color: #FFE2B0; }

.aig-pipe__track { --dur: 6s; position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.aig-pipe__track::before { content: ""; position: absolute; left: 8%; right: 8%; top: 31px; height: 2px; background: linear-gradient(90deg, rgba(26, 154, 214, .25), rgba(245, 163, 0, .35)); }
.aig-pipe__track::after {
  content: ""; position: absolute; top: 26px; left: 8%; width: 90px; height: 12px; margin-left: -45px; border-radius: 50%;
  background: radial-gradient(closest-side, #fff, var(--aig-a) 40%, transparent);
  filter: blur(1px); box-shadow: 0 0 24px 6px rgba(245, 163, 0, .45);
  animation: aigComet var(--dur) linear infinite;
}
@keyframes aigComet { 0% { left: 8%; opacity: 0; } 4% { opacity: 1; } 92% { opacity: 1; } 100% { left: 92%; opacity: 0; } }
.aig-pipe__track li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.aig-pipe__node {
  display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 8px; border-radius: 20px;
  background: linear-gradient(160deg, #12223F, #0A1426); border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  animation: aigNode var(--dur) linear infinite; animation-delay: calc(var(--i) * var(--dur) * .14 - .2s);
}
.aig-pipe__node svg { width: 26px; height: 26px; fill: none; stroke: #CFE6F7; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@keyframes aigNode {
  0%, 16%, 100% { border-color: rgba(255, 255, 255, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); transform: none; }
  4% { border-color: var(--aig-a); box-shadow: 0 0 0 4px rgba(245, 163, 0, .16), 0 0 34px rgba(245, 163, 0, .55); transform: translateY(-3px); }
}
.aig-pipe__track b { font-size: 14.5px; font-weight: 600; color: #fff; }
.aig-pipe__track small { font-size: 12px; line-height: 1.4; color: var(--aig-on-m); }
.aig-pipe__track li:last-child .aig-pipe__node { background: linear-gradient(160deg, rgba(245, 122, 0, .35), rgba(26, 154, 214, .25)); border-color: rgba(245, 163, 0, .5); }

@media (max-width: 767.98px) {
  .aig-pipe__track { grid-template-columns: 1fr; gap: 14px; }
  .aig-pipe__track::before { left: 31px; right: auto; top: 20px; bottom: 20px; width: 2px; height: auto; background: linear-gradient(rgba(26, 154, 214, .3), rgba(245, 163, 0, .4)); }
  .aig-pipe__track::after { left: 26px; top: 0; width: 12px; height: 70px; margin: 0; animation-name: aigCometV; }
  @keyframes aigCometV { 0% { top: 0; opacity: 0; } 4% { opacity: 1; } 92% { opacity: 1; } 100% { top: calc(100% - 70px); opacity: 0; } }
  .aig-pipe__track li { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; text-align: left; }
  .aig-pipe__node { grid-row: 1 / span 2; margin: 0; }
  .aig-pipe__track b { align-self: end; }
  .aig-pipe__track small { align-self: start; }
}

.aig-arch__lower { display: grid; gap: clamp(28px, 4vw, 60px); align-items: start; }
@media (min-width: 992px) { .aig-arch__lower { grid-template-columns: 5fr 6fr; } }
.aig-arch__text { margin: 0 0 24px; color: var(--aig-on-m); line-height: 1.75; max-width: 54ch; }
.aig-layers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 8px; }
.aig-layers li { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 14px; font-size: 14.5px; color: #fff; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .08); transition: border-color .3s, background-color .3s; }
.aig-layers li:hover { border-color: rgba(72, 180, 240, .45); background: rgba(26, 154, 214, .08); }
.aig-layers span { font-family: var(--aig-mono); font-size: 11.5px; color: var(--aig-a); }

.aig-console { border-radius: 20px; overflow: hidden; background: rgba(3, 7, 16, .72); border: 1px solid rgba(72, 180, 240, .2); box-shadow: 0 30px 80px -40px rgba(26, 154, 214, .5); }
.aig-console__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.aig-console__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.aig-console__bar em { margin-left: auto; font-style: normal; font-family: var(--aig-mono); font-size: 11px; color: var(--aig-on-m); }
.aig-console__body { list-style: none; margin: 0; padding: 16px 18px 20px; display: grid; gap: 8px; font-family: var(--aig-mono); font-size: 12.5px; color: #C5D0DF; counter-reset: c; }
.aig-console__body li { counter-increment: c; display: flex; gap: 10px; transition: opacity .35s, transform .35s var(--aig-ease); }
.aig-console__body li::before { content: counter(c, decimal-leading-zero); color: rgba(255, 255, 255, .3); }
.aig-console__body b { font-weight: 500; min-width: 66px; }
.aig-on .aig-console__body li:not(.is-on) { opacity: 0; transform: translateX(-8px); }
.t-b { color: var(--aig-b2); } .t-a { color: var(--aig-a); } .t-o { color: #FF9A3D; } .t-g { color: #7EDB9F; }

/* ---------- CTA band ---------- */
.aig-band { padding-block: clamp(48px, 6vw, 90px) 0; }
.aig-band__panel {
  position: relative; overflow: hidden; display: grid; gap: 24px; align-items: center;
  padding: clamp(28px, 3.4vw, 52px); border-radius: var(--aig-r);
  background: linear-gradient(110deg, rgba(245, 122, 0, .10), rgba(245, 163, 0, .08) 45%, rgba(26, 154, 214, .12)), #fff;
  border: 1px solid rgba(15, 23, 41, .08);
}
.aig-band__panel::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(245, 122, 0, .25); box-shadow: 0 0 0 30px rgba(245, 122, 0, .04), 0 0 0 60px rgba(26, 154, 214, .03); pointer-events: none; }
.aig-band__title { margin: 0 0 8px; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.6rem); font-weight: 300; letter-spacing: -.04em; color: var(--aig-text); }
.aig-band__panel .aig-muted { margin: 0; }
.aig-band__actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
@media (min-width: 992px) { .aig-band__panel { grid-template-columns: 1fr auto; } }

/* ==========================================================================
   GOVERNANCE
   ========================================================================== */
.aig-gov { display: grid; gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (min-width: 992px) { .aig-gov { grid-template-columns: 5fr 7fr; } .aig-guard { position: sticky; top: 110px; } }
.aig-guard { margin: 0; }
.aig-guard__scan { position: relative; overflow: hidden; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; font-family: var(--aig-mono); font-size: 11.5px; color: var(--aig-b2); background: rgba(26, 154, 214, .08); border: 1px solid rgba(72, 180, 240, .2); }
.aig-guard__scan i { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(72, 180, 240, .3), transparent); width: 40%; animation: aigScan 2.2s ease-in-out infinite; }
@keyframes aigScan { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.aig-msg--block { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 16px; border-radius: 16px; background: rgba(245, 122, 0, .08); border: 1px solid rgba(245, 122, 0, .4); box-shadow: 0 0 40px -16px rgba(245, 122, 0, .6); }
.aig-msg--block p { margin: 0; color: #F1E6DA; font-size: 14.5px; }
.aig-msg--block b { color: #FFB45C; }
.aig-guard__shield svg { width: 34px; height: 34px; fill: rgba(245, 122, 0, .18); stroke: #FFB45C; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; animation: aigShield 2.6s ease-in-out infinite; }
@keyframes aigShield { 50% { filter: drop-shadow(0 0 10px rgba(245, 163, 0, .8)); transform: scale(1.06); } }
.aig-guard__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.aig-guard__chips span { padding: 5px 11px; border-radius: 999px; font-family: var(--aig-mono); font-size: 11px; color: #DCE4EF; border: 1px solid rgba(255, 255, 255, .14); }

.aig-controls { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); counter-reset: none; }
.aig-controls li {
  position: relative; overflow: hidden; padding: 22px; border-radius: 18px; background: #fff; border: 1px solid rgba(15, 23, 41, .08);
  transition: transform .5s var(--aig-ease), box-shadow .5s var(--aig-ease), border-color .5s;
}
.aig-controls li::after { content: ""; position: absolute; inset: auto 0 0 0; height: 2px; background: linear-gradient(90deg, var(--aig-o), var(--aig-a), var(--aig-b)); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--aig-ease); }
.aig-controls li:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -34px rgba(15, 23, 41, .45); }
.aig-controls li:hover::after { transform: none; }
.aig-controls span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-family: var(--aig-mono); font-size: 12px; color: #fff; background: linear-gradient(135deg, var(--aig-o), var(--aig-b)); }
.aig-controls h4 { margin: 14px 0 8px; font-size: 1.08rem; font-weight: 600; letter-spacing: -.015em; color: var(--aig-text); }
.aig-controls p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--aig-muted); }

/* ==========================================================================
   DELIVERY — scroll-filled timeline
   ========================================================================== */
.aig-del { display: grid; gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (min-width: 992px) { .aig-del { grid-template-columns: 5fr 6fr; } .aig-del__intro { position: sticky; top: 110px; } }
.aig-del__intro .aig-muted { margin: 20px 0 28px; max-width: 46ch; }
.aig-steps { --p: 0; position: relative; list-style: none; margin: 0; padding: 0 0 0 44px; display: grid; gap: 18px; }
.aig-steps::before, .aig-steps::after { content: ""; position: absolute; left: 13px; top: 14px; bottom: 14px; width: 2px; border-radius: 2px; }
.aig-steps::before { background: rgba(15, 23, 41, .1); }
.aig-steps::after { background: linear-gradient(var(--aig-o), var(--aig-a), var(--aig-b)); transform-origin: top; transform: scaleY(var(--p)); }
.aig-steps li { position: relative; padding: 20px 22px; border-radius: 18px; background: #fff; border: 1px solid rgba(15, 23, 41, .08); transition: box-shadow .5s, border-color .5s; }
.aig-steps__dot { position: absolute; left: -38px; top: 24px; width: 16px; height: 16px; border-radius: 50%; background: var(--aig-paper); border: 2px solid rgba(15, 23, 41, .2); transition: background-color .4s, border-color .4s, box-shadow .4s; z-index: 1; }
.aig-steps li.is-past .aig-steps__dot { background: var(--aig-o); border-color: #fff; box-shadow: 0 0 0 3px rgba(245, 122, 0, .25), 0 0 16px rgba(245, 122, 0, .6); }
.aig-steps li.is-past { border-color: rgba(245, 122, 0, .25); box-shadow: 0 20px 40px -32px rgba(245, 122, 0, .5); }
.aig-steps__k { font-family: var(--aig-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #9A4600; }
.aig-steps h3 { margin: 8px 0 8px; font-size: 1.2rem; font-weight: 600; letter-spacing: -.02em; color: var(--aig-text); }
.aig-steps p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--aig-muted); }

/* ---------- Evidence ---------- */
.aig-proof { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.aig-proof__card {
  position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 200px;
  padding: 26px; border-radius: 20px; text-decoration: none; color: var(--aig-text);
  background: #fff; border: 1px solid rgba(15, 23, 41, .08); overflow: hidden;
  transition: transform .5s var(--aig-ease), box-shadow .5s var(--aig-ease);
}
.aig-proof__card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px circle at 100% 0%, rgba(26, 154, 214, .12), transparent 50%), radial-gradient(400px circle at 0% 100%, rgba(245, 122, 0, .1), transparent 50%); opacity: 0; transition: opacity .5s; }
.aig-proof__card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgba(15, 23, 41, .5); color: var(--aig-text); }
.aig-proof__card:hover::before { opacity: 1; }
.aig-proof__card > * { position: relative; }
.aig-proof__k { font-family: var(--aig-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--aig-muted); }
.aig-proof__card strong { font-size: 1.2rem; font-weight: 500; line-height: 1.35; letter-spacing: -.02em; }
.aig-proof__go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; }
.aig-proof__go svg { width: 18px; height: 18px; transition: transform .4s var(--aig-ease); }
.aig-proof__card:hover .aig-proof__go svg { transform: translateX(4px); }

/* ---------- FAQ layout (items keep the site's .faq styles) ---------- */
.aig-faq__grid { display: grid; gap: clamp(28px, 4vw, 64px); }
.aig-faq__grid .aig-muted { margin-top: 18px; }
@media (min-width: 992px) { .aig-faq__grid { grid-template-columns: 4fr 8fr; } }

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.aig-final { padding-block: clamp(48px, 6vw, 90px) clamp(56px, 7vw, 110px); }
.aig-final__panel {
  --mx: 70%; --my: 30%;
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--aig-r);
  padding: clamp(40px, 6vw, 96px) clamp(24px, 5vw, 80px);
  background: radial-gradient(600px circle at var(--mx) var(--my), rgba(245, 163, 0, .16), transparent 60%), radial-gradient(120% 100% at 80% 0%, #10224A, var(--aig-ink) 65%);
  color: var(--aig-on);
}
.aig-final__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aig-final__rings { position: absolute; right: -10%; top: 50%; width: 560px; height: 560px; transform: translateY(-50%); }
.aig-final__rings i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(72, 180, 240, .25); animation: aigRing 6s var(--aig-ease) infinite; }
.aig-final__rings i:nth-child(2) { animation-delay: 2s; border-color: rgba(245, 163, 0, .25); }
.aig-final__rings i:nth-child(3) { animation-delay: 4s; }
@keyframes aigRing { from { transform: scale(.3); opacity: 0; } 30% { opacity: 1; } to { transform: scale(1); opacity: 0; } }
.aig-final__content { max-width: 780px; }
.aig-final__title { margin: 0 0 20px; color: #fff; font-weight: 300; letter-spacing: -.045em; line-height: 1.04; font-size: clamp(2.1rem, 1.3rem + 3vw, 4.4rem); }
.aig-final__text { margin: 0 0 30px; max-width: 58ch; color: var(--aig-on-m); line-height: 1.7; }
.aig-final__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 30px 0 0; font-size: 14px; color: var(--aig-on-m); }
.aig-final__meta a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Reveal on scroll (only once ai.js has run — content is visible without JS)
   ========================================================================== */
.aig-on .aig [data-aig-rv] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--aig-ease), transform .9s var(--aig-ease); }
.aig-on .aig .aig-cap[data-aig-rv] { transform: perspective(1000px) translateY(40px) rotateX(8deg); transition: opacity 1s var(--aig-ease), transform 1s var(--aig-ease), box-shadow .6s var(--aig-ease); }
.aig-on .aig [data-aig-rv].is-in { opacity: 1; transform: none; }
.aig-on .aig .aig-cap[data-aig-rv].is-in { transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); }
.aig-on .aig .aig-cap.is-tilting { transition: opacity 1s var(--aig-ease), transform .15s linear, box-shadow .6s var(--aig-ease); }

/* ---------- Reduced motion: complete, still page ---------- */
@media (prefers-reduced-motion: reduce) {
  .aig *, .aig *::before, .aig *::after { animation: none !important; transition: none !important; }
  .aig-on .aig [data-aig-rv], .aig-on .aig .aig-cap[data-aig-rv] { opacity: 1 !important; transform: none !important; }
  .aig-on .aig-hero__line { opacity: 1; transform: none; filter: none; }
  .aig-on .aig-console__body li:not(.is-on) { opacity: 1; transform: none; }
  .aig-on .aig-stream:not(.is-done) .aig-stream__cites > *, .aig-on .aig-stream:not(.is-done) .aig-stream__checks > * { opacity: 1; transform: none; }
  .aig-pipe__track::after, .aig-prompt__cursor { display: none; }
  .aig-cap::before { opacity: 0; }
}

/* ---------- Phones ---------- */
@media (max-width: 575.98px) {
  .aig-dark { padding-block: 56px; }
  .aig-caps__count { display: none; }
  .aig-msg--user { max-width: 100%; }
  .aig-steps { padding-left: 34px; }
  .aig-steps::before, .aig-steps::after { left: 8px; }
  .aig-steps__dot { left: -33px; }
  .aig-final__rings { width: 340px; height: 340px; right: -40%; }
}

/* ---------- Late additions: desktop prompt placement, light-section dot field ---------- */
@media (min-width: 1200px) {
  .aig-prompt { position: absolute; z-index: 3; right: clamp(32px, 4vw, 64px); top: clamp(36px, 5vw, 72px); margin: 0; width: 380px; }
  .aig-hero__inner { padding-top: clamp(32px, 4vw, 56px); }
}
.aig-sec::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(rgba(15, 23, 41, .10) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 50% 40% at 85% 15%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse 50% 40% at 85% 15%, #000, transparent 70%);
}
.aig-sec > .container-xxl { position: relative; z-index: 1; }
