/* ════════════════════════════════════════════════════════════════
   OrivenAI landing page: "Ink & Signal".
   Loaded from inside #view-landing (index.html / home.html), so the other
   public pages never download it. Everything is scoped under .ik; the only
   rules outside it restyle the shared header and the landing scroll
   container while the landing view is the one on screen.

   Dot system, used on purpose rather than behind every section:
     scenes      hero and final CTA: canvas.ik-field (js/landing.js), a lattice
                 that waves and moves aside for the pointer
     transition  the problem band: scattered dots settle into one grid
     creatures   the six assistants, made of particles (js/landing-creatures.js);
                 their section has no dot background of its own
     accents     the workflow rail and the static stage behind the product films
   A canvas replaces its CSS lattice fallback (.ik-live) instead of sitting on
   top of it, so moving dots never leave static copies behind.
   Motion system (js/landing.js adds .ik-motion only when motion is allowed):
     [data-reveal] (rise, left, right, pop, scale, fade, stagger) plays each
     time an element enters view and resets once it is fully out of view;
     .ik-above mirrors the entrance for elements coming back from above.
   ════════════════════════════════════════════════════════════════ */

.ik {
  /* Foundation */
  --ink: #0B0C0A;
  --ink-2: #0F110E;
  --surface: #141612;
  --raised: #1C1F1A;
  --line: #262A23;
  --line-strong: #3A3F35;
  --line-input: #6A7064;   /* ≥3:1 on ink, surface and raised: control boundaries */
  --text: #ECEEE6;
  --text-2: #A6AA9F;
  --text-3: #7A7F73;       /* metadata only */
  --silver: #C8CBC1;
  /* Brand */
  --volt: #EAFD13;          /* sampled from assets/orivenlogo.png */
  --on-volt: #0B0C0A;
  --volt-glow: rgba(234, 253, 19, .14);
  --ok: #57D38C;
  /* Assistants: identity accents, shown only for the one in focus */
  --scout: #7CF0CC;
  --vector: #A8C0FF;
  --nova: #FF6FA8;
  --momentum: #FF8A3D;
  --metric: #2FB0E8;
  --flux: #8F5CFF;
  /* Type */
  --font: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  /* Shape, motion, layout */
  --r-s: 6px; --r-m: 10px; --r-l: 16px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.36, .64, 1); /* a controlled overshoot, for things that pop into place */
  --t-fast: 120ms; --t: 200ms; --t-panel: 320ms; --t-agent: 700ms;
  --max: 1280px;
  --max-wide: 1400px;
  --gutter: clamp(16px, 4vw, 56px);
  --sec: clamp(88px, 10vw, 140px);

  position: relative;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
:where(.ik) *, :where(.ik) *::before, :where(.ik) *::after { box-sizing: border-box; }
:where(.ik) :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; padding: 0; }
:where(.ik) :where(ul, ol) { list-style: none; }
:where(.ik) a { color: inherit; text-decoration: none; }
:where(.ik) :where(img, svg, video, canvas) { display: block; max-width: 100%; }
:where(.ik) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.ik [hidden] { display: none !important; }
.ik :focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; border-radius: var(--r-s); }
.ik p { text-wrap: pretty; }
.ik ::selection { background: rgba(234, 253, 19, .28); color: var(--text); }

/* ── Shared pieces ───────────────────────────────────────────────── */
.ik-wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.ik-wrap--wide { max-width: var(--max-wide); }
.ik-sec { position: relative; padding-block: var(--sec); }
.ik-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; line-height: 1.2;
  color: var(--silver);
}
.ik-eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 1px; background: var(--volt); transform: rotate(45deg); }
.ik-h2 {
  font-size: clamp(34px, 4.2vw, 56px); font-weight: 600; line-height: 1.06; letter-spacing: -.03em;
  text-wrap: balance; color: var(--text);
}
.ik-lead { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.58; letter-spacing: -.006em; color: var(--text-2); max-width: 58ch; text-wrap: pretty; }
.ik-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); }
.ik-head--center { justify-items: center; text-align: center; }
.ik-head--center .ik-lead { margin-inline: auto; }
.ik-head--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px clamp(32px, 6vw, 96px); align-items: end; }
.ik-head--split > div { display: grid; gap: 18px; }
.ik-note { font-size: 14px; line-height: 1.55; color: var(--text-3); max-width: 64ch; }
.ik-mono { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }

.ik-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-m);
  font-size: 15px; font-weight: 600; letter-spacing: -.005em; line-height: 1; white-space: nowrap;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), background-color var(--t) var(--ease), border-color var(--t) var(--ease), color var(--t) var(--ease);
}
.ik-btn svg { width: 16px; height: 16px; flex: none; transition: transform var(--t) var(--ease); }
.ik-btn--primary { background: var(--volt); color: var(--on-volt); box-shadow: 0 0 0 1px rgba(234, 253, 19, .5), 0 10px 32px -14px rgba(234, 253, 19, .55); }
.ik-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px var(--volt), 0 14px 40px -12px rgba(234, 253, 19, .65); }
.ik-btn--primary:active { transform: translateY(0) scale(.985); }
.ik-btn--primary:hover svg { transform: translateX(3px); }
.ik-btn--ghost { border: 1px solid var(--line-input); color: var(--text); }
.ik-btn--ghost:hover { border-color: var(--silver); background: rgba(236, 238, 230, .04); }
.ik-btn--ghost:hover svg { transform: translateY(2px); }
.ik-btn:focus-visible { outline-offset: 3px; border-radius: var(--r-m); }
.ik-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.ik-link {
  display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-weight: 500;
  border-bottom: 1px solid var(--line-input); padding-bottom: 2px; transition: border-color var(--t) var(--ease), color var(--t) var(--ease);
}
.ik-link:hover { border-color: var(--volt); }
.ik-link svg { width: 14px; height: 14px; flex: none; transition: transform var(--t) var(--ease); }
.ik-link:hover svg { transform: translateX(2px); }
.ik-lead .ik-link { display: inline; padding-bottom: 0; }

/* Static lattice: the product-film stage, and the fallback under the hero and
   final canvases. Once a canvas draws, its section gets .ik-live and the
   fallback fades out: one layer of dots, never two. */
.ik-hero::before, .ik-final::before, .ik-inside__stage::before {
  background-image: radial-gradient(circle at 1.25px 1.25px, rgba(236, 238, 230, .085) 1.25px, transparent 1.7px);
  background-size: 24px 24px;
  transition: opacity 1.2s var(--ease);
}
.ik-live::before { opacity: 0; }
.ik-visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Signal state: the canvas fades in over its static fallback */
.ik-field { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease); }
.ik-field.is-on { opacity: 1; }

/* Assistant glyphs (sprite at the top of the page): each creature as a few dots */
.ik-glyph { width: 18px; height: 18px; flex: none; fill: currentColor; }
.ik-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Per-assistant colour hook: [data-agent] sets --ac */
.ik [data-agent="scout"] { --ac: var(--scout); }
.ik [data-agent="vector"] { --ac: var(--vector); }
.ik [data-agent="nova"] { --ac: var(--nova); }
.ik [data-agent="momentum"] { --ac: var(--momentum); }
.ik [data-agent="metric"] { --ac: var(--metric); }
.ik [data-agent="flux"] { --ac: var(--flux); }

/* The logo ring (segments are <use> of the logo's own six paths). Volt only. */
.ik-ring { overflow: visible; }
.ik-ring .ik-seg { fill: var(--volt); transform-box: view-box; transform-origin: 511px 489.5px; }

