/* ===== EVENING — COUPLES CHECK-UP (couples-checkup.html) =====
   Loaded after evening.css. CSS only: checkup.js, the markup and the copy are
   untouched (this page is a live ad destination).
   - Intro and result sit on the night ground: serif headlines, ember accents.
   - Each question is a paper card, like the homepage check-up card.
   - The colour chips keep their own colours (they are answers, not decoration).
   Remove this link to return the check-up to its previous look. */

.checkup-body {
  --paper-ink-2: #5A4632;   /* secondary text on paper: 6.9:1 */
  --paper-accent: #8A5A12;  /* small accent text on paper: 4.6:1 */
  --pick: #C2416A;          /* picked answer on paper; white on it 4.9:1 */
  background:
    radial-gradient(70% 45% at 50% 0%, rgba(255, 176, 102, 0.09), transparent 70%),
    var(--night);
  color: var(--candle);
}

.cu { padding-top: clamp(1.5rem, 4vw, 3rem); }

/* ── Shared ─────────────────────────────────────────────────── */
.cu-eyebrow {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 1.1rem; letter-spacing: 0; text-transform: none;
  color: var(--ember);
}
.cu h1, .cu h2 { font-family: var(--serif); color: var(--candle); letter-spacing: -0.01em; }
.cu h1 { font-weight: 300; font-size: clamp(2rem, 1.5rem + 2vw, 2.9rem); line-height: 1.12; }
.cu h2 { font-weight: 400; font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.9rem); line-height: 1.2; }
.cu-sub { color: var(--haze); font-size: 1.08rem; }
.cu-hint { color: var(--haze); }
.cu-fine { color: var(--haze); opacity: 1; }

/* Primary action: the site's ember button */
.cu-btn {
  min-height: 54px;
  font-family: var(--sans); font-weight: 500; font-size: 1.05rem;
  color: #2A1406;
  background: linear-gradient(180deg, #FFC488, var(--ember));
  box-shadow: 0 0 0 1px rgba(255, 196, 136, 0.5) inset, 0 10px 34px -10px rgba(255, 160, 80, 0.7);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.25s, opacity 0.2s;
}
.cu-btn:hover {
  background: linear-gradient(180deg, #FFCB95, #FFB875);
  box-shadow: 0 0 0 1px rgba(255, 196, 136, 0.6) inset, 0 16px 44px -10px rgba(255, 160, 80, 0.9);
}
.cu-btn:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
.cu-btn-ghost {
  color: var(--candle);
  background: transparent;
  border: 0;
  box-shadow: 0 0 0 1px var(--border-strong) inset;
}
.cu-btn-ghost:hover {
  color: var(--candle);
  background: rgba(255, 243, 228, 0.07);
  box-shadow: 0 0 0 1px rgba(255, 243, 228, 0.45) inset;
}

/* ── Intro ──────────────────────────────────────────────────── */
.cu-intro { padding-block: clamp(1.5rem, 5vw, 3.5rem) 1rem; }
.cu-intro h1 { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 3.6rem); line-height: 1.06; margin-bottom: 1rem; }
.cu-meta { color: var(--haze); font-size: 0.92rem; }
.cu-privacy {
  margin-top: 2rem;
  background: rgba(255, 243, 228, 0.04);
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--haze);
  font-size: 0.92rem;
}

/* ── Question: a paper card ─────────────────────────────────── */
.cu-q {
  position: relative;
  padding: clamp(22px, 4vw, 40px);
  border-radius: 28px;
  background: linear-gradient(160deg, #FBF1E4, #F3E2CC);
  color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
}
.cu-q :focus-visible { outline-color: var(--pick); }
.cu-q > :last-child { margin-bottom: 0; }

.cu-progress { margin-bottom: 1.4rem; }
.cu-progress-row { color: var(--paper-ink-2); font-size: 0.89rem; }
.cu-progress-track { height: 4px; background: rgba(45, 31, 16, 0.12); }
.cu-progress-fill { background: var(--pick); }
.cu-back { color: var(--paper-accent); font-size: 0.9rem; }
.cu-back:hover { color: var(--ink); }

.cu-stem { color: var(--paper-accent); font-weight: 500; font-size: 0.95rem; }
.cu .cu-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.5rem, 1.25rem + 1vw, 1.9rem); line-height: 1.22;
  color: var(--ink); margin-bottom: 0.5rem;
}
.cu-q .cu-hint { color: var(--paper-ink-2); }
.cu-title + .cu-opts, .cu-title + .cu-chips, .cu-title + .cu-matrix { margin-top: 1.1rem; }

