/* Shared by /how-it-works, /integrations and /battlecard: the homepage's
   system (IBM Plex, near-black ground, hairlines, orange for calls to action
   and the small mono labels, teal only for "Scout found", the paper card
   and its lattice back, the grey mark), its header, footer and closing card.
   Motion: each moment plays once when it comes into view; html.mo is set in
   each page's <head> only when IntersectionObserver exists and reduced motion
   is off, so without it every section shows its final state. */
:root {
  --bg: #08090a;
  --surface: #0d0e10;
  --tile: #121316;
  --avatar: #1d1f23;
  --line: #1a1c1f;
  --line2: #24272b;
  --line3: #3a3d42;
  --text: #f4f4f5;
  --text-hi: #e9eaec;
  --text2: #cbcdd1;
  --text3: #a1a4a9;
  --text4: #7c8085;
  --text5: #5f6368;
  --accent: #e0a13c;
  --accent-hover: #e8ad52;
  --accent-ink: #140c02;
  --scout: #15c8a6;
  --scout-text: #2dd4bf;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M12 0L24 12L12 24L0 12Z' fill='none' stroke='%231E242B'/%3E%3Cg transform='translate(12 12) scale(0.2) translate(-26 -15)'%3E%3Cpath d='M13.2 25.3A10.5 10.5 0 1 1 16.8 25.3' fill='none' stroke='%232B323C' stroke-width='4.2' stroke-linecap='round'/%3E%3Crect x='31' y='6.4' width='17' height='4.6' rx='2.3' fill='%232B323C'/%3E%3Crect x='31' y='12.7' width='17' height='4.6' rx='2.3' fill='%232B323C'/%3E%3Crect x='31' y='19' width='17' height='4.6' rx='2.3' fill='%232B323C'/%3E%3C/g%3E%3Cg transform='translate(0 0) rotate(180) scale(0.2) translate(-26 -15)'%3E%3Cpath d='M13.2 25.3A10.5 10.5 0 1 1 16.8 25.3' fill='none' stroke='%232B323C' stroke-width='4.2' stroke-linecap='round'/%3E%3Crect x='31' y='6.4' width='17' height='4.6' rx='2.3' fill='%232B323C'/%3E%3Crect x='31' y='12.7' width='17' height='4.6' rx='2.3' fill='%232B323C'/%3E%3Crect x='31' y='19' width='17' height='4.6' rx='2.3' fill='%232B323C'/%3E%3C/g%3E%3Cg transform='translate(24 0) rotate(180) scale(0.2) translate(-26 -15)'%3E%3Cpath d='M13.2 25.3A10.5 10.5 0 1 1 16.8 25.3' fill='none' stroke='%232B323C' stroke-width='4.2' stroke-linecap='round'/%3E%3Crect x='31' y='6.4' width='17' height='4.6' rx='2.3' fill='%232B323C'/%3E%3Crect x='31' y='12.7' width='17' height='4.6' rx='2.3' fill='%232B323C'/%3E%3Crect x='31' y='19' width='17' height='4.6' rx='2.3' fill='%232B323C'/%3E%3C/g%3E%3Cg transform='translate(0 24) rotate(180) scale(0.2) translate(-26 -15)'%3E%3Cpath d='M13.2 25.3A10.5 10.5 0 1 1 16.8 25.3' fill='none' stroke='%232B323C' stroke-width='4.2' stroke-linecap='round'/%3E%3Crect x='31' y='6.4' width='17' height='4.6' rx='2.3' fill='%232B323C'/%3E%3Crect x='31' y='12.7' width='17' height='4.6' rx='2.3' fill='%232B323C'/%3E%3Crect x='31' y='19' width='17' height='4.6' rx='2.3' fill='%232B323C'/%3E%3C/g%3E%3Cg transform='translate(24 24) rotate(180) scale(0.2) translate(-26 -15)'%3E%3Cpath d='M13.2 25.3A10.5 10.5 0 1 1 16.8 25.3' fill='none' stroke='%232B323C' stroke-width='4.2' stroke-linecap='round'/%3E%3Crect x='31' y='6.4' width='17' height='4.6' rx='2.3' fill='%232B323C'/%3E%3Crect x='31' y='12.7' width='17' height='4.6' rx='2.3' fill='%232B323C'/%3E%3Crect x='31' y='19' width='17' height='4.6' rx='2.3' fill='%232B323C'/%3E%3C/g%3E%3C/svg%3E");
  --paper: #f5f3ee;
  --paper2: #ece9e2;
  --paper-line: #ddd9d0;
  --ink: #111317;
  --ink-hi: #0b0d10;
  --ink2: #3a4049;
  --ink3: #5b616b;
  --sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --maxw: 1200px;
  --gutter: 24px;
  --head-h: 0px;
  color-scheme: dark;
}
@media (min-width: 928px) { :root { --head-h: 73px; } }
@media (max-width: 480px) { :root { --gutter: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
table { border-collapse: collapse; }
::selection { background: rgba(244,244,245,.22); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; border-radius: 4px; }
.mono { font-family: var(--mono); }
.nw { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: 10px; z-index: 300; padding: 10px 14px; background: var(--text); color: var(--bg); border-radius: 8px; font-size: 14px; font-weight: 600; transform: translateY(-300%); }
.skip:focus { transform: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 22px; border-radius: 10px; font-size: 15px; font-weight: 600; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-xl { height: 52px; padding: 0 26px; border-radius: 11px; font-size: 16px; }
.inlink { color: inherit; text-decoration: underline; text-decoration-color: var(--line3); text-underline-offset: 3px; }
.inlink:hover { color: var(--text); text-decoration-color: var(--text4); }

/* The small mono label above a heading: the one place orange is text. */
.lbl { font-family: var(--mono); font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.eg { font-family: var(--mono); font-size: 11px; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase; color: var(--text4); }
.mlabel { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text4); }

/* Header: as on the homepage. */
.site-head { background: var(--bg); border-bottom: 1px solid var(--line); }
.head-in { display: flex; flex-wrap: wrap; align-items: center; column-gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; height: 72px; color: var(--text-hi); font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.brand svg { width: 32px; height: 18px; }
.head-cta { order: 1; margin-left: auto; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 2px; color: var(--accent); font-size: 14px; font-weight: 600; white-space: nowrap; transition: color .15s; }
.head-cta svg { flex: none; width: 13px; height: 13px; transition: transform .2s var(--ease); }
.head-cta:hover { color: var(--accent-hover); }
.head-cta:hover svg { transform: translateX(2px); }
.nav { order: 2; flex: 1 1 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 28px; padding-bottom: 4px; }
.nav a { display: flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--text3); }
.nav a:hover { color: var(--text); }
@media (min-width: 928px) {
  .site-head { position: sticky; top: 0; z-index: 100; }
  .nav { order: 1; flex: 1 1 auto; padding-bottom: 0; }
  .head-cta { order: 2; margin-left: 0; }
}
@media (max-width: 380px) { .nav { gap: 0 20px; } }

/* Page furniture */
.band { border-top: 1px solid var(--line); }
.band-in { padding-top: 96px; padding-bottom: 100px; }
.pg-hero-in { padding-top: 88px; padding-bottom: 96px; }
.h1 { font-size: clamp(40px, 4.6vw, 64px); line-height: 1; font-weight: 600; letter-spacing: -0.045em; color: #fff; text-wrap: balance; }
.lede { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; color: var(--text-hi); text-wrap: pretty; }
.h2 { font-size: clamp(30px, 3.1vw, 44px); line-height: 1.08; font-weight: 600; letter-spacing: -0.03em; color: #fff; text-wrap: balance; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 64px; }
.sec-head > div { flex: 1 1 520px; min-width: 0; }
.sec-head > p { flex: 1 1 340px; max-width: 440px; font-size: 16px; line-height: 1.6; color: var(--text3); text-wrap: pretty; }
.sec-head .h2 { margin-top: 14px; max-width: 22ch; }
.tick { flex: none; width: 14px; height: 14px; color: var(--text3); }
/* A source line, as on the card: label, page, date. */
.src { font-family: var(--mono); font-size: 11px; line-height: 1.5; color: var(--text4); }
.src b { font-weight: 600; color: var(--text-hi); }
.paper .src, .src.on-paper { color: var(--ink3); }
.paper .src b, .src.on-paper b { color: var(--ink2); }

/* Closing band: the card back laid flat, as on the homepage. */
.end-band { padding: 40px 0 100px; }
.end { position: relative; display: flex; flex-direction: column; align-items: center; gap: 30px; padding: 84px 32px 88px; text-align: center; border: 1px solid #2a3038; border-radius: 22px; background-color: #14181d; background-image: radial-gradient(ellipse 46% 62% at 50% 50%, #14181d 55%, rgba(20,24,29,0) 100%), linear-gradient(rgba(20,24,29,.3), rgba(20,24,29,.3)), var(--lattice); background-size: auto, auto, 24px 24px; background-position: center; box-shadow: 0 40px 90px -40px rgba(0,0,0,.9); transition: opacity .7s var(--ease), transform .85s var(--ease); }
.end::before { content: ""; position: absolute; inset: 14px; border: 1px solid #262d35; border-radius: 13px; pointer-events: none; }
.end-seal { position: relative; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #14181d; border: 1px solid #2f3640; box-shadow: 0 0 0 9px #14181d; }
.end-seal svg { width: 38px; height: 21px; }
.end-copy { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; }
.end-h { font-size: clamp(30px, 3vw, 42px); line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; color: #fff; text-wrap: balance; }
.end-copy p { max-width: 44ch; font-size: 17px; line-height: 1.55; color: var(--text3); text-wrap: balance; }
.end-act { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.fine-mono { font-family: var(--mono); font-size: 12px; line-height: 1.6; letter-spacing: .08em; color: #8a8e94; }
.mo .end-band:not(.in) .end { opacity: 0; transform: translateY(18px) scale(.985); }

/* Footer */
.site-foot { border-top: 1px solid var(--line); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 28px; padding-bottom: 40px; }
.foot-in .brand { height: auto; gap: 8px; color: var(--text4); font-size: 13.5px; }
.foot-in .brand svg { width: 24px; height: 14px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
.foot-nav a, .foot-nav button { display: flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; font: inherit; font-size: 13.5px; color: var(--text4); cursor: pointer; }
.foot-nav a:hover, .foot-nav button:hover { color: var(--text); }
.foot-nav a[aria-current="page"] { color: var(--text2); }
.foot-nav button[hidden] { display: none !important; }
.foot-copy { font-size: 13px; color: var(--text4); }

@media (max-width: 600px) {
  .band-in { padding-top: 64px; padding-bottom: 68px; }
  .pg-hero-in { padding-top: 44px; padding-bottom: 60px; }
  .lede { font-size: 17px; }
  .end-band { padding: 24px 0 64px; }
  .end { gap: 26px; padding: 56px 22px 52px; border-radius: 16px; }
  .end::before { inset: 10px; border-radius: 9px; }
  .end-act, .end-act .btn { align-self: stretch; }
  .end-copy p { font-size: 16px; }
  .fine-mono { font-size: 11px; letter-spacing: .04em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .mo *, .mo *::before, .mo *::after { transition: none !important; animation: none !important; }
}