/* Entrance reveals (only when js/landing.js enabled motion). Opacity and
   transform only, so nothing shifts the layout. */
.ik-motion [data-reveal] {
  --ry: 18px;
  opacity: 0; transform: translate3d(0, var(--ry), 0);
  transition: opacity .8s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.ik-motion [data-reveal].ik-above { --ry: -18px; }
.ik-motion [data-reveal="left"] { transform: translate3d(-32px, 0, 0); }
.ik-motion [data-reveal="right"] { transform: translate3d(32px, 0, 0); }
.ik-motion [data-reveal="pop"] { transform: translate3d(0, calc(var(--ry) * .7), 0) scale(.94); transition: opacity .6s var(--ease-out), transform .85s var(--ease-spring); transition-delay: calc(var(--d, 0) * 80ms); }
.ik-motion [data-reveal="scale"] { transform: translate3d(0, calc(var(--ry) * 1.6), 0) scale(.965); transition-duration: 1s, 1.1s; }
.ik-motion [data-reveal="fade"] { transform: none; }
.ik-motion [data-reveal].is-in { opacity: 1; transform: none; }
/* Stagger: the container stays put, its children arrive one after another. */
.ik-motion [data-reveal="stagger"] { opacity: 1; transform: none; transition: none; }
.ik-motion [data-reveal="stagger"] > * {
  opacity: 0; transform: translate3d(0, calc(var(--ry) * .8), 0);
  transition: opacity .7s var(--ease-out), transform .8s var(--ease-out);
}
.ik-motion [data-reveal="stagger"] > :nth-child(2) { transition-delay: 70ms; }
.ik-motion [data-reveal="stagger"] > :nth-child(3) { transition-delay: 140ms; }
.ik-motion [data-reveal="stagger"] > :nth-child(4) { transition-delay: 210ms; }
.ik-motion [data-reveal="stagger"] > :nth-child(5) { transition-delay: 280ms; }
.ik-motion [data-reveal="stagger"] > :nth-child(n+6) { transition-delay: 340ms; }
.ik-motion [data-reveal="stagger"].is-in > * { opacity: 1; transform: none; }

/* ── 1. Hero ─────────────────────────────────────────────────────── */
.ik-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(600px, calc(100vh - 64px), 940px);
  display: grid; align-items: center;
  padding-block: clamp(48px, 6vw, 88px);
}
@supports (height: 100dvh) { .ik-hero { min-height: clamp(600px, calc(100dvh - 64px), 940px); } }
.ik-hero::before { /* static fallback for the signal field, fades out toward the copy */
  content: ''; position: absolute; inset: 0; z-index: -2;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 72% 50%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 72% 50%, #000 0%, transparent 75%);
}
.ik-hero .ik-field { z-index: -1; }
.ik-hero .ik-wrap { max-width: var(--max-wide); }
.ik-hero__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.ik-hero__copy { display: grid; gap: 26px; max-width: 700px; }
.ik-h1 { font-size: clamp(44px, 5.6vw, 84px); font-weight: 600; line-height: 1; letter-spacing: -.042em; text-wrap: balance; }
.ik-h1 span { display: block; white-space: nowrap; }
.ik-h1 span:last-child { color: var(--silver); }
.ik-hero__sub { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; letter-spacing: -.008em; color: var(--text-2); max-width: 48ch; text-wrap: pretty; }
.ik-hero__meta { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }

.ik-hero__mark { position: relative; display: grid; place-items: center; aspect-ratio: 1; width: min(100%, 600px); justify-self: center; }
.ik-hero__mark::before {
  content: ''; position: absolute; inset: 4%; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, var(--volt-glow) 0%, rgba(234, 253, 19, .05) 42%, transparent 68%);
  transition: transform .9s var(--ease-out), opacity .9s var(--ease-out);
}
.ik-ring--hero { width: 76%; height: auto; filter: drop-shadow(0 0 22px rgba(234, 253, 19, .22)); transition: transform 1.1s var(--ease-out); }
.ik-ring--hero .ik-seg { transition: transform .9s var(--ease-out); }
/* Hover: the ring opens slightly along each segment's own direction and turns a little. */
@media (hover: hover) and (pointer: fine) {
  .ik-hero__mark:hover .ik-ring--hero { transform: rotate(10deg); }
  .ik-hero__mark:hover .ik-ring--hero .ik-seg { transform: translate(var(--ox), var(--oy)); }
  .ik-hero__mark:hover::before { transform: scale(1.06); }
}
/* Intro: the six segments assemble into the logo, once. */
@keyframes ik-seg-in { from { opacity: 0; transform: translate(calc(var(--ox) * 3), calc(var(--oy) * 3)) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes ik-ring-in { from { transform: rotate(-24deg) scale(.94); } to { transform: none; } }
.ik-motion .ik-ring--hero { animation: ik-ring-in 1.6s var(--ease-out) both; }
.ik-motion .ik-ring--hero .ik-seg { animation: ik-seg-in 1.2s var(--ease-out) both; animation-delay: calc(var(--i) * 90ms + 120ms); }
.ik-motion .ik-ring--hero.is-done, .ik-motion .ik-ring--hero.is-done .ik-seg { animation: none; }
.ik-motion .ik-hero__copy > * { animation: ik-rise .9s var(--ease-out) both; }
.ik-motion .ik-hero__copy > :nth-child(2) { animation-delay: .06s; }
.ik-motion .ik-hero__copy > :nth-child(3) { animation-delay: .14s; }
.ik-motion .ik-hero__copy > :nth-child(4) { animation-delay: .22s; }
.ik-motion .ik-hero__copy > :nth-child(5) { animation-delay: .3s; }
@keyframes ik-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ── 2. Problem ──────────────────────────────────────────────────── */
.ik-problem { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(96px, 11vw, 160px); text-align: center; }
/* The transition band: scattered dots settle into one grid as the section
   rises, and the signal lights up from the middle once they are in order. */
.ik-band { position: relative; height: clamp(84px, 9vw, 132px); margin: clamp(28px, 3vw, 40px) calc(var(--gutter) * -1) 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent); mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent); }
.ik:not(.ik-js) .ik-band { display: none; }
.ik-problem__lines { display: grid; gap: 10px; justify-items: center; font-size: clamp(22px, 2.5vw, 32px); font-weight: 500; letter-spacing: -.02em; line-height: 1.3; color: var(--text-2); }
.ik-problem__punch { margin-top: 18px; font-size: clamp(40px, 5.6vw, 76px); font-weight: 600; letter-spacing: -.045em; line-height: 1.02; color: var(--text); text-wrap: balance; }
.ik-problem .ik-lead { margin: clamp(20px, 2.4vw, 32px) auto 0; text-align: center; max-width: 56ch; }
/* The sequence: each statement is its own reveal, alternating sides, then
   the punch line lands a little harder and the answer fades in after the
   band. Opacity and transform only (no layout shift); the section clips
   the side entrances, so nothing scrolls sideways. */