/* Answer rows (single, frequency, pick-two, pick-any) */
.cu-opts { gap: 8px; }
.cu-opt {
  min-height: 52px;
  padding: 0.75rem 1.1rem;
  border: 1px solid rgba(45, 31, 16, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  font-family: var(--sans); font-size: 1rem;
}
.cu-opt:hover { border-color: rgba(45, 31, 16, 0.45); background: #fff; }
.cu-opt[aria-pressed="true"] {
  border-color: var(--pick);
  background: #fff;
  font-weight: 500;
  box-shadow: 0 0 0 1px var(--pick) inset;
}
.cu-opt-mark { width: 20px; height: 20px; border: 1.5px solid rgba(45, 31, 16, 0.4); }
.cu-opt[aria-pressed="true"] .cu-opt-mark { border-color: var(--pick); background: var(--pick); color: #fff; }

/* Colour chips: the swatches are the answer, so they keep their colours */
.cu-chips { gap: 8px; }
.cu-chip {
  border: 1px solid rgba(45, 31, 16, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  font-family: var(--sans); font-size: 1rem;
  transition: border-color 0.18s, background-color 0.18s, transform 0.12s;
}
.cu-chip:hover { border-color: rgba(45, 31, 16, 0.45); background: #fff; }
.cu-chip[aria-pressed="true"] {
  border-width: 1px;
  border-color: var(--pick);
  background: #fff;
  font-weight: 500;
  box-shadow: 0 0 0 1px var(--pick) inset;
}
.cu-swatch { width: 38px; height: 38px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1), 0 4px 10px -4px rgba(45, 31, 16, 0.4); }

/* Me / Them / Both / Neither */
.cu-mrow-label { color: var(--ink); font-weight: 500; }
.cu-mopt {
  border: 1px solid rgba(45, 31, 16, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  font-family: var(--sans);
}
.cu-mopt:hover { border-color: rgba(45, 31, 16, 0.45); background: #fff; }
.cu-mopt[aria-pressed="true"] {
  border-color: var(--pick);
  background: var(--pick);
  color: #fff;
  font-weight: 500;
}

/* Continue button on paper: dark ink, so it reads against the card */
.cu-q .cu-btn {
  color: var(--candle);
  background: var(--ink);
  box-shadow: 0 12px 26px -14px rgba(45, 31, 16, 0.8);
}
.cu-q .cu-btn:hover:not([disabled]) { background: #46301A; }
.cu-q .cu-btn[disabled] { opacity: 0.3; }

/* ── Result ─────────────────────────────────────────────────── */
.cu-result h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.2rem); line-height: 1.08; margin-bottom: 0.6rem; }
.cu-badge {
  padding: 0.3rem 0.95rem;
  background: rgba(240, 102, 140, 0.14);
  box-shadow: 0 0 0 1px rgba(240, 102, 140, 0.35) inset;
  color: #FF9DB8;
  font-family: var(--sans); font-size: 0.92rem; font-weight: 500;
  letter-spacing: 0;
}
.cu .cu-hook, [dir="rtl"] .cu .cu-hook {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); line-height: 1.45;
  color: var(--ember-soft);
  background: var(--night-2);
  border-inline-start: 3px solid var(--rose);
  border-radius: 18px;
  border-start-start-radius: 0; border-end-start-radius: 0;
}
.cu-body p { color: #DCD3EC; }
.cu-careful { color: var(--haze); border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 243, 228, 0.03); }
.cu-careful a { color: var(--ember); }

.cu-section { margin-top: clamp(2.6rem, 6vw, 3.6rem); }
.cu-section > h2 { margin-bottom: 0.5rem; }
.cu-section > .cu-hint { margin-bottom: 1.2rem; }

/* The shape */
.cu-radar {
  margin: 0.4rem 0 0;
  padding: 1rem 0.4rem 0.6rem;
  background:
    radial-gradient(50% 60% at 50% 50%, rgba(255, 176, 102, 0.06), transparent 70%),
    var(--night-2);
  border: 1px solid var(--line);
  border-radius: 24px;
}
.cu-ring { stroke: rgba(185, 174, 214, 0.18); }
.cu-ring:last-of-type { stroke: rgba(185, 174, 214, 0.34); }
.cu-spoke { stroke: rgba(185, 174, 214, 0.18); }
.cu-shape { fill: rgba(255, 176, 102, 0.22); stroke: var(--ember); }
.cu-dot { fill: var(--ember); stroke: var(--night-2); }
.cu-dot.is-low { fill: var(--rose); }
.cu-axis { font-family: var(--sans); font-weight: 500; fill: var(--haze); }
.cu-axis.is-low { fill: #FF9DB8; }
.cu-axis-n { font-weight: 500; opacity: 0.75; }

.cu-callouts { gap: 10px; margin-top: 12px; }
.cu-callout { background: var(--night-2); border: 1px solid var(--line); border-radius: 16px; }
.cu-callout.is-high { border-color: rgba(255, 176, 102, 0.35); }
.cu-callout.is-low { border-color: rgba(240, 102, 140, 0.35); }
.cu-callout-k {
  font-size: 0.88rem; font-weight: 400; letter-spacing: 0; text-transform: none;
  color: var(--haze); opacity: 1;
}
.cu-callout strong { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; }
.cu-callout.is-high strong { color: var(--ember); }
.cu-callout.is-low strong { color: #FF9DB8; }

/* The 7-day plan gate: a raised, lamplit panel */
.cu-email {
  margin-top: clamp(2.6rem, 6vw, 3.6rem);
  padding: clamp(1.5rem, 4vw, 2.2rem);
  border: 1px solid rgba(255, 176, 102, 0.32);
  border-radius: 24px;
  background:
    radial-gradient(80% 70% at 50% 0%, rgba(255, 176, 102, 0.14), transparent 70%),
    var(--night-3);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}
.cu-email .cu-hint { color: #DCD3EC; margin-bottom: 1.2rem; }
.cu-email input[type="email"] {
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding-inline: 1.3rem;
  background: rgba(26, 22, 48, 0.6);
  color: var(--candle);
  font-family: var(--sans);
}
.cu-email input[type="email"]:focus,
.cu-email input[type="email"]:focus-visible { outline: none; border-color: var(--ember); background: rgba(26, 22, 48, 0.85); }
.cu-consent { color: #DCD3EC; font-size: 0.9rem; }
.cu-consent a { color: var(--ember); }
.cu-consent input { accent-color: var(--ember); }
.cu-consent-note { color: var(--haze); opacity: 1; font-size: 0.82rem; }
.cu-msg.is-ok { color: #9ED9A8; }
.cu-msg.is-err { color: #FF9DB8; }

/* Plan days (after unlocking) */
.cu-days { gap: 10px; }
.cu-day { background: var(--night-2); border: 1px solid var(--line); border-radius: 18px; }
.cu-day[open] { border-color: rgba(255, 176, 102, 0.3); }
.cu-day summary { color: var(--candle); font-weight: 500; font-size: 1.05rem; }
.cu-day summary:hover { color: var(--ember-soft); }
.cu-day-n {
  background: rgba(255, 176, 102, 0.14);
  box-shadow: 0 0 0 1px rgba(255, 176, 102, 0.35) inset;
  color: var(--ember);
  font-family: var(--serif); font-weight: 500; font-size: 0.95rem;
}
.cu-day-body p { color: #DCD3EC; }
.cu-day-note { color: var(--haze); border-inline-start-color: rgba(255, 176, 102, 0.45); }

/* Read next / next step */
.cu-nextcard {
  padding: 1.2rem 1.3rem;
  background: var(--night-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--candle);
}
.cu-nextcard:hover { border-color: rgba(255, 176, 102, 0.45); transform: translateY(-2px); }
.cu-nextcard strong { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; line-height: 1.25; color: var(--ember); margin-bottom: 0.35rem; }
.cu-nextcard span { color: var(--haze); }

.cu-foot { padding-top: 2rem; border-top: 1px solid var(--line); }

/* ── Safety exit ────────────────────────────────────────────── */
.cu-exit p { color: #DCD3EC; }
.cu-help a {
  border: 0;
  background: transparent;
  color: var(--ember);
  box-shadow: 0 0 0 1px rgba(255, 176, 102, 0.55) inset;
}
.cu-help a:hover { background: rgba(255, 176, 102, 0.08); }

/* ── Hebrew: no synthetic italics in Hebrew type ────────────── */
[dir="rtl"] .cu-eyebrow { font-style: normal; }

/* ── Wider screens ─────────────────────────────────────────── */
@media (min-width: 768px) {
  .cu .cu-title { font-size: 1.9rem; }
  .cu-chips { gap: 10px; }
  .cu-email .cu-btn { padding-inline: 1.9rem; }
  .cu-result .cu-btn-ghost { width: auto; min-width: 16rem; padding-inline: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .cu-btn, .cu-nextcard, .cu-chip, .cu-opt { transition: none; }
  .cu-nextcard:hover { transform: none; }
}
