:root {
  --ink: #1c1612;
  --muted: #3a3128;
  --paper: #f7f1e6;
  --card: #fffaf3;
  --line: #e0d3c0;
  --staff: #c9b79a;
  --brass: #7a4e12;
  --focus: #8a5a22;
  --serif: Palatino, "Palatino Linotype", "Iowan Old Style", "Noto Serif", Georgia, serif;
  --sans: Inter, "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  border-top: 8px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

::selection {
  background: #ead7b4;
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 5;
  background: var(--card);
  color: var(--ink);
  padding: 0.55rem 0.9rem;
  border: 2px solid var(--ink);
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(68rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  padding: 1.15rem 0 0.4rem;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  color: inherit;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-decoration: none;
}

.staff {
  display: grid;
  gap: 7px;
  margin: 1.35rem 0 1.75rem;
}

.staff span {
  display: block;
  height: 1px;
  background: var(--staff);
}

h1, h2, .wordmark {
  font-family: var(--serif);
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.25rem, 8vw, 4.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-wrap: balance;
}

h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.subhead {
  margin: 0;
  max-width: 38rem;
  font-size: 1.125rem;
  line-height: 1.55;
}

.hero {
  display: grid;
  gap: 1.75rem;
  padding-bottom: 2.75rem;
}

.signup {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

form, fieldset {
  margin: 0;
  min-inline-size: 0;
}

fieldset {
  border: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

fieldset:disabled {
  opacity: 1;
}

label {
  font-weight: 600;
}

input, button {
  font: inherit;
  min-height: 48px;
}

input {
  width: 100%;
  padding: 0.65rem 0.8rem;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 2px;
}

input::placeholder {
  color: #4a4036;
  opacity: 1;
}

input:disabled {
  color: #14100e;
  -webkit-text-fill-color: #14100e;
  background: #e4e0d8;
  border-color: #9c978f;
  opacity: 0.7;
  cursor: not-allowed;
}

input:disabled::placeholder {
  color: #14100e;
  -webkit-text-fill-color: #14100e;
  opacity: 1;
}

button {
  width: 100%;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 2px;
  font-weight: 600;
  cursor: pointer;
}

button:disabled {
  background: #e4e0d8;
  color: #14100e;
  -webkit-text-fill-color: #14100e;
  border-color: #9c978f;
  opacity: 0.7;
  cursor: not-allowed;
}

.soon {
  margin: 0.85rem 0 0;
  font-weight: 600;
}

.thanks {
  padding: 1.15rem 1.1rem;
  background: var(--card);
  border: 1px solid var(--line);
}

.thanks p {
  margin: 0;
}

.consent, .founding {
  margin: 0;
  max-width: 38rem;
  color: var(--muted);
}

.founding {
  padding-left: 0.85rem;
  border-left: 3px solid var(--brass);
  color: var(--ink);
}

.pairing-band {
  background: var(--ink);
  color: var(--paper);
}

.pairing-band p {
  margin: 0;
  padding: 2rem 0;
  max-width: 40rem;
  font-size: 1.125rem;
  line-height: 1.55;
}

.sections {
  display: grid;
  gap: 3.5rem;
  padding: 3.25rem 0 1rem;
}

.steps {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.steps li {
  display: grid;
  grid-template-columns: 1.35rem 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.steps p {
  margin: 0;
}

.note {
  width: 1.15rem;
  height: 1.45rem;
  margin-top: 0.2rem;
  color: var(--brass);
}

.faq {
  margin-top: 1.1rem;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 52px;
  padding: 0.95rem 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-0.15rem) rotate(45deg);
}

.faq details[open] summary::after {
  transform: translateY(0.15rem) rotate(225deg);
}

.faq details p {
  margin: 0 0 1.15rem;
  max-width: 40rem;
}

.site-footer {
  padding: 0 0 2.5rem;
}

.site-footer p {
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.site-footer a {
  color: inherit;
  text-underline-offset: 0.22em;
}

@media (min-width: 960px) {
  .wrap {
    width: min(68rem, calc(100% - 6rem));
  }

  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: start;
    padding-bottom: 3.5rem;
  }

  h1 {
    font-size: 3.7rem;
  }

  .sections {
    gap: 4.5rem;
    padding-top: 4.25rem;
  }
}

@media (forced-colors: active) {
  :focus-visible {
    outline: 3px solid CanvasText;
  }

  .pairing-band {
    border-block: 1px solid CanvasText;
  }
}
