/* Mutual Works — site styles. Hand-written, no framework. */
:root {
  --bg: #F5F1EE;
  --surface: #FFFFFF;
  --ink: #2A2228;
  --muted: #5F5A5E;
  --faint: #B4AFAA;
  --line: #D3D1C5;
  --line-soft: #E9E8DF;
  --line-warm: #E8E2DD;
  --cta: #B85A34;
  --cta-hover: #A54E2C;
  --terracotta: #C4623A;
  --peach: #E8977A;
  --olive: #5C6B42;
  --olive-700: #4A5735;
  --olive-900: #2F3820;
  --olive-300: #A3AE85;
  --olive-150: #E8ECDD;
  --olive-100: #EEF1E5;
  --olive-050: #F8F9F3;
  --teal: #2A5560;
  --teal-700: #24494F;
  --teal-900: #17343A;
  --teal-300: #9BBDB8;
  --teal-150: #E2E9E8;
  --teal-100: #E3EEEC;
  --teal-050: #F8FAFA;
  --turn-bg: #FBE9E1;
  --turn-ink: #7A3318;
  --danger-bg: #FCEBEB;
  --danger-ink: #791F1F;
  --ok-bg: #E8ECDD;
  --ok-ink: #2F3820;
  --radius: 16px;
  --font-display: "Spectral", Georgia, "Times New Roman", serif;
  --font-body: "Quicksand", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; letter-spacing: -0.01em; margin: 0; color: var(--ink); }
