/* ConveyIT 2.0 proposal, web edition. Appmani/NZCS house colours. */

:root {
  color-scheme: light;
  --navy: #0a1d33;
  --navy-2: #142a47;
  --ink: #15212f;
  --slate: #4e5966;
  --faint: #7d8691;
  --gold: #c89224;
  --gold-ink: #80590b;
  --gold-soft: #fbf0d4;
  --gold-tint: #efe2c2;
  --paper: #fbfaf6;
  --sand: #f2eee3;
  --sand-2: #ebe5d6;
  --line: #dcd6c8;
  --line-soft: #ece7dc;
  --line-strong: #b9b09c;
  --green: #2f6b45;
  --green-soft: #e3efe6;
  --amber-ink: #8a5a00;
  --amber-soft: #fbecd0;
  --pen: #23407a;
  --cream: #f7f4ec;
  --serif: "Newsreader", "Sitka Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --wrap: 1120px;
  --gutter: 40px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.6;
  margin: 0;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
button { font: inherit; color: inherit; }
b, strong { color: var(--navy); font-weight: 600; }
.num, td.num { font-variant-numeric: lining-nums tabular-nums; }
h1, h2, .lead, .serif { font-variant-numeric: lining-nums; }

.wrap { margin: 0 auto; max-width: calc(var(--wrap) + var(--gutter) * 2); padding: 0 var(--gutter); }
.skip { left: 16px; position: absolute; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 8px 14px; }
.skip:focus { top: 12px; }

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: var(--cream); display: flex; min-height: min(100vh, 920px); overflow: hidden; padding: 40px 0 48px; position: relative; }
.hero > .wrap { display: flex; flex: 1; flex-direction: column; position: relative; width: 100%; z-index: 1; }
.hero-top { align-items: flex-start; display: flex; justify-content: space-between; }
.hero-top img { display: block; height: 42px; width: auto; }
.hero-top span { color: rgba(247, 244, 236, 0.78); font-size: 14.5px; letter-spacing: 0.02em; padding-top: 6px; }
.hero h1 { font-family: var(--serif); font-size: clamp(68px, 8.9vw, 128px); font-weight: 400; letter-spacing: -0.03em; line-height: 0.92; margin-top: auto; padding-top: 90px; }
.hero-sub { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 31px); line-height: 1.26; margin-top: 30px; max-width: 640px; padding-top: 24px; position: relative; }
.hero-sub::before { background: var(--gold); content: ""; height: 3px; left: 0; position: absolute; top: 0; transform-origin: 0 50%; width: 100%; }
.js .hero-sub::before { animation: draw 1.4s var(--ease) 0.3s both; }
.hero dl { border-top: 1px solid rgba(247, 244, 236, 0.24); column-gap: 32px; display: grid; grid-template-columns: 1.6fr 0.9fr 0.9fr; margin-top: 76px; max-width: 760px; padding-top: 22px; }
.hero dt { color: rgba(247, 244, 236, 0.62); font-size: 13.5px; margin-bottom: 4px; }
.hero dd { font-size: 16px; font-weight: 600; }

