/* ---- design tokens, transcribed from RainbowHelixFE/src/assets/theme.css -----------------
   This static page has no app shell to inherit tokens from, so the values are copied here
   rather than referenced. Keep in sync by hand if the source palette or scale changes;
   this page is meant to be short-lived (see the sibling README). */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Alegreya";
  src: url("/fonts/alegreya-var.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-reading: "Alegreya", "Iowan Old Style", Georgia, serif;
  --font-ui: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;

  --t-hero: clamp(38px, 5.6vw, 64px);
  --t-body-lg: 17.25px;
  --t-body: 15px;
  --t-ui: 14px;
  --t-small: 12.5px;

  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 20px; --s-6: 24px; --s-7: 32px; --s-8: 40px; --s-9: 56px;

  --radius: 9px;
  --measure: 70ch;
  --measure-tight: 64ch;

  /* Lamplight (dark) is the product default. */
  --bg: #1A1612; --surface: #221C15; --surface-2: #2A2219; --line: #392E21;
  --ink: #ECE3D4; --ink-soft: #B8AB93; --ink-mute: #958871;
  --accent: #D6A24A; --accent-ink: #1A1612; --accent-2: #CF6F5A;
  --b1: #CC6650; --b2: #DE8828; --b3: #C9A52E; --b4: #4C9E77; --b5: #3F6FC0; --b6: #8A63CE;
}

/* Reserves the scrollbar's width up front so content doesn't shift sideways when the
   removal form's <details> expands and pushes the page past viewport height. */
html { scrollbar-gutter: stable; }

*, *::before, *::after { box-sizing: border-box; margin: 0; }

body {
  min-height: 100vh;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-family: var(--font-ui);
  font-size: var(--t-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- page shell, transcribed from _HoldingLayout.cshtml ---- */
.rh-holding {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--s-7) var(--s-5);
  background: var(--bg);
}
.rh-holding__inner {
  width: 100%;
  max-width: var(--measure-tight);
}
.rh-holding__mark {
  margin-bottom: var(--s-6);
}
.rh-holding__mark svg {
  width: 88px;
  height: 88px;
  display: block;
}

/* ---- page content, transcribed from HoldingPage.cshtml ---- */
h1 {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: var(--t-hero);
  font-weight: 600;
  margin: 0 0 var(--s-4) 0;
  line-height: 1.1;
}
.rh-not-open {
  font-family: var(--font-ui);
  color: var(--accent);
  font-size: var(--t-body-lg);
  margin: 0 0 var(--s-6) 0;
}
.rh-body {
  font-family: var(--font-reading);
  color: var(--ink-soft);
  font-size: var(--t-body-lg);
  max-width: var(--measure);
  line-height: 1.6;
}
.rh-body p + p { margin-top: var(--s-4); }

.rh-signup {
  margin-top: var(--s-8);
  padding-top: var(--s-6);
  border-top: 1px solid var(--line);
}
.rh-signup__intro {
  font-family: var(--font-ui);
  color: var(--ink);
  font-size: var(--t-body);
  margin: 0 0 var(--s-4) 0;
}
.rh-outcome {
  margin: 0 0 var(--s-4) 0;
  padding: var(--s-3);
  border-radius: var(--radius);
  font-size: var(--t-ui);
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink);
  font-family: var(--font-ui);
  display: none;
}
.rh-outcome--error { border-color: var(--accent-2); }
.rh-outcome.is-visible { display: block; }

.rh-form {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  align-items: flex-end;
}
.rh-field-wrap { flex: 1 1 16rem; }
.rh-label {
  display: block;
  margin-bottom: var(--s-2);
  color: var(--ink-soft);
  font-size: var(--t-ui);
  font-family: var(--font-ui);
}
.rh-field {
  width: 100%;
  min-height: 44px;
  padding: var(--s-2) var(--s-3);
  font-size: var(--t-ui);
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.rh-field:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.rh-button {
  min-height: 44px;
  padding: var(--s-2) var(--s-5);
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: var(--t-ui);
  font-family: var(--font-ui);
  font-weight: 600;
  cursor: pointer;
}
.rh-button:disabled { opacity: 0.6; cursor: default; }
.rh-button--quiet {
  background: var(--surface-2);
  color: var(--ink);
  border-color: var(--line);
  font-weight: 400;
  padding: 0 var(--s-4);
}

.rh-removal { margin-top: var(--s-5); }
.rh-removal__summary {
  color: var(--ink-mute);
  font-size: var(--t-small);
  font-family: var(--font-ui);
  cursor: pointer;
}
.rh-removal__body { margin-top: var(--s-3); }

.rh-privacy {
  margin-top: var(--s-5);
  color: var(--ink-mute);
  font-size: var(--t-small);
  font-family: var(--font-ui);
  max-width: var(--measure);
  line-height: 1.5;
}
.rh-privacy p + p { margin-top: var(--s-3); }

/* honeypot field — hidden from sighted and screen-reader users, left in the tab order
   so a script-driven bot filling every field trips it; a human never sees or reaches it. */
.rh-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---- spec 069 additions ---- */
/* The hidden SVG sprite (was an inline style attribute; moved so the CSP needs no inline styles). */
.rh-svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.rh-eyebrow {
  font-family: var(--font-display);
  color: var(--ink-soft);
  font-size: var(--t-body-lg);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 var(--s-3) 0;
}
.rh-honesty { color: var(--ink-mute); }
