:root {
  --bg:#eef8ff; --bg2:#e2f3ff; --panel:#ffffff; --line:#cfe8f7; --text:#12324a; --muted:#5b7a91;
  --ice:#00b8e6; --ice-dark:#0090b8; --ice-soft:#d9f4ff; --accent:#7fd8f5;
}
* { box-sizing:border-box; }
body { margin:0; color:var(--text); font:16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif;
       background:linear-gradient(180deg, #f7fcff 0%, var(--bg) 40%, var(--bg2) 100%); min-height:100vh; }
a { color:var(--ice-dark); }
main { max-width:1080px; margin:0 auto; padding:24px 16px 48px; }
.top { display:flex; justify-content:space-between; align-items:center; padding:14px 20px;
       background:rgba(255,255,255,.85); border-bottom:1px solid var(--line); backdrop-filter:blur(6px); }
.brand { font-weight:800; letter-spacing:.04em; color:var(--text); text-decoration:none; }
.brand span { color:var(--ice); }
nav { display:flex; gap:12px; align-items:center; }
.who { display:flex; gap:8px; align-items:center; color:var(--text); text-decoration:none; font-weight:600; }
.who img { border-radius:50%; }
.inline { display:inline; margin:0; }
.hero { text-align:center; padding:32px 0 16px; }
.hero h1 { font-size:2.3rem; margin:0 0 8px; color:#0b3a57; }
.hero p { color:var(--muted); margin:0 0 18px; }
h2 { color:#0b3a57; }
h2 small { color:var(--muted); font-weight:400; font-size:.9rem; margin-left:6px; }
.grid { display:grid; gap:16px; }
.tiers { grid-template-columns:repeat(auto-fit, minmax(260px, 1fr)); }
.shop { grid-template-columns:repeat(auto-fit, minmax(230px, 1fr)); }
.card { background:var(--panel); border:1px solid var(--line); border-radius:16px; padding:20px; margin-bottom:16px;
        box-shadow:0 6px 18px rgba(0,140,190,.08); }
.card h3 { margin:0 0 6px; color:#0b3a57; }
.tier.aurora { border:2px solid var(--ice); box-shadow:0 8px 24px rgba(0,184,230,.22); }
.card.featured { border:2px solid var(--accent); background:linear-gradient(180deg, #ffffff, var(--ice-soft)); }
.badge { display:inline-block; font-size:.75rem; font-weight:700; color:var(--ice-dark); background:var(--ice-soft);
         border:1px solid var(--accent); border-radius:999px; padding:2px 9px; margin-bottom:6px; }
.price { font-size:1.6rem; font-weight:800; margin:4px 0; color:var(--ice-dark); }
.price span { font-size:.9rem; color:var(--muted); font-weight:400; }
.tag, .contents { color:var(--muted); margin:4px 0 10px; }
ul { padding-left:18px; margin:8px 0 16px; }
li { margin:4px 0; }
li::marker { color:var(--ice); }
.btn { display:inline-block; background:var(--ice); color:#fff; border:0; border-radius:10px; padding:10px 18px;
       font-weight:700; cursor:pointer; text-decoration:none; font-size:1rem; box-shadow:0 3px 10px rgba(0,184,230,.3); }
.btn:hover { background:var(--ice-dark); }
.btn.small { padding:7px 12px; font-size:.9rem; }
.btn.ghost { background:#fff; color:var(--ice-dark); border:1px solid var(--ice); box-shadow:none; }
.link { background:none; border:0; color:var(--muted); cursor:pointer; font-size:.95rem; }
.current { color:var(--ice-dark); font-weight:700; }
.warn { background:#fff7e0; border:1px solid #f0d58a; color:#7a5a00; padding:10px 12px; border-radius:10px; }
.narrow { max-width:560px; margin:40px auto; text-align:center; }
.legal { max-width:760px; margin:0 auto; }
table { width:100%; border-collapse:collapse; }
th, td { text-align:left; padding:8px 6px; border-bottom:1px solid var(--line); }
th { color:var(--muted); font-weight:600; }
code { background:var(--ice-soft); padding:1px 6px; border-radius:6px; }
footer { text-align:center; color:var(--muted); font-size:.9rem; padding:24px 16px 40px; border-top:1px solid var(--line); }
@media (max-width:520px) { .hero h1 { font-size:1.8rem; } .top { padding:12px; } }
.tabs { gap:4px; }
.tabs a { padding:7px 14px; border-radius:999px; color:var(--muted); text-decoration:none; font-weight:600; }
.tabs a:hover { color:var(--ice-dark); background:#e3f6fd; }
.tabs a.on { color:var(--ice-dark); background:#d6f1fb; }
footer .contact { margin:0 0 10px; color:var(--text, #0b3a53); }
footer .fine { font-size:.8rem; max-width:620px; margin:10px auto 0; }
@media (max-width:640px) { .top { flex-wrap:wrap; gap:8px; } .tabs { order:3; width:100%; justify-content:center; } }

/* ── Photo backgrounds: 1 = landing, 2 = logged-in home, 3 = memberships/shop ── */
body.bg-1, body.bg-2, body.bg-3 { background-color:#062036; background-repeat:no-repeat; background-size:cover;
                                  background-attachment:fixed; background-position:center 22%; }
body.bg-1 { background-image:url(/static/hero/hero1.jpg); }
body.bg-2 { background-image:url(/static/hero/hero2.jpg); }
body.bg-3 { background-image:url(/static/hero/hero3.jpg); }
body.home::before, body.inner::before { content:""; position:fixed; inset:0; pointer-events:none; }
body.home::before { background:radial-gradient(ellipse at center, rgba(6,32,54,.40) 0%, rgba(6,32,54,.58) 60%, rgba(4,22,38,.82) 100%),
                                linear-gradient(90deg, rgba(0,184,230,.18), rgba(0,184,230,0) 35%, rgba(0,184,230,0) 65%, rgba(0,184,230,.18)); }
body.inner::before { background:linear-gradient(180deg, rgba(240,250,255,.86), rgba(226,243,255,.92)); }
body.home > *, body.inner > * { position:relative; z-index:1; }
body.home main { max-width:none; padding:0; }
body.home footer { color:#cfefff; border-top-color:rgba(255,255,255,.15); background:transparent; }
body.home footer a { color:#9fe6ff; }
body.home footer .contact { color:#e8f8ff; }

.splash { min-height:calc(100vh - 62px); display:flex; align-items:center; justify-content:center; text-align:center; }
.splash-text { color:#fff; padding:48px 20px; max-width:960px; }
.splash .eyebrow { margin:0 0 12px; text-transform:uppercase; letter-spacing:.2em; font-size:.9rem; font-weight:700; color:#bdefff; }
.splash h1 { margin:0; font-size:clamp(2.8rem, 9vw, 5.8rem); line-height:1.02; letter-spacing:.04em; font-weight:900;
             color:#fff; text-shadow:0 4px 28px rgba(0,0,0,.45); overflow-wrap:anywhere; }
.splash .lede { margin:18px auto 0; font-size:1.2rem; color:#e8f8ff; max-width:600px; text-shadow:0 2px 12px rgba(0,0,0,.5); }
.splash-btns { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-top:34px; }
.btn.big { font-size:1.15rem; padding:15px 30px; border-radius:12px; min-width:200px; box-shadow:0 8px 30px rgba(0,184,230,.40); }
.btn.glass { background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.7); color:#fff; backdrop-filter:blur(6px); box-shadow:none; }
.btn.glass:hover { background:rgba(255,255,255,.28); }
.splash .lede.small { font-size:1rem; margin-top:10px; color:#bdefff; }
.splash .invite { margin:22px 0 0; font-weight:600; letter-spacing:.02em; }
.splash .invite a { color:#bdefff; text-decoration:none; }
.splash .invite a:hover { text-decoration:underline; }
@media (max-width:700px) {
  .splash { min-height:calc(100vh - 100px); }
  .btn.big { min-width:0; width:100%; }
  .splash-btns { flex-direction:column; }
}
.tier-emoji { vertical-align:-5px; }

.btn.grey { background:#eef2f5; color:#4a5a66; border:1px solid #cfd8de; box-shadow:none; }
.btn.grey:hover { background:#e2e8ec; }
.note { background:#e9f7fd; border:1px solid #bfe9f8; color:#0b4a63; padding:10px 14px; border-radius:10px; }
.card.narrow { max-width:620px; margin:24px auto; }
.row-btns { display:flex; gap:12px; flex-wrap:wrap; align-items:center; margin-top:18px; }
.row-btns form { margin:0; }

.server-req { display:flex; gap:10px; flex-wrap:wrap; margin-top:12px; }
.server-req input[type=text] { flex:1 1 280px; padding:10px 12px; border:1px solid #cfd8de; border-radius:10px; font:inherit; }
