/*
 * The New Wave — Snapshot page styles
 *
 * Used by both the hosted snapshot page (/snapshot/?token=X) and the
 * in-chat report screen, so they look identical and the user feels they're
 * looking at the same artefact whether on the chat or back via the email link.
 *
 * Design principle: typography over ornament. Monochrome only. Generous
 * whitespace. Icons are line-only, 24x24, 1.6 stroke — they sit beside the
 * heading like considered marginalia, not UI furniture.
 */

:root {
  --nww-black: #0a0a0a;
  --nww-ink: #212934;
  --nww-grey-60: #5a6068;
  --nww-grey-30: #b8bcc2;
  --nww-grey-15: #e1e3e6;
  --nww-grey-08: #f2f3f4;
  --nww-white: #ffffff;
  --nww-off: #f8f8f7;
  --nww-radius-sm: 4px;
  --nww-radius: 12px;
}

/* ── Page wrapper ──────────────────────────────────────────────────────────── */

.nww-snapshot-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 28px 96px;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--nww-ink);
  line-height: 1.55;
  font-size: 17px;
  background: var(--nww-white);
}

@media (max-width: 600px) {
  .nww-snapshot-page { padding: 32px 22px 64px; font-size: 16px; }
}

/* ── Header ─────────────────────────────────────────────────────────────────── */

.nww-snapshot-header {
  margin-bottom: 56px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--nww-grey-15);
}

.nww-brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nww-black);
  font-weight: 600;
}
.nww-brand-mark svg {
  flex-shrink: 0;
}

.nww-snapshot-eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--nww-grey-60);
  margin-bottom: 14px;
  font-weight: 500;
}

.nww-snapshot-page h1 {
  font-size: 38px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--nww-black);
  margin: 0;
  max-width: 560px;
}

@media (max-width: 600px) {
  .nww-snapshot-page h1 { font-size: 30px; }
  .nww-snapshot-header  { margin-bottom: 40px; padding-bottom: 22px; }
}

/* ── Sections ───────────────────────────────────────────────────────────────── */

.nww-section {
  margin: 0 0 56px;
  position: relative;
}
.nww-section:last-of-type {
  margin-bottom: 40px;
}

.nww-section-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
  color: var(--nww-black);
}
.nww-section-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.nww-section h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--nww-black);
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  line-height: 1.3;
}

.nww-section p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--nww-ink);
  margin: 0 0 14px;
}
.nww-section p:last-child { margin-bottom: 0; }

@media (max-width: 600px) {
  .nww-section { margin-bottom: 44px; }
  .nww-section h2 { font-size: 20px; }
  .nww-section p { font-size: 16px; }
}

/* ── Reflection (the hero block) ────────────────────────────────────────────── */

.nww-reflection-section {
  background: var(--nww-off);
  border-left: 3px solid var(--nww-black);
  padding: 36px 36px 28px;
  margin-bottom: 64px;
  position: relative;
}

.nww-quote-mark {
  position: absolute;
  top: 14px;
  left: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 56px;
  line-height: 1;
  color: var(--nww-grey-30);
  font-weight: 700;
  user-select: none;
  pointer-events: none;
}

.nww-reflection-prose {
  position: relative;
  z-index: 1;
  padding-top: 12px;
}
.nww-reflection-prose p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--nww-ink);
  margin: 0 0 18px;
  font-style: normal;
}
.nww-reflection-prose p:first-child::first-letter {
  font-weight: 600;
}
.nww-reflection-prose p:last-child {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .nww-reflection-section { padding: 28px 22px 22px; }
  .nww-quote-mark { font-size: 44px; top: 10px; left: 14px; }
  .nww-reflection-prose p { font-size: 16px; }
}

/* ── Band card ──────────────────────────────────────────────────────────────── */

