/* Self-hosted fonts (SIL Open Font License 1.1 - see fonts/) */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/dm-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/dm-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/space-grotesk-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/space-grotesk-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(fonts/source-serif-4-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(fonts/source-serif-4-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Color */
  --forest-950: #062b1e;
  --forest-900: #0a3a29;
  --forest-800: #0f5239;
  --forest-700: #14714b;
  --green-700: #1f8f55;
  --green-500: #37c878;
  --green-400: #72e09e;
  --green-100: #dff8e8;
  --green-50: #f3fcf6;
  --ink: #12362a;
  --ink-soft: #547066;
  --ink-faint: #566c62; /* at least 5:1 on every light surface */
  --line: #d9ebe0;
  --line-strong: #c0dccb;
  --surface: #ffffff;
  --surface-soft: #f7fbf8;
  /* Document surfaces: a faintly warm paper, against the cool white used for data */
  --paper: #fbfbf7;
  --icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5' fill='none' stroke='%231f8f55' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

  /* Type scale */
  --fs-caption: 13px;
  --fs-small: 14px;
  --fs-body: 16px;
  --fs-lead: 18px;
  --fs-h3: 19px;
  --fs-h2: clamp(1.75rem, 3vw, 2.5rem);
  --fs-h1: clamp(2.25rem, 4.2vw, 3.4rem);
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  /* Words a filing says are set in the document serif; everything FilingsMap produces stays in sans */
  --font-document: "Source Serif 4", Georgia, "Times New Roman", serif;

  /* Layout */
  --gutter: clamp(24px, 6vw, 82px);
  --section-y: clamp(72px, 8vw, 108px);
  --header-h: 74px;

  /* Shape and depth */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-soft: 0 1px 2px rgba(4, 38, 26, .05), 0 10px 28px -14px rgba(4, 38, 26, .14);
  --shadow-float: 0 1px 2px rgba(4, 38, 26, .06), 0 18px 36px -18px rgba(4, 38, 26, .28);
  --ease: cubic-bezier(.22, .7, .24, 1);
}

* { box-sizing: border-box; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--surface-soft);
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--fs-body);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { border: 0; cursor: pointer; }

:focus-visible { outline: 3px solid var(--green-500); outline-offset: 3px; }

h1, h2, h3, p, figure { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.035em; text-wrap: balance; }
p { text-wrap: pretty; }
main section[id] { scroll-margin-top: var(--header-h); }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 14px; border-radius: var(--radius-sm); color: var(--forest-950); background: #fff; transform: translateY(-180%); }
.skip-link:focus { box-shadow: var(--shadow-float); transform: translateY(0); }

/* Shell */
.site-shell { width: 100%; max-width: 1200px; margin: 0 auto; overflow: clip; border-right: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--surface); }
.section-grid { padding-right: var(--gutter); padding-left: var(--gutter); }

.site-header { position: sticky; top: 0; z-index: 40; display: flex; justify-content: space-between; align-items: center; min-height: var(--header-h); padding: 0 var(--gutter); border-bottom: 1px solid transparent; background: rgba(255, 255, 255, .92); backdrop-filter: blur(16px); transition: border-color .25s var(--ease); }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 9px; width: fit-content; color: var(--ink); font: 700 16px/1 var(--font-display); letter-spacing: -.02em; }
.brand-mark { display: inline-flex; width: auto; height: 22px; }
.brand-mark img { display: block; width: auto; height: 100%; }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 9px; }