h1 em, h2 em { font-style: italic; }
p { margin: 0; }
.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.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; }
:focus-visible { outline: 3px solid var(--cta); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; z-index: 100; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-warm);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.logo { display: inline-flex; flex-direction: column; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 21px; line-height: 0.82; color: var(--ink); padding: 6px 0; }
.logo > span:last-child { padding-left: .5em; }
.logo .dot { color: var(--terracotta); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 14px; color: var(--muted); padding: 8px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--cta); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; min-width: 44px; min-height: 44px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.mobile-nav { display: none; border-top: 1px solid var(--line-warm); background: var(--bg); }
.mobile-nav .container { display: flex; flex-direction: column; padding: 12px 0 16px; }
.mobile-nav a { text-decoration: none; font-weight: 700; padding: 12px 8px; min-height: 44px; border-radius: 12px; }
.mobile-nav a:hover { background: #fff; }
.mobile-nav.is-open { display: block; }
@media (max-width: 860px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--cta); color: #fff; }
.btn-primary:hover { background: var(--cta-hover); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { background: #fff; }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line-soft); }
.btn-light:hover { background: var(--bg); }
.btn-ghost-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost-dark:hover { background: rgba(255,255,255,.08); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: default; }
.text-link { font-weight: 700; color: var(--olive-700); text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link.teal { color: var(--teal-700); }

/* ---------- layout blocks ---------- */
.section { padding: 72px 0; }
.section.alt { background: var(--surface); border-block: 1px solid var(--line-soft); }
.section.dark { background: var(--ink); color: #fff; }
.section.dark h1, .section.dark h2, .section.dark h3 { color: #fff; }
.section.dark p { color: rgba(255,255,255,.82); }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cta); margin-bottom: 12px; }
.eyebrow.olive { color: var(--olive-700); }
.eyebrow.teal { color: var(--teal-700); }
.section.dark .eyebrow { color: var(--peach); }
.lead { font-size: 19px; color: var(--muted); max-width: 60ch; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 14px; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split.reverse > :first-child { order: 0; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}

/* ---------- hero ---------- */
.hero { padding: 88px 0 96px; }
.hero h1 { font-size: clamp(38px, 6vw, 68px); max-width: 14ch; }
.hero .lead { margin-top: 20px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-art { border-radius: 24px; overflow: hidden; }
.hero.dark .hero-art { background: #352B31; }
.hero.dark .lead { color: rgba(255,255,255,.82); }
.hero-sub { padding: 72px 0 64px; }
.hero-sub h1 { font-size: clamp(34px, 5vw, 56px); max-width: 16ch; }
@media (max-width: 600px) { .hero { padding: 56px 0 64px; } .hero .btn { width: 100%; } }

/* ---------- cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 24px; }
.card h3 { font-size: 22px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }
.card.olive { background: var(--olive-100); border-color: var(--olive-150); }
.card.olive h3 { color: var(--olive-900); }
.card.olive p { color: var(--olive-700); }
.card.teal { background: var(--teal-100); border-color: var(--teal-150); }
.card.teal h3 { color: var(--teal-900); }
.card.teal p { color: var(--teal-700); }
.card .art { border-radius: 14px; overflow: hidden; margin-bottom: 18px; }
.card .btn { margin-top: 20px; }
.audience-card { display: flex; flex-direction: column; justify-content: space-between; padding: 28px; border-radius: 22px; }
.audience-card h3 { font-size: 28px; }
.pill { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.pill.olive { background: var(--olive); color: #fff; }
.pill.teal { background: var(--teal); color: #fff; }
.pill.soft { background: var(--olive-100); color: var(--olive-900); }
.pill.turn { background: var(--turn-bg); color: var(--turn-ink); }
.pill.neutral { background: #F1EFE8; color: #444441; }

/* steps */
.step { position: relative; }
.step .num { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 12px; font-weight: 700; font-size: 13px; color: #fff; background: var(--olive); margin-bottom: 16px; }
.step:nth-child(2) .num { background: var(--terracotta); }
.step:nth-child(3) .num { background: var(--teal); }
.feature { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 18px 0; border-top: 1px solid var(--line-soft); }
.feature:last-child { border-bottom: 1px solid var(--line-soft); }
.feature .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--olive-100); color: var(--olive-900); font-weight: 700; }
.feature.teal .icon { background: var(--teal-100); color: var(--teal-900); }
.feature h3 { font-size: 20px; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: 15px; }

/* stats */
.stat { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 24px; }
.stat .big { font-family: var(--font-display); font-size: 56px; line-height: 1; }
.stat .unit { font-weight: 700; color: var(--muted); font-size: 14px; margin-left: 6px; }
.stat p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.stat.from .big { color: var(--faint); }
.stat.to .big { color: var(--cta); }

/* compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare .col { border-radius: var(--radius); padding: 24px; border: 1px solid var(--line-soft); background: var(--surface); }
.compare .col.from { background: #F1EFE8; border-color: var(--line-warm); }
.compare .col.to { background: var(--olive-050); border-color: var(--olive-150); }
.compare .col .eyebrow { margin-bottom: 14px; }
.compare ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.compare li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.compare li::before { content: ""; flex: 0 0 10px; width: 10px; height: 10px; border-radius: 50%; margin-top: 9px; background: var(--faint); }
.compare .to li::before { background: var(--olive); }
.compare .from li { color: var(--muted); }
@media (max-width: 700px) { .compare { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: var(--ink); color: #fff; border-radius: 28px; padding: 56px 40px; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(30px, 4vw, 44px); }
.cta-band p { color: rgba(255,255,255,.8); max-width: 56ch; margin: 14px auto 0; }
.cta-band .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 600px) { .cta-band { padding: 40px 20px; border-radius: 20px; } }

/* founders */
.founder { display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: start; }
.founder img { width: 120px; height: 120px; border-radius: 50%; }
.founder h3 { font-size: 26px; }
.founder .role { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 6px 0 10px; }
@media (max-width: 600px) { .founder { grid-template-columns: 1fr; } }

/* prose (legal, how we match) */
.prose { max-width: 760px; }
.prose h2 { font-size: 28px; margin: 40px 0 12px; }
.prose h3 { font-size: 21px; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--muted); font-size: 16px; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 22px; margin: 10px 0; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--ink); }
.prose .meta { font-size: 14px; color: var(--faint); margin-bottom: 24px; }
.notice { background: var(--olive-100); color: var(--olive-900); border-radius: 14px; padding: 14px 18px; font-size: 14px; font-weight: 600; }

/* timeline (how we match) */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: t; }
.timeline li { counter-increment: t; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 18px 20px; }
.timeline li::before { content: counter(t, decimal-leading-zero); display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; background: var(--olive-100); color: var(--olive-900); font-weight: 700; font-size: 13px; }
.timeline h3 { font-size: 20px; margin-bottom: 4px; }
.timeline p { color: var(--muted); font-size: 15px; }
.two-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .two-lists { grid-template-columns: 1fr; } }
.two-lists .card ul { margin: 10px 0 0; padding-left: 20px; color: var(--muted); font-size: 15px; }
.two-lists .card li + li { margin-top: 6px; }

/* ---------- forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 22px; padding: 32px; }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 700; font-size: 14px; }
.field input[type="text"], .field input[type="email"] {
  min-height: 46px; border-radius: 10px; border: 1px solid var(--line); background: #fff; padding: 0 14px; font: inherit; font-size: 15px; color: var(--ink); width: 100%;
}
.field input:focus { border-color: var(--cta); outline: none; box-shadow: 0 0 0 3px rgba(184,90,52,.18); }
.field .hint { font-size: 13px; color: var(--muted); }
.field .err { display: none; font-size: 13px; font-weight: 700; color: var(--danger-ink); background: var(--danger-bg); padding: 8px 10px; border-radius: 8px; }
.field.has-error .err { display: block; }
.field.has-error input { border-color: var(--danger-ink); }
.segmented { display: inline-grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 999px; padding: 4px; background: var(--bg); width: 100%; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmented span { display: flex; align-items: center; justify-content: center; min-height: 40px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--muted); cursor: pointer; }
.segmented input:checked + span { background: var(--ink); color: #fff; }
.segmented input:focus-visible + span { outline: 3px solid var(--cta); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 6px 0 20px; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--cta); flex: 0 0 auto; }
.check a { color: var(--ink); font-weight: 700; }
.form-msg { display: none; border-radius: 14px; padding: 16px 18px; font-weight: 600; margin-top: 16px; }
.form-msg.ok { display: block; background: var(--ok-bg); color: var(--ok-ink); }
.form-msg.bad { display: block; background: var(--danger-bg); color: var(--danger-ink); }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); background: var(--surface); padding: 48px 0 32px; }
.site-footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; align-items: start; }
.site-footer .tagline { color: var(--muted); font-size: 15px; max-width: 36ch; margin-top: 12px; }
.site-footer h4 { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; font-weight: 600; font-size: 15px; }
.site-footer a:hover { color: var(--cta); }
.site-footer .bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 13px; font-weight: 600; }
@media (max-width: 760px) { .site-footer .top { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }
