/* Shared by index.html and details.html */
/* Self-hosted fonts (latin subset, SIL OFL, see fonts/OFL-*.txt) */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 500 800; font-display: swap; src: url(fonts/bricolage-grotesque-latin.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/ibm-plex-sans-latin.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-mono-400-latin.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-mono-500-latin.woff2) format("woff2"); }

/* Layout: left-aligned editorial column, a "what it is / isn't" ledger, one bold typographic hero */
img { max-width: 100%; height: auto; }
:root {
  color-scheme: light;
  --bg: #eef1ee;
  --surface: #f8faf8;
  --ink: #15201c;
  --muted: #55625c;
  --line: #cdd5d0;
  --accent: #1f4fd1;
  --accent-soft: #dfe6fb;
  --warn: #b46d0c;
  --good: #1d7a4f;
  --good-inverse: #5fc492;
  --font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --s1: .875rem; --s2: 1rem; --s3: 1.25rem; --s5: 2.5rem; --s6: clamp(2.4rem, 6vw, 4.4rem);
  --max: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1513; --surface: #161e1b; --ink: #e6ece8; --muted: #9aa8a1; --line: #2a3531;
    --accent: #7d9bff; --accent-soft: #1c2647; --warn: #e5a54a; --good: #5fc492; --good-inverse: #1d7a4f;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1513; --surface: #161e1b; --ink: #e6ece8; --muted: #9aa8a1; --line: #2a3531;
  --accent: #7d9bff; --accent-soft: #1c2647; --warn: #e5a54a; --good: #5fc492; --good-inverse: #1d7a4f;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: var(--s2); line-height: 1.6; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
section { padding-block: clamp(3rem, 8vw, 5.5rem); border-top: 1px solid var(--line); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; text-wrap: balance; margin: 0; }
h2 { font-size: var(--s5); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: var(--s3); font-weight: 700; }
p { margin: 0; }
.eyebrow { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lede { color: var(--muted); max-width: 62ch; font-size: 1.08rem; }
.stack { display: grid; gap: 1rem; }
.head { display: grid; gap: .9rem; margin-bottom: 2.5rem; max-width: 70ch; }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 20; background: var(--ink); color: var(--bg); padding: .6rem 1rem; border-radius: 6px; font-weight: 600; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + .75rem); }

/* nav */
html { scroll-padding-top: 4.5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.topbar { position: sticky; top: 0; z-index: 10; padding-top: env(safe-area-inset-top, 0px); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: .75rem; flex-wrap: wrap; }
.nav .brand { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: -.01em; color: var(--ink); }
.nav ul { display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; font-size: var(--s1); }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--ink); }
/* links to the other page sit with the button, apart from the in-page links */
.nav-actions { display: flex; align-items: center; gap: 1.25rem; }
.nav .nav-page { color: var(--ink); font-weight: 600; font-size: var(--s1); }
.nav .nav-page:hover { color: var(--accent); }
.nav .nav-cta, .nav .nav-cta:hover { color: var(--bg); padding: .5rem .95rem; font-size: var(--s1); }
@media (max-width: 860px) {
  html { scroll-padding-top: 7rem; }
  .nav { row-gap: .5rem; }
  .nav ul { order: 3; flex: 1 0 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
}
/* keeps the name, "FAQ & terms" and the button on one row on phones */
@media (max-width: 480px) {
  .nav { column-gap: .75rem; }
  .nav-actions { gap: .75rem; }
  .nav .nav-cta, .nav .nav-cta:hover { padding: .5rem .75rem; }
  .nav .nav-cta span[aria-hidden] { display: none; }
}

/* hero */
.hero { padding-block: clamp(2.5rem, 7vw, 5rem) clamp(3rem, 7vw, 4.5rem); }
.hero h1 { margin-top: 1rem; font-size: var(--s6); font-weight: 800; letter-spacing: -.025em; max-width: 17ch; }
.hero .lede { margin-top: 1.4rem; }
.cta-row { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 2rem; }
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.3rem; border-radius: 6px; font-weight: 600; text-decoration: none; font-size: .95rem; border: 1px solid var(--ink); }
.btn.primary { background: var(--ink); color: var(--bg); }
.btn.ghost { color: var(--ink); background: transparent; }
.availability { display: flex; align-items: center; gap: .5rem; margin-top: 1rem; font-family: var(--font-mono); font-size: .82rem; color: var(--muted); }
.availability[hidden] { display: none; }
.availability::before, .contact-status.is-live::before { content: ""; flex: none; width: .5rem; height: .5rem; border-radius: 50%; background: var(--good); animation: availability-pulse 2s ease-out infinite; }
@keyframes availability-pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--good) 60%, transparent); }
  100% { box-shadow: 0 0 0 .5rem color-mix(in srgb, var(--good) 0%, transparent); }
}
@media (prefers-reduced-motion: reduce) { .availability::before, .contact-status.is-live::before { animation: none; } }
.btn.primary:hover { background: var(--accent); border-color: var(--accent); }
.btn.ghost:hover { background: var(--surface); }


