/* Washiiba — launch, error and confirmation pages.
   Loaded after site.css; reuses its tokens and adds only what the
   marketing page doesn't already style. Keep this file small: anything
   used on more than these pages belongs in site.css. */

.page {
  padding: 56px 0 72px;
}
.page .inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}
.page h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4.6vw, 46px);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.1;
  text-wrap: balance;
}
.page .lede {
  color: var(--ink-2);
  font-size: 17px;
  max-width: 54ch;
}

/* ── Countdown ─────────────────────────────────────────────────── */
.countdown {
  display: flex;
  gap: 10px;
  margin: 34px 0 6px;
}
.countdown .unit {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 18px 10px 13px;
  text-align: center;
}
.countdown .n {
  display: block;
  font-size: clamp(30px, 5.4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.countdown .l {
  display: block;
  margin-top: 9px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.countdown .unit.lead {
  background: var(--coral);
  border-color: var(--coral);
}
.countdown .unit.lead .n { color: #fff; }
.countdown .unit.lead .l { color: rgba(255, 255, 255, 0.82); }

.launch-at {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-2);
}
.launch-at b { color: var(--ink); font-weight: 600; }

/* Once the countdown reaches zero the page says so rather than sitting at
   four zeroes, which reads as broken. */
.countdown[data-elapsed="true"] { display: none; }
.launched { display: none; }
.countdown[data-elapsed="true"] + .launched { display: block; }

/* ── Error pages ───────────────────────────────────────────────── */
.err-code {
  margin: 0 0 6px;
  font-size: clamp(64px, 12vw, 108px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.055em;
  color: var(--coral);
  font-variant-numeric: tabular-nums;
}
/* 5xx is our fault, not the visitor's — it doesn't get the brand accent. */
.err-code.server { color: var(--olive); }

.page-actions {
  display: flex;
  gap: 9px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.page-foot {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-2);
}
.page-foot a { color: var(--ink); }

/* ── Confirmation ──────────────────────────────────────────────── */
.tick {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-size: 22px;
  font-weight: 700;
}
.next-steps {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
}
.next-steps li {
  display: flex;
  gap: 11px;
  align-items: baseline;
  font-size: 15px;
  color: var(--ink-2);
}
.next-steps .step-n {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--muted);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  transform: translateY(2px);
}

@media (max-width: 640px) {
  .countdown { flex-wrap: wrap; }
  .countdown .unit { min-width: calc(50% - 5px); }
}
