/* Shared style for the site's plain reading pages (research, pilot, about). The home page keeps its
   own inline style. Same tokens: scan-black ground, Host Grotesk only, lime as the one action color.
   These pages follow the system light or dark setting, like the privacy notice. */
@font-face { font-family: "Host Grotesk"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("/assets/fonts/host-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: "Host Grotesk"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("/assets/fonts/host-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ground: #05080A; --raised: #0A1013;
  --line: rgba(226, 240, 236, 0.08); --line-2: rgba(226, 240, 236, 0.15);
  --text: #EAF0EE; --text-2: #A5B2B0; --muted: #7D8A88;
  --lime: #D7F25A; --lime-hi: #E6FA86; --lime-ink: #10160A; --accent-text: #D7F25A; --focus: #D7F25A; --btn-ring: transparent;
  --urgent: #FF6B5E; --review: #F5B342; --routine: #4CC9A0;
  --side: clamp(20px, 4.4vw, 64px); --radius: 6px;
}
@media (prefers-color-scheme: light) {
  :root {
    --ground: #EDF1EF; --raised: #FFFFFF;
    --line: rgba(10, 22, 20, 0.1); --line-2: rgba(10, 22, 20, 0.2);
    --text: #0A1412; --text-2: #36443F; --muted: #56635F;
    --lime-hi: #CBE84A; --accent-text: #3F5A00; --focus: #0A1412; --btn-ring: rgba(10, 22, 20, 0.45);
    --urgent: #C0291E; --review: #8F5E00; --routine: #0B7A57;
  }
}

* { box-sizing: border-box; }
html { background: var(--ground); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--text); font: 400 17px/1.65 "Host Grotesk", ui-sans-serif, system-ui, sans-serif; -webkit-font-smoothing: antialiased; text-wrap: pretty; font-variant-numeric: tabular-nums; }
a { color: var(--text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--line-2); }
@media (hover: hover) { a:hover { text-decoration-color: var(--accent-text); } }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: 12px; top: -60px; padding: 10px 14px; border-radius: var(--radius); background: var(--lime); color: var(--lime-ink); text-decoration: none; z-index: 10; }
.skip:focus { top: 12px; }

/* header */
.head { border-bottom: 1px solid var(--line); }
.head-in { width: min(100% - 2 * var(--side), 1120px); margin: 0 auto; min-height: 72px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 22px; letter-spacing: -0.02em; }
.brand svg { width: 28px; height: 28px; flex: none; }
.mk-ring { fill: none; stroke: var(--text); }
.mk-line { stroke: var(--accent-text); }
.mk-dot { fill: var(--text); }
.nav { display: flex; gap: 24px; margin-left: auto; font-size: 15px; }
.nav a { color: var(--text-2); text-decoration: none; padding: 6px 0; }
.nav a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -1px 0 var(--accent-text); }
@media (hover: hover) { .nav a:hover { color: var(--text); } }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: var(--radius); background: var(--lime); color: var(--lime-ink); box-shadow: inset 0 0 0 1px var(--btn-ring); font-weight: 500; font-size: 16px; text-decoration: none; white-space: nowrap; }
@media (hover: hover) { .btn:hover { background: var(--lime-hi); } }
.head .btn { min-height: 40px; padding: 0 16px; font-size: 15px; }
@media (max-width: 640px) {
  .head .btn { display: none; }
  .head-in { gap: 16px; }
  .nav { gap: 16px; }
}

/* reading column */
main { width: min(100% - 2 * var(--side), 760px); margin: 0 auto; padding: 56px 0 104px; }
.crumbs { margin: 0 0 28px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
h1 { margin: 0 0 18px; font-weight: 500; font-size: clamp(38px, 6vw, 60px); line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; }
.lead { margin: 0 0 18px; font-size: clamp(18px, 1.4vw, 20px); color: var(--text-2); }
.meta { margin: 0 0 32px; font-size: 14px; color: var(--muted); }
h2 { margin: 56px 0 12px; padding-top: 28px; border-top: 1px solid var(--line); font-weight: 500; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; letter-spacing: -0.02em; }
h3 { margin: 28px 0 6px; font-weight: 500; font-size: 19px; letter-spacing: -0.01em; }
p, li, dd { color: var(--text-2); }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 14px; padding-left: 1.25em; }
li { margin: 0 0 8px; }
li::marker { color: var(--muted); }
strong { color: var(--text); font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 8px; }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
@media (hover: hover) { .btn-ghost:hover { background: var(--line); } }

