/* Datable styles. Version marker: DATABLE_V1 */
:root {
  --ground: #17121C; --surface: #241C2B; --line: #3A3042; --text: #F7F2F8; --muted: #BDB2C4;
  --rose: #FF5C93; --rose-soft: rgba(255, 92, 147, 0.16); --gold: #FFC857; --gold-soft: rgba(255, 200, 87, 0.16);
  --display: 'Space Grotesk', system-ui, sans-serif; --body: 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--ground); color: var(--text); font-family: var(--body); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--rose); }
button { font-family: var(--body); }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { width: 100%; max-width: 480px; margin: 0 auto; padding: 24px 20px 48px; }

.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-family: var(--display); font-weight: 700; font-size: 24px; color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; background: none; border: none; cursor: pointer; padding: 0; }
.logo-img { height: 30px; width: auto; display: block; }
.logo-dot { width: 12px; height: 12px; border-radius: 6px; background: var(--rose); }
.ghost { color: var(--text); font-weight: 600; font-size: 15px; min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid var(--line); background: transparent; cursor: pointer; }

.hero { min-height: calc(100vh - 72px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 20px 64px; gap: 22px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
h1 { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 8.6vw, 84px); line-height: 1.02; margin: 0; max-width: 900px; }
h1 em { font-style: normal; color: var(--rose); white-space: nowrap; }
.lede { font-size: clamp(17px, 2.2vw, 21px); color: var(--muted); max-width: 560px; margin: 0; }
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 72px; padding: 0 44px; border-radius: 36px; border: none; background: var(--rose); color: var(--ground); font-size: 21px; font-weight: 600; cursor: pointer; animation: pulse 2.4s infinite; transition: transform 0.15s ease; }
.cta:hover { transform: translateY(-2px); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 92, 147, 0.5); } 70% { box-shadow: 0 0 0 22px rgba(255, 92, 147, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 92, 147, 0); } }
@media (prefers-reduced-motion: reduce) { .cta { animation: none; } }
.note { font-size: 14px; color: var(--muted); margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

section.band { padding: 64px 0; border-top: 1px solid var(--line); }
h2 { font-family: var(--display); font-size: clamp(28px, 5vw, 44px); line-height: 1.1; margin: 0 0 12px; }
.sub { color: var(--muted); font-size: 16px; margin: 0 0 22px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.tile { background: var(--surface); border-radius: 22px; padding: 22px; }
.tile h3 { font-family: var(--display); font-size: 20px; margin: 0 0 6px; }
.tile p { margin: 0; color: var(--muted); }
.num { width: 40px; height: 40px; border-radius: 20px; background: var(--rose-soft); color: var(--rose); font-family: var(--display); font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label, .label { font-weight: 600; font-size: 14px; }
.input, textarea.input { width: 100%; min-height: 52px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--text); padding: 12px 14px; font-size: 16px; font-family: var(--body); }
textarea.input { resize: vertical; line-height: 1.4; }
.input:focus { outline: 2px solid var(--rose); outline-offset: 1px; }
.hint { font-size: 13px; color: var(--muted); }
.error { font-size: 14px; color: #FF8AB3; font-weight: 600; min-height: 20px; margin: 4px 0 12px; }
.btn { width: 100%; min-height: 56px; border-radius: 28px; border: none; background: var(--rose); color: var(--ground); font-size: 17px; font-weight: 600; cursor: pointer; }
.btn:disabled { opacity: 0.5; cursor: wait; }
.btn.light { background: var(--text); }
.btn.outline { background: transparent; color: var(--gold); border: 1px solid var(--gold); }
.link { background: none; border: none; color: var(--muted); text-decoration: underline; font-size: 15px; cursor: pointer; min-height: 44px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; gap: 10px; align-items: center; }
.top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; min-height: 44px; }
.step { font-size: 14px; color: var(--muted); }
.title { font-family: var(--display); font-size: 32px; line-height: 1.1; font-weight: 700; margin: 0 0 8px; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }

/* Choices */
.choice { width: 100%; min-height: 56px; border-radius: 16px; padding: 10px 18px; text-align: left; font-size: 16px; cursor: pointer; background: transparent; border: 1px solid var(--line); color: var(--text); }
.choice[aria-pressed="true"] { background: var(--rose-soft); border: 2px solid var(--rose); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; border-radius: 22px; padding: 0 16px; font-size: 14px; cursor: pointer; background: transparent; border: 1px solid var(--line); color: var(--text); }
.chip[aria-pressed="true"] { background: var(--rose-soft); border: 2px solid var(--rose); font-weight: 600; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.trio .choice { text-align: center; font-size: 17px; min-height: 64px; }
.card { background: var(--surface); border-radius: 20px; padding: 18px; }
.opt-row { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.opt-row .input { flex: 1; }
.mark { flex: none; min-height: 44px; border-radius: 22px; padding: 0 12px; font-size: 13px; font-weight: 600; cursor: pointer; background: transparent; color: var(--muted); border: 1px solid var(--line); }
.mark[aria-pressed="true"] { background: var(--rose); color: var(--ground); border-color: var(--rose); }
.guide { border: 1px solid var(--line); border-radius: 18px; padding: 14px; margin-bottom: 16px; }
.guide summary { cursor: pointer; font-weight: 600; color: var(--gold); min-height: 32px; }
.guide .chip { margin: 4px 0; }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; }
.tab { flex: none; min-height: 40px; border-radius: 20px; padding: 0 14px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; font-size: 14px; }
.tab[aria-pressed="true"] { color: var(--text); border-color: var(--text); }

/* Toggle */
.toggle { flex: none; width: 52px; height: 32px; border-radius: 16px; border: none; padding: 3px; cursor: pointer; display: flex; background: var(--line); }
.toggle::after { content: ''; width: 26px; height: 26px; border-radius: 13px; background: var(--text); }
.toggle[aria-pressed="true"] { background: var(--rose); justify-content: flex-end; }

/* Results card */
.dcard { background: var(--rose); color: var(--ground); border-radius: 28px; padding: 22px; }
.dcard .big { font-family: var(--display); font-size: 64px; font-weight: 700; line-height: 1; }
.dgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.dgrid div { background: rgba(23, 18, 28, 0.12); border-radius: 14px; padding: 10px 12px; font-weight: 600; font-size: 15px; }
.dgrid span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; }
.progress { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.progress > div { height: 100%; background: var(--rose); }

/* Admirers */
.admirer { border: 1px solid var(--line); background: var(--surface); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.score { font-size: 13px; font-weight: 600; color: var(--ground); background: var(--gold); border-radius: 10px; padding: 3px 9px; }
.pitch { margin: 0; font-size: 16px; }
.avatar { width: 52px; height: 52px; border-radius: 26px; object-fit: cover; background: var(--line); flex: none; }
.revealed { border: 2px solid var(--rose); }
.small { font-size: 13px; color: var(--muted); }
.linkbox { padding: 14px; border-radius: 16px; background: var(--surface); font-weight: 600; word-break: break-all; text-align: center; }
.demo { background: var(--gold-soft); color: var(--gold); border-radius: 12px; padding: 10px 14px; font-size: 13px; font-weight: 600; margin-bottom: 16px; }

#toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--text); color: var(--ground); padding: 12px 18px; border-radius: 14px; font-weight: 600; display: none; z-index: 60; max-width: 90vw; }
#toast.show { display: block; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
