/* Sumzi holding page — Protea Dusk variables as a fallback before the daily class applies.
   Daily rotation sets a .palette-… class on <html> (see palettes.css and the head script). */

:root {
  /* Protea Dusk (fallback only — overwritten daily) */
  --ink: #2B1B3D;
  --bubble: #D9508F;
  --accent: #FFD45C;
  --paper: #FFF7FB;
  --muted: #6B6178;
  --line: #ECE6F2;
  --success: #2F9E6E;
  --white: #ffffff;
  --cta-bg: var(--ink);
  --cta-fg: #ffffff;
  --radius: 28px;
  --max: 720px;
  --font: "Nunito", "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@font-face {
  font-family: "Nunito";
  src: url("assets/fonts/Nunito-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--bubble);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
a:hover { color: var(--ink); }

.wrap {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
}
@media (min-width: 600px) {
  .wrap { width: min(100% - 2.5rem, var(--max)); }
}

/* Header — mark + wordmark */
.site-header {
  padding: 1.15rem 0 0.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 2.15rem;
  height: 2.15rem;
  flex: 0 0 auto;
  display: block;
}
.brand-name {
  font-weight: 900;
  font-size: 1.55rem;
  letter-spacing: -0.045em;
  line-height: 1;
}
@media (min-width: 600px) {
  .site-header { padding: 1.5rem 0 0.5rem; }
  .brand-mark { width: 2.45rem; height: 2.45rem; }
  .brand-name { font-size: 1.85rem; }
}

/* Main */
.main {
  flex: 1;
  display: flex;
  align-items: flex-start;
  padding: 1rem 0 2.5rem;
}
@media (min-height: 900px) and (min-width: 700px) {
  .main { align-items: center; padding-top: 0.5rem; }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.5rem 1.25rem;
  box-shadow: 0 18px 50px -28px rgba(43, 27, 61, 0.35);
}
@media (min-width: 600px) {
  .card {
    border-radius: var(--radius);
    padding: clamp(1.75rem, 4vw, 2.75rem);
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bubble);
  margin: 0 0 0.85rem;
}
@media (min-width: 600px) {
  .eyebrow { font-size: 0.8rem; margin-bottom: 1rem; }
}
.eyebrow::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--bubble);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--bubble) 28%, transparent);
  flex: 0 0 auto;
}

h1 {
  font-weight: 900;
  font-size: clamp(2rem, 8.5vw, 3.1rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin: 0 0 1rem;
}

.lede {
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  color: var(--muted);
  margin: 0 0 1.15rem;
  max-width: 38ch;
}

.body-copy {
  margin: 0 0 0.25rem;
  color: var(--ink);
  max-width: 42ch;
}

/* Waitlist */
.waitlist {
  border-top: 1px solid var(--line);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
}
.waitlist h2 {
  font-weight: 900;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.35rem;
}
.waitlist-sub {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 1rem;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 28rem;
}
#waitlist-fields {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.field label,
.choice legend {
  display: block;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
  padding: 0;
}
.optional {
  font-weight: 600;
  color: var(--muted);
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"] {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input::placeholder {
  color: var(--muted);
  font-weight: 500;
  opacity: 0.85;
}
.field input:hover {
  border-color: color-mix(in srgb, var(--bubble) 45%, var(--line));
}
.field input:focus {
  border-color: var(--bubble);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--bubble) 28%, transparent);
}

.field-help {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}

.choice {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.choice-row {
  display: flex;
  gap: 0.6rem;
}
.choice-card {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3rem;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 0.7rem 0.75rem;
  font-weight: 800;
  cursor: pointer;
  background: var(--white);
  color: var(--ink);
}
.choice-card input {
  accent-color: var(--bubble);
  width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  flex: 0 0 auto;
}
.choice-card:hover {
  border-color: color-mix(in srgb, var(--bubble) 45%, var(--line));
}
.choice-card:has(input:focus-visible) {
  border-color: var(--bubble);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--bubble) 28%, transparent);
}
.choice-card:has(input:checked) {
  border-color: var(--bubble);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--bubble) 28%, transparent);
}

.consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.45;
  cursor: pointer;
}
.consent input {
  margin: 0.2rem 0 0;
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 auto;
  accent-color: var(--bubble);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  appearance: none;
  border: 0;
  cursor: pointer;
  background: var(--cta-bg);
  color: var(--cta-fg);
  font-family: inherit;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.15s ease, filter 0.15s ease;
  align-self: stretch;
  width: 100%;
}
@media (min-width: 600px) {
  .cta { width: auto; align-self: flex-start; }
}
.cta:hover:not(:disabled) {
  filter: brightness(1.12);
  transform: translateY(-1px);
  color: var(--cta-fg);
}
.cta:disabled {
  opacity: 0.7;
  cursor: wait;
}

.form-status {
  margin: 0.15rem 0 0;
  font-size: 0.95rem;
  font-weight: 700;
}
.form-status--success { color: var(--success); }
.form-status--error { color: #C9483F; }
.form-status--pending { color: var(--ink); }

/* Honeypot — visually hidden, not type=hidden, so bots may still fill it */
.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Footer */
.site-footer {
  padding: 1.25rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  justify-content: space-between;
  align-items: center;
}
.footer-inner p { margin: 0; }
.footer-tag {
  font-weight: 800;
  color: var(--ink);
}
.footer-note {
  font-size: 0.8rem;
  color: var(--muted);
}
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
}
.footer-email {
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.footer-email:hover,
.footer-meta a:hover {
  color: var(--bubble);
}
.footer-meta a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}
.footer-dot { color: var(--muted); font-weight: 500; }

/* Privacy / legal */
.legal h1 { margin-bottom: 0.75rem; }
.legal h2 {
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  margin: 1.6rem 0 0.5rem;
}
.legal p, .legal li {
  max-width: 58ch;
}
.legal ul {
  margin: 0.35rem 0 1rem;
  padding-left: 1.2rem;
}
.legal li { margin: 0.25rem 0; }
.tbc {
  border: 2px dashed var(--bubble);
  background: color-mix(in srgb, var(--bubble) 8%, var(--paper));
  border-radius: 16px;
  padding: 0.9rem 1rem;
  margin: 0 0 1.5rem;
}
.tbc p { margin: 0; max-width: none; }
.tbc-inline {
  display: inline;
  border-bottom: 2px dashed var(--bubble);
  background: color-mix(in srgb, var(--bubble) 10%, var(--paper));
  padding: 0 0.15em;
}
.legal-back { margin-top: 2rem; font-weight: 800; }

@media (max-width: 480px) {
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
}