/* the short answer at the top of a page */
.answer { margin: 32px 0 8px; padding: 22px 24px; border-radius: 10px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line); }
.answer p { margin: 0; color: var(--text); }

/* figures that matter */
.figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; margin: 24px 0; border-radius: 10px; overflow: hidden; background: var(--line); box-shadow: inset 0 0 0 1px var(--line); }
.figs div { padding: 18px 20px; background: var(--ground); }
.figs b { display: block; font-weight: 500; font-size: 34px; line-height: 1.1; letter-spacing: -0.03em; color: var(--accent-text); }
.figs span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.4; color: var(--text-2); }

/* tables: the box scrolls sideways when a table is wider than a phone; the caption stays put below */
.tbl { margin: 20px 0 18px; }
.table { overflow-x: auto; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); }
.tbl figcaption { margin-top: 10px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.table.wide table { min-width: 560px; }
th, td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { font-weight: 500; font-size: 14px; color: var(--muted); }
tbody th { font-weight: 500; color: var(--text); }
td { color: var(--text-2); }
td.n, th.n { text-align: right; white-space: nowrap; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.s { display: block; font-size: 13px; color: var(--muted); white-space: nowrap; }
.t { white-space: nowrap; color: var(--text); }
.t::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; vertical-align: 1px; background: currentColor; }
.t-urgent::before { background: var(--urgent); }
.t-review::before { background: var(--review); }
.t-routine::before { background: var(--routine); }
@media (max-width: 640px) {
  table { font-size: 14px; }
  th, td { padding: 10px 12px; }
  .table:not(.wide) .t { white-space: normal; }
}

/* steps */
.steps { list-style: none; padding: 0; margin: 20px 0; counter-reset: s; }
.steps li { position: relative; margin: 0; padding: 0 0 22px 52px; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; color: var(--text); }
.steps li::after { content: ""; position: absolute; left: 16px; top: 38px; bottom: 6px; width: 1px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps b { display: block; font-weight: 500; color: var(--text); }

/* case figure */
figure { margin: 24px 0; }
.case-fig { display: grid; grid-template-columns: 180px 1fr; gap: 20px; align-items: start; }
.case-fig img { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; display: block; box-shadow: 0 0 0 1px var(--line-2); }
figcaption { font-size: 14px; color: var(--muted); }
@media (max-width: 560px) { .case-fig { grid-template-columns: 1fr; } .case-fig img { width: 140px; height: 140px; } }

/* conference photos */
.event { margin: 20px 0 8px; }
.event-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.event img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; background: var(--raised); filter: grayscale(1) contrast(1.05); transition: filter 500ms cubic-bezier(0.23, 1, 0.32, 1); }
@media (hover: hover) { .event img:hover { filter: none; } }
.event figcaption { margin-top: 10px; }
@media (max-width: 560px) { .event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* team */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 20px 0; padding: 0; list-style: none; }
.team li { margin: 0; padding: 18px 20px; border-radius: 10px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line); }
.team .face { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 14px; border-radius: 8px; background: var(--ground); filter: grayscale(1) contrast(1.05); transition: filter 500ms cubic-bezier(0.23, 1, 0.32, 1); }
@media (hover: hover) { .team li:hover .face { filter: none; } }
.team b { display: block; font-weight: 500; font-size: 20px; letter-spacing: -0.015em; color: var(--text); }
.team .role { font-size: 14px; color: var(--accent-text); margin: 2px 0 10px; }
.team span { display: block; font-size: 15px; line-height: 1.5; }

/* questions */
.qa h3 { margin-top: 26px; }
.qa p { margin-bottom: 0; }

/* footer */
.foot { border-top: 1px solid var(--line); }
.foot-in { width: min(100% - 2 * var(--side), 1120px); margin: 0 auto; padding: 40px 0 56px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; font-size: 14px; line-height: 1.6; }
.foot p { margin: 0 0 10px; color: var(--muted); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 14px; padding: 0; list-style: none; }
.foot-nav li { margin: 0; }
@media (max-width: 720px) { .foot-in { grid-template-columns: 1fr; } }
