@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }

:root {
  --bg: #120d17;
  --bg2: #1b1422;
  --ink: #f6eef0;
  --muted: #b9a9b6;
  --line: rgba(255, 255, 255, 0.1);
  --card: rgba(255, 255, 255, 0.045);
  --accent: #ec7fa3;
  --gold: #f2c27b;
  --err: #ff9b8f;
  --radius: 18px;
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink);
  font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
a { color: var(--gold); text-underline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.glow {
  position: fixed; inset: -20vh -20vw auto; height: 90vh; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 50% at 20% 30%, rgba(236, 127, 163, 0.22), transparent 70%),
    radial-gradient(35% 45% at 85% 20%, rgba(242, 194, 123, 0.16), transparent 70%),
    radial-gradient(50% 60% at 60% 80%, rgba(120, 80, 160, 0.18), transparent 70%);
  filter: blur(10px);
}

.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1040px; margin: 0 auto; padding: 20px 22px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 600 17px/1 var(--serif); letter-spacing: 0.01em; }
.mark { width: 30px; height: 30px; }
.pill { font-size: 12px; color: var(--muted); border: 1px solid var(--line); padding: 6px 11px; border-radius: 999px; white-space: nowrap; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 4vh 22px 40px; }
.hero, .panel { max-width: 640px; animation: rise 0.6s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; font-weight: 600; margin: 0 0 14px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(36px, 7vw, 62px); line-height: 1.04; }
h2 { font-size: clamp(30px, 5.5vw, 44px); line-height: 1.08; margin-bottom: 18px; }
h3 { font-size: 22px; margin-bottom: 6px; }
.lede { color: var(--muted); font-size: 18px; margin: 18px 0 28px; max-width: 560px; }
.lede.small { font-size: 16px; margin: 12px 0 22px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); margin-bottom: 18px; }
.card p { color: var(--muted); margin: 6px 0 14px; }
.card p strong { color: var(--ink); font-weight: 600; }

.row { display: flex; gap: 10px; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: rgba(0, 0, 0, 0.28); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 15px; outline: none; transition: border-color 0.2s, box-shadow 0.2s; font-size: 16px;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(236, 127, 163, 0.2); }
::placeholder { color: #8a7a88; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; cursor: pointer;
  font: 600 16px/1 var(--sans); color: #1a0f16; border: 0; border-radius: 12px; padding: 15px 20px; text-decoration: none;
  background: linear-gradient(135deg, var(--accent), var(--gold)); box-shadow: 0 8px 30px rgba(236, 127, 163, 0.25);
  transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 36px rgba(236, 127, 163, 0.35); }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); box-shadow: none; font-weight: 500; }
.btn.ghost:hover { border-color: var(--accent); }
.link { background: none; border: 0; color: var(--muted); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 10px; }

