:root { --ink: #1c0609; --muted: #5a4a4d; --line: #ece5e7; --pink: #a8457f; --bg2: #faf6f7; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg2); line-height: 1.55; }
a { color: #8b2a5f; }
[hidden] { display: none !important; }
.top { max-width: 880px; margin: 0 auto; padding: 24px 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.logo { font: 500 38px/1 "Cormorant Garamond", Georgia, serif; letter-spacing: -1.5px; color: inherit; text-decoration: none; }
.who { font-size: 14px; color: var(--muted); display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
main { max-width: 880px; margin: 0 auto; padding: 16px 20px 56px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; margin: 16px 0; }
.panel.narrow { max-width: 460px; margin: 28px auto; }
h1 { font-size: 32px; letter-spacing: -.03em; margin: 0 0 8px; font-weight: 500; }
h1.small-h { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--pink); font-weight: 600; margin: 0; }
h2 { font-size: 20px; margin: 0 0 6px; letter-spacing: -.01em; }
h3 { font-size: 15px; margin: 18px 0 6px; }
.muted { color: var(--muted); margin: 0 0 12px; font-size: 15px; }
.note { font-size: 13px; color: #7a6c70; margin: 10px 0 0; }
.status { min-height: 1.4em; margin: 8px 0 0; font-size: 14px; }
.status.ok { color: #1b7a43; } .status.err { color: #b3261e; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.form { display: grid; gap: 14px; margin-top: 18px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
input[type=text], input[type=email], input[type=password] { font: inherit; font-weight: 400; padding: 11px 12px; border: 1px solid #d8c9c6; border-radius: 10px; background: #fff; color: inherit; min-width: 0; width: 100%; }
input:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid #8b2a5f; outline-offset: 2px; }
.btn { padding: 12px 24px; border: 0; border-radius: 99px; background: var(--ink); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.btn.small { padding: 10px 20px; white-space: nowrap; }
.btn:disabled { opacity: .55; cursor: default; }
.btn:hover:not(:disabled) { background: #000; }
.link { background: none; border: 0; padding: 0; font: inherit; color: #8b2a5f; text-decoration: underline; cursor: pointer; }
.alt { margin: 0; font-size: 14px; color: var(--muted); }
.invitebanner { background: #f6e9f1; border: 1px solid #ecd0e0; border-radius: 10px; padding: 10px 14px; font-size: 14px; margin-top: 14px; }

.hero { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; flex-wrap: wrap; }
.bal { display: flex; align-items: baseline; gap: 10px; }
.bal span { font-size: 72px; line-height: 1; font-weight: 500; letter-spacing: -.04em; }
.bal small { font-size: 16px; color: var(--muted); }
.hello { margin: 0; color: var(--muted); font-size: 14px; }
.errbox { border-color: #efc2be; background: #fdf3f2; display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.errbox p { margin: 0; color: #8a1f17; font-size: 14px; }

.packs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.pack { position: relative; border: 1px solid var(--line); border-radius: 14px; padding: 26px 14px 16px; display: flex; flex-direction: column; text-align: center; background: #fff; }
.pack.pop { border: 2px solid var(--ink); box-shadow: 0 6px 22px rgba(60,20,50,.10); }
.tagb { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; white-space: nowrap; }
.pack .n { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pack .cr { font-size: 18px; font-weight: 600; margin-top: 6px; }
.pack .p { font-size: 32px; margin: 2px 0; letter-spacing: -.03em; }
.pf { list-style: none; padding: 12px 0 0; margin: 10px 0 14px; border-top: 1px solid #f0e9eb; text-align: left; display: grid; gap: 6px; font-size: 13px; line-height: 1.35; color: var(--muted); flex: 1; align-content: start; }
.pf li { position: relative; padding-left: 18px; }
.pf li::before { content: "✓"; position: absolute; left: 0; color: var(--pink); font-weight: 700; }
.pf li:first-child { color: var(--ink); font-weight: 600; }
.pack .btn { width: 100%; padding: 10px; }

.inline, .copyrow { display: flex; gap: 10px; margin-top: 10px; }
.inline input, .copyrow input { flex: 1; }
.stats { margin: 12px 0 0; font-size: 14px; color: var(--ink); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 16px 0 0; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: var(--bg2); }
.kpi b { display: block; font-size: 22px; letter-spacing: -.02em; font-weight: 600; }
.kpi span { font-size: 12px; color: var(--muted); }
.list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; }
.list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid #f0e9eb; font-size: 14px; }
.list li:first-child { border-top: 0; }
.list .d { color: var(--muted); font-size: 12px; display: block; }
.list .pos { color: #1b7a43; font-weight: 600; white-space: nowrap; }
.list .neg { color: #b3261e; font-weight: 600; white-space: nowrap; }
.list .amt { font-weight: 600; white-space: nowrap; }

.foot { max-width: 880px; margin: 0 auto; padding: 0 20px 40px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; }
.foot a { color: var(--muted); }

@media (max-width: 800px) { .packs { grid-template-columns: repeat(2, 1fr); } .kpis { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) {
  .panel { padding: 18px 16px; }
  .packs { grid-template-columns: 1fr; }
  .bal span { font-size: 60px; }
  .inline, .copyrow { flex-direction: column; }
  h1 { font-size: 28px; }
}