.ik-problem__line { display: block; }
.ik-motion .ik-problem__line[data-reveal="left"] { transform: translate3d(-64px, 0, 0); }
.ik-motion .ik-problem__line[data-reveal="right"] { transform: translate3d(64px, 0, 0); }
.ik-motion .ik-problem__line[data-reveal] { transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.ik-motion [data-reveal="punch"] { transform: translate3d(0, 28px, 0) scale(.9); filter: blur(6px); transition: opacity .7s var(--ease-out), transform 1s var(--ease-spring), filter .8s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.ik-motion .ik-problem__line[data-reveal].is-in { opacity: 1; transform: none; }
.ik-motion [data-reveal="punch"].is-in { filter: none; }
.ik-motion .ik-problem__answer[data-reveal] { transition-duration: 1.1s, 1.1s; transition-delay: calc(var(--d, 0) * 90ms); }

/* ── 3. Assistants: the selector ─────────────────────────────────── */
/* No dot background here: the creatures are the only particles in this section. */
.ik-agents { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(var(--ink), var(--ink-2) 14%, var(--ink-2) 86%, var(--ink)); }
.ik-agents .ik-head { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); column-gap: clamp(32px, 6vw, 96px); align-items: end; }
.ik-agents .ik-head > .ik-eyebrow, .ik-agents .ik-head > .ik-h2 { grid-column: 1; }
/* Lead and note are one aside, ending on the heading's last line, so the two
   columns read as one composition instead of a floating paragraph. */
.ik-agents .ik-head > .ik-head__aside { grid-column: 2; grid-row: 1 / span 2; align-self: end; display: grid; gap: 14px; padding-bottom: .35em; }
.ik-agents .ik-head__aside .ik-lead { max-width: 52ch; }
.ik-agents .ik-head__aside .ik-note { max-width: 52ch; }
.ik-agent__facts dd { max-width: 58ch; }
.ik-sel { position: relative; }
.ik-stage { position: relative; }

/* Without JavaScript: a calm row of all six */
.ik-figs { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; padding: 32px 0; }
.ik-fig { display: grid; justify-items: center; gap: 12px; color: var(--ac); width: 120px; text-align: center; }
.ik-fig__label { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
/* A creature: the dot glyph (no-JavaScript image) under its living canvas.
   The canvas fades in as the particles assemble; the glyph fades out. */
.ik-creature { position: relative; width: 100%; aspect-ratio: 1; }
.ik-creature__c, .ik-creature__g { position: absolute; inset: 0; width: 100%; height: 100%; }
.ik-creature__g { fill: currentColor; padding: 18%; transition: opacity .9s var(--ease); }
.ik-creature__c { opacity: 0; transition: opacity .9s var(--ease); }
.ik-creature__c.is-on { opacity: 1; }
.ik-creature__c.is-on + .ik-creature__g { opacity: 0; }

/* With JavaScript: the stage */
.ik-js .ik-figs { display: block; position: relative; height: clamp(330px, 38vw, 520px); padding: 0; }
.ik-js .ik-fig {
  position: absolute; left: 50%; top: 50%; width: clamp(240px, 30vw, 420px);
  --x: 0; --s: 1; --o: 1;
  transform: translate(-50%, -54%) translateX(calc(var(--x) * clamp(200px, 26vw, 400px))) scale(var(--s));
  opacity: var(--o);
  color: var(--silver);
  transition: transform var(--t-agent) var(--ease-out), opacity var(--t-agent) var(--ease-out), color var(--t-agent) var(--ease-out);
  cursor: pointer;
}
.ik-js .ik-fig.is-active { color: var(--ac); cursor: default; }
.ik-js .ik-fig::before {
  content: ''; position: absolute; left: 50%; top: 44%; width: 140%; aspect-ratio: 1; transform: translate(-50%, -50%) scale(.8); z-index: -1;
  border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--ac) 11%, transparent) 0%, transparent 60%);
  opacity: 0; transition: opacity var(--t-agent) var(--ease-out), transform var(--t-agent) var(--ease-out);
}
.ik-js .ik-fig.is-active::before { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.ik-js .ik-fig .ik-fig__label { opacity: 0; transition: opacity var(--t-panel) var(--ease); }
.ik-js .ik-fig.is-active .ik-fig__label { opacity: 1; color: var(--ac); }
.ik-js .ik-fig .ik-creature { transition: opacity var(--t-agent) var(--ease); }
.ik-js .ik-fig:not(.is-active) .ik-creature { opacity: .6; }

.ik-sel__nav { display: none; }
.ik-js .ik-sel__nav { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 4vw, 40px); margin-top: 4px; }
.ik-arrow {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-m);
  border: 1px solid var(--line-input); color: var(--text); background: rgba(11, 12, 10, .6);
  transition: border-color var(--t) var(--ease), background-color var(--t) var(--ease), transform var(--t) var(--ease);
}
.ik-arrow:hover { border-color: var(--silver); background: rgba(236, 238, 230, .05); }
.ik-arrow:active { transform: scale(.94); }
.ik-arrow svg { width: 18px; height: 18px; }

/* The segmented ring pager: each logo segment is a tab (a choice indicator, nothing more) */
.ik-pager { position: relative; width: 128px; aspect-ratio: 534 / 585; }
.ik-pager .ik-ring { width: 100%; height: 100%; }
.ik-pager .ik-seg { fill: var(--line-strong); transition: fill var(--t-panel) var(--ease), transform var(--t-panel) var(--ease-out); }
.ik-pager .ik-seg.is-active { fill: var(--sc); transform: translate(calc(var(--ox) * .35), calc(var(--oy) * .35)); }
.ik-pager [role="tab"] { position: absolute; width: 42px; height: 42px; transform: translate(-50%, -50%); border-radius: 50%; }
.ik-pager [role="tab"]:focus-visible { border-radius: 50%; outline-offset: 0; }
.ik-pager__count { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; font-variant-numeric: tabular-nums; color: var(--text-2); pointer-events: none; }

/* Panel: one article per assistant (all visible without JavaScript) */
.ik-panels { display: grid; gap: 48px; margin-top: clamp(28px, 4vw, 48px); }
.ik-js .ik-panels { gap: 0; }
.ik-agent {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start;
  padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--line);
  scroll-margin-top: 96px;
}
.ik-js .ik-agent { animation: ik-panel-in .5s var(--ease-out) both; }
.ik-js .ik-agent .ik-chat > * { animation: ik-panel-in .5s var(--ease-out) both; }
.ik-js .ik-agent .ik-chat > :nth-child(2) { animation-delay: .08s; }
.ik-js .ik-agent .ik-chat > :nth-child(3) { animation-delay: .2s; }
.ik-js .ik-agent .ik-chat > :nth-child(4) { animation-delay: .32s; }
.ik-js .ik-agent .ik-chat > :nth-child(5) { animation-delay: .44s; }
@keyframes ik-panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ik-agent__main { display: grid; gap: 0; align-content: start; }
.ik-agent__id { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ac); }
.ik-agent__id .ik-glyph { width: 20px; height: 20px; }
.ik-agent__name { margin-top: 12px; font-size: clamp(40px, 4.4vw, 60px); font-weight: 600; letter-spacing: -.038em; line-height: 1; }
.ik-agent__facts { margin-top: 20px; display: grid; gap: 12px; }
.ik-agent__facts > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; }
.ik-agent__facts dt, .ik-agent__label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); padding-top: 4px; }
.ik-agent__facts dd { color: var(--text-2); font-size: 16px; line-height: 1.55; }
.ik-agent__facts > div:first-child dd { color: var(--text); }
.ik-agent__label { margin-top: 24px; padding-top: 0; }
.ik-agent__skills { margin-top: 10px; display: grid; gap: 8px; }
.ik-agent__skills li { position: relative; padding-left: 22px; color: var(--text); font-size: 16px; line-height: 1.5; }
.ik-agent__skills li::before { content: ''; position: absolute; left: 2px; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--ac); }