.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--accent); padding: 0; }
.ts { margin-top: 14px; min-height: 0; }
.err { color: var(--err); font-size: 14px; margin: 10px 0 0; min-height: 0; }
.err:empty { display: none; }
.err.box {
  margin: 16px 0 0; padding: 12px 14px 12px 40px; border-radius: 12px; position: relative;
  background: rgba(255, 110, 95, 0.14); border: 1px solid rgba(255, 140, 125, 0.6);
  color: #ffd2cc; font-size: 15px; font-weight: 500; line-height: 1.45;
}
.err.box::before {
  content: "!"; position: absolute; left: 13px; top: 12px; width: 18px; height: 18px; border-radius: 50%;
  background: #ff8a7a; color: #1a0f16; font: 700 12px/18px var(--sans); text-align: center;
}
.err.box.shake { animation: shake 0.35s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.fine { margin: 12px 2px 0; font-size: 12.5px; line-height: 1.5; color: #8f7f8d; text-align: center; }
.fine a { color: inherit; }
.btn.wide { width: 100%; margin-top: 16px; }
.check.missing span { color: #ffd2cc; }
.check.missing input { outline: 2px solid #ff8a7a; outline-offset: 2px; }
input.missing { border-color: #ff8a7a; }

.points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; color: var(--muted); font-size: 15px; }
.points li { padding-left: 22px; position: relative; }
.points li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--gold)); }
.points strong { color: var(--ink); font-weight: 600; }

.faq { margin: 44px 0 0; border-top: 1px solid var(--line); padding-top: 26px; }
.faq h2 { font-size: 20px; margin: 0 0 12px; }
.faq details { border-bottom: 1px solid var(--line); padding: 12px 2px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; position: relative; padding-right: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: -1px; color: var(--gold); font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 8px 0 2px; color: var(--muted); font-size: 15px; }

.form-grid { display: grid; gap: 22px; }
fieldset { border: 0; padding: 0; margin: 0; }
legend, .form-grid label { font-weight: 500; font-size: 15px; margin-bottom: 10px; display: block; }
.form-grid label input, .form-grid label select, .form-grid label textarea { margin-top: 8px; font-weight: 400; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button {
  font: inherit; font-size: 15px; color: var(--ink); background: rgba(0, 0, 0, 0.25); border: 1px solid var(--line);
  border-radius: 999px; padding: 10px 15px; cursor: pointer; transition: all 0.15s;
}
.chips button:hover { border-color: rgba(236, 127, 163, 0.6); }
.chips button[aria-pressed="true"] { background: linear-gradient(135deg, rgba(236, 127, 163, 0.28), rgba(242, 194, 123, 0.22)); border-color: var(--accent); }
.sub { display: grid; gap: 14px; padding: 14px; border-radius: 14px; background: rgba(0, 0, 0, 0.18); border: 1px dashed var(--line); }
.actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.pos { background: linear-gradient(135deg, var(--accent), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.share { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.share .btn { padding: 11px 15px; font-size: 14px; }
.founding { border-color: rgba(242, 194, 123, 0.35); background: linear-gradient(160deg, rgba(242, 194, 123, 0.08), rgba(236, 127, 163, 0.05)); }
.founding .q { color: var(--ink); font-size: 18px; }
.note.mailnote { margin: 0 0 22px; border: 1px solid rgba(242, 194, 123, 0.4); line-height: 1.5; }
.note.confirmed { margin: 0 0 22px; border: 1px solid rgba(242, 194, 123, 0.4); }
.note { color: var(--ink) !important; background: rgba(0, 0, 0, 0.25); border-radius: 12px; padding: 12px 14px; font-size: 15px; }

.foot { max-width: 1040px; margin: 0 auto; padding: 24px 22px 40px; color: #8a7a88; font-size: 13px; }
.foot a { color: inherit; }

/* privacy page */
.doc { max-width: 720px; }
.doc h1 { font-size: clamp(32px, 6vw, 46px); margin-bottom: 8px; }
.doc h2 { font-size: 22px; margin: 32px 0 8px; }
.doc p, .doc li { color: #d9cbd5; }

@media (max-width: 560px) {
  .row { flex-direction: column; }
  .btn { width: 100%; }
  .actions .link { width: 100%; }
  .pill { display: none; }
  .share .btn { width: auto; flex: 1; }
  .wrap { padding-top: 2vh; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* A/B test "photos" version: small polaroid snapshots above the headline */
.polaroids { margin: 0 0 22px; }
.snaps { display: flex; justify-content: flex-start; padding: 6px 4px 4px; }
.snaps img {
  width: clamp(96px, 27vw, 150px); height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block;
  background: #f4efe6; padding: 7px 7px 26px; border-radius: 3px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45), 0 1px 2px rgba(0, 0, 0, 0.3);
  transform: rotate(-5deg);
}
.snaps img + img { margin-left: -14px; }
.snaps img:nth-child(2) { transform: rotate(3deg) translateY(6px); z-index: 1; }
.snaps img:nth-child(3) { transform: rotate(-2deg) translateY(-2px); }
.foot .fineprint { font-size: 11px; margin-top: 4px; opacity: 0.8; }
