@font-face { font-family: "Fraunces"; src: url("assets/fonts/Fraunces-VariableFont.ttf") format("truetype-variations"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("assets/fonts/Fraunces-Italic-VariableFont.ttf") format("truetype-variations"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Cuprum"; src: url("assets/fonts/Cuprum-VariableFont_wght.ttf") format("truetype-variations"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --cw-marsala-deep: #50021E; --cw-marsala: #660226; --cw-red: #E40232; --cw-pink: #CB0E4F;
  --cw-yellow: #F59C00; --cw-cream: #F6F3F5; --cw-ink: #1A0009; --fg-muted: #5A4951;
  --font-display: "Fraunces", Georgia, serif; --font-body: "Cuprum", "Arial Narrow", system-ui, sans-serif;
  --r-md: 14px; --r-lg: 22px; --r-pill: 999px;
  --shadow-soft: 0 2px 6px rgba(80,2,30,0.08), 0 10px 24px rgba(80,2,30,0.06);
  --shadow-pop: 0 6px 0 var(--cw-marsala-deep);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--cw-cream); color: var(--cw-ink); font-family: var(--font-body); font-size: 17px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
a { color: var(--cw-pink); } a:hover { color: var(--cw-marsala-deep); }
h1, h2, h3 { margin: 0; }
p { margin: 0; text-wrap: pretty; }
.page { display: flex; flex-direction: column; align-items: center; padding: 24px 24px 64px; overflow: hidden; }
.frame { width: 100%; max-width: 760px; display: flex; flex-direction: column; gap: 24px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.cw-display-l { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 4.5vw, 3.2rem); line-height: 0.98; letter-spacing: -0.025em; font-variation-settings: "SOFT" 70, "WONK" 1, "opsz" 96; color: var(--cw-marsala-deep); }
.cw-display { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.02; letter-spacing: -0.02em; font-variation-settings: "SOFT" 50, "WONK" 1, "opsz" 72; }
.cw-eyebrow { font-family: var(--font-body); font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.10em; text-transform: uppercase; }
.cw-handle { font-family: var(--font-body); font-weight: 700; letter-spacing: -0.02em; color: var(--cw-marsala); }
.cw-small { font-size: 0.9375rem; }
.cw-mark { background: var(--cw-yellow); color: var(--cw-marsala-deep); padding: 0 0.18em; border-radius: 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.em { font-style: italic; }
.muted { color: var(--fg-muted); }
.yellow { color: var(--cw-yellow); }
.pink { color: var(--cw-pink); }
.marsala { color: var(--cw-marsala-deep); }
.bold { font-weight: 700; }
.lead { font-size: 20px; line-height: 1.5; max-width: 50ch; }

.stack-12 { display: flex; flex-direction: column; gap: 12px; }
.stack-16 { display: flex; flex-direction: column; gap: 16px; }
.stack-18 { display: flex; flex-direction: column; gap: 18px; }
.stack-24 { display: flex; flex-direction: column; gap: 20px; }
.stack-32 { display: flex; flex-direction: column; gap: 32px; }
.row-20 { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.sticker { padding: 8px 16px; border-radius: 6px; box-shadow: var(--shadow-pop); white-space: nowrap; display: inline-block; }
.sticker-pink { background: var(--cw-pink); color: var(--cw-cream); transform: rotate(-2deg); }
.sticker-yellow { background: var(--cw-yellow); color: var(--cw-marsala-deep); font-weight: 700; font-size: 15px; }
.sticker-flat { background: var(--cw-yellow); color: var(--cw-marsala-deep); padding: 6px 14px; border-radius: 6px; transform: rotate(-1deg); white-space: nowrap; display: inline-block; }

.btn { font-family: var(--font-body); font-weight: 700; font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase; border: none; border-radius: var(--r-pill); padding: 13px 30px; cursor: pointer; white-space: nowrap; transition: transform 140ms; text-decoration: none; display: inline-block; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.97); }
.btn-pink { background: var(--cw-pink); color: var(--cw-cream); }
.btn-pink:disabled { background: rgba(80,2,30,0.12); color: rgba(80,2,30,0.40); cursor: default; transform: none; }
.btn-pop { font-size: 18px; padding: 16px 36px; box-shadow: var(--shadow-pop); }
.btn-pop:active { box-shadow: none; }
.btn-cream { background: var(--cw-cream); color: var(--cw-pink); align-self: flex-start; }
.btn-cream:hover { color: var(--cw-marsala-deep); }
.linkbtn { background: none; border: none; color: var(--cw-marsala); opacity: 0.7; font-family: var(--font-body); font-size: 15px; cursor: pointer; padding: 0; }
.linkbtn:hover { opacity: 1; }
.center { align-self: center; font-size: 16px; }

.intro-grid { display: grid; grid-template-columns: 1fr 240px; gap: 28px; align-items: center; padding-top: 4px; }
.squiggle { width: 110px; height: 37px; margin: -6px 0; }
.polaroid-wrap { position: relative; justify-self: center; }
.polaroid { background: #FFFFFF; padding: 10px 10px 30px; box-shadow: var(--shadow-pop); }
.polaroid img { display: block; width: 210px; height: 260px; object-fit: cover; object-position: 47% 22%; }
.rot3 { transform: rotate(3deg); }
.rot-l3 { transform: rotate(-3deg); justify-self: center; }
.rot-l3 { padding: 8px 8px 24px; }
.rot-l3 img { width: 150px; height: 180px; object-position: 60% 15%; }
.burst { position: absolute; top: -22px; left: -26px; width: 44px; height: 44px; transform: rotate(-12deg); }
.polaroid-tag { position: absolute; bottom: -14px; left: -30px; transform: rotate(-4deg); }

.track { height: 8px; background: rgba(80,2,30,0.10); border-radius: 999px; overflow: hidden; }
.bar { height: 100%; width: 0%; background: var(--cw-pink); border-radius: 999px; transition: width 420ms cubic-bezier(0.22,0.61,0.36,1); }
.qtext { font-family: var(--font-display); font-weight: 600; font-size: 28px; color: var(--cw-marsala-deep); line-height: 1.2; font-variation-settings: "SOFT" 50, "WONK" 1, "opsz" 48; }
.field { width: 100%; background: #FFFFFF; color: var(--cw-ink); border: none; border-radius: var(--r-md); padding: 18px 20px; font-family: var(--font-body); font-size: 17px; line-height: 1.5; resize: vertical; outline: none; box-shadow: var(--shadow-soft); }
.field::placeholder { color: rgba(26,0,9,0.35); }
.consent-row { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.consent-row input { margin-top: 3px; width: 18px; height: 18px; accent-color: #CB0E4F; flex: none; }

.loading { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 96px 0; text-align: center; }
.loading-emoji { font-size: 56px; }
.loading-title { font-family: var(--font-display); font-style: italic; font-size: 28px; color: var(--cw-marsala-deep); }

.card { border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.card h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.15; }
.card-marsala { background: var(--cw-marsala-deep); color: var(--cw-cream); padding: 40px 36px; position: relative; gap: 14px; }
.card-white { background: #FFFFFF; color: var(--cw-ink); box-shadow: var(--shadow-soft); padding: 32px 32px 36px; }
.card-red { background: #BA0107; color: var(--cw-cream); }
.card-pink { background: var(--cw-pink); color: var(--cw-cream); }
.rot-l { transform: rotate(-0.5deg); }
.rot-r { transform: rotate(0.5deg); }
.hero .cw-display { color: var(--cw-cream); }
.r-headline { font-family: var(--font-body); font-size: 24px; font-weight: 600; opacity: 0.9; line-height: 1.2; }
.score-chip { position: absolute; top: -16px; right: 28px; border-radius: 999px; padding: 8px 18px; transform: rotate(3deg); animation: cwPop 420ms cubic-bezier(0.34,1.56,0.64,1) both; }
.num { flex: none; width: 26px; height: 26px; border-radius: 999px; background: var(--cw-cream); color: #BA0107; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.unseen-row { display: flex; gap: 12px; align-items: flex-start; }
.unseen-row p { padding-top: 2px; line-height: 1.5; }
.cta-grid { display: grid; grid-template-columns: 1fr 180px; gap: 24px; align-items: center; }
.cta-grid h3 { font-size: 24px; }

.fade-up { animation: cwFadeUp 420ms cubic-bezier(0.22,0.61,0.36,1) both; }
.pulse { animation: cwPulse 1.8s ease-in-out infinite; }
@keyframes cwFadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes cwPop { 0% { transform: scale(0.6) rotate(-6deg); opacity: 0; } 100% { transform: scale(1) rotate(3deg); opacity: 1; } }
@keyframes cwPulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

@media (max-width: 640px) {
  .page { padding: 20px 18px 56px; }
  .topbar .cw-handle { display: none; }
  .intro-grid { grid-template-columns: 1fr 118px; gap: 18px; padding-top: 8px; align-items: start; }
  .intro-grid > .stack-24 { display: contents; }
  .intro-grid h1 { grid-column: 1; grid-row: 1; font-size: 1.9rem; }
  .polaroid-wrap { grid-column: 2; grid-row: 1; justify-self: end; margin: 4px 4px 0 0; }
  .polaroid { padding: 6px 6px 16px; }
  .polaroid img { width: 106px; height: 132px; }
  .burst { width: 28px; height: 28px; top: -12px; left: -12px; }
  .polaroid-tag { display: none; }
  .intro-grid .row-20 { grid-column: 1 / -1; }
  .intro-grid .lead { grid-column: 1 / -1; font-size: 17px; }
  .squiggle, .intro-grid .muted { display: none; }
  .btn-pop { font-size: 16px; padding: 14px 28px; }
  .cta-grid { grid-template-columns: 1fr; }
  .score-chip { position: static; align-self: flex-start; margin-top: 4px; }
}