.ik-chat { border: 1px solid var(--line); background: rgba(20, 22, 18, .92); border-radius: var(--r-l); padding: 18px; display: grid; gap: 10px; }
.ik-chat__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 4px; }
.ik-chat__head .ik-mono { font-size: 11px; }
.ik-chat__msg { border-radius: var(--r-m); padding: 11px 14px; font-size: 15px; line-height: 1.55; }
.ik-chat__msg--you { background: var(--raised); color: var(--text); justify-self: end; max-width: 86%; }
.ik-chat__msg--agent { border: 1px solid color-mix(in srgb, var(--ac) 30%, var(--line)); color: var(--text-2); max-width: 94%; }
.ik-chat__who { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ac); }
.ik-chat__who .ik-glyph { width: 16px; height: 16px; }

.ik-with { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ik-with__label { flex-basis: 100%; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 2px; }
.ik-chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px;
  border: 1px solid var(--line-strong); border-radius: var(--r-m); font-size: 14px; color: var(--text);
  transition: border-color var(--t) var(--ease), color var(--t) var(--ease), background-color var(--t) var(--ease), transform var(--t) var(--ease);
}
.ik-chip .ik-glyph { color: var(--silver); width: 16px; height: 16px; transition: color var(--t) var(--ease); }
a.ik-chip:hover { border-color: var(--ac, var(--silver)); transform: translateY(-1px); }
a.ik-chip:hover .ik-glyph { color: var(--ac, var(--silver)); }
.ik-chip--muted { border-style: dashed; color: var(--text-3); }

.ik-sel__cta { margin-top: clamp(32px, 4vw, 48px); padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }

/* ── 4. Workflow: the loop (Volt only, no per-assistant colours) ─── */
.ik-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); margin-bottom: clamp(48px, 6vw, 88px); }
.ik-legend > div { padding: 22px 24px 0 0; display: grid; gap: 6px; align-content: start; }
.ik-legend > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.ik-legend dt { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--silver); }
.ik-legend dd { color: var(--text-2); font-size: 15px; line-height: 1.55; }

.ik-loop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.ik-loop__visual { position: sticky; top: max(96px, calc(50vh - 260px)); display: grid; justify-items: center; }
.ik-loop__ringbox { position: relative; width: min(100%, 480px); aspect-ratio: 1; display: grid; place-items: center; }
.ik-loop__ringbox::before { content: ''; position: absolute; inset: 18%; border-radius: 50%; z-index: -1; background: radial-gradient(circle, rgba(234, 253, 19, .07), transparent 70%); opacity: 0; transition: opacity .8s var(--ease); }
.ik-loop.has-active .ik-loop__ringbox::before { opacity: 1; }
.ik-ring--loop { width: 52%; height: auto; }
.ik-ring--loop .ik-seg { fill: var(--line-strong); transition: fill .6s var(--ease), opacity .6s var(--ease), transform .6s var(--ease-out); }
.ik-ring--loop .ik-seg.is-done { fill: rgba(234, 253, 19, .32); }
.ik-ring--loop .ik-seg.is-active { fill: var(--volt); transform: translate(calc(var(--ox) * .5), calc(var(--oy) * .5)); }
.ik-loop__tag {
  position: absolute; transform: translate(-50%, -50%); white-space: nowrap;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3);
  transition: color .5s var(--ease);
}
.ik-loop__tag.is-done { color: var(--text-2); }
.ik-loop__tag.is-active { color: var(--volt); }
.ik-loop__center { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; font-variant-numeric: tabular-nums; color: var(--text-2); pointer-events: none; }
.ik:not(.ik-js) .ik-loop__center { display: none; }

/* The rail: a dotted line that connects the steps and fills with Volt as you
   read down (--prog is set from the scroll position). */
.ik-steps { position: relative; display: grid; padding-left: 40px; }
.ik-steps::before, .ik-steps::after {
  content: ''; position: absolute; left: 10px; top: 0; width: 4px;
  background-image: radial-gradient(circle at 2px 2px, var(--rail, rgba(236, 238, 230, .2)) 1.4px, transparent 1.9px);
  background-size: 4px 12px; background-repeat: repeat-y;
}
.ik-steps::before { bottom: 0; }
.ik-steps::after { --rail: var(--volt); height: calc(var(--prog, 0) * 100%); transition: height .25s linear; filter: drop-shadow(0 0 3px rgba(234, 253, 19, .45)); }
.ik:not(.ik-js) .ik-steps::after { display: none; }
.ik-step::before {
  content: ''; position: absolute; left: -33px; top: calc(clamp(32px, 4.5vw, 56px) + 2px); width: 10px; height: 10px; border-radius: 50%;
  background: var(--ink); border: 1.5px solid var(--line-input); transition: border-color .5s var(--ease), background-color .5s var(--ease), transform .6s var(--ease-spring), box-shadow .5s var(--ease);
}
.ik-js .ik-step.is-done::before { border-color: rgba(234, 253, 19, .5); background: rgba(234, 253, 19, .3); }
.ik-js .ik-step.is-active::before { border-color: var(--volt); background: var(--volt); transform: scale(1.25); box-shadow: 0 0 12px rgba(234, 253, 19, .5); }
.ik-step { position: relative; padding: clamp(32px, 4.5vw, 56px) 0; border-top: 1px solid var(--line); scroll-margin-top: 120px; }
.ik-step:last-child { border-bottom: 1px solid var(--line); }
.ik-step__num { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; font-variant-numeric: tabular-nums; text-transform: uppercase; color: var(--text-3); transition: color .5s var(--ease); }
.ik-step__num i { width: 18px; height: 2px; border-radius: 2px; background: var(--line-strong); transition: background-color .5s var(--ease), width .5s var(--ease-out); }
.ik-step h3 { margin-top: 12px; font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
.ik-step p { margin-top: 10px; color: var(--text-2); font-size: 16px; max-width: 52ch; }
.ik-step .ik-step__out { margin-top: 16px; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); }
.ik-step__out span { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.ik-js .ik-step { transition: opacity .5s var(--ease), transform .6s var(--ease-out); opacity: .38; }
.ik-js .ik-step.is-active { transform: translateX(6px); }
.ik-js .ik-step.is-done { opacity: .62; }
.ik-js .ik-step.is-active { opacity: 1; }
.ik-js .ik-step.is-active .ik-step__num { color: var(--volt); }
.ik-js .ik-step.is-active .ik-step__num i { background: var(--volt); width: 36px; }
/* The pages inside each section: a small branch off the step, so they read
   as part of it (not as more sections). Lit with the step it belongs to. */
.ik-step__pages { position: relative; margin-top: 18px; padding-left: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.ik-step__pages::before { content: ''; position: absolute; left: 0; top: -6px; bottom: 16px; width: 10px; border-left: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); border-bottom-left-radius: 6px; }
.ik-step__pages li {
  display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 12px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(20, 22, 18, .6);
  font-size: 14px; font-weight: 500; letter-spacing: -.005em; color: var(--text);
  transition: border-color .5s var(--ease), color .5s var(--ease), background-color .5s var(--ease);
}
.ik-step__pages li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--silver); transition: background-color .5s var(--ease); }
.ik-step__pages li.is-dev { border-style: dashed; color: var(--text-2); }
.ik-step__pages li.is-dev::before { background: transparent; box-shadow: inset 0 0 0 1px var(--text-3); }
.ik-step__pages li span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.ik-js .ik-step.is-active .ik-step__pages li:not(.is-dev) { border-color: rgba(234, 253, 19, .45); }
.ik-js .ik-step.is-active .ik-step__pages li:not(.is-dev)::before { background: var(--volt); }
.ik-pages-note { margin-top: 28px; }
.ik-loopback { margin-top: 14px; display: flex; align-items: center; gap: 12px; color: var(--text-2); font-size: 15px; }
.ik-loopback svg { width: 22px; height: 22px; color: var(--volt); flex: none; }

