:root {
  --navy: #1f2f5c; --navy-2: #172448; --navy-3: #0f1a38; --sky: #a9d3ff; --sky-2: #93c5fb; --ink-accent: #3c86d6;
  --mint: #edf2f9; --mint-2: #dbe4f1; --page: #f3f5f9; --sun: #f6c344; --sun-soft: #fdf1c7; --error: #b42318; --error-2: #8f1c13; --error-soft: #fdecea;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { min-height: 100svh; display: flex; flex-direction: column; background: var(--page); color: var(--navy); font-family: "Bricolage Grotesque", system-ui, sans-serif; font-size: 16px; line-height: 1.45; font-optical-sizing: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }

.top { width: 100%; max-width: 1140px; margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 21px; font-weight: 800; letter-spacing: -.035em; }
.logo i { width: 38px; height: 38px; background: var(--navy); -webkit-mask: var(--mark) center / 140% no-repeat; mask: var(--mark) center / 140% no-repeat; }
.back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: #fff; font-weight: 700; font-size: 15px; text-decoration: none; box-shadow: 0 1px 2px rgb(15 25 50 / .05); }
.back:hover { background: var(--mint); }
.back svg { width: 18px; height: 18px; }

.main { flex: 1; width: 100%; max-width: 1140px; margin: 0 auto; padding: 4px 24px 32px; }
.foot { padding: 0 24px 28px; text-align: center; font-size: 14px; opacity: .7; }
.foot:empty { display: none; }

.split .main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 24px; align-items: stretch; align-content: center; }
.panel { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 22px; padding: 46px 44px 40px; border-radius: 36px; background: var(--navy); color: #fff; }
.panel::after { content: ""; position: absolute; right: -70px; top: -70px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgb(169 211 255 / .16) 2px, transparent 2.5px) 0 0 / 22px 22px; pointer-events: none; }
.pitch { font-size: clamp(40px, 4.4vw, 62px); font-weight: 800; line-height: .95; letter-spacing: -.05em; color: var(--sky); text-wrap: balance; }
.pitch span { display: block; margin-bottom: 8px; font-size: .42em; font-weight: 600; letter-spacing: -.02em; color: rgb(255 255 255 / .7); }
.panel-sub { max-width: 34ch; font-size: 18px; color: rgb(255 255 255 / .85); }
.perks { display: grid; gap: 12px; list-style: none; }
.perks li { display: flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.perks .pi { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--sky); color: var(--navy); display: grid; place-items: center; }
.perks .pi svg { width: 21px; height: 21px; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; opacity: .7; }
.local, .earn { margin-top: auto; min-width: 0; padding: 18px; border-radius: 24px; background: rgb(255 255 255 / .08); }
.local[hidden], .earn[hidden] { display: none; }
.local-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0; }
.local-row p { padding: 12px 14px; border-radius: 16px; background: #fff; color: var(--navy); }
.local-row b { display: block; font-size: 30px; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.local-row small { font-size: 13px; opacity: .7; }
.local-note { font-size: 15px; color: rgb(255 255 255 / .85); }
.earn-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 12px; list-style: none; }
.earn-list li { display: grid; justify-items: center; gap: 6px; text-align: center; font-size: 12px; font-weight: 700; line-height: 1.15; color: rgb(255 255 255 / .8); }
.earn-list .bi { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .1); color: var(--sky); }
.earn-list .bi svg { width: 26px; height: 26px; }

