/* Coming-soon mode (see src/_data/launch.js): the coming-soon page, plus the plain pages that
   stay up while the site is hidden (privacy, the sign-up's thank-you page, 404). Colors and
   fonts come from tokens.css, like the full site's style.css. */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); }
a { color: var(--blue); text-underline-offset: 0.18em; }
a:hover { color: var(--blue-deep); }
img, svg { max-width: 100%; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip:focus { position: absolute; top: 0.5rem; left: 0.5rem; background: var(--paper); padding: 0.5rem 0.75rem; }
.sr-only, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.4rem, 1.6rem + 3.2vw, 4rem); }
h2 { font-size: 1.5rem; margin-top: 2.25rem; }
p { margin: 0; }
.lede { font-size: 1.1875rem; line-height: 1.55; }

/* ---- the coming-soon page ---- */
.soon-main {
  display: grid; min-height: 100svh;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: 1fr auto;
  grid-template-areas: "copy art" "foot art";
}
.soon-copy {
  grid-area: copy; display: flex; flex-direction: column; justify-content: space-between; gap: 3.5rem;
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1.25rem, 5vw, 5rem) 2.5rem;
}
.soon-mark { display: block; width: 220px; height: auto; }
.soon-text { display: grid; gap: 1.25rem; max-width: 32rem; }
.soon-text .lede { color: var(--ink); }
.soon-text p:not(.lede) { color: var(--graphite); }
.soon-foot { grid-area: foot; margin: 0; padding: 0 clamp(1.25rem, 5vw, 5rem) clamp(1.5rem, 3vw, 2.5rem); font-size: 0.875rem; color: var(--graphite); }
.soon-foot a { color: inherit; }

.soon-art {
  grid-area: art; margin: 0; background: var(--fog); display: flex; flex-direction: column; justify-content: center;
  gap: 1.25rem; padding: clamp(1.5rem, 5vw, 5rem);
}
.soon-drawing svg { display: block; width: 100%; height: auto; }
.soon-art figcaption { font-size: 0.875rem; color: var(--graphite); }

/* ---- the sign-up (partials/signup.njk) ---- */
.signup { display: flex; gap: 0.5rem; margin-top: 0.75rem; max-width: 30rem; }
.signup input[type="email"] {
  flex: 1; min-width: 0; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid #cfcac0; border-radius: 3px; padding: 0.75rem 0.875rem;
}
.signup input[type="email"]:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(42, 71, 163, 0.18); }
.btn {
  font: 600 1rem/1 var(--sans); color: #fff; background: var(--blue); border: 0; border-radius: 3px;
  padding: 0.875rem 1.25rem; cursor: pointer; white-space: nowrap; text-decoration: none;
}
.btn:hover { background: var(--blue-deep); color: #fff; }
.signup-fine { font-size: 0.8125rem; color: var(--graphite); }
.signup-fine a { color: inherit; }

/* ---- plain pages in coming-soon mode (layout base.njk) ---- */
.soon-header, .soon-footer, .page > .wrap { width: min(100% - 2.5rem, 44rem); margin-inline: auto; }
.soon-header { padding-block: 2rem; }
.soon-header img { display: block; width: 120px; height: auto; }
.page { padding-block: 2rem 4rem; }
.page-head { display: grid; gap: 1rem; }
.prose { display: grid; gap: 1rem; margin-top: 1rem; }
.prose a, .note a { color: var(--blue); }
.note { font-size: 0.9375rem; color: var(--graphite); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.prose h2 + p, .prose h2 + ul { margin-top: -0.25rem; }
.prose ul { margin: 0; padding-left: 1.25rem; display: grid; gap: 0.375rem; }
.soon-footer { border-top: 1px solid var(--rule); padding-block: 1.5rem 2.5rem; font-size: 0.875rem; color: var(--graphite); display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.soon-footer a { color: inherit; }

@media (max-width: 860px) {
  .soon-main { grid-template-columns: 1fr; grid-template-rows: auto; grid-template-areas: "copy" "art" "foot"; min-height: 0; }
  .soon-copy { gap: 2.5rem; padding-bottom: 3rem; }
  .soon-art { padding: 2rem 1.25rem 2.5rem; }
  .soon-foot { padding-top: 1.5rem; }
}
@media (max-width: 480px) {
  .signup { flex-direction: column; }
  .soon-mark { width: 180px; }
}