/* ── 5. Plan ─────────────────────────────────────────────────────── */
.ik-plan { background: var(--ink-2); }
.ik-plan__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.ik-plan__copy { display: grid; gap: 20px; align-content: start; }
.ik-status {
  display: inline-flex; align-items: center; gap: 8px; justify-self: start; min-height: 28px; padding: 0 10px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--silver);
}
.ik-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ik-status--live { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 35%, var(--line-strong)); }
.ik-status--soon { color: var(--silver); }
.ik-keys { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--text-2); }
.ik-key { display: inline-flex; align-items: center; gap: 8px; }
.ik-mark { width: 10px; height: 10px; flex: none; display: inline-block; }
.ik-mark--confirmed { border-radius: 50%; background: var(--volt); }
.ik-mark--assumption { border-radius: 50%; border: 1.5px solid var(--silver); }
.ik-mark--suggestion { background: var(--silver); transform: rotate(45deg) scale(.82); border-radius: 1px; }

.ik-doc { position: relative; border: 1px solid var(--line-strong); border-radius: var(--r-l); background: var(--surface); overflow: hidden; box-shadow: 0 40px 100px -50px rgba(0, 0, 0, .9); }
.ik-doc__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 22px 26px 16px; }
.ik-doc__title { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.ik-doc__meter { display: flex; gap: 4px; padding: 0 26px 18px; border-bottom: 1px solid var(--line); }
.ik-doc__meter span { height: 4px; border-radius: 4px; flex: var(--n) 1 0; background: var(--line-strong); transform-origin: left; }
.ik-doc__meter .is-confirmed { background: var(--volt); }
.ik-doc__meter .is-assumption { background: var(--silver); opacity: .55; }
.ik-doc__meter .is-suggestion { background: var(--silver); }
.ik-doc dl { display: grid; }
.ik-doc__row { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 16px 26px; border-bottom: 1px solid var(--line); }
.ik-doc__row:last-child { border-bottom: 0; }
.ik-doc dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); padding-top: 3px; }
.ik-doc dd { font-size: 15px; line-height: 1.5; color: var(--text); }
.ik-doc__tag { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text-2); white-space: nowrap; padding-top: 2px; }
.ik-motion .ik-doc__row { opacity: 0; transform: translateX(12px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); transition-delay: calc(var(--d) * 110ms + 200ms); }
.ik-motion .ik-doc.is-in .ik-doc__row { opacity: 1; transform: none; }
.ik-motion .ik-doc__meter span { transform: scaleX(0); transition: transform 1s var(--ease-out) .2s; }
.ik-motion .ik-doc.is-in .ik-doc__meter span { transform: none; }

/* ── 6. Inside OrivenAI ──────────────────────────────────────────── */
.ik-inside__stage { position: relative; isolation: isolate; padding: clamp(12px, 2.4vw, 36px); }
.ik-inside__stage::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 24px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 20%, transparent 80%);
}
.ik-inside__stage::after { content: ''; position: absolute; left: 15%; right: 15%; top: 20%; height: 50%; z-index: -1; background: radial-gradient(ellipse, rgba(234, 253, 19, .07), transparent 70%); filter: blur(20px); }
.ik-frame { max-width: 1180px; margin-inline: auto; border: 1px solid var(--line-strong); border-radius: var(--r-l); background: var(--surface); overflow: hidden; box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .9); }
.ik-frame__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.ik-frame__path { font-family: var(--mono); font-size: 12px; color: var(--text-2); letter-spacing: .02em; }
.ik-frame__path b { color: var(--text); font-weight: 500; }
.ik-shot { display: none; }
.ik-shot.is-active, .ik:not(.ik-js) .ik-shot:first-child { display: block; }
.ik-js .ik-shot.is-active .ik-shot__media img { animation: ik-shot-in .5s var(--ease-out) both; }
@keyframes ik-shot-in { from { opacity: .3; transform: scale(1.01); } to { opacity: 1; transform: none; } }
.ik-shot__media { position: relative; aspect-ratio: 16 / 9; background: var(--ink-2); overflow: hidden; }
.ik-shot__media img, .ik-shot__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ik-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px 0 16px; border-radius: 999px;
  background: rgba(11, 12, 10, .78); border: 1px solid var(--line-input); color: var(--text); font-size: 14px; font-weight: 600;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color var(--t) var(--ease), border-color var(--t) var(--ease), transform var(--t) var(--ease);
}
.ik-play:hover { background: rgba(11, 12, 10, .92); border-color: var(--silver); }
/* The button stays exactly where it is in every state. The global press style
   (styles.css: button:active { transform: scale(.97) }) would replace the
   centring translate, so the button jumped half its size right and down
   under the pointer mid-press, the release missed it and no click fired
   (a second click was needed). Hover and press change colour only. */
.ik-play, .ik-play:hover, .ik-play:focus, .ik-play:focus-visible, .ik-play:active, .ik-play:active:not(:disabled) { transform: translate(-50%, -50%); }
.ik-play svg { width: 18px; height: 18px; color: var(--volt); }
.ik-shot.is-playing .ik-play { display: none; }

/* The section recordings (tools/product-films-section.js): Pause/Play in the
   frame bar, the visible tab's pages under the tabs. */
.ik-frame__right { display: inline-flex; align-items: center; gap: 12px; }
.ik-film-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--text-2); font-size: 12px; font-weight: 500; transition: color var(--t) var(--ease), border-color var(--t) var(--ease); }
.ik-film-toggle:hover, .ik-film-toggle:focus-visible { color: var(--text); border-color: var(--line-strong); }
.ik-film-toggle, .ik-film-toggle:active, .ik-film-toggle:active:not(:disabled) { transform: none; }
.ik-film-ic { width: 11px; height: 11px; color: var(--volt); }
.ik-film-toggle .ik-film-ic--play, .ik-film-toggle.is-paused .ik-film-ic--pause { display: none; }
.ik-film-toggle.is-paused .ik-film-ic--play { display: block; }
.ik:not(.ik-js) .ik-film-toggle { display: none; }
.ik-shot__pagesline { flex: 1 1 100%; order: 3; margin: -4px 0 0; font-size: 13px; color: var(--text-2); }
.ik-shot__pg { display: none; }
.ik-shot__pg.is-active { display: inline; }
.ik:not(.ik-js) .ik-shot__pagesline { display: none; }
@media (max-width: 559px) { .ik-frame__right .ik-mono { display: none; } }

.ik-inside__bar { max-width: 1180px; margin: 20px auto 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; }
.ik-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.ik-tab {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: var(--r-m);
  border: 1px solid transparent; color: var(--text-2); font-size: 14px; font-weight: 500;
  transition: color var(--t) var(--ease), border-color var(--t) var(--ease), background-color var(--t) var(--ease);
}
.ik-tab span { font-family: var(--mono); font-size: 11px; color: var(--text-3); }
.ik-tab:hover { color: var(--text); }
.ik-tab[aria-selected="true"] { color: var(--text); border-color: var(--line-strong); background: var(--raised); }
.ik-tab[aria-selected="true"] span { color: var(--volt); }
.ik:not(.ik-js) .ik-tabs { display: none; }
.ik-caps { display: flex; }
.ik-shot__cap { display: none; }
.ik-shot__cap.is-active { display: inline-flex; }
.ik:not(.ik-js) .ik-caps { flex-wrap: wrap; gap: 10px 22px; }
.ik:not(.ik-js) .ik-shot__cap { display: inline-flex; }