.nww-band-section {
  border: 1px solid var(--nww-grey-15);
  border-radius: var(--nww-radius);
  padding: 28px 32px;
  background: var(--nww-white);
}
.nww-band-section .nww-section-eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--nww-grey-60);
  margin-bottom: 8px;
  font-weight: 500;
}
.nww-band-headline {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--nww-black);
  margin: 0 0 8px;
  line-height: 1.15;
}
.nww-band-body {
  font-size: 16px;
  color: var(--nww-grey-60);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 600px) {
  .nww-band-section { padding: 22px 22px; }
  .nww-band-headline { font-size: 26px; }
}

/* ── Lists (numbered + question) ────────────────────────────────────────────── */

.nww-numbered-list {
  list-style: none;
  counter-reset: nww-counter;
  padding: 0;
  margin: 0;
}
.nww-numbered-list li {
  counter-increment: nww-counter;
  position: relative;
  padding: 14px 0 14px 44px;
  font-size: 16px;
  line-height: 1.6;
  border-bottom: 1px solid var(--nww-grey-15);
}
.nww-numbered-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.nww-numbered-list li:first-child {
  padding-top: 4px;
}
.nww-numbered-list li::before {
  content: counter(nww-counter);
  position: absolute;
  left: 0;
  top: 14px;
  width: 28px;
  height: 28px;
  border: 1px solid var(--nww-black);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nww-black);
}
.nww-numbered-list li:first-child::before { top: 4px; }

.nww-question-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nww-question-list li {
  position: relative;
  padding: 12px 0 12px 24px;
  font-size: 16px;
  line-height: 1.65;
  font-style: italic;
  color: var(--nww-ink);
  border-bottom: 1px solid var(--nww-grey-15);
}
.nww-question-list li:last-child { border-bottom: none; padding-bottom: 0; }
.nww-question-list li:first-child { padding-top: 4px; }
.nww-question-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--nww-grey-30);
  font-style: normal;
}
.nww-question-list li:first-child::before { top: 4px; }

/* ── CTA section ────────────────────────────────────────────────────────────── */

.nww-cta-section {
  margin-top: 72px;
  padding: 36px 32px 32px;
  background: var(--nww-black);
  color: var(--nww-white);
  border-radius: var(--nww-radius);
  text-align: left;
}
.nww-cta-section h2 {
  color: var(--nww-white);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.nww-cta-section p {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 560px;
}
.nww-cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.nww-cta-primary {
  display: inline-block;
  background: var(--nww-white);
  color: var(--nww-black);
  text-decoration: none;
  padding: 14px 24px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  border-radius: var(--nww-radius-sm);
  border: 1px solid var(--nww-white);
  transition: background 0.15s ease;
}
.nww-cta-primary:hover {
  background: rgba(255,255,255,0.92);
  color: var(--nww-black);
}
.nww-cta-secondary {
  display: inline-block;
  color: rgba(255,255,255,0.85);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 14px;
  padding: 4px 0;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nww-cta-secondary:hover {
  color: var(--nww-white);
}
.nww-cta-confirmed {
  color: var(--nww-white) !important;
  font-weight: 500;
  margin: 0 !important;
}

@media (max-width: 600px) {
  .nww-cta-section { padding: 28px 24px 24px; margin-top: 56px; }
  .nww-cta-section h2 { font-size: 20px; }
}

/* ── Footer ─────────────────────────────────────────────────────────────────── */

.nww-snapshot-footer {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--nww-grey-15);
  font-size: 13px;
  color: var(--nww-grey-60);
}
.nww-snapshot-footer p { margin: 4px 0; }
.nww-footer-brand {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nww-black);
  font-weight: 600;
  font-size: 11px;
}

/* ── Not-found state ────────────────────────────────────────────────────────── */

.nww-snapshot-not-found {
  text-align: center;
  padding: 80px 28px;
  max-width: 480px;
  margin: 0 auto;
}
.nww-snapshot-not-found h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--nww-black);
  margin: 0 0 16px;
}
.nww-snapshot-not-found p {
  color: var(--nww-grey-60);
  font-size: 16px;
  line-height: 1.65;
}
