:root {
  --bg: #f6f3ea;
  --elev: #fffdf8;
  --elev-hover: #efeae0;
  --ink: #1b2433;
  --muted: #3e4a5e;
  --line: #d9d3c4;
  --accent: #f0c14a;
  --accent-hover: #e0b13a;
  --accent-soft: #f8edd0;
  --on-accent: #1b2433;
  --pop: #f0c14a;
  --danger: #8f2d2d;
  --disabled: #e4dfd2;
  --disabled-ink: #1b2433;
  --serif: "Pixelify Sans", ui-sans-serif, system-ui, sans-serif;
  --sans: "Source Sans 3", ui-sans-serif, system-ui, sans-serif;
  --shadow: 0 1px 0 color-mix(in srgb, var(--ink) 8%, transparent),
    0 16px 36px -28px color-mix(in srgb, var(--ink) 60%, transparent);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b2433;
    --elev: #243044;
    --elev-hover: #2c3a50;
    --ink: #f6f3ea;
    --muted: #c8c0ae;
    --line: #3a465c;
    --accent: #f0c14a;
    --accent-hover: #f6d36a;
    --accent-soft: #3a3424;
    --on-accent: #1b2433;
    --pop: #f0c14a;
    --danger: #ffb4a8;
    --disabled: #2a3344;
    --disabled-ink: #f6f3ea;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
}

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

:focus { outline: none; }

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

::selection {
  background: var(--accent-soft);
  color: var(--ink);
}

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

.skip:focus { top: 1rem; }

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

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

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

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: inherit;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.logo-dot {
  display: grid;
  place-items: center;
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  border: 2px solid #f0c14a;
  border-radius: 0.2rem;
  background: #1b2433;
  color: #f6f3ea;
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
}

.staff {
  display: grid;
  gap: 7px;
  margin: 1.15rem 0 1.5rem;
}

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

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

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.25rem, 8vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
}

h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.subhead {
  margin: 0;
  max-width: 38rem;
  color: var(--ink);
  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;
  padding: 1.15rem 1.15rem 1.2rem;
  background: var(--elev);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
}

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;
  color: inherit;
}

input {
  width: 100%;
  min-height: 3rem;
  padding: 0.55rem 0.8rem;
  font-size: 16px;
  color: var(--ink);
  background: var(--elev);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
}

input::placeholder {
  color: var(--muted);
  opacity: 1;
}

input:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

input:disabled {
  color: var(--disabled-ink);
  -webkit-text-fill-color: var(--disabled-ink);
  background: var(--disabled);
  border-color: var(--line);
  opacity: 1;
  cursor: not-allowed;
}

input:disabled::placeholder {
  color: var(--disabled-ink);
  -webkit-text-fill-color: var(--disabled-ink);
  opacity: 1;
}

button {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.85rem 1rem;
  background: var(--accent);
  color: var(--on-accent);
  border: 0;
  border-radius: 0.9rem;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  touch-action: manipulation;
}

button:hover:not(:disabled) { background: var(--accent-hover); }

button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

button:disabled {
  background: var(--disabled);
  color: var(--disabled-ink);
  -webkit-text-fill-color: var(--disabled-ink);
  border: 1px solid var(--line);
  opacity: 1;
  cursor: not-allowed;
}

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

.form-message {
  margin: 0.7rem 0 0;
  color: var(--danger);
  font-weight: 600;
}

.thanks {
  padding: 1rem 1.05rem;
  background: var(--accent-soft);
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.thanks p { margin: 0; }

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

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

.pairing-band {
  background: var(--accent);
  color: var(--on-accent);
}

.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;
  background: var(--elev);
  border: 1px solid var(--line);
  border-top: 2px solid var(--pop);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

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

.steps li:first-child { border-top: 0; }

.steps p { margin: 0; }

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

.faq {
  margin-top: 1.1rem;
  background: var(--elev);
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

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

.faq details:first-child { border-top: 0; }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 52px;
  padding: 0.95rem 1.1rem;
  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;
  padding: 0 1.1rem 1.15rem;
  max-width: 42rem;
  color: var(--ink);
}

.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;
  color: var(--muted);
}

.site-footer a {
  color: var(--ink);
  font-weight: 600;
  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.5rem; }

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

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

  .logo-dot { background: CanvasText; }

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