:root {
  --bg: #f7f8fa; --surface: #fff; --ink: #15181d; --muted: #545c67; --line: #dce0e6;
  --red: #c8102e; --button: #15181d; --on-button: #fff; --error: #a8101f;
  --display: "Avenir Next", "Segoe UI Variable Display", "Helvetica Neue", system-ui, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111317; --surface: #1a1d22; --ink: #eef0f3; --muted: #a6adb7; --line: #2d323a;
    --red: #ff5f57; --button: #eef0f3; --on-button: #111317; --error: #ff8a80;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink); border-top: 4px solid var(--red);
  font: 1.0625rem/1.6 system-ui, sans-serif; overflow-wrap: anywhere;
}
a { color: inherit; text-decoration-color: var(--red); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.bar, main, footer { width: min(68rem, 100% - 2.5rem); margin-inline: auto; }
.bar { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; justify-content: space-between; padding: 1.25rem 0; }
.wordmark { font: 700 1.35rem/1 var(--display); letter-spacing: -.02em; text-decoration: none; }
.wordmark span { color: var(--red); }
.bar nav { display: flex; gap: 1.25rem; font-size: .95rem; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; line-height: 1.15; margin: 0 0 .6rem; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 650; max-width: 16ch; letter-spacing: -.035em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 650; }
h3 { font-size: 1.15rem; font-weight: 650; }
p { margin: 0 0 1rem; max-width: 62ch; }
.lede { font-size: 1.2rem; color: var(--muted); }
.fine { font-size: .9rem; color: var(--muted); }
.hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding: clamp(2rem, 7vw, 5.5rem) 0 clamp(3rem, 7vw, 5rem); }
label { display: block; font-weight: 600; margin: .9rem 0 .35rem; }
input, textarea {
  width: 100%; padding: .7rem .8rem; font: inherit; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: 6px;
}
input[aria-invalid=true] { border-color: var(--error); }
textarea { resize: vertical; }
button {
  min-height: 44px; padding: .7rem 1.2rem; font: 600 1rem/1.2 system-ui, sans-serif; cursor: pointer;
  color: var(--on-button); background: var(--button); border: 0; border-radius: 6px; white-space: nowrap;
}
.join .row { display: flex; gap: .5rem; max-width: 32rem; }
.join label { margin-top: 0; }
.contact button { margin-top: 1rem; }
.notice { padding: .8rem 1rem; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 6px; }
.error { color: var(--error); font-weight: 600; margin: .5rem 0; }
.exchange { margin: 0; padding: 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.exchange p { padding: .8rem 1rem; border-radius: 12px; }
.ask { margin-left: 15%; background: var(--bg); border: 1px solid var(--line); }
.answer { margin-right: 8%; border-left: 3px solid var(--red); border-radius: 0 12px 12px 0; }
.exchange figcaption { font-size: .85rem; color: var(--muted); }
.companies, .faq { padding: clamp(2.5rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: 2rem; }
.split article { padding: 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; align-self: start; }
.faq > div { max-width: 46rem; margin-top: 1.5rem; }
footer { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; padding: 1.5rem 0 2.5rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
@media (max-width: 48rem) {
  .hero, .split { grid-template-columns: 1fr; }
  .join .row { flex-direction: column; }
}