/* ── 7. Integrations ─────────────────────────────────────────────── */
.ik-ints-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.ik-net-wrap { display: grid; gap: 12px; justify-items: center; }
.ik-net { width: min(100%, 440px); height: auto; overflow: visible; }
.ik-net__line { fill: none; stroke: var(--line-strong); stroke-width: 1.5; }
.ik-net__pulse { fill: none; stroke: var(--volt); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 12 100; stroke-dashoffset: 112; opacity: 0; }
.ik-net__hub { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1.5; }
.ik-net__ring { fill: var(--volt); }
.ik-net__node circle { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1.5; transition: stroke .3s var(--ease), fill .3s var(--ease); }
.ik-net__node { transition: transform .4s var(--ease-out); transform-box: fill-box; transform-origin: center; }
/* Hovering a platform row lights its connection (CSS only) */
.ik-ints-grid:has(.ik-int[data-int="google"]:hover) .ik-net__node[data-int="google"] circle,
.ik-ints-grid:has(.ik-int[data-int="meta"]:hover) .ik-net__node[data-int="meta"] circle,
.ik-ints-grid:has(.ik-int[data-int="tiktok"]:hover) .ik-net__node[data-int="tiktok"] circle,
.ik-ints-grid:has(.ik-int[data-int="pinterest"]:hover) .ik-net__node[data-int="pinterest"] circle,
.ik-ints-grid:has(.ik-int[data-int="snapchat"]:hover) .ik-net__node[data-int="snapchat"] circle { stroke: var(--volt); }
.ik-ints-grid:has(.ik-int[data-int="google"]:hover) .ik-net__pulse[data-int="google"],
.ik-ints-grid:has(.ik-int[data-int="meta"]:hover) .ik-net__pulse[data-int="meta"],
.ik-ints-grid:has(.ik-int[data-int="tiktok"]:hover) .ik-net__pulse[data-int="tiktok"],
.ik-ints-grid:has(.ik-int[data-int="pinterest"]:hover) .ik-net__pulse[data-int="pinterest"],
.ik-ints-grid:has(.ik-int[data-int="snapchat"]:hover) .ik-net__pulse[data-int="snapchat"] { opacity: 1; stroke-dasharray: 100 0; stroke-dashoffset: 0; transition: stroke-dasharray .6s var(--ease-out), opacity .2s; }
/* On entering view: one signal travels out to each platform, once. */
@keyframes ik-pulse { 0% { stroke-dashoffset: 112; opacity: 1; } 90% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.ik-motion .ik-ints-grid.is-in .ik-net__pulse { animation: ik-pulse 1.4s var(--ease) both; }
.ik-motion .ik-ints-grid.is-in .ik-net__pulse[data-int="meta"] { animation-delay: .18s; }
.ik-motion .ik-ints-grid.is-in .ik-net__pulse[data-int="tiktok"] { animation-delay: .36s; }
.ik-motion .ik-ints-grid.is-in .ik-net__pulse[data-int="pinterest"] { animation-delay: .54s; }
.ik-motion .ik-ints-grid.is-in .ik-net__pulse[data-int="snapchat"] { animation-delay: .72s; }
.ik-ints { border-top: 1px solid var(--line); }
.ik-int { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px 18px; align-items: center; padding: 20px 4px; border-bottom: 1px solid var(--line); border-radius: var(--r-s); transition: background-color var(--t) var(--ease); }
.ik-int:hover { background: rgba(236, 238, 230, .025); }
.ik-int__name { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.ik-int__name svg { width: 22px; height: 22px; flex: none; }
.ik-int__caps { grid-column: 1 / -1; grid-row: 2; color: var(--text-2); font-size: 15px; padding-left: 34px; }
.ik-int__more { grid-row: 1; grid-column: 3; color: var(--text-2); font-size: 14px; display: inline-flex; align-items: center; gap: 6px; transition: color var(--t) var(--ease); }
.ik-int__more:hover { color: var(--text); }
.ik-int__more svg { width: 14px; height: 14px; transition: transform var(--t) var(--ease); }
.ik-int__more:hover svg { transform: translateX(2px); }
.ik-ints__note { margin-top: 28px; }

/* ── 8. Trust ────────────────────────────────────────────────────── */
.ik-trust { background: var(--ink-2); }
.ik-rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ik-rule { display: grid; gap: 12px; align-content: start; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--surface); transition: border-color var(--t) var(--ease), transform var(--t) var(--ease); }
.ik-rule:hover { border-color: var(--line-strong); }
.ik-rule dt { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--silver); }
.ik-rule dt::before { content: ''; width: 6px; height: 6px; border-radius: 1px; background: var(--volt); transform: rotate(45deg); }
.ik-rule dd { color: var(--text-2); font-size: 15px; line-height: 1.6; }
.ik-rule dd b { display: block; margin-bottom: 6px; color: var(--text); font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.ik-rule dd a { color: var(--text); border-bottom: 1px solid var(--line-input); }
.ik-rule dd a:hover { border-color: var(--volt); }

/* ── 9. FAQ ──────────────────────────────────────────────────────── */
.ik-faq__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.ik-faq__in .ik-head { position: sticky; top: 104px; margin-bottom: 0; }
.ik-qa { border-top: 1px solid var(--line); }
.ik-qa details { border-bottom: 1px solid var(--line); }
.ik-qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 4px; font-size: 18px; font-weight: 500; letter-spacing: -.01em; color: var(--text);
  border-radius: var(--r-s); transition: color var(--t) var(--ease), padding var(--t) var(--ease);
}
.ik-qa summary::-webkit-details-marker { display: none; }
.ik-qa summary:hover { color: #fff; padding-left: 8px; }
.ik-qa summary i { position: relative; width: 14px; height: 14px; flex: none; }
.ik-qa summary i::before, .ik-qa summary i::after { content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 2px; background: var(--silver); transition: transform var(--t-panel) var(--ease), background-color var(--t) var(--ease); }
.ik-qa summary i::after { transform: rotate(90deg); }
.ik-qa details[open] summary i::after { transform: rotate(0deg); }
.ik-qa details[open] summary i::before, .ik-qa details[open] summary i::after { background: var(--volt); }
.ik-qa details > div { padding: 0 4px 24px; color: var(--text-2); font-size: 16px; line-height: 1.65; max-width: 64ch; }
.ik-qa details[open] > div { animation: ik-panel-in .35s var(--ease-out) both; }
.ik-qa details > div a { color: var(--text); border-bottom: 1px solid var(--line-input); }
.ik-qa details > div a:hover { border-color: var(--volt); }

/* ── 10. Final CTA ───────────────────────────────────────────────── */
.ik-final { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding-block: clamp(120px, 14vw, 200px); }
.ik-final .ik-field { z-index: -1; }
.ik-final::before { content: ''; position: absolute; inset: 0; z-index: -2; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000, transparent 75%); }
.ik-final__ring { position: relative; width: 148px; margin: 0 auto 40px; }
.ik-final__ring::before { content: ''; position: absolute; inset: -60%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, var(--volt-glow), transparent 62%); }
.ik-ring--final { width: 100%; height: auto; filter: drop-shadow(0 0 16px rgba(234, 253, 19, .25)); }
.ik-ring--final .ik-seg { transition: transform 1.1s var(--ease-out), opacity .8s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.ik-motion .ik-final:not(.is-in) .ik-ring--final .ik-seg { transform: translate(calc(var(--ox) * 4), calc(var(--oy) * 4)) rotate(20deg); opacity: 0; }
.ik-final .ik-h2 { font-size: clamp(40px, 5.4vw, 72px); }
.ik-final .ik-lead { margin: 22px auto 0; }
.ik-final .ik-actions { justify-content: center; margin-top: 34px; }
.ik-team { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.ik-team .ik-chip .ik-glyph { width: 18px; height: 18px; color: var(--ac); }
.ik-motion .ik-team li { opacity: 0; transform: translateY(12px) scale(.92); transition: opacity .6s var(--ease-out), transform .8s var(--ease-spring); transition-delay: calc(var(--d) * 70ms + .5s); }
.ik-motion .ik-final.is-in .ik-team li { opacity: 1; transform: none; }

/* ── 11. Footer: the shared public footer (.site-foot, css/site-chrome.css) ── */

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .ik-rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ik-ints-grid { grid-template-columns: 1fr; }
  .ik-net { width: min(100%, 360px); }
}
@media (max-width: 900px) {
  .ik-hero { min-height: 0; padding-block: 36px 72px; }
  .ik-hero__in { grid-template-columns: 1fr; gap: 8px; }
  .ik-hero__mark { order: -1; width: min(72vw, 300px); }
  .ik-hero::before { -webkit-mask-image: radial-gradient(ellipse 90% 45% at 50% 22%, #000, transparent 80%); mask-image: radial-gradient(ellipse 90% 45% at 50% 22%, #000, transparent 80%); }
  .ik-agent { grid-template-columns: 1fr; }
  .ik-agents .ik-head, .ik-head--split { grid-template-columns: 1fr; }
  .ik-agents .ik-head > * { grid-column: 1 !important; grid-row: auto !important; }
  .ik-legend { grid-template-columns: 1fr; }
  .ik-legend > div, .ik-legend > div + div { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .ik-loop { grid-template-columns: 1fr; gap: 8px; }
  .ik-loop__visual { position: sticky; top: 64px; z-index: 2; padding: 10px 0; background: linear-gradient(var(--ink) 75%, transparent); }
  .ik-loop__ringbox { width: 180px; }
  .ik-loop__tag { display: none; }
  .ik-plan__in, .ik-faq__in { grid-template-columns: 1fr; }
  .ik-faq__in .ik-head { position: static; margin-bottom: 8px; }
  .ik-doc__row { grid-template-columns: 1fr auto; }
  .ik-doc__row dt { grid-column: 1 / -1; }
  .ik-inside__bar { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .ik { font-size: 16px; }
  .ik-h1 { font-size: clamp(38px, 11vw, 48px); }
  .ik-h1 span { white-space: normal; }
  .ik-hero__mark { width: min(56vw, 220px); }
  .ik-actions .ik-btn { flex: 1 1 100%; }
  .ik-js .ik-figs { height: 320px; }
  .ik-js .ik-fig { width: 290px; transform: translate(-50%, -54%) translateX(calc(var(--x) * 185px)) scale(var(--s)); }
  .ik-steps { padding-left: 30px; }
  .ik-steps::before, .ik-steps::after { left: 4px; }
  .ik-step::before { left: -29px; }
  .ik-js .ik-step.is-active { transform: none; }
  .ik-agent__facts > div { grid-template-columns: 1fr; gap: 2px; }
  .ik-sel__cta { flex-direction: column; align-items: stretch; }
  .ik-sel__cta .ik-btn { width: 100%; }
  .ik-rules { grid-template-columns: 1fr; }
  .ik-tabs { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; padding-bottom: 4px; max-width: 100%; }
  .ik-tab { flex: none; }
  .ik-doc__row { padding: 14px 18px; }
  .ik-doc__head { padding: 18px; flex-direction: column; gap: 4px; }
  .ik-doc__meter { padding: 0 18px 16px; }
  .ik-int__caps { padding-left: 0; }
}

/* ── Reduced motion ──────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .ik *, .ik *::before, .ik *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
}

/* ── Shared header and scroll container while the landing view is shown ── */
#view-landing { background: #0B0C0A; scrollbar-color: rgba(234, 253, 19, .22) rgba(255, 255, 255, .03); }
#view-landing::-webkit-scrollbar-thumb { background: rgba(234, 253, 19, .2); }
@supports (height: 100dvh) {
  #view-landing { height: calc(100dvh - var(--lp-nav-h, 64px)) !important; }
}
/* The header (Geist, Volt CTA, logo turn) is styled for every public page in css/site-chrome.css. */

/* ════════════════════════════════════════════════════════════════
   2026-11 workspace pass (docs/design/2026-11-ad-workspace-research.md)
   ════════════════════════════════════════════════════════════════ */

/* ── The workspace: seven connected steps in one app frame ─────── */
/* The connection between steps: a short line into the next card (same row). */
/* Seven steps on four columns: the last row (5–7) is centred so it doesn't hang. */

/* ── Assistant: facts in the first screen, depth in a drawer ───── */
.ik-agent__more { margin-top: 24px; justify-self: start; }
@media (min-width: 981px) {
  .ik-js .ik-sel { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); column-gap: clamp(32px, 4vw, 64px); align-items: start; }
  .ik-js .ik-stage { grid-column: 1; grid-row: 1; overflow: hidden; }
  .ik-js .ik-sel__nav { grid-column: 1; grid-row: 2; }
  .ik-js .ik-panels { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
  .ik-js .ik-sel__cta { grid-column: 1 / -1; grid-row: 3; }
  .ik-js .ik-figs { height: clamp(300px, 28vw, 400px); }
  .ik-js .ik-fig { width: clamp(200px, 20vw, 300px); transform: translate(-50%, -54%) translateX(calc(var(--x) * clamp(170px, 16vw, 250px))) scale(var(--s)); }
  .ik-js .ik-agent { border-top: 0; padding-top: 8px; }
}
.ik-js .ik-agent { grid-template-columns: 1fr; }
.ik-js .ik-agent > .ik-chat { display: none; }               /* in the profile drawer */
.ik-js .ik-agent .ik-agent__facts > div:nth-child(2) { display: none; } /* the backstory: in the drawer */
.ik-js .ik-agent__name { font-size: clamp(36px, 3.6vw, 52px); }

/* The profile drawer (filled from the agent's own article) */
.ik-profile .ow-drawer__panel { background: var(--surface); }
.ik-profile .ik-agent__name { font-size: 40px; }
.ik-profile .ik-chat { margin-top: 28px; }
.ik-profile .ik-profile__cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.ik-profile .ik-profile__note { margin-top: 14px; font-size: 13px; color: var(--text-3); }

/* ── Final call to action: shorter section ──────────────────────── */
.ik-final { padding-block: clamp(80px, 9vw, 128px); }
.ik-final__ring { width: 112px; margin-bottom: 28px; }
.ik-final .ik-h2 { font-size: clamp(36px, 4.4vw, 60px); }
.ik-final .ik-lead { margin-top: 16px; }
.ik-final .ik-actions { margin-top: 28px; }

/* ── Plan section: the roadmap (illustrative) ─────────────────── */
.ik-plan__points { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ik-plan__points li { position: relative; padding-left: 22px; color: var(--text-2); font-size: 15.5px; line-height: 1.5; }
.ik-plan__points li::before { content: ''; position: absolute; left: 2px; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--volt); }
.ik-road__progress { display: grid; gap: 10px; padding: 0 26px 18px; }
.ik-road__progress p { margin: 0; font-size: 14px; color: var(--text-2); }
.ik-road__progress b { color: var(--text); font-weight: 600; }
.ik-road__bar { display: block; height: 6px; border-radius: 6px; background: var(--line-strong); overflow: hidden; }
.ik-road__bar i { display: block; height: 100%; width: var(--w); background: var(--volt); border-radius: inherit; }
.ik-road__phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0 26px 18px; list-style: none; gap: 8px; border-bottom: 1px solid var(--line); }
.ik-road__phases li { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.ik-road__phases li span { font: 500 11px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.ik-road__phases .is-done { color: var(--text); }
.ik-road__phases .is-done span { color: var(--ok); }
.ik-road__phases .is-now { border-color: rgba(234, 253, 19, .5); color: var(--text); background: rgba(234, 253, 19, .05); }
.ik-road__phases .is-now span { color: var(--volt); }
.ik-road__tasks { margin: 0; padding: 18px 26px 26px; list-style: none; display: grid; gap: 10px; }
.ik-road__task { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; gap: 10px; background: rgba(11, 12, 10, .35); }
.ik-road__task.is-now { border-color: var(--line-strong); background: var(--raised); }
.ik-road__task-hd { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.ik-road__task-hd h4 { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--text); }
.ik-road__task.is-done h4 { color: var(--text-2); }
.ik-road__check { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-input); }
.ik-road__task.is-done .ik-road__check { background: var(--ok); border-color: var(--ok); box-shadow: inset 0 0 0 4px var(--raised); }
.ik-road__task.is-now .ik-road__check { border-color: var(--volt); }
.ik-road__meta { margin: 0 0 0 30px; font-size: 13px; color: var(--text-3); }
.ik-road__dl { display: grid; gap: 8px; margin: 0 0 0 30px; }
.ik-road__dl > div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
.ik-road__dl dt { font: 500 11px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.ik-road__dl dd { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.ik-road__tool { margin-left: 30px; justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 14px; border-radius: 999px; background: var(--volt); color: var(--on-volt); font-size: 13px; font-weight: 600; text-decoration: none; }
.ik-road__tool svg { width: 14px; height: 14px; }
.ik-road__tool:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; }
@media (max-width: 640px) {
  .ik-road__phases { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: 18px; }
  .ik-road__progress, .ik-road__tasks { padding-inline: 18px; }
  .ik-road__task-hd { grid-template-columns: auto minmax(0, 1fr); }
  .ik-road__task-hd .ow-tag { grid-column: 2; justify-self: start; }
  .ik-road__dl, .ik-road__meta { margin-left: 0; }
  .ik-road__dl > div { grid-template-columns: 1fr; gap: 2px; }
  .ik-road__tool { margin-left: 0; }
}

/* ── "Everything your advertising needs, in one place." — the seven blocks ──
   One row of seven on wide screens (left to right across the wide container),
   4 + 3 on small laptops, 2 per row on tablets and large phones, 1 below.
   Each block opens its public page; hover/focus lifts it with a soft glow. */
.ik-ws { background: linear-gradient(var(--ink), #0E100C 50%, var(--ink)); }
.ik-ws .ow-section-head { margin-bottom: clamp(28px, 3.4vw, 44px); }
.ik-ws > .ik-wrap--wide { max-width: 1600px; } /* the seven blocks use more of a wide screen than other sections */
.ik-ws__flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(10px, 1vw, 16px); }
.ik-ws__step { display: flex; min-width: 0; }
.ik-ws__block { position: relative; display: flex; flex-direction: column; gap: 18px; width: 100%; min-height: 168px; padding: 20px 18px 22px; box-sizing: border-box; border: 1px solid var(--line); border-radius: var(--r-l); background: linear-gradient(180deg, var(--surface), rgba(20, 22, 18, .6)); color: var(--text); text-decoration: none; transition: transform .22s var(--ease-out, ease), border-color .22s ease, background-color .22s ease, box-shadow .22s ease; }
.ik-ws__block::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; box-shadow: inset 0 1px 0 rgba(234, 253, 19, .22); transition: opacity .22s ease; }
.ik-ws__block:hover, .ik-ws__block:focus-visible { transform: translateY(-4px); border-color: var(--line-strong); background-color: var(--raised); box-shadow: 0 14px 34px rgba(0, 0, 0, .42), 0 0 0 1px rgba(234, 253, 19, .10), 0 0 28px rgba(234, 253, 19, .06); }
.ik-ws__block:hover::after, .ik-ws__block:focus-visible::after { opacity: 1; }
.ik-ws__block:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; }
.ik-ws__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ik-ws__num { font-family: var(--mono); font-size: 12px; letter-spacing: .09em; color: var(--volt); }
.ik-ws__ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--line); background: rgba(11, 12, 10, .55); color: var(--silver); transition: color .22s ease, border-color .22s ease, background-color .22s ease; }
.ik-ws__ico svg { width: 20px; height: 20px; }
.ik-ws__block:hover .ik-ws__ico, .ik-ws__block:focus-visible .ik-ws__ico { color: var(--volt); border-color: rgba(234, 253, 19, .28); background: rgba(234, 253, 19, .06); }
.ik-ws__title { margin: auto 0 0; font-size: clamp(16px, 1.15vw, 18px); font-weight: 600; line-height: 1.28; letter-spacing: -.012em; color: var(--text); text-wrap: balance; }
@media (max-width: 1279px) { .ik-ws__flow { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 899px) { .ik-ws__flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ik-ws__block { min-height: 140px; } }
@media (max-width: 459px) { .ik-ws__flow { grid-template-columns: minmax(0, 1fr); } .ik-ws__block { min-height: 0; flex-direction: row; align-items: center; gap: 14px; padding: 16px; } .ik-ws__top { flex-direction: row-reverse; gap: 12px; } .ik-ws__title { margin: 0; } }
@media (prefers-reduced-motion: reduce) { .ik-ws__block, .ik-ws__ico, .ik-ws__block::after { transition: none; } .ik-ws__block:hover, .ik-ws__block:focus-visible { transform: none; } }

/* #inside tabs hold the six tutorials (tools/tutorials-section.js): the pages
   each tutorial covers along the bottom of the frame. */
.ik-shot__pages { position: absolute; left: 16px; right: 16px; bottom: 14px; margin: 0; text-align: center; font-size: 13px; color: var(--text-2); text-shadow: 0 1px 8px rgba(0, 0, 0, .9); pointer-events: none; }
.ik-shot .ik-play { white-space: nowrap; }
@media (max-width: 559px) { .ik-shot__pages { display: none; } .ik-shot .ik-play { min-height: 40px; padding: 0 14px 0 12px; gap: 8px; font-size: 13px; } .ik-shot .ik-play svg { width: 15px; height: 15px; } }

/* ── Mobile polish (2026-11-20) ─────────────────────────────────── */
/* Workspace blocks: a lone last block (07) in the two-column layout sits centred. */
@media (min-width: 460px) and (max-width: 899px) {
  .ik-ws__flow > li:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc((100% - clamp(10px, 1vw, 16px)) / 2); }
}
/* Tutorial tabs: a swipeable row that shows it continues (fade at the edge, snap to tabs). */
@media (max-width: 900px) {
  .ik-tabs { scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; touch-action: pan-x pan-y;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); padding-right: 28px; }
  .ik-tabs.is-end { -webkit-mask-image: none; mask-image: none; }
  .ik-tabs::-webkit-scrollbar { display: none; }
  .ik-tab { scroll-snap-align: start; }
}
/* One loop, six sections: the ring and counter stay in a solid bar directly under the navbar;
   the sections scroll underneath it, so the one below the bar is always readable. */
@media (max-width: 900px) {
  .ik-loop__visual { top: 0; z-index: 3; margin: 0 calc(-1 * var(--gutter)); padding: 10px var(--gutter) 12px; background: var(--ink); border-bottom: 1px solid var(--line); box-shadow: 0 10px 18px -12px rgba(0, 0, 0, .8); }
  .ik-loop__ringbox { width: 128px; }
}
