:root {
  color-scheme: dark;
  --black: #0b0b09;
  --black-2: #11110e;
  --black-3: #171712;
  --ink: #f4f2e9;
  --muted: #aaa79f;
  --quiet: #747169;
  --cream: #e9e6dc;
  --cream-2: #f3f0e7;
  --cream-ink: #1b1a16;
  --cream-muted: #666159;
  --teal: #46c9b7;
  --teal-deep: #168d80;
  --teal-wash: #d8ebe6;
  --amber: #efb650;
  /* The violet in the X1 mark, promoted to a real second accent. Personal leans
     violet, professional leans teal, and the shared proof stays teal. */
  --violet: #b7a2ff;
  --violet-deep: #6b51c4;
  /* Every icon reads its accent from --acc, so a section recolours its whole icon
     set by setting one property. Inherits into <use> shadow trees, which class
     selectors do not. */
  --acc: var(--teal);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --line: rgba(244, 242, 233, .14);
  --line-strong: rgba(244, 242, 233, .25);
  --paper-line: rgba(27, 26, 22, .16);
  --sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; background: var(--black); }
body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--black);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.personal-page { color: var(--cream-ink); background: var(--cream); }
::selection { color: var(--cream-ink); background: var(--teal); }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.shell { width: min(100%, var(--max)); margin-inline: auto; padding-inline: 36px; }
.mono { font-family: var(--mono); }
.teal { color: var(--teal); }
.paper-teal { color: var(--teal-deep); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 72px;
  color: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(11, 11, 9, .9);
  backdrop-filter: blur(18px);
}
.site-nav { height: 100%; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; margin-right: auto; text-decoration: none; }
.brand svg { width: 26px; height: 22px; }
.brand-word { font-family: var(--sans); font-size: 19px; font-weight: 600; letter-spacing: -.04em; text-transform: lowercase; }
.brand-product { margin-left: 4px; color: var(--quiet); font: 500 9px/1 var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 25px; }
.nav-links a { color: var(--muted); font-size: 12px; font-weight: 500; text-decoration: none; }
.nav-links a[aria-current="page"], .nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 9px; }

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .045em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-1px); border-color: #6e6b65; background: #151510; }
.button.primary { border-color: var(--ink); color: #070807; background: var(--ink); }
.button.primary:hover { border-color: var(--teal); background: var(--teal); }
.button.teal-button { border-color: var(--teal); color: #06100e; background: var(--teal); }
.button.teal-button:hover { border-color: #74dacd; background: #74dacd; }
.button.small { min-height: 36px; padding-inline: 14px; font-size: 9px; }
.button.paper { border-color: rgba(27,26,22,.28); color: var(--cream-ink); background: transparent; }
.button.paper:hover { border-color: var(--cream-ink); background: rgba(27,26,22,.06); }
.button.paper.primary { color: var(--cream); background: var(--cream-ink); }
.button.paper.primary:hover { border-color: var(--teal-deep); background: var(--teal-deep); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--muted);
  font: 400 10px/1.2 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow::before { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); content: ""; flex: none; }
.eyebrow.paper { color: var(--cream-muted); }
.eyebrow.paper::before { background: var(--acc); }
.display {
  margin: 0;
  font-size: clamp(58px, 6vw, 90px);
  font-weight: 400;
  line-height: .96;
  letter-spacing: -.065em;
  text-wrap: balance;
}
.display em { color: var(--teal); font-style: normal; }
.section-title {
  margin: 0;
  font-size: clamp(44px, 4.8vw, 70px);
  font-weight: 400;
  line-height: .99;
  letter-spacing: -.058em;
  text-wrap: balance;
}
.section-lede { max-width: 650px; margin: 26px 0 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.paper-copy { color: var(--cream-muted); }
.actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 34px; }
.micro-note { margin: 13px 0 0; color: var(--quiet); font: 400 9px/1.45 var(--mono); letter-spacing: .03em; text-transform: uppercase; }

.home-hero { min-height: 880px; padding-top: 72px; border-bottom: 1px solid var(--line); }
.home-hero-grid { min-height: 808px; display: grid; grid-template-columns: minmax(430px, .82fr) minmax(560px, 1.18fr); gap: 68px; align-items: center; }
.home-hero-copy { max-width: 650px; padding-block: 80px; }
.home-hero-copy .display { max-width: 690px; }
.home-hero-copy .section-lede { max-width: 610px; font-size: 17px; }

.proof-workbench {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #080907;
  box-shadow: 0 46px 100px rgba(0,0,0,.28);
}
.workbench-bar { min-height: 42px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; border-bottom: 1px solid var(--line); color: var(--quiet); font: 400 8px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.live-status { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.live-status::before { width: 5px; height: 5px; border-radius: 50%; background: var(--teal); content: ""; }
.workbench-grid { display: grid; grid-template-columns: 146px minmax(300px, 1fr) 205px; height: 615px; }
.source-column, .receipt-column { padding: 18px 14px; }
.source-column { border-right: 1px solid var(--line); }
.receipt-column { border-left: 1px solid var(--line); }
.column-label { margin: 0 0 16px; color: var(--quiet); font: 400 8px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.source-item { display: grid; grid-template-columns: 22px 1fr; gap: 7px; padding: 13px 0; border-top: 1px solid var(--line); }
.source-item b { color: var(--teal); font: 400 9px/1.35 var(--mono); }
.source-item span { color: var(--muted); font: 400 8px/1.35 var(--mono); overflow-wrap: anywhere; }
.source-answer { display: grid; grid-template-columns: 22px 1fr; gap: 7px; align-items: center; margin-top: 28px; padding-top: 13px; border-top: 1px solid #164a43; }
.source-answer .ico { color: var(--teal); }
.source-answer span { color: var(--ink); font: 500 8px/1.4 var(--mono); text-transform: uppercase; }
.app-window { min-width: 0; overflow: hidden; background: #090b0a; }
/* The app captures are tall phone screens shown in a short panel, so a hard crop
   lands mid-label. Dissolve the last stretch instead of cutting it. */
.app-window img, .phone-crop img { width: 100%; height: 100%; object-fit: cover; object-position: top center; mask-image: linear-gradient(#000 78%, transparent 99%); }
.trace { width: 100%; height: auto; margin-bottom: 12px; padding-block: 12px; border-block: 1px solid var(--line); }
.trace path { fill: none; stroke: #2f3936; stroke-width: 1.4; stroke-linecap: round; }
.trace path.on { stroke: var(--teal); stroke-dasharray: 2 7; }
.trace circle { fill: #080907; stroke: #59625f; stroke-width: 1.2; }
.trace circle.answer { fill: var(--teal); stroke: var(--teal); }
.receipt-line { padding: 13px 0; border-top: 1px solid var(--line); }
.receipt-line b { display: block; color: var(--teal); font: 400 9px/1.3 var(--mono); }
.receipt-line span { display: block; margin-top: 7px; color: var(--quiet); font: 300 8px/1.5 var(--mono); }
.receipt-check { margin-top: 20px; padding: 11px; border: 1px solid #164a43; color: var(--teal); font: 400 8px/1.4 var(--mono); text-transform: uppercase; }

.shared-proof { padding: 130px 0; color: var(--cream-ink); background: var(--cream); border-bottom: 1px solid var(--paper-line); }
.shared-proof-head { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: end; margin-bottom: 64px; }
.shared-proof-head p:last-child { max-width: 560px; margin: 0; color: var(--cream-muted); font-size: 16px; line-height: 1.65; }
.proof-card { display: grid; grid-template-columns: minmax(250px,.7fr) 74px minmax(420px,1.3fr); min-height: 560px; border: 1px solid var(--paper-line); background: var(--cream-2); }
.proof-inputs { padding: 28px; border-right: 1px solid var(--paper-line); }
.proof-inputs h3, .proof-output h3 { margin: 0; color: var(--cream-muted); font: 400 9px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.input-file { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 21px 0; border-bottom: 1px solid var(--paper-line); }
.input-file:first-of-type { margin-top: 40px; border-top: 1px solid var(--paper-line); }
.input-file b { color: var(--acc); font: 400 11px/1.45 var(--mono); }
.input-file span { color: var(--cream-muted); font: 400 10px/1.45 var(--mono); }
.proof-join { position: relative; border-right: 1px solid var(--paper-line); }
.proof-join::before { position: absolute; top: 50%; left: 14px; right: 14px; height: 1px; background: var(--teal-deep); content: ""; }
.proof-join::after { position: absolute; top: calc(50% - 4px); right: 13px; width: 7px; height: 7px; border-top: 1px solid var(--teal-deep); border-right: 1px solid var(--teal-deep); transform: rotate(45deg); content: ""; }
.proof-output { display: flex; flex-direction: column; padding: 28px; }
.proof-output h2 { max-width: 560px; margin: auto 0 0; font-size: clamp(43px,4.2vw,64px); font-weight: 400; line-height: 1; letter-spacing: -.055em; }
.proof-output h2 em { color: var(--acc); font-style: normal; }
.proof-metrics { display: grid; grid-template-columns: 1fr 1fr; margin-top: 34px; border-top: 1px solid var(--paper-line); }
.proof-metric { padding: 20px 0; }
.proof-metric + .proof-metric { padding-left: 22px; border-left: 1px solid var(--paper-line); }
.proof-metric strong { display: block; font-size: 28px; font-weight: 500; letter-spacing: -.04em; }
.proof-metric span { display: block; margin-top: 5px; color: var(--cream-muted); font: 400 9px/1.5 var(--mono); text-transform: uppercase; }
.proof-verbatim { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--paper-line); color: var(--cream-muted); font: 400 11px/1.6 var(--mono); }
.proof-verbatim b { color: var(--cream-ink); font-weight: 500; }

.journeys { padding: 140px 0; border-bottom: 1px solid var(--line); }
.journey-head { max-width: 840px; margin-bottom: 64px; }
.journey-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.journey-card { min-height: 590px; display: flex; flex-direction: column; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; transition: background .25s ease; }
.journey-card:hover { background: var(--black-2); }
.journey-card small { color: var(--acc); font: 400 9px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
/* The icon takes the auto margin, so the whole icon-to-chips group sits low in the
   card and the space above it reads as deliberate rather than as a gap. */
.journey-card > .ico { width: 52px; height: 52px; margin-top: auto; color: var(--ink); stroke-width: 1.1; transition: color .3s var(--ease); }
.journey-card h3 { max-width: 520px; margin: 24px 0 0; font-size: clamp(38px,4vw,58px); font-weight: 400; line-height: 1; letter-spacing: -.055em; }
.journey-card > p { max-width: 500px; margin: 20px 0 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.journey-card:hover > .ico { color: var(--acc); }
.journey-link { display: flex; align-items: center; justify-content: space-between; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
.journey-link::after { color: var(--acc); font-size: 22px; transition: transform .3s var(--ease-out); content: "→"; }
.journey-card:hover .journey-link::after { transform: translateX(5px); }

.trust { padding: 120px 0; color: var(--cream-ink); background: var(--cream); }
.trust-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 86px; align-items: start; }
.trust-copy .section-title { font-size: clamp(42px,4.6vw,66px); }
.trust-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }

.page-hero { min-height: 850px; padding-top: 72px; border-bottom: 1px solid var(--line); }
.page-hero-grid { min-height: 778px; display: grid; grid-template-columns: minmax(410px,.76fr) minmax(520px,1.24fr); gap: 72px; align-items: center; }
.page-hero-copy { max-width: 660px; padding-block: 90px; }
.page-hero-copy .section-lede { font-size: 17px; }
.personal-page .page-hero { border-bottom-color: var(--paper-line); background: var(--cream); }
.personal-page .page-hero-grid { grid-template-columns: minmax(430px,.9fr) minmax(520px,1.1fr); }

.brief-panel { overflow: hidden; border: 1px solid var(--paper-line); background: var(--cream-2); box-shadow: 0 40px 80px rgba(27,26,22,.08); }
.brief-top { min-height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid var(--paper-line); color: var(--cream-muted); font: 400 8px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.brief-body { padding: 28px; }
.brief-date { margin: 0; color: var(--cream-muted); font: 400 9px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.brief-body h2 { max-width: 520px; margin: 52px 0 24px; font-size: clamp(38px,4vw,56px); font-weight: 400; line-height: 1; letter-spacing: -.055em; }
.change-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--paper-line); }
.change { display: grid; grid-template-columns: 35px 1fr auto; gap: 12px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--paper-line); }
.change-num { color: var(--acc); font: 400 10px/1.4 var(--mono); }
.change b { display: block; font-size: 14px; font-weight: 500; }
.change p { margin: 5px 0 0; color: var(--cream-muted); font-size: 12px; line-height: 1.5; }
.change time { color: var(--cream-muted); font: 400 8px/1.3 var(--mono); text-transform: uppercase; }
.brief-footer { display: flex; align-items: center; justify-content: space-between; padding: 17px 28px; border-top: 1px solid var(--paper-line); color: var(--cream-muted); font: 400 9px/1 var(--mono); text-transform: uppercase; }
.brief-footer b { display: inline-flex; align-items: center; gap: 7px; color: var(--acc); font-weight: 500; }

.personal-sample { padding: 140px 0; color: var(--cream-ink); background: var(--cream); border-bottom: 1px solid var(--paper-line); }

.personal-map { padding: 130px 0; color: var(--ink); background: var(--black); border-bottom: 1px solid var(--line); }
.personal-map-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; }
/* Height is pinned rather than stretched. Left to `stretch` in a two-column grid the
   stage grows to match the taller text column, and once the box is taller than the
   phone aspect, object-fit:cover starts cropping the screenshots sideways through
   their own navigation. */
.phone-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; height: 740px; align-self: start; border: 1px solid var(--line); background: var(--line); }
.personal-map-grid .phone-stage { position: sticky; top: 112px; }
.phone-crop { min-width: 0; overflow: hidden; background: #090b0a; }

.permissions { padding: 130px 0; color: var(--cream-ink); background: var(--cream); }
.permissions-grid { display: grid; grid-template-columns: .74fr 1.26fr; gap: 80px; align-items: start; }

.pro-workbench { overflow: hidden; border: 1px solid var(--line); background: #080907; }
.pro-grid { display: grid; grid-template-columns: 130px minmax(280px,1fr) 180px; height: 640px; }
.matter-rail { padding: 16px 12px; border-right: 1px solid var(--line); }
.matter-item { padding: 13px 8px; border-top: 1px solid var(--line); color: var(--quiet); font: 400 8px/1.4 var(--mono); }
.matter-item.active { color: var(--ink); background: #111511; }
.matter-item b { display: block; margin-bottom: 4px; color: var(--teal); font-weight: 400; }
.finding-main { min-width: 0; padding: 24px; }
.finding-kicker { color: var(--teal); font: 400 9px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.finding-main h2 { max-width: 540px; margin: 68px 0 28px; font-size: clamp(36px,3.7vw,52px); font-weight: 400; line-height: 1; letter-spacing: -.052em; }
.finding-facts { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.finding-fact { min-height: 118px; padding: 16px; }
.finding-fact + .finding-fact { border-left: 1px solid var(--line); }
.finding-fact small { color: var(--quiet); font: 400 8px/1 var(--mono); text-transform: uppercase; }
.finding-fact strong { display: block; margin-top: 18px; color: var(--teal); font-size: 24px; font-weight: 500; }
.finding-fact span { display: block; margin-top: 5px; color: var(--muted); font: 400 9px/1.4 var(--mono); }
.finding-note { margin: 24px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.evidence-inspector { padding: 16px 13px; border-left: 1px solid var(--line); }
.evidence-quote { padding: 14px 0; border-top: 1px solid var(--line); }
.evidence-quote b { color: var(--teal); font: 400 9px/1.4 var(--mono); }
.evidence-quote p { margin: 7px 0 0; color: var(--muted); font: 300 8px/1.55 var(--mono); }
.evidence-quote mark { color: var(--ink); background: transparent; font-weight: 500; }

.professional-system { padding: 130px 0; border-bottom: 1px solid var(--line); }
.system-head { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: end; margin-bottom: 62px; }
.system-head .section-lede { margin: 0; }

.pro-evidence { padding: 130px 0; color: var(--cream-ink); background: var(--cream); border-bottom: 1px solid var(--paper-line); }
.pro-evidence-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; align-items: start; }
.conflict-card { border: 1px solid var(--paper-line); background: var(--cream-2); }
.conflict-head { display: flex; justify-content: space-between; padding: 15px 18px; border-bottom: 1px solid var(--paper-line); color: var(--cream-muted); font: 400 8px/1 var(--mono); text-transform: uppercase; }
.conflict-head b { color: #a66a0f; font-weight: 500; }
.conflict-body { padding: 26px; }
.conflict-body h3 { margin: 0; font-size: 32px; font-weight: 400; line-height: 1.1; letter-spacing: -.04em; }
.conflict-source { margin-top: 26px; padding: 18px 0; border-block: 1px solid var(--paper-line); }
.conflict-source + .conflict-source { margin-top: 0; border-top: 0; }
.conflict-source b { display: flex; align-items: center; gap: 8px; color: var(--acc); font: 400 10px/1.4 var(--mono); }
.conflict-source p { margin: 8px 0 0; color: var(--cream-muted); font: 400 11px/1.55 var(--mono); }

.architecture-hero, .security-hero { min-height: 720px; display: grid; align-items: end; padding: 72px 0 100px; border-bottom: 1px solid var(--line); }
/* Constrain the type, not the container. `.shell` centres itself, so a max-width on
   the inner box indented the whole hero while every section below it started at the
   shell edge. */
.architecture-hero-inner, .security-hero-inner { padding-top: 120px; }
.architecture-hero .display, .security-hero .display { max-width: 920px; }
.architecture-hero .section-lede, .security-hero .section-lede { max-width: 660px; }
.architecture { padding: 130px 0; border-bottom: 1px solid var(--line); }
.receipt-anatomy { padding: 130px 0; color: var(--cream-ink); background: var(--cream); }
.anatomy-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; }

.security-boundaries { padding: 130px 0; border-bottom: 1px solid var(--line); }
.boundary-grid { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.boundary-card { min-height: 310px; display: flex; flex-direction: column; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.boundary-card > .ico { margin-bottom: 24px; color: var(--ink); }
.boundary-card small { color: var(--acc); font: 400 9px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.boundary-card h2 { margin: auto 0 15px; font-size: 30px; font-weight: 400; line-height: 1.08; letter-spacing: -.045em; }
.boundary-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.boundary-card .caveat { margin-top: 15px; }
.security-controls { padding: 130px 0; color: var(--cream-ink); background: var(--cream); }

.page-final { min-height: 590px; display: grid; place-items: center; text-align: center; color: var(--cream-ink); background: var(--cream); }
.page-final.dark { color: var(--ink); background: var(--black); }
.page-final-inner { max-width: 900px; padding: 100px 0; }
.page-final .section-title { font-size: clamp(52px,5.4vw,78px); }
.page-final .section-lede { margin-inline: auto; }
.page-final .actions { justify-content: center; }

.site-footer { color: var(--ink); background: var(--black); border-top: 1px solid var(--line); }
.footer-grid { min-height: 178px; display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand svg { width: 24px; height: 20px; }
.footer-brand b { font-size: 17px; font-weight: 600; letter-spacing: -.04em; }
.footer-brand span { color: var(--quiet); font: 400 9px/1.5 var(--mono); text-transform: uppercase; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 22px; }
.footer-links a { color: var(--quiet); font: 400 9px/1.5 var(--mono); text-decoration: none; text-transform: uppercase; }
.footer-links a:hover { color: var(--ink); }

.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.js [data-reveal].in { opacity: 1; transform: none; }
/* product-system.js stamps --i on the children of [data-stagger], so a grid or a
   ledger arrives row by row instead of as one slab. */
.js [data-stagger] > * { opacity: 0; transform: translateY(16px); transition: opacity .62s var(--ease-out), transform .62s var(--ease-out); transition-delay: calc(var(--i, 0) * 55ms); }
.js [data-stagger].in > * { opacity: 1; transform: none; }

/* ============================================================================
   ICONS
   The set is defined once in icons.svg and inlined per page (scripts/sync-icons.mjs).
   Stroke properties are set here and inherit into the <use> shadow tree; symbols
   deliberately carry no stroke attributes of their own.
   ============================================================================ */
.ico { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ico-sm { width: 17px; height: 17px; stroke-width: 1.7; }
.ico-lg { width: 30px; height: 30px; stroke-width: 1.4; }
.ico-xl { width: 42px; height: 42px; stroke-width: 1.2; }
.brand svg.mark { width: 26px; height: 22px; }
.footer-brand svg.mark { width: 24px; height: 20px; }
/* Cream sections need the deep accents; light teal and violet both vanish on paper. */
.shared-proof, .trust, .pro-evidence, .receipt-anatomy, .security-controls,
.page-final:not(.dark) { --acc: var(--teal-deep); }
/* Personal leans violet, professional and the shared proof stay teal. Split by
   background, because violet-deep is unreadable on ink and violet is unreadable on
   cream. */
.personal-page .page-hero, .personal-sample, .permissions { --acc: var(--violet-deep); }
.journey-card.personal, .personal-map { --acc: var(--violet); }

/* ============================================================================
   TEXTURE + AMBIENT MOTION
   A lottie canvas drifts behind the darkest and lightest panels, with a grain
   overlay on top of it. Both are decoration: they sit at z-index 0 and never take
   pointer events, and the section's own content is lifted above them.
   ============================================================================ */
.has-ambient { position: relative; isolation: isolate; }
.has-ambient > .shell, .has-ambient > .architecture-hero-inner, .has-ambient > .security-hero-inner { position: relative; z-index: 2; }
.ambient { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.ambient canvas, .ambient svg { width: 100% !important; height: 100% !important; }
/* Fade the field out at the edges so it never fights the section rule lines. */
.ambient { mask-image: radial-gradient(120% 100% at 50% 40%, #000 45%, transparent 100%); }
.grain::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .32;
  pointer-events: none;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  content: "";
}
.page-final.dark .grain::after, .home-hero .grain::after { opacity: .26; }

/* ============================================================================
   BUTTONS — icon slots and a hover that moves
   ============================================================================ */
.button .ico { width: 15px; height: 15px; stroke-width: 1.8; transition: transform .28s var(--ease-out); }
.button:hover .ico-move { transform: translateX(3px); }
.button:hover .ico-move-down { transform: translateY(3px); }
.button.primary:hover .ico, .button.paper.primary:hover .ico { stroke: currentColor; }

/* ============================================================================
   ICON TILES — replaces grids that were label-only text boxes
   ============================================================================ */
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tile-grid.two { grid-template-columns: repeat(2, 1fr); }
.tile {
  min-height: 168px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease);
}
.tile:hover { background: rgba(244, 242, 233, .035); }
.tile .ico { color: var(--ink); opacity: .92; }
.tile b { margin-top: auto; font-size: 15px; font-weight: 500; letter-spacing: -.02em; }
.tile span { color: var(--muted); font: 400 11px/1.5 var(--mono); }
.paper-tiles { border-color: var(--paper-line); }
.paper-tiles .tile { border-color: var(--paper-line); }
.paper-tiles .tile:hover { background: rgba(27, 26, 22, .035); }
.paper-tiles .tile .ico { color: var(--cream-ink); }
.paper-tiles .tile span { color: var(--cream-muted); }

/* Question chips: the "what you can ask" lists, with an icon instead of a bare row. */
.chip-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; margin-top: 32px; border-top: 1px solid var(--line); }
.chip { display: flex; align-items: center; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--muted); font: 400 11px/1.4 var(--mono); }
.chip .ico { width: 15px; height: 15px; stroke-width: 1.6; opacity: .85; }

/* ============================================================================
   DECK — the slider primitive
   Native scroll-snap does the transport, so touch, trackpad and keyboard all work
   without JS. product-system.js adds pointer dragging, arrows, the dot rail, and
   autoplay that stops on interaction.
   ============================================================================ */
.deck { position: relative; }
.deck-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
}
.deck-track::-webkit-scrollbar { display: none; }
.deck-track.dragging { cursor: grabbing; scroll-snap-type: none; }
.deck-track.dragging * { pointer-events: none; }
.deck-slide { scroll-snap-align: start; min-width: 0; }

.deck-bar { display: flex; align-items: center; gap: 18px; margin-top: 26px; }
.deck-rail { position: relative; flex: 1; height: 1px; background: var(--paper-line); }
.deck-rail i { position: absolute; inset: -1px auto; height: 3px; background: var(--acc); transition: left .45s var(--ease-out), width .45s var(--ease-out); }
.deck-count { color: var(--cream-muted); font: 400 10px/1 var(--mono); letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.deck-buttons { display: flex; gap: 7px; }
.deck-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--paper-line);
  border-radius: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  transition: border-color .22s var(--ease), background .22s var(--ease), opacity .22s var(--ease);
}
.deck-btn:hover:not(:disabled) { border-color: currentColor; background: rgba(27, 26, 22, .05); }
.deck-btn:disabled { opacity: .28; cursor: default; }
.deck-btn .ico { width: 17px; height: 17px; }

/* ============================================================================
   ANSWER DECK — the home slider. One question per slide, answered in figures.
   ============================================================================ */
.answer-slide { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); min-height: 470px; border: 1px solid var(--paper-line); background: var(--cream-2); }
.answer-ask { display: flex; flex-direction: column; padding: 30px; border-right: 1px solid var(--paper-line); }
.answer-q { display: flex; align-items: flex-start; gap: 12px; color: var(--cream-muted); font: 400 11px/1.5 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.answer-q .ico { color: var(--cream-ink); }
.answer-value { margin: 36px 0 0; font-size: clamp(38px, 3.9vw, 58px); font-weight: 400; line-height: 1.02; letter-spacing: -.055em; text-wrap: balance; }
.answer-value em { color: var(--acc); font-style: normal; }
.answer-value.flag em { color: #a66a0f; }
.answer-derive { display: flex; flex-wrap: wrap; gap: 0 26px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--paper-line); }
.answer-derive div { padding-right: 26px; }
.answer-derive div + div { border-left: 1px solid var(--paper-line); padding-left: 26px; }
.answer-derive strong { display: block; font-size: 22px; font-weight: 500; letter-spacing: -.035em; }
.answer-derive span { display: block; margin-top: 4px; color: var(--cream-muted); font: 400 9px/1.4 var(--mono); text-transform: uppercase; }
.answer-sources { display: flex; flex-direction: column; padding: 30px; }
.answer-sources .column-label { color: var(--cream-muted); }
.answer-cite { padding: 15px 0; border-top: 1px solid var(--paper-line); }
.answer-cite b { display: flex; align-items: center; gap: 8px; color: var(--acc); font: 400 10px/1.3 var(--mono); }
.answer-cite p { margin: 8px 0 0; color: var(--cream-muted); font: 400 10px/1.6 var(--mono); }
/* colour-mix keeps the highlight tied to whichever accent the section is using
   instead of hardcoding a teal wash under a violet quotation. */
.answer-cite mark { color: var(--cream-ink); background: color-mix(in srgb, var(--acc) 22%, transparent); font-weight: 500; }
.answer-verdict { display: flex; align-items: center; gap: 9px; margin-top: auto; padding: 12px 13px; border: 1px solid color-mix(in srgb, var(--acc) 42%, transparent); color: var(--acc); font: 400 9px/1.4 var(--mono); text-transform: uppercase; }
.answer-verdict.flag { border-color: rgba(166, 106, 15, .45); color: #a66a0f; }
.answer-verdict .ico { width: 15px; height: 15px; }

/* ============================================================================
   STEPPER — the professional workflow, one stage at a time instead of five
   stacked paragraphs.
   ============================================================================ */
.stepper { display: grid; grid-template-columns: 268px minmax(0, 1fr); border: 1px solid var(--line); }
.step-rail { display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.step-tab {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 19px 20px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
  font: 500 12px/1.3 var(--sans);
  letter-spacing: -.01em;
  text-align: left;
  cursor: pointer;
  transition: color .25s var(--ease), background .25s var(--ease);
}
.step-tab:last-child { border-bottom: 0; }
.step-tab .ico { opacity: .55; transition: opacity .25s var(--ease); }
.step-tab small { margin-left: auto; color: var(--quiet); font: 400 9px/1 var(--mono); }
.step-tab:hover { color: var(--ink); background: rgba(244, 242, 233, .03); }
.step-tab[aria-selected="true"] { color: var(--ink); background: var(--black-3); }
.step-tab[aria-selected="true"] .ico { opacity: 1; }
.step-tab[aria-selected="true"] small { color: var(--acc); }
/* Flex column with a growing panel, so `margin-top:auto` on .step-facts actually
   reaches the bottom of the box instead of sitting under the paragraph. */
.step-panels { display: flex; flex-direction: column; min-height: 384px; }
.step-panel { flex: 1; display: flex; flex-direction: column; padding: 34px; }
.step-panel[hidden] { display: none; }
.step-panel h3 { max-width: 620px; margin: 0; font-size: clamp(30px, 3.1vw, 44px); font-weight: 400; line-height: 1.03; letter-spacing: -.05em; }
.step-panel > p { max-width: 620px; margin: 20px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.step-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 30px; }
.step-facts span { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--line); color: var(--muted); font: 400 10px/1.3 var(--mono); }
.step-facts .ico { width: 14px; height: 14px; stroke-width: 1.7; }
.js .step-panel:not([hidden]) { animation: step-in .5s var(--ease-out) both; }
@keyframes step-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ============================================================================
   FLOW — the five-stage path on /how-it-works, with a connector that draws itself
   as the section scrolls into view.
   ============================================================================ */
.flow { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.flow-line { position: absolute; top: 46px; left: 0; right: 0; height: 1px; background: var(--line); }
.flow-line i { display: block; height: 1px; width: 0; background: var(--acc); transition: width 1.5s var(--ease-out); }
.flow.in .flow-line i { width: 100%; }
.flow-step { position: relative; display: flex; flex-direction: column; padding: 0 26px 0 0; }
.flow-node { width: 92px; height: 92px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--black); }
.flow-step:hover .flow-node { border-color: var(--acc); }
.flow-node .ico { color: var(--ink); }
.flow-step small { margin: 26px 0 0; color: var(--acc); font: 400 9px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.flow-step h3 { margin: 14px 0 0; font-size: 21px; font-weight: 400; line-height: 1.15; letter-spacing: -.035em; }
.flow-step p { margin: 11px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.6; }

/* ============================================================================
   ICON LEDGER — replaces the row tables that were three columns of prose
   ============================================================================ */
.led { border-top: 1px solid var(--paper-line); }
.led-row { display: grid; grid-template-columns: 46px 210px minmax(0, 1fr) auto; gap: 22px; align-items: center; min-height: 92px; padding: 16px 0; border-bottom: 1px solid var(--paper-line); }
.led-row .ico { color: var(--cream-ink); }
.led-row b { font-size: 14.5px; font-weight: 500; letter-spacing: -.015em; }
.led-row p { margin: 0; color: var(--cream-muted); font-size: 13px; line-height: 1.55; }
.led-row i { color: var(--acc); font: normal 400 9px/1.4 var(--mono); text-align: right; text-transform: uppercase; white-space: nowrap; }

/* A caveat sits under a claim in the honest, quieter register. The product makes
   narrow guarantees and the copy has to keep saying so without a paragraph. */
/* --muted rather than --quiet: at 10px mono, --quiet on ink is about 4:1 and fails
   the contrast floor for the one register that must stay readable. */
.caveat { display: flex; gap: 9px; margin: 16px 0 0; color: var(--muted); font: 400 10.5px/1.6 var(--mono); }
.caveat .ico { width: 14px; height: 14px; margin-top: 1px; stroke-width: 1.7; opacity: .8; }
.paper-caveat { color: var(--cream-muted); }

/* Live status dot, breathing. Signals a running system rather than a static page. */
.live-status::before { animation: breathe 2.6s var(--ease) infinite; }
@keyframes breathe { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.72); } }

/* The hero receipt trace, drawing itself on a loop. */
.trace path.on { stroke-dasharray: 3 7; animation: trace-flow 2.8s linear infinite; }
@keyframes trace-flow { to { stroke-dashoffset: -20; } }

@media (max-width: 1100px) {
  .home-hero-grid, .page-hero-grid, .personal-page .page-hero-grid { grid-template-columns: 1fr; }
  .home-hero-grid, .page-hero-grid { gap: 28px; padding-block: 100px; }
  .home-hero-copy, .page-hero-copy { max-width: 850px; padding: 40px 0; }
  .home-hero { min-height: 0; }
  .proof-workbench, .pro-workbench { width: 100%; }
  .shared-proof-head, .system-head { grid-template-columns: 1fr; gap: 28px; }
  .proof-card { grid-template-columns: minmax(220px,.7fr) 60px minmax(380px,1.3fr); }
  .personal-map-grid, .permissions-grid, .pro-evidence-grid, .anatomy-grid, .trust-grid { grid-template-columns: 1fr; }

  /* The five-stage flow wraps to three, so the drawn connector no longer describes
     the reading order and would point across a row break. */
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 46px; }
  .flow-line { display: none; }
  .answer-slide { grid-template-columns: 1fr; min-height: 0; }
  .answer-ask { border-right: 0; border-bottom: 1px solid var(--paper-line); }
  .answer-value { margin-top: 34px; }
  .stepper { grid-template-columns: 1fr; }
  .step-rail { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .step-rail::-webkit-scrollbar { display: none; }
  .step-tab { flex: none; border-bottom: 0; border-right: 1px solid var(--line); }
  .step-tab small { display: none; }
  .step-panels { min-height: 0; }
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .led-row { grid-template-columns: 40px 180px minmax(0, 1fr); row-gap: 6px; }
  .led-row i { grid-column: 2 / -1; text-align: left; }
}

@media (max-width: 820px) {
  .shell { padding-inline: 18px; }
  .site-header { height: 64px; }
  .site-nav { gap: 14px; }
  .nav-links { display: none; }
  .brand-product { display: none; }
  .button.small { min-height: 36px; padding-inline: 12px; }
  .nav-actions .button:not(.primary) { display: none; }
  .display { font-size: clamp(47px,14vw,65px); }
  .section-title { font-size: 43px; }
  .home-hero, .page-hero { padding-top: 64px; }
  .home-hero-grid, .page-hero-grid { min-height: 0; padding-block: 72px 48px; }
  .home-hero-copy, .page-hero-copy { padding: 20px 0; }
  .home-hero-copy .section-lede, .page-hero-copy .section-lede { font-size: 15px; }
  .actions { display: grid; grid-template-columns: 1fr; }
  .workbench-grid, .pro-grid { grid-template-columns: 1fr; height: 610px; }
  .source-column, .receipt-column, .matter-rail, .evidence-inspector { display: none; }
  .finding-main { padding: 20px; }
  .finding-main h2 { margin-top: 58px; font-size: 39px; }
  .shared-proof, .journeys, .trust, .personal-sample, .personal-map, .permissions, .professional-system, .pro-evidence, .architecture, .receipt-anatomy, .security-boundaries, .security-controls { padding: 88px 0; }
  .shared-proof-head { margin-bottom: 40px; }
  .proof-card { grid-template-columns: 1fr; min-height: 0; }
  .proof-inputs { border-right: 0; border-bottom: 1px solid var(--paper-line); }
  .proof-join { display: none; }
  .proof-output { min-height: 430px; }
  .journey-grid, .boundary-grid { grid-template-columns: 1fr; }
  .journey-card { min-height: 540px; padding: 24px; }
  .journey-card h3 { margin-top: 110px; }
  .brief-body { padding: 22px; }
  .brief-body h2 { margin-top: 42px; }
  .change { grid-template-columns: 28px 1fr; }
  .change time { display: none; }
  .phone-stage { min-height: 590px; grid-template-columns: 1fr; }
  .phone-crop + .phone-crop { display: none; }
  .architecture-hero, .security-hero { min-height: 650px; padding-top: 64px; }
  .footer-grid { min-height: 220px; grid-template-columns: 1fr; gap: 28px; align-content: center; }
  .footer-links { justify-content: flex-start; }

  .flow { grid-template-columns: 1fr; row-gap: 0; }
  .flow-step { flex-direction: row; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
  .flow-step:first-child { border-top: 1px solid var(--line); }
  .flow-node { width: 58px; height: 58px; }
  .flow-node .ico { width: 24px; height: 24px; }
  .flow-body { min-width: 0; }
  .flow-step small { margin: 0; }
  .flow-step h3 { margin-top: 9px; font-size: 19px; }
  .tile-grid, .tile-grid.two { grid-template-columns: repeat(2, 1fr); }
  .tile { min-height: 138px; padding: 16px 14px; gap: 10px; }
  .tile b { font-size: 13.5px; }
  .tile span { font-size: 10px; }
  .chip-list { grid-template-columns: 1fr; }
  .answer-ask, .answer-sources { padding: 22px; }
  .answer-value { margin-top: 26px; }
  .answer-derive div + div { margin-top: 0; }
  .step-panel { padding: 24px; }
  .step-tab { padding: 15px 16px; }
  .led-row { grid-template-columns: 34px minmax(0, 1fr); gap: 6px 16px; padding: 20px 0; }
  .led-row b, .led-row p, .led-row i { grid-column: 2; }
  .led-row i { text-align: left; }
  .deck-bar { gap: 12px; margin-top: 20px; }
  .deck-btn { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js [data-stagger] > * { opacity: 1; transform: none; }
  /* The connector still has to arrive at its full length, just without the draw. */
  .flow-line i { width: 100%; }
  /* The ambient field stays, because a still gradient wash is not motion.
     product-system.js loads it paused on one frame rather than looping. */
  .deck-track { scroll-behavior: auto; }
}