/* Buttons: text on the brand green is always dark ink, for contrast */
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--radius-sm); font-size: 15px; font-weight: 700; line-height: 1; transition: color .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease), transform .1s var(--ease); }
.button:active { transform: translateY(1px); }
.button-small { min-height: 38px; padding: 0 16px; font-size: var(--fs-caption); }
.button-primary { color: var(--forest-950); background: var(--green-500); }
.button-primary:hover { background: var(--green-400); }
.button-dark { color: #fff; background: var(--forest-900); }
.button-dark:hover { background: var(--forest-800); }
.button-ghost { color: var(--ink); background: #fff; border-color: var(--line-strong); }
.button-ghost:hover { border-color: var(--green-500); background: var(--green-50); }
.button-soft { color: var(--forest-900); background: var(--green-50); border-color: var(--line); }
.button-soft:hover { border-color: var(--green-400); background: var(--green-100); }
.button-light { color: var(--forest-950); background: #fff; }
.button-light:hover { background: var(--green-50); }
.full-width { width: 100%; }

/* Section headings, shared by every section */
.section-heading, .pricing-heading { max-width: 780px; margin: 0 auto 52px; text-align: center; }
.section-heading h2, .pricing-heading h2, .impact-copy h2, .cta-content h2 { margin-bottom: 16px; font-size: var(--fs-h2); font-weight: 500; line-height: 1.12; }
.section-heading.is-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; max-width: none; text-align: left; }
.section-heading.is-split h2 { margin: 0; }
.section-heading.is-split p { margin: 0; }
.section-heading p, .pricing-heading p, .impact-copy p { max-width: 540px; margin: 0 auto; color: var(--ink-soft); font-size: var(--fs-lead); line-height: 1.6; }

/* Hero */
.hero { position: relative; padding-top: clamp(84px, 10vw, 128px); padding-bottom: clamp(32px, 4vw, 48px); text-align: center; background: linear-gradient(0deg, var(--surface-soft) 0 260px, var(--line) 260px 261px, #fff 261px); }
.hero h1 span { color: var(--green-700); }
.hero-globe { position: absolute; top: clamp(8px, 3vw, 36px); left: 50%; width: min(760px, 135vw); aspect-ratio: 1; pointer-events: none; transform: translateX(-50%); mask-image: linear-gradient(180deg, #000 35%, transparent 82%), radial-gradient(ellipse 52% 26% at 50% 31%, rgba(0, 0, 0, .12) 0%, rgba(0, 0, 0, .12) 55%, #000 100%); mask-composite: intersect; }
.hero-globe svg { display: block; width: 100%; height: 100%; overflow: visible; }
.hero-globe.is-live .globe-meridian { animation: none; }
.globe-line { fill: none; stroke: #e0f2e7; stroke-width: 1; vector-effect: non-scaling-stroke; }
.globe-outline { stroke: #a8d9ba; }
.globe-meridian { stroke: #b2dec2; stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: globe-turn 24s infinite; }
.globe-ping { opacity: 0; animation: globe-ping 6.5s ease-out infinite; }
.globe-ping-dot { fill: var(--green-500); }
.globe-ping-ring { fill: none; stroke: var(--green-500); stroke-width: 1; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; animation: globe-ring 6.5s ease-out infinite; animation-delay: inherit; }
/* Pausable via the hero's "Pause animation" button (WCAG 2.2.2). Without JavaScript there
   is no button, so the looping animations don't run at all. */
.hero-globe.is-paused .globe-meridian, .hero-globe.is-paused .globe-ping, .hero-globe.is-paused .globe-ping-ring { animation-play-state: paused; }
html:not(.js) .globe-meridian, html:not(.js) .globe-ping, html:not(.js) .globe-ping-ring { animation: none; }
/* A small media-style control above the preview's top-right corner. */
.motion-toggle { position: absolute; right: 0; bottom: calc(100% + 10px); z-index: 2; display: grid; width: 28px; height: 28px; place-items: center; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--ink-faint); background: rgba(255, 255, 255, .8); cursor: pointer; transition: color .15s ease, border-color .15s ease; }
.motion-toggle:hover { color: var(--ink); border-color: var(--green-500); }
.motion-toggle[hidden] { display: none; }
.motion-toggle svg { width: 12px; height: 12px; fill: currentColor; }
.motion-toggle .icon-play, .motion-toggle.is-paused .icon-pause { display: none; }
.motion-toggle.is-paused .icon-play { display: block; }
@keyframes globe-turn { 0% { transform: scaleX(1); animation-timing-function: ease-in; } 50% { transform: scaleX(0); animation-timing-function: ease-out; } 100% { transform: scaleX(1); } }
@keyframes globe-ping { 0% { opacity: 0; } 12% { opacity: .85; } 55% { opacity: .55; } 100% { opacity: 0; } }
@keyframes globe-ring { 0% { transform: scale(1); opacity: .8; } 60%, 100% { transform: scale(4.5); opacity: 0; } }
.hero-copy { position: relative; z-index: 1; max-width: 980px; margin: 0 auto; }
h1 { margin: 0 auto 22px; color: var(--ink); font-size: var(--fs-h1); font-weight: 500; line-height: 1.06; }
.hero-description { max-width: 600px; margin: 0 auto; color: var(--ink-soft); font-size: var(--fs-lead); line-height: 1.6; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 32px 0 60px; }

/* Product preview (a static mock; sizes are scaled to read as a screenshot) */
.dashboard-stage { position: relative; max-width: 960px; margin: 0 auto; }
.dashboard-window { position: relative; z-index: 1; overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-soft); color: var(--ink); text-align: left; }
.window-bar { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 12px 18px; border-bottom: 1px solid var(--line); background: var(--surface-soft); }
.window-brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; padding-right: 14px; border-right: 1px solid var(--line); font: 700 12px/1 var(--font-display); }
.mini-mark { display: inline-grid; width: 18px; height: 18px; place-items: center; border-radius: 5px; color: var(--forest-950); background: var(--green-500); font-size: 11px; }
.window-path { min-width: 0; overflow: hidden; color: var(--ink-faint); font-size: 11px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.window-path i { margin: 0 5px; font-style: normal; }
.window-path strong { color: var(--ink); }
.window-bar .sample-tag { flex: 0 0 auto; margin-left: auto; }
.sample-tag { display: inline-block; padding: 3px 8px; border: 1px solid var(--line); border-radius: 99px; color: var(--forest-700); background: #fff; font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.window-body { padding: 18px; }
.trace-row { display: grid; grid-template-columns: minmax(0, 1.3fr) auto minmax(0, 1fr); gap: 12px; }
.trace-pane { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.doc-pane { background: var(--paper); }
.record-pane { border-color: var(--green-400); background: #fff; }
.pane-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; color: var(--ink-faint); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.lang-tag { padding: 3px 7px; border-radius: 99px; color: var(--forest-700); background: var(--green-100); letter-spacing: .04em; }
.doc-meta strong, .doc-meta span { display: block; }
.doc-meta strong { font: 700 13px/1.2 var(--font-display); }
.doc-meta span { margin-top: 3px; color: var(--ink-faint); font-size: 10px; }
.doc-text { margin: 12px 0 0; color: var(--ink-soft); font: 12px/1.65 var(--font-document); }
.doc-hit { padding: 1px 0; color: var(--ink); background: var(--green-100); }
.doc-hit b { padding: 0 2px; white-space: nowrap; border-radius: 2px; background: rgba(55, 200, 120, .38); }
.doc-translation { margin: 12px 0 0; padding-top: 10px; border-top: 1px dashed var(--line-strong); color: var(--ink-faint); font-size: 10px; line-height: 1.55; }
.doc-translation span { display: block; margin-bottom: 3px; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.trace-arrow { display: grid; width: 26px; height: 26px; align-self: center; place-items: center; border-radius: 50%; color: var(--forest-950); background: var(--green-500); }
.trace-arrow svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.trace-link { position: absolute; inset: 0; z-index: 2; display: none; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.trace-link-path { fill: none; stroke: var(--green-500); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 0; }
.trace-node { fill: #fff; stroke: var(--green-500); stroke-width: 1.5; }
.trace-node-value { fill: var(--green-500); }
.trace-row.is-linked .trace-link { display: block; }
.trace-row.is-linked .trace-arrow { visibility: hidden; }
.trace-row { position: relative; }
.record-name { display: block; color: var(--ink-soft); font-size: 11px; font-weight: 600; }
.record-value { display: block; margin: 6px 0 12px; font: 700 30px/1 var(--font-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.record-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; margin: 0 0 12px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.record-fields dt { color: var(--ink-faint); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.record-fields dd { margin: 3px 0 0; font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; }
.record-hash { color: var(--ink-soft); letter-spacing: .04em; }
.record-checks { display: grid; gap: 7px; margin: 0; padding: 0; color: var(--ink-soft); font-size: 11px; list-style: none; }
.record-checks li { display: flex; align-items: center; gap: 7px; }
.record-checks li::before { width: 14px; height: 14px; flex: 0 0 auto; border-radius: 50%; background: var(--green-100) var(--icon-check) center / 10px no-repeat; content: ""; }
.chart-card { margin-top: 12px; padding: 14px 14px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.chart-header { display: flex; align-items: flex-start; justify-content: space-between; }
.chart-header strong, .chart-header span { display: block; }
.chart-header strong { font: 700 12px/1 var(--font-display); }
.chart-header span:not(.chart-legend) { margin-top: 4px; color: var(--ink-faint); font-size: 10px; }
.chart-legend { display: flex !important; align-items: center; gap: 5px; color: var(--ink-faint); font-size: 10px; }
.chart-legend i { width: 6px; height: 6px; border-radius: 50%; background: var(--green-500); }
.chart-legend .legend-selected { width: 8px; height: 8px; margin-left: 8px; background: var(--forest-800); box-shadow: 0 0 0 2px var(--green-100); }
.chart-area { position: relative; display: flex; height: 140px; margin-top: 12px; }
.chart-y-labels { display: flex; width: 32px; flex-direction: column; justify-content: space-between; padding: 2px 0 0; color: var(--ink-faint); font-size: 9px; line-height: 1; font-variant-numeric: tabular-nums; }
.chart-plot { position: relative; flex: 1; min-width: 0; height: 100%; }
.performance-chart { display: block; width: 100%; height: 100%; overflow: visible; }
.chart-grid path { stroke: #e6f1e9; stroke-width: 1; stroke-dasharray: 2 4; vector-effect: non-scaling-stroke; }
.chart-area-fill { fill: url(#chartFill); }
.chart-line { fill: none; stroke: var(--green-500); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.chart-dot, .chart-point { position: absolute; padding: 0; border-radius: 50%; font: inherit; cursor: default; appearance: none; transform: translate(-50%, -50%); }
.chart-dot { width: 8px; height: 8px; border: 2px solid var(--green-500); background: #fff; transition: background-color .15s ease; }
.chart-dot::after, .chart-point::after { position: absolute; inset: -9px; border-radius: 50%; content: ""; }
.chart-dot.is-active { background: var(--green-500); }
.chart-point { width: 10px; height: 10px; border: 2px solid #fff; background: var(--forest-800); box-shadow: 0 0 0 4px rgba(55, 200, 120, .25); }
.chart-tip { position: absolute; right: 12px; z-index: 2; padding: 6px 9px; border-radius: 6px; color: #fff; background: var(--forest-900); font-size: 10px; white-space: nowrap; pointer-events: none; transform: translateY(calc(-100% - 10px)); font-variant-numeric: tabular-nums; }
.chart-tip strong, .chart-tip span { display: block; }
.chart-tip strong { font-weight: 700; }
.chart-tip span { margin-top: 2px; color: rgba(255, 255, 255, .72); font-size: 9px; }
.chart-x-labels { position: relative; height: 11px; margin: 6px 0 0 32px; color: var(--ink-faint); font-size: 9px; }
.chart-x-labels span { position: absolute; top: 0; }

/* Guarantees */
.feature-section { padding-top: var(--section-y); padding-bottom: var(--section-y); background: var(--surface-soft); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-soft); }
.feature-card { min-width: 0; border-right: 1px solid var(--line); }
.feature-card:last-child { border-right: 0; }
.feature-visual { position: relative; display: grid; height: 210px; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line); background: linear-gradient(160deg, #fbfefc, #f0faf3); }
.feature-visual::before { position: absolute; inset: 0; opacity: .4; background-image: radial-gradient(#bde9ca 0.9px, transparent .9px); background-size: 11px 11px; content: ""; mask-image: linear-gradient(180deg, #000, transparent 95%); }
.feature-content { padding: 24px 24px 28px; }
.feature-content h3 { margin-bottom: 8px; font-size: var(--fs-h3); font-weight: 600; line-height: 1.25; letter-spacing: -.03em; }
.feature-content p { margin: 0; color: var(--ink-soft); font-size: var(--fs-small); line-height: 1.55; }

/* Citation rail: hollow node = a source, filled node = a verified value */
.cite-rail { position: relative; z-index: 1; display: grid; width: min(220px, 84%); gap: 9px; padding-left: 22px; }
.cite-rail::before { position: absolute; top: 12px; bottom: 12px; left: 5px; width: 1px; background: var(--green-400); content: ""; }
.cite-step { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 36px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
.cite-step::before { position: absolute; top: 50%; left: -22px; width: 11px; height: 11px; box-sizing: border-box; border: 1.5px solid var(--green-500); border-radius: 50%; background: #fff; content: ""; transform: translateY(-50%); }
.cite-step.is-value, .cite-step.is-focus { border-color: var(--green-400); background: #fff; box-shadow: var(--shadow-soft); }
.cite-step.is-held { border-style: dashed; border-color: var(--line-strong); background: transparent; }
.cite-step.is-held::before { border-style: dashed; border-color: var(--ink-faint); }
.cite-held { color: var(--ink-faint); font-size: 11px; line-height: 1.35; }
.cite-held strong { display: block; margin-bottom: 2px; color: var(--ink); font: 600 12px/1.2 var(--font-display); }
.cite-step.is-value::before { background: var(--green-500); }
.cite-quote { color: var(--ink-soft); font: 13px/1.35 var(--font-document); quotes: none; }
.cite-quote mark { padding: 0 2px; white-space: nowrap; border-radius: 2px; color: var(--ink); background: var(--green-100); }
.cite-ref { flex: 0 0 auto; color: var(--ink-faint); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.cite-crumb { color: var(--forest-700); font: 600 12px/1.2 var(--font-display); }
.cite-value { font: 700 16px/1 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.visual-path .cite-step:first-child { opacity: .9; }
.visual-path .cite-step:nth-child(2) { opacity: .95; }
.visual-scale svg { position: relative; z-index: 1; width: min(84%, 240px); height: auto; overflow: visible; }
.scale-base { stroke: var(--line-strong); stroke-width: 1; }
.scale-coverage { fill: none; stroke: var(--green-500); stroke-width: 2.5; stroke-linejoin: round; }
.scale-nodes circle { fill: #fff; stroke: var(--green-500); stroke-width: 1.5; }
.scale-nodes .is-latest { fill: var(--green-500); }
.scale-label { fill: var(--forest-700); font: 600 10px var(--font-display); }
.scale-label.is-cost { fill: var(--ink-soft); }
.scale-cost { fill: none; stroke: var(--forest-800); stroke-width: 1.5; stroke-dasharray: 4 4; }

/* Source excerpts: a full-width band */
.feature-section { padding-bottom: calc(var(--section-y) * .8); }
.source-band { padding-bottom: var(--section-y); background: var(--surface-soft); }
.band-heading { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px 64px; align-items: end; }
.band-heading h2 { margin: 0; font-size: clamp(1.4rem, 2.2vw, 1.85rem); font-weight: 500; line-height: 1.15; }
.band-heading p { margin: 0; color: var(--ink-soft); font-size: var(--fs-small); line-height: 1.55; }
.band-track { display: flex; gap: 16px; margin: 36px 0 0; padding: 6px var(--gutter) 12px; overflow-x: auto; list-style: none; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; background: linear-gradient(var(--green-400), var(--green-400)) 0 6px / 100% 1px no-repeat local; mask-image: linear-gradient(90deg, #000 calc(100% - 72px), transparent); }
.band-track:focus-visible { outline-offset: -3px; }
.band-card { position: relative; display: flex; flex: 0 0 min(290px, 78vw); flex-direction: column; gap: 8px; min-height: 176px; padding: 22px 20px 18px; scroll-snap-align: start; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); }
.band-card::before { position: absolute; top: -6px; left: 20px; width: 11px; height: 11px; box-sizing: border-box; border: 1.5px solid var(--green-500); border-radius: 50%; background: #fff; content: ""; }
.band-card .cite-quote { margin-bottom: 8px; font-size: 16px; line-height: 1.45; }
.band-fact { margin-top: auto; color: var(--ink); font: 600 var(--fs-small)/1.2 var(--font-display); }

/* Reproducibility */
.impact-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 6vw, 88px); padding-top: var(--section-y); padding-bottom: var(--section-y); background: #fff; }
.impact-visual { position: relative; display: flex; min-height: 460px; flex-direction: column; gap: 16px; padding: clamp(24px, 3vw, 34px); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--green-50), var(--green-100)); }
.pixel-field { position: absolute; inset: 0; opacity: .5; background-image: radial-gradient(circle, var(--green-400) 1px, transparent 1.5px); background-size: 11px 11px; mask-image: linear-gradient(130deg, #fff 6%, transparent 83%); }
.pixel-field::after { position: absolute; right: 0; bottom: 0; width: 70%; height: 85%; background-image: radial-gradient(circle, var(--green-500) 1px, transparent 1.5px); background-size: 11px 11px; content: ""; mask-image: linear-gradient(135deg, transparent 15%, #000 80%); opacity: .35; }
.pixel-word { position: relative; z-index: 2; color: var(--forest-950); font: 600 clamp(1.3rem, 2.2vw, 1.75rem)/1.08 var(--font-display); letter-spacing: -.05em; }
.run-compare { position: relative; z-index: 2; display: grid; margin-top: auto; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; }
.run-card { min-width: 0; padding: 16px 16px 10px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-soft); isolation: isolate; }
.run-label { display: block; margin-bottom: 8px; color: var(--ink-faint); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.run-card dl { margin: 0; }
.run-card dl div { position: relative; display: flex; justify-content: space-between; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); font-size: var(--fs-caption); white-space: nowrap; }
.run-card dl div::before { position: absolute; inset: 0 -8px; z-index: -1; border-radius: 4px; background: var(--green-100); opacity: 0; transition: opacity .15s ease; content: ""; }
.run-card dl div.is-match::before { opacity: 1; }
.run-card dt { color: var(--ink-soft); }
.run-card dd { margin: 0; color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.run-equals { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; color: var(--forest-950); background: #fff; box-shadow: 0 0 0 1px var(--line); font: 700 18px/1 var(--font-display); }
.run-caption { position: relative; z-index: 2; margin: 0 0 auto; color: var(--forest-950); font: 600 var(--fs-small)/1.3 var(--font-display); text-align: center; }
.impact-copy { display: flex; max-width: 520px; flex-direction: column; justify-content: center; }
.impact-copy p { margin: 0; }
.hang-quote { text-indent: -.42em; }
.is-optical { margin-left: -.05em; }
.impact-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 32px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.impact-stats div { display: flex; flex-direction: column; gap: 10px; }
.impact-stats strong { color: var(--green-700); font: 700 26px/1 var(--font-display); letter-spacing: -.03em; }
.impact-stats span { color: var(--ink-soft); font-size: var(--fs-small); line-height: 1.5; }

/* Offers */
.pricing-section { padding-top: var(--section-y); padding-bottom: var(--section-y); border-top: 1px solid var(--line); background: var(--surface-soft); }
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 980px; margin: 0 auto; }
.price-card { position: relative; min-width: 0; display: flex; flex-direction: column; padding: clamp(28px, 3.5vw, 40px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.featured-price { border-color: var(--green-500); box-shadow: var(--shadow-soft); }
.popular-badge { position: absolute; top: -13px; left: clamp(28px, 3.5vw, 40px); padding: 6px 12px; border-radius: 99px; color: var(--forest-950); background: var(--green-500); font-size: var(--fs-caption); font-weight: 700; line-height: 1; }
.price-top { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.price-label { font: 700 22px/1 var(--font-display); letter-spacing: -.02em; }
.price-top p { min-height: 3em; margin: 10px 0 0; color: var(--ink-soft); font-size: var(--fs-small); line-height: 1.5; }
.price-fit { margin: 0; padding: 24px 0 4px; color: var(--ink); font: 500 20px/1.35 var(--font-display); letter-spacing: -.02em; }
.price-list { position: relative; display: grid; gap: 12px; margin: 20px 0 32px; padding: 0 0 0 22px; list-style: none; color: var(--ink-soft); font-size: var(--fs-small); line-height: 1.5; }
.price-list::before { position: absolute; top: .75em; bottom: .75em; left: 4px; width: 1px; background: var(--green-400); content: ""; }
.price-list li { position: relative; }
.price-list li::before { position: absolute; top: .42em; left: -22px; width: 9px; height: 9px; box-sizing: border-box; border: 1.5px solid var(--green-500); border-radius: 50%; background: #fff; content: ""; }
.price-card .button { margin-top: auto; }

/* Closing call to action */
.final-cta { position: relative; overflow: hidden; margin: var(--section-y) var(--gutter); padding: clamp(56px, 7vw, 88px) clamp(24px, 5vw, 64px); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); color: var(--forest-950); background: var(--green-100); }
.cta-pattern { position: absolute; inset: 0; opacity: .35; background-image: radial-gradient(circle, var(--green-400) 1px, transparent 1.5px); background-size: 10px 10px; mask-image: linear-gradient(135deg, #000 0 40%, transparent 75%); }
.cta-pattern::after { position: absolute; top: 0; right: 0; width: 52%; height: 100%; background-image: radial-gradient(circle, var(--green-500) 1px, transparent 1.5px); background-size: 10px 10px; content: ""; mask-image: linear-gradient(90deg, transparent, #000); opacity: .3; }
.cta-content { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; text-align: center; }
.cta-content h2 { color: var(--forest-950); }
.cta-content p { margin: 0 auto; color: var(--forest-900); font-size: var(--fs-lead); line-height: 1.55; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.cta-actions .button { min-width: 160px; }
.cta-content .cta-note { margin-top: 16px; font-size: var(--fs-small); }
.cta-note a { font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.final-cta :focus-visible { outline-color: var(--forest-950); }

/* Footer */
.site-footer { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px 70px; padding: 48px var(--gutter) 32px; border-top: 1px solid var(--line); background: #fff; }
.footer-brand p { max-width: 36ch; margin: 16px 0 0; color: var(--ink-soft); font-size: var(--fs-small); line-height: 1.6; }
.footer-links { display: grid; justify-items: end; text-align: right; }
.footer-links strong, .footer-links a { display: block; }
.footer-links strong { margin-bottom: 14px; font: 700 var(--fs-small)/1 var(--font-display); }
.footer-links a { margin-bottom: 10px; color: var(--ink-soft); font-size: var(--fs-small); }
.footer-links a:hover, .footer-bottom a:hover { color: var(--green-700); }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 18px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-faint); font-size: var(--fs-caption); }
.footer-bottom div { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bottom a { transition: color .2s var(--ease); }

@media (min-resolution: 2dppx) {
  .window-bar, .trace-pane, .chart-card, .record-fields, .doc-translation, .cite-step, .band-card { border-width: .5px; }
}

/* Responsive */
@media (min-width: 721px) {
  h1 span { white-space: nowrap; }
}

@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card:nth-child(2) { border-right: 0; }
  .feature-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .run-compare { grid-template-columns: 1fr; justify-items: center; }
  .run-card { width: 100%; max-width: 300px; }
}

@media (max-width: 980px) {
  .section-heading.is-split, .band-heading { grid-template-columns: 1fr; }
  .impact-section { grid-template-columns: 1fr; }
  .impact-copy { max-width: 620px; }
  .impact-visual { min-height: 0; }
  .run-compare { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .run-card { max-width: none; }
}

@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .site-shell { border: 0; }
  .site-header { padding: 0 18px; }
  .brand { font-size: 15px; }
  .hero { padding-top: 72px; }
  .hero-description, .section-heading p, .pricing-heading p, .impact-copy p, .cta-content p { font-size: var(--fs-body); }
  .hero-actions { margin-bottom: 44px; }
  .hero-actions .button { flex: 1 1 200px; }
  .window-brand { display: none; }
  .window-body { padding: 12px; }
  .trace-row { grid-template-columns: 1fr; }
  .trace-arrow { justify-self: center; transform: rotate(90deg); }
  .chart-area { height: 100px; }
  .section-heading, .pricing-heading { margin-bottom: 36px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card, .feature-card:nth-child(-n+2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-card:last-child { border-bottom: 0; }
  .feature-visual { height: 184px; }
  .run-compare { grid-template-columns: 1fr; justify-items: center; gap: 10px; }
  .impact-stats { grid-template-columns: 1fr; gap: 20px; }
  .impact-stats div { gap: 6px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 32px; }
  .final-cta { margin: 56px 18px; }
  .cta-actions .button { width: 100%; }
  .site-footer { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; }
  .footer-links { justify-items: start; text-align: left; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: no-preference) {
  .js .doc-hit { background: linear-gradient(var(--green-100), var(--green-100)) 0 0 / 0% 100% no-repeat; transition: background-size .9s var(--ease) .1s; }
  .js .doc-hit b { background-color: transparent; transition: background-color .3s ease .9s; }
  .js .trace-link-path { stroke-dashoffset: 1; transition: stroke-dashoffset .6s var(--ease) 1s; }
  .js .trace-node { opacity: 0; transition: opacity .2s ease 1s; }
  .js .trace-node-value { transition-delay: 1.5s; }
  .js .record-value { opacity: 0; transform: translateY(6px); transition: opacity .45s var(--ease) 1.5s, transform .45s var(--ease) 1.5s; }
  .js .is-traced .doc-hit { background-size: 100% 100%; }
  .js .is-traced .doc-hit b { background-color: rgba(55, 200, 120, .38); }
  .js .is-traced .trace-link-path { stroke-dashoffset: 0; }
  .js .is-traced .trace-node { opacity: 1; }
  .js .is-traced .record-value { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .globe-meridian, .globe-ping, .globe-ping-ring { animation: none !important; }
  .globe-meridian { transform: scaleX(var(--rest)); }
  .globe-ping { opacity: .6; }
  .globe-ping-ring { display: none; }
}

/* Not found */
.not-found { display: grid; min-height: calc(100vh - var(--header-h)); place-content: center; justify-items: center; gap: 0; padding-top: 72px; padding-bottom: 96px; text-align: center; }
.not-found-rail { width: min(280px, 100%); margin-bottom: 40px; text-align: left; }
.not-found h1 { margin-bottom: 14px; font-size: var(--fs-h2); }
.not-found p { max-width: 420px; margin: 0 0 32px; color: var(--ink-soft); font-size: var(--fs-lead); }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding-top: 56px; padding-bottom: var(--section-y); }
.legal-nav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 40px; }
.legal-nav a { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); font-size: var(--fs-caption); font-weight: 600; transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease); }
.legal-nav a:hover { color: var(--green-700); border-color: var(--line-strong); }
.legal-nav a[aria-current="page"] { color: var(--forest-900); border-color: var(--green-400); background: var(--green-50); }
.legal h1 { margin: 0 0 10px; font-size: var(--fs-h2); }
.legal-updated { margin-bottom: 40px; color: var(--ink-faint); font-size: var(--fs-small); }
.legal h2 { margin: 44px 0 12px; font-size: 22px; font-weight: 600; }
.legal h3 { margin: 24px 0 8px; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.legal p, .legal li { color: var(--ink-soft); line-height: 1.7; }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal strong { color: var(--ink); }
.legal p a, .legal li a { color: var(--forest-700); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal p a:hover, .legal li a:hover { color: var(--forest-800); }
.legal code { padding: 1px 5px; border-radius: 4px; background: var(--surface-soft); font-size: .9em; }