/* definition */
.ledger { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.ledger ul { list-style: none; margin: 0; padding: 0; }
.ledger-head { padding: 1.1rem 1.6rem; font-size: 1.15rem; line-height: 1.25; background: var(--accent); color: var(--surface); }
.cell { padding: 1.25rem 1.6rem 1.35rem 3.3rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); gap: .25rem 2rem; align-items: baseline; position: relative; }
.cell::before { content: "✓"; color: var(--accent); background: var(--accent-soft); position: absolute; left: 1.4rem; top: 1.3rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); font-size: .8rem; line-height: 1; font-weight: 500; }
.cell strong { font-weight: 600; font-size: 1.02rem; }
.cell span { color: var(--muted); font-size: .94rem; }
.cell:hover { background: color-mix(in srgb, var(--accent-soft) 35%, var(--surface)); }
.ledger-head.is-not { background: var(--ink); color: var(--bg); }
.cell.is-not::before { content: "✕"; color: var(--warn); background: color-mix(in srgb, var(--warn) 15%, var(--surface)); }
@media (max-width: 720px) { .cell { grid-template-columns: 1fr; } }


/* stories */
.stories { display: grid; gap: 1.5rem; }
.story { display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.story-side { background: var(--accent); color: var(--surface); padding: 2rem 1.75rem; display: grid; gap: .6rem; align-content: start; min-width: 0; }
.story-sector { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.story-stat { font-family: var(--font-display); font-size: clamp(3.4rem, 8vw, 4.8rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin-top: .4rem; }
.story-stat.is-phrase { font-size: clamp(2rem, 4.5vw, 2.6rem); line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
.story-stat-label { font-size: .98rem; line-height: 1.4; max-width: 20ch; }
.story-body { padding: 2rem 2rem 2.2rem; display: grid; gap: 1.3rem; align-content: start; min-width: 0; }
.story-rows { margin: 0; display: grid; gap: 1.3rem; }
.story-rows > div { display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr); column-gap: 1.5rem; }
.story-body dt { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); padding-top: .2rem; }
.story-body dd { margin: 0; color: var(--muted); max-width: 64ch; }
.story-title { font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-weight: 700; color: var(--ink); max-width: 36ch; padding-bottom: .2rem; }
.story-more summary { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-mono); font-size: .82rem; font-weight: 500; letter-spacing: .04em; color: var(--accent); padding: .45rem .8rem; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); }
.story-more summary:hover { border-color: var(--accent); }
.story-more summary::after { content: "+"; color: var(--accent); }
.story-more[open] summary::after { content: "\2013"; }
.story-more .more-open, .story-more[open] .more-closed { display: none; }
.story-more[open] .more-open { display: inline; }
.story-more > .story-rows { margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.story-list { margin: 0; padding-left: 1.1rem; display: grid; gap: .45rem; }
.story-list strong { color: var(--ink); font-weight: 600; }
.story-note { margin-top: .6rem; }
@media (max-width: 860px) {
  .story { grid-template-columns: 1fr; }
  .story-stat-label { max-width: none; }
}
@media (max-width: 560px) {
  .story-body { padding: 1.5rem 1.25rem; }
  .story-rows > div { grid-template-columns: 1fr; row-gap: .35rem; }
}

/* problems */
.problems { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.problem { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 1.3rem 1.4rem 1.4rem; display: grid; gap: .6rem; align-content: start; min-width: 0; }
.problem h3 { font-size: 1.15rem; line-height: 1.25; }
.problem p { color: var(--muted); font-size: .95rem; }
.problem a, .fit li a, .more-link { justify-self: start; font-family: var(--font-mono); font-size: .8rem; font-weight: 500; letter-spacing: .02em; text-underline-offset: 3px; }
.more-after { margin-top: 1.5rem; max-width: 70ch; color: var(--muted); font-size: .95rem; }
.more-after a { font-weight: 600; text-underline-offset: 3px; }
@media (max-width: 720px) { .problems { grid-template-columns: 1fr; } }

/* layers: the diagram on wide screens; on narrow ones, where its text would be too small, the same content as a list.
   The list stays in the page for screen readers and AI assistants either way. */
.layers-figure { margin: 0; }
.layers-figure a { display: block; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.layers-figure img { display: block; width: 100%; }
@media (min-width: 861px) { .layers-text { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
@media (max-width: 860px) { .layers-figure { display: none; } }
.layers-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.layers-list li:not(.layer-bridge) { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 10px; padding: .9rem 1.1rem 1rem; display: grid; gap: .2rem; }
.layers-list li:nth-child(1) { border-left-color: var(--warn); }
.layers-list li:nth-child(3), .layers-list li:nth-child(5) { border-left-color: var(--good); }
.layers-list strong { font-family: var(--font-display); font-size: 1.1rem; }
.layers-list li > span:last-child { color: var(--muted); font-size: .95rem; }
.layer-domain { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.layers-list .layer-bridge { padding: .1rem 0 .1rem 1.1rem; color: var(--muted); font-size: .9rem; }
.layers-list .layer-bridge strong { font-family: var(--font-body); font-size: inherit; color: var(--ink); }
.layers-bring { margin-top: 1.25rem; color: var(--muted); font-size: .95rem; max-width: 70ch; }
.layers-bring strong { color: var(--ink); }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.quote { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1.5rem; display: grid; gap: 1.3rem; align-content: space-between; min-width: 0; }
.quote blockquote { margin: 0; }
.quote blockquote p { font-size: 1.02rem; line-height: 1.55; }
.quote figcaption { display: flex; align-items: center; gap: .8rem; }
.quote figcaption > span { display: grid; gap: .05rem; min-width: 0; }
.quote figcaption strong { font-weight: 600; }
.quote figcaption a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.quote figcaption a:hover { text-decoration-thickness: 2px; }
.quote figcaption span span { color: var(--muted); font-size: .9rem; }
.contact .quote { background: transparent; border-color: color-mix(in srgb, var(--bg) 18%, var(--ink)); padding: 1.1rem 1.25rem; gap: 1rem; }
.contact .quote figcaption span span { color: color-mix(in srgb, var(--bg) 70%, var(--ink)); }
.contact .quote .monogram { border-color: var(--ink); box-shadow: none; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* byline */
.byline { display: inline-flex; align-items: center; gap: .9rem; margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); max-width: 100%; }
.byline > span:last-child { display: grid; gap: .1rem; min-width: 0; }
.byline strong { font-weight: 600; }
.byline span span { color: var(--muted); font-size: .92rem; }
.byline:hover strong { color: var(--accent); }
.byline .byline-cta { color: var(--accent); font-size: .88rem; font-weight: 600; margin-top: .3rem; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.byline .byline-cta span { color: inherit; font-size: inherit; display: inline-block; transition: transform .2s ease; }
.byline:hover .byline-cta { text-decoration-thickness: 2px; }
.byline:hover .byline-cta span { transform: translateY(2px); }
.byline:hover .monogram { box-shadow: 0 0 0 2px var(--accent); }
@media (prefers-reduced-motion: reduce) { .byline .byline-cta span { transition: none; } }
.monogram { flex: none; width: 3.5rem; height: 3.5rem; border-radius: 50%; object-fit: cover; background: var(--accent-soft); border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--line); }
.about-photo { width: 100%; max-width: 280px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; display: block; margin-bottom: 1.5rem; background: var(--accent-soft); }
.about-side { min-width: 0; }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.about-text { display: grid; gap: 1rem; max-width: 64ch; }
.about-text p { color: var(--muted); }
.about-text .about-lead { font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-weight: 600; line-height: 1.3; color: var(--ink); }
.about-links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .5rem; }
.about-links .btn { padding: .55rem 1rem; font-size: .88rem; }
.about-facts { margin: 0; display: grid; gap: 0; border-top: 2px solid var(--accent); }
.about-facts > div { padding-block: 1rem; border-bottom: 1px solid var(--line); display: grid; gap: .35rem; }
.about-facts dt { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.about-facts dd { margin: 0; line-height: 1.55; }
.tags-plain { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .1rem 0; }
.tags-plain li:not(:last-child)::after { content: "·"; color: var(--muted); margin: 0 .45rem; }
.strengths { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.strengths li { position: relative; padding-left: .95rem; }
.strengths li::before { content: ""; position: absolute; left: 0; top: .68em; width: .35rem; height: .35rem; border-radius: 50%; background: var(--accent); }
.handson { margin: 0; display: grid; gap: .55rem; }
.handson > div { display: grid; gap: .05rem; }
.about-facts .handson dt { font-family: var(--font-body); font-size: .85rem; letter-spacing: 0; text-transform: none; color: var(--muted); font-weight: 500; }
.exp-years { display: block; font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: var(--ink); margin-bottom: .25rem; }
.edu { display: grid; gap: .1rem; }
.edu strong { font-weight: 600; }
.profile-full { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 2rem; }
.about-full > div { border-bottom: 0; align-content: start; }
.about-full > .span-2 { grid-column: span 2; }
.about-full .handson { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .profile-full { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .profile-full, .about-full .handson { grid-template-columns: 1fr; }
  .about-full > .span-2 { grid-column: auto; }
}

/* compare */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 900px; font-size: .9rem; }
th, td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 500; }
tbody th { font-weight: 600; width: 16%; }
td.hl, th.hl { background: var(--accent-soft); }
thead th.hl { color: var(--accent); }
tr:last-child th, tr:last-child td { border-bottom: 0; }


/* pricing */
.pricing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 2rem 3rem; align-items: start; }
.prices { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.prices dl { margin: 0; }
.prices dl > div { padding: 1.2rem 1.5rem; display: grid; gap: .1rem; }
.prices dl > div + div { border-top: 1px solid var(--line); }
.prices dt { font-family: var(--font-display); font-size: 2rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.prices dt small { font-family: var(--font-body); font-size: .95rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.prices dd { margin: 0; color: var(--muted); }
.prices-note { padding: .8rem 1.5rem; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.pricing-text { display: grid; gap: 1rem; max-width: 62ch; }
.pricing-text p { color: var(--muted); }
.pricing-text strong { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .pricing { grid-template-columns: 1fr; } }

/* fit */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 980px; }
.fit > div { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 1.3rem 1.4rem 1.4rem; min-width: 0; }
.fit ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .8rem; color: var(--muted); font-size: .95rem; }
.fit li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .4rem; }
.fit li::before { font-family: var(--font-mono); font-weight: 500; }
.fit .yes li::before { content: "+"; color: var(--good); }
.fit .no li::before { content: "–"; color: var(--warn); }
.fit h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.fit li a { display: inline-block; margin-top: .25rem; }
.fit-unsure { font-size: .95rem; margin: 1.2rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.fit-unsure a { color: var(--accent); text-underline-offset: 3px; }

/* process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; max-width: 56rem; }
.step { display: grid; grid-template-columns: 9rem 1fr; gap: 1.25rem; align-items: start; }
.step .when { font-family: var(--font-mono); font-size: .76rem; color: var(--accent); padding-top: 1.45rem; }
.step-body { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 1.3rem; display: grid; gap: .55rem; min-width: 0; }
.step p { color: var(--muted); font-size: .92rem; max-width: 64ch; }


/* faq */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 820px; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.faq details { border-bottom: 1px solid var(--line); padding-block: 1.1rem; }
.faq summary { font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: .7rem; max-width: 68ch; }


/* contact */
.contact { background: var(--ink); color: var(--bg); border-top: 0; }
.contact :focus-visible, .site-footer :focus-visible { outline-color: var(--bg); }
.contact h2 { color: var(--bg); }
.contact .eyebrow { color: inherit; opacity: .7; }
.contact-grid > div { min-width: 0; }
/* the section inverts the palette, so the dot needs the other theme's green */
.contact-status { --good: var(--good-inverse); display: flex; align-items: center; gap: .6rem; font-size: .95rem; }
.contact .lede { color: color-mix(in srgb, var(--bg) 75%, var(--ink)); }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem 3rem; align-items: center; }
.contact-email { border: 1px solid color-mix(in srgb, var(--bg) 18%, var(--ink)); border-radius: 10px; padding: 1.4rem 1.5rem 1.5rem; }
.contact-email h3 { font-size: 1.15rem; margin-bottom: .8rem; }
.contact-send { font-weight: 600; font-size: .95rem; margin: 1.3rem 0 .5rem; }
.mailbox { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; background: color-mix(in srgb, var(--bg) 10%, var(--ink)); border-radius: 8px; padding: .8rem 1rem; }
.mailbox code { font-family: var(--font-mono); font-size: 1rem; user-select: all; overflow-wrap: anywhere; flex: 1; min-width: 0; }
.mailbox a { color: inherit; text-underline-offset: 3px; }
.mailbox button { font: inherit; font-size: .85rem; font-weight: 600; background: var(--bg); color: var(--ink); border: 0; border-radius: 5px; padding: .45rem .8rem; cursor: pointer; }
.btn.cal { background: var(--bg); color: var(--ink); border-color: var(--bg); justify-self: start; font-size: 1.02rem; padding: .95rem 1.5rem; margin-top: .4rem; }
.btn.cal:hover { background: var(--accent-soft); border-color: var(--accent-soft); }
.contact ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .4rem; color: color-mix(in srgb, var(--bg) 80%, var(--ink)); font-size: .95rem; }

/* footer */
.site-footer { background: var(--ink); color: color-mix(in srgb, var(--bg) 70%, var(--ink)); border-top: 1px solid color-mix(in srgb, var(--bg) 15%, var(--ink)); padding-block: 1.5rem max(1.5rem, env(safe-area-inset-bottom, 0px)); font-size: .85rem; }
.site-footer a { color: inherit; text-underline-offset: 3px; }
.footer-legal { margin-top: .3rem; opacity: .8; }


@media (max-width: 860px) {
  .fit, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .step { grid-template-columns: 1fr; gap: .4rem; }
  .step .when { padding-top: 0; }
}

@media print {
  .topbar, .skip, .cta-row, .nav-cta, .mailbox button, .btn.cal { display: none; }
  .story-more summary { display: none; }
  section { padding-block: 1.5rem; }
  .story, .step, .quote { break-inside: avoid; }
}