/* Abstract document motif: lines of an agreement, with details being picked out. */
.motif { height: 433px; opacity: 0.95; pointer-events: none; position: absolute; right: max(40px, calc((100vw - var(--wrap)) / 2)); top: 50%; transform: translateY(-50%); width: 300px; }
.motif rect.l { fill: rgba(247, 244, 236, 0.1); }
.motif rect.h { fill: var(--gold); opacity: 0; }
.motif .frame { fill: none; stroke: rgba(247, 244, 236, 0.16); }
.js .motif rect.h { animation: pick 9s var(--ease) infinite; }
.motif rect.h:nth-of-type(2) { animation-delay: 1.2s; }
.motif rect.h:nth-of-type(3) { animation-delay: 2.4s; }
.motif rect.h:nth-of-type(4) { animation-delay: 3.6s; }
@keyframes pick { 0% { opacity: 0; transform: scaleX(0.2); } 8% { opacity: 0.85; transform: scaleX(1); } 55% { opacity: 0.85; transform: scaleX(1); } 70%, 100% { opacity: 0; transform: scaleX(1); } }
.motif rect.h { transform-box: fill-box; transform-origin: 0 50%; }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Sticky nav ---------- */
.nav { backdrop-filter: saturate(1.3) blur(10px); background: rgba(251, 250, 246, 0.93); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.nav .wrap { align-items: center; display: flex; gap: 24px; height: 60px; justify-content: space-between; }
.nav-brand { color: var(--navy); font-family: var(--serif); font-size: 19px; text-decoration: none; white-space: nowrap; }
.nav-brand span { color: var(--faint); font-family: var(--sans); font-size: 13.5px; margin-left: 8px; }
.nav ul { display: flex; font-size: 14px; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav ul a { color: var(--slate); padding: 4px 0; position: relative; text-decoration: none; transition: color 0.2s; white-space: nowrap; }
.nav ul a:hover { color: var(--navy); }
.nav ul a.active { color: var(--navy); }
.nav ul a.active::after { background: var(--gold); bottom: -2px; content: ""; height: 1.5px; left: 0; position: absolute; right: 0; }
.progress { background: var(--gold); bottom: -1px; height: 2px; left: 0; position: absolute; transform: scaleX(0); transform-origin: 0 50%; width: 100%; }

/* ---------- Sections ---------- */
.sec { padding: 128px 0 24px; }
.sec.tinted { background: var(--sand); margin-top: 104px; padding-bottom: 112px; }
.eyebrow { align-items: center; color: var(--gold-ink); display: flex; font-size: 12.5px; font-weight: 600; gap: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.eyebrow::before { background: var(--gold); content: ""; height: 1px; width: 28px; }
h2 { color: var(--navy); font-family: var(--serif); font-size: clamp(38px, 5vw, 58px); font-weight: 400; letter-spacing: -0.018em; line-height: 1.04; margin: 16px 0 22px; }
.lead { color: var(--navy); font-family: var(--serif); font-size: clamp(20px, 2.2vw, 25px); line-height: 1.4; max-width: 790px; }
h3 { color: var(--navy); font-size: 19.5px; font-weight: 600; line-height: 1.3; margin: 56px 0 12px; }
h3.serif-h { font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); font-weight: 400; letter-spacing: -0.01em; line-height: 1.15; }
h4 { color: var(--navy); font-size: 16px; font-weight: 600; margin: 0 0 6px; }
p { max-width: 720px; }
p + p { margin-top: 12px; }
.muted { color: var(--slate); }
.small { font-size: 14.5px; line-height: 1.5; }
.lead + p { margin-top: 24px; }

ul.plain { list-style: none; padding: 0; }
ul.plain li { padding-left: 18px; position: relative; }
ul.plain li + li { margin-top: 5px; }
ul.plain li::before { background: var(--gold); content: ""; height: 2px; left: 0; position: absolute; top: 0.78em; width: 8px; }

.two-col { column-gap: 56px; display: grid; grid-template-columns: 1fr 1fr; }
.two-col > * { min-width: 0; }

.pull { border-left: 3px solid var(--gold); color: var(--navy); font-family: var(--serif); font-size: clamp(22px, 2.5vw, 28px); line-height: 1.32; margin: 44px 0; max-width: 780px; padding: 2px 0 2px 24px; }
.callout { background: var(--sand); border-left: 3px solid var(--gold); margin-top: 28px; padding: 18px 22px; }
.callout p { color: var(--navy); font-family: var(--serif); font-size: 21px; line-height: 1.4; max-width: none; }

/* Reveal on scroll (only with JS, so print and no-JS show everything). */
.js [data-reveal] .rv { opacity: 0; transform: translateY(10px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].in .rv { opacity: 1; transform: none; }

/* ---------- Programme bar ---------- */
.programme { margin: 40px 0 0; }
.months { align-items: end; display: grid; gap: 3px; grid-template-columns: repeat(36, 1fr); height: 64px; }
.months span { background: var(--gold-tint); display: block; height: 22px; transform-origin: 50% 100%; }
.months span:nth-child(-n + 3) { background: var(--navy); height: 64px; }
.js .programme .months span { transform: scaleY(0); transition: transform 0.6s var(--ease); transition-delay: calc(var(--i) * 22ms); }
.js .programme.in .months span { transform: none; }
.prog-scale { border-top: 1px solid var(--line-strong); color: var(--faint); display: grid; font-size: 12.5px; grid-template-columns: 3fr 33fr; margin-top: 8px; padding-top: 6px; }
.prog-scale span:last-child { text-align: right; }
.phases { margin-top: 26px; }
.phase-head { border-top: 3px solid var(--navy); margin-bottom: 14px; padding-top: 12px; }
.phase-head.second { border-top-color: var(--gold); }
.phase-head .when { color: var(--slate); display: block; font-size: 14px; }
.phase-head strong { display: block; font-family: var(--serif); font-size: 27px; font-weight: 400; line-height: 1.15; margin: 2px 0; }
.phase-head .who { color: var(--gold-ink); display: block; font-size: 14.5px; font-weight: 600; }

/* ---------- Demo shell ---------- */
.demo { margin: 44px 0 0; }
.demo + .demo { margin-top: 88px; }
.demo-title { align-items: baseline; display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between; margin-bottom: 14px; }
.demo-title h3 { margin: 0; }
.demo-title .badge { background: var(--navy); color: var(--cream); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; padding: 4px 10px; text-transform: uppercase; }
.demo-title .badge.later { background: var(--gold-tint); color: var(--navy); }
.demo-intro { color: var(--slate); margin-bottom: 22px; }
.stage { background: var(--paper); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(10, 29, 51, 0.35); display: grid; gap: 28px; padding: 30px; position: relative; }
.sec.tinted .stage { background: var(--paper); }
.demo-bar { align-items: stretch; display: flex; gap: 18px; margin-top: 16px; }
.play { align-items: center; background: var(--navy); border: 0; color: #fff; cursor: pointer; display: inline-flex; flex: none; font-size: 13.5px; font-weight: 600; gap: 8px; min-width: 104px; padding: 0 16px; transition: background 0.2s; }
.play:hover { background: var(--navy-2); }
.play svg { display: none; height: 14px; width: 14px; }
.play[data-state="play"] .i-play, .play[data-state="pause"] .i-pause, .play[data-state="replay"] .i-replay { display: block; }
.steps { counter-reset: s; display: grid; flex: 1; gap: 6px; grid-auto-columns: 1fr; grid-auto-flow: column; list-style: none; margin: 0; padding: 0; }
.steps button { background: none; border: 0; cursor: pointer; display: block; padding: 12px 4px 4px 0; position: relative; text-align: left; width: 100%; }
.steps button::before { background: var(--line); content: ""; height: 3px; left: 0; position: absolute; right: 0; top: 0; }
.steps .fill { background: var(--gold); height: 3px; left: 0; position: absolute; right: 0; top: 0; transform: scaleX(0); transform-origin: 0 50%; }
.steps li.done .fill, .steps li.current .fill { transform: scaleX(1); }
.steps li.current.run .fill { animation: fill var(--d, 3s) linear both; }
.demo.paused .steps li.current.run .fill { animation-play-state: paused; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.steps .sn { color: var(--faint); display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; }
.steps .st { color: var(--slate); display: block; font-size: 14px; font-weight: 500; line-height: 1.3; }
.steps li.done .st, .steps li.current .st { color: var(--navy); }
.steps li.current .sn { color: var(--gold-ink); }
.steps button:hover .st { color: var(--navy); }
.caption { color: var(--navy); font-family: var(--serif); font-size: 20px; line-height: 1.4; margin-top: 14px; max-width: 760px; min-height: 2.8em; }
.disclaimer { color: var(--faint); font-size: 13px; margin-top: 6px; }
.instant, .instant *, .instant *::before, .instant *::after { animation: none !important; transition: none !important; }

/* Shared bits */
.tag { border-radius: 999px; display: inline-block; font-size: 11.5px; font-weight: 600; line-height: 1.5; padding: 1px 9px; white-space: nowrap; }
.tag.warn { background: var(--amber-soft); color: var(--amber-ink); }
.tag.ok { background: var(--green-soft); color: var(--green); }
.tag.src { background: #fdf8ea; border: 1px solid #ead9b0; color: var(--gold-ink); font-weight: 500; }
.tag.role { background: var(--sand); color: var(--slate); font-weight: 500; }
.tag.new { background: var(--navy); color: #fff; }
.collapse { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s var(--ease); }
.collapse > * { min-height: 0; overflow: hidden; }

/* ---------- Demo 1: contract ingestion ---------- */
.ingest .stage { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
.doc-area { min-width: 0; position: relative; }
.drop { align-items: center; border: 1.5px dashed var(--line-strong); color: var(--slate); display: flex; flex-direction: column; font-size: 14.5px; gap: 10px; inset: 0; justify-content: center; position: absolute; text-align: center; transition: opacity 0.5s var(--ease), border-color 0.4s; }
.drop svg { color: var(--faint); height: 30px; width: 30px; }
.file-chip { align-items: center; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 30px -16px rgba(10, 29, 51, 0.4); display: flex; gap: 12px; left: 50%; opacity: 0; padding: 12px 16px; position: absolute; top: 58%; transform: translate(-50%, -80px); transition: opacity 0.5s var(--ease), transform 0.9s var(--ease); white-space: nowrap; }
.file-chip svg { color: #a23b26; flex: none; height: 28px; width: 28px; }
.file-chip b { display: block; font-size: 14px; }
.file-chip small { color: var(--slate); display: block; font-size: 12.5px; }
.ingest.at-1 .drop { border-color: var(--gold); }
.ingest.at-1 .file-chip { opacity: 1; transform: translate(-50%, 0); }
.ingest.at-2 .drop, .ingest.at-2 .file-chip { opacity: 0; }

.sheet-stack { opacity: 0; position: relative; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); }
.ingest.at-2 .sheet-stack { opacity: 1; transform: none; }
.sheet-stack::before, .sheet-stack::after { background: #fff; border: 1px solid var(--line-soft); content: ""; inset: 0; position: absolute; }
.sheet-stack::before { transform: translate(10px, 10px); }
.sheet-stack::after { transform: translate(5px, 5px); }
.sheet { background: #fff; border: 1px solid var(--line-soft); box-shadow: 0 20px 40px -26px rgba(10, 29, 51, 0.45); overflow: hidden; padding: 22px 24px 24px; position: relative; z-index: 1; }
.sheet-head { align-items: baseline; border-bottom: 1.5px solid #1d2733; display: flex; gap: 12px; justify-content: space-between; margin-bottom: 4px; padding-bottom: 8px; }
.sheet-head span:first-child { color: #1d2733; font-family: var(--serif); font-size: 14px; font-variant: small-caps; font-weight: 600; letter-spacing: 0.04em; line-height: 1.25; }
.sheet-head .pg { color: var(--faint); flex: none; font-size: 11px; }
dl.form > div { border-bottom: 1px solid #eeeae1; column-gap: 12px; display: grid; grid-template-columns: 112px 1fr; padding: 6px 0; }
dl.form dt { color: #858c95; font-size: 10.5px; font-weight: 500; letter-spacing: 0.07em; line-height: 1.3; padding-top: 4px; text-transform: uppercase; }
dl.form dd { color: #1d2733; font-family: var(--serif); font-size: 15px; line-height: 1.4; }
dl.form dd small { color: #858c95; font-family: var(--sans); font-size: 11.5px; }
.sheet mark { background: transparent; border-radius: 2px; box-shadow: inset 0 -2px 0 transparent; color: inherit; margin: 0 -3px; padding: 0 3px; transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.ingest.at-3 .sheet mark { background: var(--gold-soft); box-shadow: inset 0 -2px 0 var(--gold); transition-delay: calc(var(--i) * 0.32s); }
.sheet mark.lit { background: #f6dd9c !important; }
.sheet s { color: #8b8f95; text-decoration-color: var(--pen); text-decoration-thickness: 1.5px; }
.sheet .hand { color: var(--pen); font-family: var(--hand); font-size: 21px; font-weight: 500; line-height: 1; }
.sheet .initials { color: var(--pen); font-family: var(--hand); font-size: 16px; margin-left: 6px; white-space: nowrap; }
.ingest.at-5 .sheet mark.hand { animation: ring 1.6s var(--ease) 2; }
@keyframes ring { 0%, 100% { box-shadow: inset 0 -2px 0 var(--gold), 0 0 0 0 rgba(200, 146, 36, 0.45); } 50% { box-shadow: inset 0 -2px 0 var(--gold), 0 0 0 6px rgba(200, 146, 36, 0); } }
.sheet-lines { display: grid; gap: 7px; margin-top: 14px; }
.sheet-lines i { background: #eeeae1; display: block; height: 4px; }
.scan { background: linear-gradient(to bottom, rgba(200, 146, 36, 0), rgba(200, 146, 36, 0.13)); border-bottom: 1.5px solid var(--gold); height: 70px; left: 0; opacity: 0; pointer-events: none; position: absolute; right: 0; top: -70px; z-index: 2; }
.ingest.at-2:not(.at-3) .scan { animation: scan 2.3s cubic-bezier(0.45, 0, 0.55, 1) 0.35s both; }
@keyframes scan { 0% { opacity: 0; top: -70px; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { opacity: 0; top: 100%; } }

.panel { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.panel-head { align-items: center; border-bottom: 1px solid var(--line); display: flex; gap: 12px; justify-content: space-between; padding: 14px 18px; }
.panel-head b { display: block; font-size: 15px; }
.panel-head small { color: var(--faint); display: block; font-size: 12.5px; }
.status { align-items: center; color: var(--slate); display: inline-flex; font-size: 12.5px; gap: 7px; text-align: right; }
.status::before { background: var(--line-strong); border-radius: 50%; content: ""; flex: none; height: 7px; width: 7px; }
.ingest.at-1 .status::before { animation: blink 1s ease-in-out infinite; background: var(--gold); }
.ingest.at-5 .status::before { animation: none; background: var(--gold); }
.ingest.at-6 .status::before { animation: none; background: var(--green); }
@keyframes blink { 50% { opacity: 0.25; } }
.empty { align-items: center; color: var(--faint); display: flex; font-size: 14px; justify-content: center; min-height: 0; text-align: center; transition: opacity 0.4s; }
.fields { list-style: none; margin: 0; padding: 4px 18px; }
.fields > li { border-bottom: 1px solid var(--line-soft); opacity: 0; transform: translateY(6px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), background 0.3s; transition-delay: calc(var(--i) * 0.32s); }
.fields > li:last-child { border-bottom: 0; }
.ingest.at-3 .fields > li { opacity: 1; transform: none; }
.fields .row { align-items: start; column-gap: 12px; display: grid; grid-template-columns: 124px 1fr auto; padding: 8px 0; }
.fields .k { color: var(--slate); font-size: 13px; line-height: 1.45; padding-top: 1px; }
.fields .v { color: var(--navy); font-size: 14.5px; font-weight: 500; line-height: 1.4; min-width: 0; }
.fields li.lit { background: #fdf6e3; }
.calc { color: var(--gold-ink); display: block; font-size: 13px; font-weight: 600; padding-top: 2px; }
.ingest.at-4 .calc-wrap { grid-template-rows: 1fr; }
.flag-tags { display: grid; justify-items: end; }
.flag-tags > * { grid-area: 1 / 1; transition: opacity 0.4s, transform 0.4s var(--ease); }
.flag-tags .ok { opacity: 0; transform: scale(0.85); }
.ingest.at-5 .flag-tags .warn { opacity: 0; transition-delay: 2.5s; }
.ingest.at-5 .flag-tags .ok { opacity: 1; transform: none; transition-delay: 2.5s; }
.flag-note { background: var(--gold-soft); border-left: 2px solid var(--gold); font-size: 13.5px; line-height: 1.45; margin: 0 0 10px; padding: 9px 12px; }
.flag-note p { max-width: none; }
.flag-note .acts { display: flex; gap: 8px; margin-top: 8px; }
.mini-btn { background: #fff; border: 1px solid var(--line-strong); display: inline-block; font-size: 12.5px; font-weight: 600; padding: 3px 12px; }
.mini-btn.primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.ingest.at-5 .flag .note-wrap { grid-template-rows: 1fr; }
.ingest.at-6 .flag .note-wrap { grid-template-rows: 0fr; }
.ingest.at-5 .mini-btn.primary { animation: press 0.5s ease 2.1s both; }
@keyframes press { 40% { transform: scale(0.94); background: var(--navy-2); } 100% { transform: none; } }
.calc-note { color: var(--slate); font-size: 12.5px; padding: 0 18px; }
.calc-note > div > p { border-top: 1px dashed var(--line); max-width: none; padding: 8px 0; }
.ingest.at-4 .calc-note.collapse { grid-template-rows: 1fr; }
.panel-foot { align-items: center; border-top: 1px solid var(--line); display: flex; gap: 12px; justify-content: space-between; margin-top: auto; padding: 12px 18px; }
.panel-foot small { color: var(--faint); font-size: 12.5px; }
.btn { background: var(--navy); color: #fff; display: inline-block; font-size: 13px; font-weight: 600; padding: 7px 14px; white-space: nowrap; }
.btn.muted-btn { background: var(--line); color: var(--slate); transition: background 0.4s, color 0.4s; }
.ingest.at-5 .btn.muted-btn { background: var(--navy); color: #fff; transition-delay: 2.5s; }
.ingest.at-6 .btn.muted-btn { animation: press 0.5s ease 0.3s both; }
.created > div { background: var(--navy); color: var(--cream); }
.created .inner { align-items: center; display: flex; font-size: 14px; gap: 12px; padding: 14px 18px; }
.created svg { color: var(--gold); flex: none; height: 20px; width: 20px; }
.created b { color: #fff; }
.ingest.at-6 .created { grid-template-rows: 1fr; transition-delay: 0.7s; }

/* ---------- Demo 2: Copilot via MCP ---------- */
.copilot .stage { align-items: stretch; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); }
.chat { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; min-height: 400px; min-width: 0; }
.chat-head { align-items: center; border-bottom: 1px solid var(--line); display: flex; font-size: 14.5px; gap: 10px; padding: 12px 16px; }
.cp-mark { background: conic-gradient(from 200deg, #3b6fd6, #6b4fd1, #c85aa6, #e0a33a, #3b6fd6); border-radius: 50%; height: 20px; position: relative; width: 20px; }
.cp-mark::after { background: #fff; border-radius: 50%; content: ""; inset: 5px; position: absolute; }
.conn { align-items: center; color: var(--green); display: inline-flex; font-size: 12.5px; gap: 6px; margin-left: auto; }
.conn::before { background: var(--green); border-radius: 50%; content: ""; height: 6px; width: 6px; }
.chat-body { display: flex; flex: 1; flex-direction: column; gap: 14px; padding: 18px 16px; }
.msg { font-size: 15px; line-height: 1.5; max-width: 88%; }
.msg p { max-width: none; }
.msg.me { align-self: flex-end; background: var(--sand); opacity: 0; padding: 9px 14px; transform: translateY(8px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.copilot.at-2 .msg.me { opacity: 1; transform: none; }
.tool { align-items: center; border: 1px solid var(--line); color: var(--slate); display: inline-flex; font-size: 13px; gap: 10px; opacity: 0; padding: 6px 12px; transition: opacity 0.4s var(--ease) 0.4s; width: fit-content; }
.copilot.at-2 .tool { opacity: 1; }
.tool .ico { display: grid; height: 14px; place-items: center; width: 14px; }
.tool .ico > * { grid-area: 1 / 1; }
.dots { display: inline-flex; gap: 3px; }
.dots i { animation: dot 1s ease-in-out infinite; background: var(--gold); border-radius: 50%; height: 4px; width: 4px; }
.dots i:nth-child(2) { animation-delay: 0.15s; }
.dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
.tool .tick { color: var(--green); height: 14px; opacity: 0; width: 14px; }
.tool .txt { display: grid; }
.tool .txt > span { grid-area: 1 / 1; transition: opacity 0.3s; }
.tool .done { opacity: 0; }
.copilot.at-3 .tool .dots, .copilot.at-3 .tool .run { opacity: 0; }
.copilot.at-3 .tool .tick, .copilot.at-3 .tool .done { opacity: 1; }
.msg.ai > * { opacity: 0; transform: translateY(6px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); transition-delay: calc(0.3s + var(--i) * 0.45s); }
.copilot.at-3 .msg.ai > * { opacity: 1; transform: none; }
.msg.ai ul { margin: 8px 0 10px; padding-left: 0; }
.msg.ai li { border-bottom: 1px solid var(--line-soft); display: flex; gap: 16px; justify-content: space-between; list-style: none; padding: 6px 0; }
.msg.ai li span { color: var(--slate); }
.msg.ai li b { text-align: right; }
.src-link { color: var(--gold-ink); display: inline-block; font-size: 13.5px; font-weight: 600; text-decoration: none; }
.composer { align-items: center; border-top: 1px solid var(--line); display: flex; gap: 10px; padding: 12px 16px; }
.composer .box { border: 1px solid var(--line); color: var(--ink); display: grid; flex: 1; font-size: 14.5px; min-height: 40px; min-width: 0; padding: 8px 12px; }
.composer .box > * { grid-area: 1 / 1; }
.composer .ph { color: var(--faint); transition: opacity 0.2s; }
.composer .typed { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.composer .typed::after { animation: blink 1s steps(1) infinite; background: var(--navy); content: ""; display: inline-block; height: 1.1em; margin-left: 1px; vertical-align: -2px; width: 1.5px; }
.copilot:not(.at-1) .typed, .copilot.at-2 .typed { visibility: hidden; }
.copilot.at-1:not(.at-2) .ph { opacity: 0; }
.composer svg { color: var(--faint); flex: none; height: 18px; width: 18px; }

.mcp { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.mcp-node { background: #fff; border: 1px solid var(--line); padding: 14px 16px; transition: border-color 0.4s, box-shadow 0.4s; }
.mcp-node b { display: block; font-size: 14.5px; }
.mcp-node span { color: var(--slate); display: block; font-size: 13px; line-height: 1.4; }
.mcp-node.key { background: var(--navy); border-color: var(--navy); }
.mcp-node.key b { color: #fff; }
.mcp-node.key span { color: rgba(247, 244, 236, 0.78); }
.mcp-link { height: 42px; margin-left: 28px; position: relative; width: 2px; }
.mcp-link::before { background: var(--line-strong); content: ""; inset: 0; position: absolute; }
.mcp-link i { background: var(--gold); border-radius: 50%; height: 8px; left: -3px; opacity: 0; position: absolute; top: 0; width: 8px; }
.copilot.at-2:not(.at-3) .mcp-link i { animation: travel 1.3s var(--ease) infinite; }
.copilot.at-2:not(.at-3) .mcp-link:nth-of-type(4) i { animation-delay: 0.65s; }
@keyframes travel { 0% { opacity: 0; top: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; top: 34px; } }
.copilot.at-2 .mcp-node.n3 { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200, 146, 36, 0.15); }
.copilot.at-3 .mcp-node.n3 { border-color: var(--line); box-shadow: none; }

/* ---------- Demo 3: context-aware workflow ---------- */
.wf .stage { gap: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 0; }
.wf-head { align-items: baseline; background: #fff; border-bottom: 1px solid var(--line); display: flex; gap: 12px; grid-column: 1 / -1; justify-content: space-between; padding: 14px 22px; }
.wf-head b { font-size: 15px; }
.wf-head small { color: var(--faint); font-size: 12.5px; }
.wf-col { min-width: 0; padding: 18px 22px 22px; }
.wf-col + .wf-col { border-left: 1px solid var(--line); }
.wf-label { color: var(--faint); font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; margin-bottom: 8px; text-transform: uppercase; }
.wf-row { border-bottom: 1px solid var(--line-soft); column-gap: 12px; display: grid; grid-template-columns: 112px 1fr auto; opacity: 0; padding: 9px 0; transform: translateY(6px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.wf-row .k { color: var(--slate); font-size: 13px; padding-top: 1px; }
.wf-row .v { color: var(--navy); font-size: 14.5px; font-weight: 500; line-height: 1.45; min-width: 0; }
.wf.at-1 .r1, .wf.at-2 .r2, .wf.at-3 .r3, .wf.at-4 .r4 { opacity: 1; transform: none; }
.wf.at-4 .r4b { transition-delay: 0.35s; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { border: 1px solid var(--line); color: var(--slate); font-size: 13px; padding: 2px 10px; transition: background 0.4s, color 0.4s, border-color 0.4s; }
.wf.at-2 .chips .pick { background: var(--navy); border-color: var(--navy); color: #fff; transition-delay: 1s; }
.wf-row .v .swap { display: grid; }
.wf-row .v .swap > span { grid-area: 1 / 1; transition: opacity 0.35s; }
.wf-row .v .swap .done { opacity: 0; }
.wf.at-3 .swap .run { opacity: 0; transition-delay: 1.4s; }
.wf.at-3 .swap .done { opacity: 1; transition-delay: 1.4s; }
.wf .run .dots { margin-right: 8px; }
.wf-lists { display: grid; }
.wf-lists > .wf-list { grid-area: 1 / 1; transition: opacity 0.5s var(--ease); }
.wf-list ul { list-style: none; margin: 0; padding: 0; }
.wf-list li { align-items: start; border-bottom: 1px solid var(--line-soft); column-gap: 10px; display: grid; font-size: 14.5px; grid-template-columns: 18px 1fr auto; line-height: 1.45; padding: 9px 0; }
.wf-list li .box { border: 1.5px solid var(--line-strong); height: 14px; margin-top: 3px; width: 14px; }
.wf-list li .meta { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; }
.wf-list.before li { color: var(--slate); }
.wf-list.after { opacity: 0; }
.wf-list.after li { opacity: 0; transform: translateX(8px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); transition-delay: calc(0.4s + var(--i) * 0.3s); }
.wf-list.after li.off { color: var(--faint); }
.wf-list.after li.off .t { text-decoration: line-through; text-decoration-color: var(--line-strong); }
.wf-list.after li.off .box { border-style: dashed; }
.wf.at-5 .wf-list.before { opacity: 0; }
.wf.at-5 .wf-list.after { opacity: 1; }
.wf.at-5 .wf-list.after li { opacity: 1; transform: none; }
.wf-list.after li .t small { color: var(--slate); display: block; font-size: 13px; }

/* ---------- Release cards ---------- */
.release { column-gap: 28px; display: grid; grid-template-columns: 190px 1fr; margin-top: 10px; padding: 26px 28px; }
.release .tag-big { font-family: var(--serif); font-size: 28px; line-height: 1.1; }
.release .when { display: block; font-family: var(--sans); font-size: 13.5px; line-height: 1.35; margin-top: 8px; }
.release ul.plain > li + li { margin-top: 14px; }
.release li strong { display: block; font-size: 16.5px; }
.release .desc { display: block; font-size: 15px; line-height: 1.5; margin-top: 2px; }
.release.one { background: var(--navy); color: #fff; }
.release.one .tag-big, .release.one li strong { color: #fff; }
.release.one .when { color: #e9d9b4; }
.release.one .desc { color: rgba(255, 255, 255, 0.8); }
.release.one a { color: #e9d9b4; font-size: 14px; }
.release.two { background: var(--gold-tint); }
.release.two .tag-big, .release.two .when { color: var(--navy); }
.release.two .desc { color: var(--navy); }
.later { background: var(--sand); margin-top: 10px; padding: 26px 28px; }
.later .tag-big { color: var(--navy); font-family: var(--serif); font-size: 28px; line-height: 1.1; }
.later .when { color: var(--navy); font-size: 13.5px; margin-left: 14px; }
.later-grid { display: grid; gap: 14px 36px; grid-template-columns: repeat(3, 1fr); margin-top: 16px; }
.later-grid ul { font-size: 15px; line-height: 1.45; }
.side-pair { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; margin-top: 10px; }
.side-pair > div { border: 1px solid var(--line-strong); font-size: 15px; line-height: 1.5; padding: 20px 22px; }

/* Email comparison */
.compare { border-top: 1px solid var(--line); display: grid; gap: 14px; margin-top: 30px; padding-top: 22px; }
.cmp-row { align-items: center; column-gap: 18px; display: grid; grid-template-columns: 120px 1fr; }
.cmp-label { color: var(--slate); font-size: 13.5px; font-weight: 600; }
.cmp-row.new .cmp-label { color: var(--gold-ink); }
.cmp-row ol { align-items: center; display: flex; flex-wrap: wrap; gap: 8px 0; list-style: none; margin: 0; padding: 0; }
.cmp-row li { align-items: center; display: inline-flex; font-size: 14px; line-height: 1.35; }
.cmp-row li span { background: #fff; border: 1px solid var(--line); padding: 6px 12px; }
.cmp-row.new li span { background: var(--navy); border-color: var(--navy); color: #fff; }
.cmp-row li + li::before { border-right: 1.5px solid var(--line-strong); border-top: 1.5px solid var(--line-strong); content: ""; height: 7px; margin: 0 12px 0 8px; transform: rotate(45deg); width: 7px; }

/* ---------- Architecture ---------- */
.arch { align-items: center; column-gap: 0; display: grid; grid-template-columns: minmax(0, 1.05fr) 56px minmax(0, 1fr); margin: 34px 0 10px; }
.tiers { display: grid; gap: 8px; }
.tier { background: #fff; border: 1px solid var(--line-strong); padding: 14px 18px; position: relative; }
.tier b { display: block; font-size: 15.5px; }
.tier span { color: var(--slate); display: block; font-size: 14px; line-height: 1.45; }
.tier.top { background: var(--navy); border-color: var(--navy); }
.tier.top b { color: #fff; }
.tier.top span { color: rgba(255, 255, 255, 0.8); }
.tier.mid { border-color: var(--gold); }
.bridge { align-self: center; background: var(--gold); height: 2px; position: relative; }
.bridge::after { background: var(--gold); border-radius: 50%; content: ""; height: 8px; position: absolute; right: -4px; top: -3px; width: 8px; }
.services { border-left: 2px solid var(--gold); padding: 6px 0 6px 0; }
.services p { color: var(--slate); font-size: 13px; margin: 0 0 6px 22px; }
.services ul { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
.services li { align-items: center; display: grid; grid-template-columns: 36px auto 1fr; }
.wire { background: var(--line-strong); height: 1.5px; overflow: hidden; position: relative; }
.wire i { background: var(--gold); height: 1.5px; left: 0; position: absolute; top: 0; transform: translateX(-100%); width: 100%; }
.js .wire i { animation: wire 6s var(--ease) infinite; animation-delay: calc(var(--i) * 1.15s); }
@keyframes wire { 0% { transform: translateX(-100%); } 18% { transform: translateX(0); } 30% { transform: translateX(100%); } 100% { transform: translateX(100%); } }
.adapter { background: var(--gold-soft); border: 1px solid #e6d3a3; color: var(--gold-ink); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; padding: 3px 8px; text-transform: uppercase; }
.svc { background: #fff; border: 1px solid var(--line); font-size: 14.5px; margin-left: 10px; padding: 8px 14px; }
table { border-collapse: collapse; font-size: 15.5px; line-height: 1.45; width: 100%; }
td { border-bottom: 1px solid var(--line); padding: 12px 18px 12px 0; vertical-align: top; }
td:last-child { padding-right: 0; }
td.right { text-align: right; white-space: nowrap; }
tr:first-child td { border-top: 1.5px solid var(--navy); }

/* ---------- Plan timeline ---------- */
.timeline { display: grid; grid-template-columns: 0.85fr 1.1fr 1.1fr 1.1fr; list-style: none; margin: 40px 0 28px; padding: 0; position: relative; }
.timeline::before { background: var(--line-strong); content: ""; height: 3px; left: 0; position: absolute; right: 0; top: 0; }
.timeline::after { background: var(--gold); content: ""; height: 3px; left: 0; position: absolute; right: 0; top: 0; transform-origin: 0 50%; }
.js .timeline::after { transform: scaleX(0); transition: transform 2.2s var(--ease) 0.2s; }
.js .timeline.in::after { transform: scaleX(1); }
.timeline li { font-size: 15px; line-height: 1.45; padding: 20px 22px 0 0; position: relative; }
.timeline li::before { background: var(--paper); border: 3px solid var(--gold); border-radius: 50%; content: ""; height: 15px; left: 0; position: absolute; top: -6px; width: 15px; z-index: 1; }
.timeline .when { color: var(--navy); display: block; font-size: 16.5px; font-weight: 600; margin-bottom: 4px; }
.timeline .what { color: var(--slate); display: block; }
.timeline li.big::before { background: var(--gold); height: 23px; top: -10px; width: 23px; }
.timeline li.big .when { color: var(--gold-ink); font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.2; }

/* Transition rows */
.rows { border-top: 1.5px solid var(--navy); }
.rows > div { border-bottom: 1px solid var(--line); column-gap: 28px; display: grid; grid-template-columns: 220px 1fr; padding: 14px 0; }
.rows dt { color: var(--navy); font-weight: 600; }
.rows dd { max-width: 720px; }

/* ---------- Cost ---------- */
.price { align-items: stretch; column-gap: 0; display: grid; grid-template-columns: 1.4fr 1fr; margin: 36px 0 14px; }
.price-copy { border-bottom: 1px solid var(--line); border-top: 1.5px solid var(--navy); padding: 18px 28px 18px 0; }
.price-copy strong { display: block; font-size: 17px; margin-bottom: 4px; }
.price-copy span { color: var(--slate); display: block; font-size: 15px; line-height: 1.5; }
.price-total { background: var(--navy); color: var(--cream); display: flex; flex-direction: column; justify-content: center; padding: 24px 28px; }
.price-total .amount { color: #fff; font-family: var(--serif); font-size: clamp(36px, 4vw, 48px); font-variant-numeric: lining-nums; font-weight: 400; letter-spacing: -0.015em; line-height: 1.1; white-space: nowrap; }
.price-total small { color: #e9d9b4; display: block; font-size: 14.5px; margin-top: 6px; }
.totals { margin-top: 26px; max-width: 760px; }

/* ---------- Footer ---------- */
.foot { background: var(--navy); color: rgba(247, 244, 236, 0.8); margin-top: 120px; padding: 64px 0 56px; }
.foot .wrap { align-items: end; display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; }
.foot img { display: block; height: 38px; margin-bottom: 18px; width: auto; }
.foot p { font-size: 14.5px; }
.foot .contact { color: var(--cream); font-family: var(--serif); font-size: 22px; line-height: 1.4; }
.foot a { color: #e9d9b4; }
.foot .print-link { background: none; border: 1px solid rgba(247, 244, 236, 0.3); color: var(--cream); cursor: pointer; font-size: 13.5px; padding: 8px 14px; }
.foot .print-link:hover { border-color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav ul { display: none; }
  .motif { display: none; }
  .ingest .stage, .copilot .stage { grid-template-columns: 1fr; }
  .doc-area { min-height: 0; }
  .mcp { display: grid; gap: 0; grid-template-columns: 1fr 24px 1fr 24px 1fr; align-items: stretch; }
  .mcp-link { align-self: center; height: 2px; margin: 0; width: 100%; }
  .mcp-link i { left: 0; top: -3px; }
  @keyframes travel { 0% { opacity: 0; left: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; left: calc(100% - 8px); } }
  .copilot.at-2:not(.at-3) .mcp-link i { animation-name: travel; }
  .arch { grid-template-columns: 1fr; row-gap: 0; }
  .bridge { height: 28px; justify-self: start; margin-left: 28px; width: 2px; }
  .bridge::after { bottom: -4px; left: -3px; right: auto; top: auto; }
  .release { grid-template-columns: 1fr; row-gap: 14px; }
  .later-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .sec { padding-top: 88px; }
  .sec.tinted { margin-top: 72px; padding-bottom: 80px; }
  .hero { min-height: 88vh; padding: 28px 0 36px; }
  .hero-top img { height: 34px; }
  .hero dl { grid-template-columns: 1fr 1fr; margin-top: 52px; row-gap: 16px; }
  .hero dl > div:first-child { grid-column: 1 / -1; }
  .nav-brand span { display: none; }
  .two-col, .side-pair, .later-grid, .price { grid-template-columns: 1fr; }
  .two-col > * + * { margin-top: 26px; }
  .stage { padding: 16px; gap: 18px; }
  .wf .stage { grid-template-columns: 1fr; padding: 0; }
  .wf-col + .wf-col { border-left: 0; border-top: 1px solid var(--line); }
  .wf-col { padding: 14px 16px 18px; }
  .wf-head { padding: 12px 16px; flex-direction: column; gap: 2px; }
  .wf-row { grid-template-columns: 96px 1fr; }
  .wf-row > .tag { grid-column: 2; justify-self: start; margin-top: 4px; }
  .sheet { padding: 16px 16px 18px; }
  dl.form > div { grid-template-columns: 92px 1fr; }
  dl.form dd { font-size: 14px; }
  .fields { padding: 4px 14px; }
  .fields .row { grid-template-columns: 1fr auto; }
  .fields .k { grid-column: 1 / -1; }
  .panel-head, .panel-foot { padding: 12px 14px; }
  .panel-foot { flex-wrap: wrap; }
  .mcp { grid-template-columns: 1fr; }
  .mcp-link { height: 26px; margin-left: 24px; width: 2px; }
  .mcp-link i { left: -3px; top: 0; }
  @keyframes travel { 0% { opacity: 0; top: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; top: 18px; } }
  .demo-bar { flex-direction: column; gap: 10px; }
  .play { align-self: flex-start; min-height: 38px; }
  .steps { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); row-gap: 4px; }
  .steps .st { font-size: 13px; }
  .caption { font-size: 18px; }
  .cmp-row { grid-template-columns: 1fr; row-gap: 8px; }
  .timeline { grid-template-columns: 1fr; margin-left: 8px; }
  .timeline::before, .timeline::after { bottom: 0; height: auto; right: auto; width: 3px; }
  .js .timeline::after { transform: scaleY(0); transform-origin: 50% 0; }
  .js .timeline.in::after { transform: scaleY(1); }
  .timeline li { padding: 0 0 22px 28px; }
  .timeline li::before { left: -6px; top: 4px; }
  .timeline li.big::before { left: -10px; top: 2px; }
  .rows > div { grid-template-columns: 1fr; row-gap: 2px; }
  .price-copy { padding-right: 0; }
  .services li { grid-template-columns: 22px auto 1fr; }
  .svc { font-size: 14px; padding: 7px 10px; }
  table, tbody, tr, td { display: block; width: 100%; }
  tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  tr:first-child { border-top: 1.5px solid var(--navy); }
  tr:first-child td { border-top: 0; }
  td { border-bottom: 0; padding: 2px 0; }
  td.right { text-align: left; }
}

/* Comparison rows: keep each process on one line where there is room */
.cmp-row { grid-template-columns: 100px 1fr; column-gap: 14px; }
.cmp-row li span { padding: 6px 10px; }
.cmp-row li + li::before { margin: 0 9px 0 5px; }
@media (min-width: 1180px) { .cmp-row ol { flex-wrap: nowrap; } .cmp-row li span { white-space: nowrap; } }

/* ---------- Footer company details ---------- */
.foot .company { color: rgba(247, 244, 236, 0.66); font-size: 13.5px; line-height: 1.55; margin-top: 16px; }

/* ---------- Optional Appmani styling (?theme=teal) ---------- */
html.teal { --navy: #003a4d; --navy-2: #004f68; }
html.teal .hero { background: linear-gradient(180deg, #003140 0%, #003a4d 55%, #004f68 100%); }
html.teal .foot { background: #003140; }
html.teal .eyebrow, html.teal .nav ul, html.teal .nav-brand span, html.teal .glance dt,
html.teal .badge, html.teal .steps .st, html.teal .hero-top span, html.teal .hero dt { font-family: "Exo 2", var(--sans); }
html.teal h3:not(.serif-h), html.teal .demo-title h3:not(.serif-h), html.teal h4 { font-family: "Exo 2", var(--sans); font-weight: 600; letter-spacing: 0.005em; }
html.teal .glance dt, html.teal .eyebrow { letter-spacing: 0.04em; }

/* ---------- Print: every illustration in its finished state ---------- */
@media print {
  @page { margin: 16mm 14mm; size: A4; }
  body { background: #fff; font-size: 11.5pt; }
  .nav, .skip, .demo-bar, .print-link, .motif { display: none !important; }
  .hero { min-height: 0; padding: 28px 0 32px; break-after: page; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .hero h1 { padding-top: 160px; }
  .sec { padding-top: 40px; }
  .sec.tinted { background: none; margin-top: 0; padding-bottom: 0; }
  .stage, .release, .later, .price-total, .foot, .tier, .compare, .months span, .chips span, .tag, .btn, .created > div { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .demo, .release, .later, .arch, .timeline, .price, .side-pair, .rows > div { break-inside: avoid; }
  .stage { box-shadow: none; }
  .caption { min-height: 0; }
  .foot { margin-top: 40px; }
  .js [data-reveal] .rv { opacity: 1 !important; transform: none !important; }
  .js .programme .months span, .js .timeline::after { transform: none !important; }
}

/* ---------- Refinements ---------- */
/* Scannability */
.eyebrow { font-variant-numeric: lining-nums; letter-spacing: 0.08em; }
.glance-sec { border-bottom: 1px solid var(--line); padding: 44px 0 40px; }
.glance { display: grid; gap: 0; grid-template-columns: repeat(4, 1fr); }
.glance > div { border-left: 1px solid var(--line); padding: 2px 24px 2px 24px; }
.glance > div:first-child { border-left: 0; padding-left: 0; }
.glance dt { color: var(--gold-ink); font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.glance dd .big { color: var(--navy); display: block; font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px); font-variant-numeric: lining-nums; line-height: 1.1; margin-bottom: 8px; white-space: nowrap; }
.glance dd span:not(.big) { color: var(--slate); display: block; font-size: 14.5px; line-height: 1.45; }
.rows.compact > div { grid-template-columns: 150px 1fr; padding: 10px 0; }
.rows.compact dd { font-size: 15.5px; line-height: 1.5; }
.two-col .rows.compact > div { grid-template-columns: 120px 1fr; column-gap: 18px; }
.later-grid.grouped { gap: 22px 36px; margin-top: 20px; }
.later-grid.grouped h4 { border-bottom: 1px solid var(--line-strong); color: var(--navy); font-size: 14px; margin-bottom: 8px; padding-bottom: 6px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 12px 0 14px; padding: 0; }
.pills li { background: #fff; border: 1px solid var(--line-strong); color: var(--navy); font-size: 14.5px; line-height: 1.3; padding: 6px 12px; }
.sec.tinted .pills li { background: var(--paper); }
@media (max-width: 1000px) {
  .glance { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .glance > div:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 760px) {
  .glance-sec { padding: 32px 0 28px; }
  .glance > div { padding: 0 0 0 14px; }
  .glance > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .glance dd .big { font-size: 23px; white-space: normal; }
  .rows.compact > div, .two-col .rows.compact > div { grid-template-columns: 1fr; row-gap: 2px; }
}
@media print {
  .glance-sec, .pills, .later-grid.grouped > div { break-inside: avoid; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

.tag { align-self: start; }
.wf-row { align-items: start; }
.wf-row > .tag, .fields .row > .tag { justify-self: end; }
.panel { position: relative; }
.empty { inset: 72px 18px 64px; position: absolute; }
.empty p { color: var(--faint); font-size: 14px; max-width: 260px; }
.ingest.at-3 .empty { opacity: 0; }

/* ---------- Print layout fixes ---------- */
@media print {
  /* Each main section starts a fresh page, so headings are never stranded. */
  .sec { break-before: page; }
  #partnership { break-before: auto; }
  .glance-sec { padding: 0 0 22px; }
  h2, h3, .eyebrow, .lead, .demo-title { break-after: avoid; }
  /* Narrow two-column text reads badly on A4: stack it. */
  .two-col:has(.rows) { grid-template-columns: 1fr; row-gap: 22px; }
  .two-col:has(.rows) > * + * { margin-top: 0; }
  /* Fit each illustration on one page. */
  .demo .stage { zoom: 0.8; }
  .ingest .stage { zoom: 0.62; }
  .wf .stage { zoom: 0.72; }
  p, li, dd { orphans: 3; widows: 3; }
  .wf .stage { grid-template-columns: 1fr; }
  .wf-col + .wf-col { border-left: 0; border-top: 1px solid var(--line); }
  .compare { zoom: 0.85; }
  .foot { break-inside: avoid; margin-top: 20px; padding: 22px 0 20px; }
  .foot img { height: 28px; margin-bottom: 10px; }
  .foot .contact { font-size: 17px; }
  .foot .company { margin-top: 8px; }
  #cost h3.serif-h { margin-top: 30px; }
  .callout { break-inside: avoid; }
  #transition .rows > div { padding: 8px 0; }
  #transition h3 { margin-top: 28px; }
  #transition .lead { margin-bottom: 0; }
}
