/* ============================================================
   BOREDOM — subpages (Contact, Privacy, Terms)
   Built on the same tokens.css + styles.css as the landing.
   ============================================================ */

/* ---- page header band ---- */
.page-head {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding-block: clamp(48px, 6vw, 88px) clamp(40px, 5vw, 64px);
  position: relative;
  overflow: clip;
}
.page-head::after {
  content: "";
  position: absolute; right: -8%; top: -40%;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand) 22%, transparent), transparent 68%);
  filter: blur(20px); z-index: 0; pointer-events: none;
}
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 {
  font-family: var(--font-display);
  font-size: var(--h2);
  line-height: 1.02;
  letter-spacing: -.025em;
  color: var(--ink);
  margin: .7rem 0 0;
}
.page-head .sub {
  color: var(--ink-2);
  font-size: var(--fs-lead);
  line-height: 1.5;
  max-width: 56ch;
  margin: 1.1rem 0 0;
}
.page-head .updated {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: 1.4rem;
  font-size: .88rem; font-weight: 600; color: var(--ink-3);
  background: var(--surface); border: 1px solid var(--border);
  padding: .45rem .9rem; border-radius: var(--r-pill);
}
.page-head .updated .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
}

/* ---- legal / prose ---- */
.prose {
  max-width: 768px;
  margin: clamp(40px, 6vw, 76px) auto;
  padding-inline: var(--gut);
  color: var(--ink-2);
  font-size: 1.04rem;
  line-height: 1.72;
}
.prose > p:first-child { margin-top: 0; }
.prose h2 {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: var(--h4);
  letter-spacing: -.015em;
  line-height: 1.15;
  margin: 2.6rem 0 .7rem;
  scroll-margin-top: 90px;
}
.prose h2:first-of-type { margin-top: .5rem; }
.prose h3 {
  color: var(--ink);
  font-size: var(--h6);
  font-weight: 700;
  margin: 1.7rem 0 .4rem;
}
.prose p { margin: .85rem 0; }
.prose ul, .prose ol { margin: .7rem 0 1.3rem; padding-left: 1.35rem; }
.prose li { margin: .45rem 0; padding-left: .2rem; }
.prose li::marker { color: var(--brand-400); }
.prose a {
  color: var(--brand-600); font-weight: 600;
  text-decoration: underline; text-underline-offset: 2px;
  text-decoration-thickness: 1.5px;
  text-decoration-color: color-mix(in srgb, var(--brand) 40%, transparent);
}
[data-theme="dark"] .prose a { color: var(--brand-300); }
.prose a:hover { text-decoration-color: currentColor; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2.4rem 0; }

/* callout intro paragraph */
.prose .callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand-500);
  border-radius: var(--r-md);
  padding: 1.1rem 1.3rem;
  margin: 1.4rem 0 2rem;
  color: var(--ink-2);
}

/* ---- contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 4vw, 4rem);
  max-width: var(--maxw);
  margin: clamp(40px, 6vw, 76px) auto;
  padding-inline: var(--gut);
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-sm);
}
.contact-card h2 { font-family: var(--font-display); font-size: var(--h5); color: var(--ink); margin: 0 0 .3rem; letter-spacing: -.01em; }
.contact-card .hint { color: var(--ink-3); font-size: .95rem; margin: 0 0 1.4rem; }

.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.05rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 460px) { .field-row { grid-template-columns: 1fr; } }
.field label { font-weight: 600; font-size: .88rem; color: var(--ink); }
.field input, .field textarea, .field select {
  font: inherit; color: var(--ink);
  padding: .85rem 1rem;
  background: var(--surface-2);
  border: 1.5px solid var(--border-2);
  border-radius: var(--r-sm);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand-500);
  box-shadow: 0 0 0 3px var(--ring);
}
.contact-card .btn { width: 100%; margin-top: .3rem; }
.form-done {
  display: none;
  text-align: center; padding: 2.5rem 1rem;
}
.form-done.show { display: block; }
.form-done .check {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--green-50); color: var(--green);
  display: grid; place-items: center; margin: 0 auto 1rem;
}
.form-done h3 { font-family: var(--font-display); color: var(--ink); font-size: var(--h5); margin: 0 0 .4rem; }
.form-done p { color: var(--ink-3); margin: 0; }

/* contact info column */
.contact-info { padding-top: .4rem; }
.contact-info .eyebrow { margin-bottom: .6rem; }
.contact-info h2 { font-family: var(--font-display); font-size: var(--h4); color: var(--ink); letter-spacing: -.015em; margin: 0 0 .6rem; }
.contact-info > p { color: var(--ink-2); font-size: var(--fs-body); line-height: 1.55; margin: 0 0 1.6rem; max-width: 42ch; }
.info-row { display: flex; gap: 1rem; align-items: flex-start; padding: 1.05rem 0; border-bottom: 1px solid var(--border); }
.info-row:last-of-type { border-bottom: 0; }
.info-row .ic {
  width: 44px; height: 44px; border-radius: 13px; flex: none;
  background: var(--brand-50); color: var(--brand-600);
  display: grid; place-items: center;
}
[data-theme="dark"] .info-row .ic { color: var(--brand-200); }
.info-row .ic svg { width: 21px; height: 21px; }
.info-row b { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.02rem; }
.info-row a, .info-row span { color: var(--ink-2); font-size: .95rem; }
.info-row a:hover { color: var(--brand-500); }

/* ============================================================
   STATUS PAGES — success / thank-you / 404 / invite
   Centered, on-theme layout shared across utility pages.
   ============================================================ */
.status {
  min-height: 64vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(56px, 8vw, 120px) var(--gut);
}
.status__inner { max-width: 580px; }
.status__icon {
  width: 76px; height: 76px; border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 1.6rem;
  background: var(--brand-50); color: var(--brand-500);
  box-shadow: var(--shadow-sm);
}
.status__icon svg { width: 36px; height: 36px; }
.status__icon--success { background: var(--green-50); color: var(--green); }
.status__icon--invite  { background: var(--orange-50); color: var(--orange-600); }
.status .status__code {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(5rem, 3rem + 12vw, 9rem); line-height: .85;
  letter-spacing: -.04em; margin: 0 0 .4rem; max-width: none;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-300));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.status h1 {
  font-family: var(--font-display); font-size: var(--h2);
  line-height: 1.04; letter-spacing: -.02em; color: var(--ink);
  margin: .2rem 0 .85rem;
}
.status p {
  color: var(--ink-2); font-size: var(--fs-lead); line-height: 1.5;
  margin: 0 auto 2rem; max-width: 48ch;
}
.status__actions { display: flex; gap: .85rem; justify-content: center; flex-wrap: wrap; }
.status__home {
  display: inline-block; margin-top: 1.4rem;
  color: var(--ink-3); font-weight: 600; font-size: .95rem;
  text-decoration: none;
}
.status__home:hover { color: var(--brand-500); }