.card { padding: 34px 36px 30px; border-radius: 32px; background: #fff; box-shadow: 0 1px 2px rgb(15 25 50 / .05), 0 10px 30px rgb(31 47 92 / .07); }
.split .card { align-self: center; }
.switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 26px; border-radius: 999px; background: var(--mint); }
.switch a { min-height: 44px; display: grid; place-items: center; border-radius: 999px; font-weight: 800; text-decoration: none; }
.switch a[aria-current="page"] { background: var(--navy); color: var(--sky); }
.switch a:not([aria-current]):hover { background: var(--mint-2); }
h1 { font-size: 34px; font-weight: 800; line-height: 1.05; letter-spacing: -.04em; text-wrap: balance; }
h2 { font-size: 22px; font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
.intro { margin-top: 8px; font-size: 16px; opacity: .75; }

.form { display: grid; gap: 16px; margin-top: 22px; }
.google { display: grid; gap: 12px; margin-top: 22px; }
.google-btn { min-height: 44px; display: flex; justify-content: center; }
.or { display: flex; align-items: center; gap: 14px; margin-top: 18px; font-size: 14px; font-weight: 700; color: rgb(31 47 92 / .6); }
.or::before, .or::after { content: ""; flex: 1; height: 2px; border-radius: 2px; background: var(--mint-2); }
.or + .form { margin-top: 18px; }
.field { display: grid; gap: 7px; }
.field label, .label-row label { font-size: 15px; font-weight: 700; }
.label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.mini { font-size: 14px; font-weight: 700; color: var(--ink-accent); text-decoration: none; }
.mini:hover { text-decoration: underline; }
.input { width: 100%; height: 54px; padding: 0 18px; border: 2px solid transparent; border-radius: 16px; background: var(--mint); font-size: 17px; font-weight: 600; outline: 0; transition: background .15s, border-color .15s, box-shadow .15s; }
.input::placeholder { color: rgb(31 47 92 / .4); }
.input:hover { border-color: var(--mint-2); }
.input:focus { background: #fff; border-color: var(--navy); box-shadow: 0 0 0 4px rgb(169 211 255 / .55); }
.hint { font-size: 13px; opacity: .65; }
.pw { position: relative; }
.pw .input { padding-right: 56px; }
.eye { position: absolute; right: 5px; top: 5px; width: 44px; height: 44px; border: 0; border-radius: 12px; background: none; cursor: pointer; display: grid; place-items: center; opacity: .6; }
.eye:hover { opacity: 1; background: var(--mint-2); }
.eye svg { width: 22px; height: 22px; }
.eye .off, .eye[aria-pressed="true"] .on { display: none; }
.eye[aria-pressed="true"] .off { display: block; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; font-weight: 800; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-primary { width: 100%; min-height: 56px; margin-top: 4px; background: var(--navy); color: var(--sky); font-size: 18px; box-shadow: 0 4px 0 var(--navy-3); transition: transform .08s, box-shadow .08s, background .15s; }
.btn-primary:hover { background: var(--navy-2); }
.btn-primary:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--navy-3); }
.btn-sky { background: var(--sky); color: var(--navy); }
.btn-sky:hover { background: var(--sky-2); }
.btn-line { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn-line:hover { background: var(--mint); }
.btn-quiet { background: var(--mint); color: var(--navy); }
.btn-quiet:hover { background: var(--mint-2); }
.btn-danger-line { background: #fff; color: var(--error); box-shadow: inset 0 0 0 2px var(--error); }
.btn-danger-line:hover { background: var(--error-soft); }
.btn-primary.btn-danger { background: var(--error); color: #fff; box-shadow: 0 4px 0 var(--error-2); }
.btn-primary.btn-danger:hover { background: var(--error-2); }
.btn-primary.btn-danger:active { box-shadow: 0 1px 0 var(--error-2); }
.cf-turnstile { min-height: 65px; }

.alert { display: flex; align-items: flex-start; gap: 10px; font-weight: 700; font-size: 15px; }
.alert svg { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.alert-error { color: var(--error); }
.alert-error a { color: inherit; }
.alert-ok { padding: 14px 16px; border-radius: 18px; background: #fff; }
.alert-ok svg circle { fill: var(--sky); }
.legal { font-size: 13px; text-align: center; opacity: .7; }
.legal a { font-weight: 700; }
.below { margin-top: 18px; text-align: center; font-size: 15px; }
.below a { font-weight: 800; color: var(--ink-accent); text-decoration: none; }
.below a:hover { text-decoration: underline; }

.solo .main { display: grid; place-items: start center; padding-top: 28px; }
.solo .card { width: 100%; max-width: 460px; text-align: center; }
.solo .form { text-align: left; }
.glyph { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; background: var(--sky); display: grid; place-items: center; }
.glyph svg { width: 42px; height: 42px; }
.solo .card > .btn-primary { margin-top: 22px; }
.glyph-danger { background: var(--error-soft); }
.gone { display: grid; gap: 6px; margin-top: 16px; padding: 16px 18px 16px 36px; border-radius: 18px; background: var(--mint); text-align: left; font-size: 15px; font-weight: 600; }

.acct .main { max-width: 820px; display: grid; gap: 18px; }
.messages { display: grid; gap: 10px; }
.me { display: grid; gap: 22px; padding: 32px; border-radius: 36px; background: var(--navy); color: #fff; }
.me-top { display: flex; align-items: center; gap: 18px; }
.avatar { flex: none; width: 76px; height: 76px; border-radius: 50%; background: var(--sky); color: var(--navy); display: grid; place-items: center; font-size: 38px; font-weight: 800; }
.me h1 { font-size: clamp(30px, 4vw, 42px); overflow-wrap: anywhere; }
.me-mail { margin-top: 4px; color: rgb(255 255 255 / .75); overflow-wrap: anywhere; }
.me-top .btn { margin-left: auto; }
.me-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.me-stats p { padding: 16px; border-radius: 20px; background: #fff; color: var(--navy); }
.me-stats p.sun { background: var(--sun-soft); }
.me-stats b { display: block; font-size: 32px; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.me-stats small { font-size: 14px; opacity: .7; }
.acct .card { padding: 28px 30px; }
.acct .card h2 + p { margin-top: 6px; opacity: .75; }
.badges { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 18px; list-style: none; }
.badges li { display: grid; justify-items: center; gap: 6px; padding: 16px 6px 12px; border-radius: 20px; background: var(--mint); text-align: center; }
.badges .bi { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: rgb(31 47 92 / .35); }
.badges .got .bi { background: var(--sun); color: var(--navy); }
.badges .bi svg { width: 28px; height: 28px; }
.badges b { font-size: 14px; line-height: 1.15; }
.badges small { font-size: 12px; opacity: .65; }
.badges li:not(.got) b { opacity: .65; }
.inline { display: flex; gap: 10px; align-items: end; margin-top: 18px; }
.inline .field { flex: 1; }
.inline .btn { min-height: 54px; }
.out { display: flex; justify-content: center; }
.acct .danger { margin-top: 22px; box-shadow: inset 0 0 0 2px rgb(180 35 24 / .22), 0 10px 30px rgb(31 47 92 / .07); }
.danger h2 { color: var(--error); }
.danger .btn { margin-top: 18px; }

@media (max-width: 900px) {
  .split .main { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .split .card { order: -1; }
  .panel { gap: 14px; padding: 28px 24px; border-radius: 28px; }
  .pitch { font-size: 38px; }
  .panel-sub { font-size: 16px; }
  .perks { display: none; }
  .earn { display: none; }
  .local { margin-top: 4px; }
}
@media (max-width: 760px) {
  .top { padding: 12px 14px; }
  .logo { font-size: 18px; }
  .logo i { width: 32px; height: 32px; }
  .main { padding: 0 12px 24px; }
  .card { padding: 24px 20px 22px; border-radius: 26px; }
  h1 { font-size: 28px; }
  .me { padding: 22px 18px; border-radius: 28px; }
  .me-top { flex-wrap: wrap; }
  .me-top .btn { margin-left: 0; width: 100%; }
  .avatar { width: 60px; height: 60px; font-size: 30px; }
  .me-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .me-stats b { font-size: 26px; }
  .badges { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .inline { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
