/* nrcadams.com. Its own mark and type (a library, not a government site), with Nuclearn's forest green and lime.
   Fonts self-hosted from /fonts: latin subsets of the Google Fonts variable files (Inter 400-700, Source Serif 4
   500-600 with its optical sizes, JetBrains Mono 400-500), each SIL OFL 1.1 with its licence beside it. */
@font-face { font-family: "Inter"; src: url("/fonts/inter.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; 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"; src: url("/fonts/source-serif-4.woff2") format("woff2"); font-weight: 500 600; font-style: normal; font-display: swap; 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: "JetBrains Mono"; src: url("/fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; 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; }
:root {
  --paper: #fbfaf6;
  --paper-2: #f3f1e9;
  --card: #fff;
  --ink: #0f1d15;
  --ink-2: #34433a;
  --ink-3: #5c6b62;
  --line: #e4e1d7;
  --line-2: #d4d0c3;
  --forest: #123d23;
  --forest-deep: #0b2a17;
  --leaf: #1d7440;
  --mint: #e6f3e9;
  --lime: #c3f73a;
  --hl: #e8f8c1;
  --serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 29, 21, .06), 0 12px 32px -12px rgba(15, 29, 21, .22);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink-2);
  font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--leaf); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--forest); }
h1, h2, h3 { color: var(--ink); margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em; text-wrap: balance; }
h3 { font: 600 19px/1.35 var(--sans); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
[hidden] { display: none !important; }
section { scroll-margin-top: 84px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; border-radius: 4px; }
.sr-only { 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: absolute; left: 16px; top: -60px; z-index: 50; background: var(--forest); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.wrap.narrow { max-width: 860px; }
.hero-grid > *, .split-head > *, .feature > *, .facts-row > *, .jobs > *, .join-grid > *, .foot-top > *, .facts-list > * { min-width: 0; }

/* Header */
.head { position: sticky; top: 0; z-index: 30; background: rgba(251, 250, 246, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.head.scrolled { border-bottom-color: var(--line); }
.head-row { display: flex; align-items: center; gap: 14px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand .mark { width: 26px; height: 30px; flex: none; background: url("/img/mark.svg") center / contain no-repeat; }
.brand .word { font: 600 22px/1 var(--serif); letter-spacing: -0.01em; }
.brand .word span { color: var(--ink-3); font-weight: 500; }
.by { font-size: 13px; color: var(--ink-3); text-decoration: none; padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; }
.by:hover { color: var(--forest); border-color: var(--line-2); }
.nav { margin-left: auto; display: flex; gap: 26px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--forest); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 10px; border: 1px solid var(--forest); background: var(--forest); color: #fff; font: 600 16px/1 var(--sans);
  text-decoration: none; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s;
}
.btn:hover { background: var(--forest-deep); color: #fff; box-shadow: 0 6px 18px -8px rgba(18, 61, 35, .6); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn-quiet { background: transparent; color: var(--forest); border-color: var(--line-2); }
.btn-quiet:hover { background: var(--card); color: var(--forest); border-color: var(--forest); box-shadow: none; }
.btn-small { min-height: 38px; padding: 0 15px; font-size: 14px; border-radius: 9px; }

/* Hero */
.hero { padding: 64px 0 88px; background: radial-gradient(1100px 520px at 78% 18%, rgba(195, 247, 58, .14), transparent 60%), radial-gradient(900px 600px at 95% 70%, rgba(29, 116, 64, .08), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.22fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 4.3vw, 60px); line-height: 1.06; }
.hero-sub { font-size: 18.5px; line-height: 1.62; color: var(--ink-2); margin: 24px 0 30px; max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.affil { margin: 22px 0 0; font-size: 14px; color: var(--ink-2); padding: 10px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; display: inline-block; }
.hero-fig { margin: 0; width: 100%; }
.hero-fig .stack { position: relative; padding-bottom: 11%; }
.shot { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hero-fig .main-shot { margin-right: 11%; }
.hero-fig .inset { position: absolute; right: 0; bottom: 0; width: 35%; border-radius: 10px; box-shadow: 0 2px 4px rgba(15, 29, 21, .08), 0 24px 48px -16px rgba(15, 29, 21, .45); }
.hero-fig figcaption { margin: 16px 0 0; font-size: 14px; line-height: 1.55; color: var(--ink-3); }

/* Chat */
.chat { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 50px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.chat-title { display: flex; align-items: center; gap: 9px; font: 600 15px/1.2 var(--sans); color: var(--ink); }
.chat-title::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); }
.chat-new { border: 0; background: none; padding: 6px 0; color: var(--leaf); font: 500 14px/1.2 var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.chat-log { display: flex; flex-direction: column; gap: 14px; min-height: 280px; max-height: 520px; padding: 18px; overflow-y: auto; overscroll-behavior: contain; position: relative; }
.chat-start p { margin: 0 0 4px; font-size: 15px; color: var(--ink-3); }
.chat-try { display: block; width: 100%; margin-top: 8px; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--paper); color: var(--ink); font: 500 15px/1.45 var(--sans); text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.chat-try:hover { border-color: var(--leaf); background: var(--mint); }
.chat-q { align-self: flex-end; max-width: 86%; padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: var(--forest); color: #fff; font-size: 15.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-a { font-size: 15.5px; line-height: 1.62; color: var(--ink-2); overflow-wrap: anywhere; }
.chat-a p, .chat-a ul, .chat-a ol { margin: 0 0 10px; }
.chat-a ul, .chat-a ol:not(.chat-cites) { padding-left: 20px; }
.chat-a a.mark { padding: 0 1px; font: 600 12.5px/1 var(--mono); color: var(--leaf); text-decoration: none; }
.chat-a a.mark:hover { text-decoration: underline; }
.chat-wait { color: var(--ink-3); }
.chat-wait::after { content: "..."; display: inline-block; width: 1.2em; overflow: hidden; white-space: nowrap; vertical-align: bottom; animation: chat-dots 1.2s steps(4, end) infinite; }
@keyframes chat-dots { from { width: 0; } to { width: 1.2em; } }
.chat-cites { list-style: none; display: grid; gap: 7px; margin: 4px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.45; }
.chat-cites a { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; color: var(--ink-2); text-decoration: none; }
.chat-cites a:hover .c-t { color: var(--leaf); text-decoration: underline; }
.chat-cites .c-n { font: 600 12px/1.65 var(--mono); color: var(--leaf); }
.chat-cites .c-ref { font: 500 12px/1 var(--mono); color: var(--leaf); white-space: nowrap; }
.chat .form-status { margin: 0; padding: 0 18px 10px; min-height: 0; }
.chat .form-status:empty { display: none; }
.chat .form-status.quiet { color: var(--ink-3); }
.chat-row { display: flex; flex-wrap: wrap; align-items: flex-end; column-gap: 10px; padding: 12px 14px; border-top: 1px solid var(--line); }
.chat-row textarea { flex: 1; min-width: 0; height: 44px; max-height: 140px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--paper); color: var(--ink); font: 400 16px/1.4 var(--sans); resize: none; }
.chat-row textarea:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(29, 116, 64, .15); background: #fff; }
.chat-send { display: contents; }
.chat-send .cf-turnstile { order: 3; flex-basis: 100%; }
.chat-send .btn { min-height: 44px; }
.chat-send .btn[disabled] { cursor: default; }
.chat-note { margin: 0; padding: 0 18px 14px; font-size: 13px; line-height: 1.5; color: var(--ink-3); }

/* Facts strip */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 30px 28px 30px 0; display: grid; gap: 6px; }
.fact + .fact { padding-left: 28px; border-left: 1px solid var(--line); }
.fact b { font: 600 clamp(32px, 3.2vw, 42px)/1.05 var(--serif); color: var(--ink); letter-spacing: -0.01em; }
.fact span { font-size: 15px; color: var(--ink-3); line-height: 1.5; }

/* Sections */
.sec { padding: 104px 0; }
.sec.tint { background: var(--paper-2); }
.sec-head { max-width: 780px; margin-bottom: 44px; }
.sec-head h2, .feature-copy h2 { font-size: clamp(32px, 3.3vw, 44px); line-height: 1.1; }
.sec-head p { font-size: 18.5px; margin-top: 18px; }

/* Who it's for */
.jobs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.jobs li { border-top: 1px solid var(--line-2); padding: 22px 0 30px; }
.jobs .who { display: block; font: 600 15px/1.4 var(--sans); color: var(--forest); margin-bottom: 8px; }
.jobs p { font-size: 16.5px; }

/* Features */
.feature { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
.feature.flip { grid-template-columns: 1.25fr 1fr; }
.feature.flip .feature-copy { order: 2; }
.feature-copy h2 { margin-bottom: 22px; }
.feature-copy p { font-size: 17.5px; }
.feature-fig { margin: 0; }
.feature-fig figcaption { margin-top: 14px; font-size: 14px; color: var(--ink-3); }
.shot.tall { max-height: 640px; position: relative; }
.shot.tall::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); pointer-events: none; }
.split-head { display: grid; grid-template-columns: .9fr 1.2fr; gap: 56px; align-items: start; margin-bottom: 44px; }
.split-head h2 { font-size: clamp(32px, 3.3vw, 44px); line-height: 1.1; }
.split-head p { font-size: 17.5px; }
.wide-fig { margin: 0; }
.wide-fig .shot { max-width: 1136px; }
.doc-fig { max-width: 1000px; }
.prec-fig { margin-top: 56px; max-width: 1080px; }
.doc-fig .doc-page { margin: 16px 0 0 9%; }
.wide-fig figcaption { margin-top: 14px; font-size: 14px; color: var(--ink-3); }

/* One licensing action, in order */
.thread { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 26px 22px; }
.thread-title { font: 600 16px/1.4 var(--sans); color: var(--ink); margin-bottom: 16px; }
.thread ol { list-style: none; margin: 0; padding: 0; position: relative; }
.thread ol::before { content: ""; position: absolute; left: 96px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.thread li { display: grid; grid-template-columns: 86px 70px 1fr; column-gap: 20px; align-items: baseline; padding: 6px 0; position: relative; font-size: 14.5px; }
.thread li::before { content: ""; position: absolute; left: 92px; top: 13px; width: 10px; height: 10px; border-radius: 50%; background: var(--card); border: 2px solid var(--leaf); }
.thread li:last-child::before { background: var(--leaf); }
.thread time { font: 500 12.5px/1.4 var(--mono); color: var(--ink-3); white-space: nowrap; }
.thread .t-who { font-size: 12.5px; font-weight: 600; color: var(--ink-3); padding-left: 12px; }
.thread .t-doc { color: var(--ink); text-decoration: none; display: flex; flex-wrap: wrap; column-gap: 10px; }
.thread .t-doc:hover { color: var(--leaf); text-decoration: underline; }
.thread .t-ref { font: 500 12px/1.6 var(--mono); color: var(--leaf); }
.thread-note { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); }

/* Part 21 search */
.sec.dark { background: var(--forest-deep); color: #d4e3d8; }
.dark h2 { color: #fff; }
.dark .sec-head p { color: #c7d8cc; }
.dark a { color: var(--lime); }
.explorer { background: #0f3520; border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; padding: 24px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }
.ex-top { display: flex; gap: 12px; }
.ex-search { flex: 1; position: relative; display: block; }
.ex-search svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: #8fb39b; pointer-events: none; }
.ex-search input, .ex-year select {
  width: 100%; height: 54px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); background: #0a2715; color: #fff;
  font: 400 17px var(--sans); padding: 0 16px 0 46px; -webkit-appearance: none; appearance: none;
}
.ex-year select { padding: 0 38px 0 16px; width: 170px; background-image: linear-gradient(45deg, transparent 50%, #8fb39b 50%), linear-gradient(135deg, #8fb39b 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.ex-search input::placeholder { color: #86a891; }
.ex-search input:focus, .ex-year select:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(195, 247, 58, .22); }
.ex-chart { position: relative; display: flex; align-items: flex-end; gap: 2px; height: 84px; margin: 22px 0 26px; padding-bottom: 20px; }
.ex-chart button { flex: 1; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: flex-end; }
.ex-chart button span { display: block; width: 100%; height: var(--h); background: rgba(195, 247, 58, .35); border-radius: 2px 2px 0 0; transition: background .15s; }
.ex-chart button:hover span { background: rgba(195, 247, 58, .7); }
.ex-chart button.on span { background: var(--lime); }
.ex-axis { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; font: 500 11.5px var(--mono); color: #86a891; }
.ex-count { font-size: 15px; color: #c7d8cc; margin: 0 0 10px; }
.ex-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.ex-list li { display: grid; grid-template-columns: 150px 1fr auto; gap: 18px; align-items: start; padding: 15px 2px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.r-meta { display: grid; gap: 2px; font: 500 12.5px/1.5 var(--mono); color: #93b39e; }
.r-meta time { color: #e6efe8; }
.r-body b { display: block; color: #fff; font-weight: 600; font-size: 15.5px; margin-bottom: 2px; }
.r-body p { margin: 0; font-size: 15px; line-height: 1.5; color: #c7d8cc; overflow-wrap: anywhere; }
.r-link { white-space: nowrap; font: 500 13px/1.4 var(--mono); padding: 6px 10px; border: 1px solid rgba(195, 247, 58, .35); border-radius: 8px; text-decoration: none; }
.r-link:hover { background: rgba(195, 247, 58, .12); color: var(--lime); }
.ex-list mark { background: rgba(195, 247, 58, .28); color: #fff; border-radius: 3px; padding: 0 1px; }
.ex-foot { display: grid; justify-items: start; gap: 16px; margin-top: 18px; }
.ex-foot p { font-size: 14px; color: #a9c2b1; margin: 0; max-width: 70ch; }
.dark .btn-quiet { color: #fff; border-color: rgba(255, 255, 255, .28); }
.dark .btn-quiet:hover { background: rgba(255, 255, 255, .08); border-color: var(--lime); color: #fff; }
.ex-noscript { margin-top: 14px; }

/* Trust */
.facts-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin: 0; }
.facts-list > div { border-top: 1px solid var(--line-2); padding: 20px 0 26px; }
.facts-list dt { font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.facts-list dd { margin: 0; font-size: 16.5px; }

/* FAQ */
.faq details { border-top: 1px solid var(--line-2); }
.faq details:last-child { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 600 19px/1.4 var(--sans); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--leaf); border-bottom: 2px solid var(--leaf); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 40px 24px 0; font-size: 17px; }

/* Early access */
.join { background: var(--forest-deep); color: #d4e3d8; }
.join-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; }
.join h2 { color: #fff; font-size: clamp(34px, 3.6vw, 48px); line-height: 1.08; margin-bottom: 20px; }
.join-copy p { font-size: 18px; color: #c7d8cc; }
.join-copy .join-small { font-size: 15.5px; color: #a9c2b1; margin-top: 20px; }
.form-card { background: var(--card); color: var(--ink-2); border-radius: 18px; padding: 28px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.form-card form { display: grid; gap: 14px; }
.form-card .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-card label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.form-card input, .form-card select, .form-card textarea {
  width: 100%; font: 400 16px/1.4 var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--line-2);
  border-radius: 10px; padding: 12px 13px; min-height: 48px;
}
.form-card select { -webkit-appearance: none; appearance: none; padding-right: 34px; background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.form-card textarea { resize: vertical; min-height: 92px; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(29, 116, 64, .15); background: #fff; }
.form-card [aria-invalid="true"] { border-color: #b4321f; }
.form-card .btn { width: 100%; margin-top: 4px; }
.form-card .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.4em; margin: 0; font-size: 14.5px; color: #8a2a17; }
.form-done h3 { font: 600 26px/1.2 var(--serif); margin-bottom: 8px; }
.form-fallback { margin: 16px 0 0; font-size: 14px; color: var(--ink-3); }

/* Footer */
.foot { background: var(--paper); border-top: 1px solid var(--line); padding: 56px 0 48px; font-size: 14.5px; }
.foot-top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; }
.foot-legal { margin: 16px 0 0; max-width: 46ch; color: var(--ink-3); }
.foot-links { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 40px; align-content: start; justify-content: end; }
.foot-links a { color: var(--ink-2); text-decoration: none; }
.foot-links a:hover { color: var(--forest); text-decoration: underline; }

/* Reveal on scroll (only when the script runs) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .chat-wait::after { animation: none; }
}

/* Tablet */
@media (max-width: 1080px) {
  .hero-grid, .feature, .feature.flip, .join-grid, .split-head { grid-template-columns: 1fr; gap: 44px; }
  .split-head { gap: 20px; }
  .feature.flip .feature-copy { order: 0; }
  .hero-fig { max-width: 760px; margin: 0; }
  .jobs { grid-template-columns: 1fr 1fr; }
  .facts-row { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(odd) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .nav { display: none; }
}

/* Phones */
@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 16px; }
  .head-row { height: 60px; gap: 10px; }
  .brand .word { font-size: 19px; }
  .brand .mark { width: 22px; height: 26px; }
  .by { display: none; }
  .hero { padding: 36px 0 64px; }
  .hero-sub { font-size: 18px; margin: 18px 0 24px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-fig .stack { padding-bottom: 0; }
  .hero-fig .main-shot { margin-right: 0; }
  .hero-fig .inset { position: relative; width: 62%; margin: -40px 3% 0 auto; }
  .hero-fig figcaption { margin: 14px 0 0; }
  .facts-row { grid-template-columns: 1fr; }
  .fact { padding: 20px 0; }
  .fact + .fact { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .sec { padding: 72px 0; }
  .sec-head { margin-bottom: 30px; }
  .sec-head p { font-size: 17px; }
  .jobs, .facts-list, .form-card .row, .foot-top { grid-template-columns: 1fr; }
  .chat-log { min-height: 240px; max-height: 460px; padding: 14px; }
  .chat-q { max-width: 92%; }
  .doc-fig .doc-page { margin: 12px 0 0; }
  .thread { padding: 20px 16px; }
  .thread ol::before { left: 6px; }
  .thread li { grid-template-columns: 1fr; padding: 8px 0 8px 26px; row-gap: 2px; }
  .thread li::before { left: 2px; top: 14px; }
  .thread .t-who { padding-left: 0; }
  .explorer { padding: 16px; border-radius: 14px; }
  .ex-top { flex-direction: column; }
  .ex-year select { width: 100%; }
  .ex-chart { height: 64px; margin: 16px 0 20px; }
  .ex-list li { grid-template-columns: 1fr; gap: 6px; }
  .r-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; }
  .r-link { justify-self: start; }
  .form-card { padding: 20px; }
  .foot-links { justify-content: start; }
  .faq summary { font-size: 17.5px; }
}
