:root {
  --bg: #0a0f1e; --bg2: #0c1226; --card: #131a2e; --ink: #e7ecf5; --muted: #8a98b8;
  --accent: #3fb6f0; --good: #4fd08a; --warn: #f0b94f; --bad: #f06a6a; --line: #243153;
  --maxw: 1040px; --radius: 14px; --gap: 14px; --shadow: 0 4px 22px rgba(0,0,0,.28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 15px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(1100px 560px at 50% -8%, #11214a 0%, var(--bg) 56%) no-repeat var(--bg);
  color: var(--ink); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
header { padding: 30px 24px 8px; max-width: var(--maxw); margin: 0 auto; }
h1 { margin: 0; font-size: clamp(26px, 4vw, 34px); letter-spacing: -.5px; }
.tagline { color: var(--ink); margin: 8px 0 2px; font-size: 16px; max-width: 760px; }
.catch { color: var(--good); font-weight: 800; letter-spacing: .3px; margin: 6px 0; font-size: 15px; }
.status { color: var(--muted); font-size: 12.5px; }
.card { max-width: var(--maxw); margin: 18px auto; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
h2 { margin: 0 0 12px; font-size: 20px; letter-spacing: -.2px; }
h3 { font-size: 16px; }
.muted { color: var(--muted); font-size: 13px; }
.row { display: flex; flex-wrap: wrap; gap: var(--gap); align-items: end; margin: 12px 0; }
label { display: flex; flex-direction: column; font-size: 12px; color: var(--muted); gap: 5px; }
label.chk { flex-direction: row; align-items: center; gap: 6px; color: var(--ink); }
input, select { background: var(--bg2); color: var(--ink); border: 1px solid var(--line); border-radius: 9px;
  padding: 9px 11px; font: inherit; min-width: 120px; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(63,182,240,.18); }
button { background: var(--accent); color: #04121f; border: 0; border-radius: 9px; padding: 10px 17px;
  font-weight: 700; cursor: pointer; transition: filter .15s, transform .05s; }
button:hover { filter: brightness(1.08); }
button:active { transform: translateY(1px); }
button.ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.badge { background: var(--accent); color: #04121f; font-size: 11px; padding: 2px 7px; border-radius: 6px; vertical-align: middle; }
table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 13px; }
th, td { text-align: right; padding: 6px 8px; border-bottom: 1px solid var(--line); }
th:first-child, td:first-child { text-align: left; }
.disclosures { background: #1a1330; border: 1px solid #3a2a55; border-radius: 8px; padding: 10px 14px; margin: 10px 0; }
.disclosures li { margin: 4px 0; font-size: 13px; }
.cheapest { color: var(--good); font-weight: 700; }
.err { color: var(--bad); }
.ok { color: var(--good); }
.warnrow { color: var(--warn); }
.modal { position: fixed; inset: 0; background: rgba(2,6,16,.8); display: flex; align-items: center; justify-content: center; }
.modal.hidden { display: none; }
.modal-box { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 22px; max-width: 420px; text-align: center; }
.modal-box img { width: 220px; height: 220px; background:#fff; border-radius:8px; }
footer { max-width: var(--maxw); margin: 24px auto 40px; padding: 0 20px; }
.est { color: var(--muted); font-size: 12px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 14px 0; }
.card.wave { background: linear-gradient(160deg, #10203e 0%, #131a2e 60%); border-color: #2a4a7a; }
.flexcard {
  margin: 12px 0; padding: 22px; border-radius: 14px; max-width: 460px;
  background: linear-gradient(135deg, #0a2a4a 0%, #0e3b66 50%, #1466a0 100%);
  border: 1px solid #3fb6f0; box-shadow: 0 6px 28px rgba(63,182,240,.25);
}
.flextier { font-size: 22px; font-weight: 800; letter-spacing: 1px; color: #cdeeff; }
.flexrank { font-size: 40px; font-weight: 900; color: #fff; line-height: 1.1; }
.flexrank span { font-size: 18px; color: var(--muted); font-weight: 600; }
.flexhow { margin-top: 12px; font-size: 12px; font-weight: 800; letter-spacing: 2px; color: #7fd8ff; text-transform: uppercase; }
.flexhow .muted { font-weight: 500; letter-spacing: .3px; text-transform: none; }
.flexcells { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; margin: 8px 0 4px; color: #9fc7e6; font-size: 13px; }
.flexcells b { color: #eaf6ff; font-size: 16px; font-weight: 800; }
.flexcells .mo-win { color: #8ff0bd; font-weight: 800; }
.flexcells .mo-warm { color: #ffb27a; font-weight: 800; }
.flexcells .mo-cook { color: #9fc7e6; font-style: italic; }
.flexstats { margin-top: 6px; color: #d8ecff; font-size: 14px; }
.flexfoot { margin-top: 10px; color: #9fc7e6; font-size: 12px; }
.flexpng { display: block; margin: 12px 0; max-width: 460px; width: 100%; border-radius: 12px; border: 1px solid var(--line); }
.share-pill { text-decoration: none; padding: 8px 14px; display: inline-block; border-radius: 8px; }
/* Living-ocean hero */
.hero {
  max-width: 980px; margin: 8px auto 0; border-radius: 12px; overflow: hidden;
  background: linear-gradient(120deg, #0a2a4a, #0e3b66 50%, #1466a0);
  background-size: 200% 200%; animation: drift 14s ease-in-out infinite;
  border: 1px solid #2a4a7a;
}
@keyframes drift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hero-inner { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; padding: 12px 20px; }
.hero-big { font-size: 15px; color: #eaf4ff; }
.hero-stat { font-size: 13px; color: #9fc7e6; }
.hero-you { margin-left: auto; font-size: 13px; color: #4fd08a; font-weight: 700; }
/* Tier-up celebration */
.celebrate {
  position: fixed; top: 18%; left: 50%; transform: translateX(-50%) scale(1);
  z-index: 50; background: linear-gradient(135deg, #0e3b66, #1466a0); color: #fff;
  font-size: 22px; font-weight: 800; padding: 18px 28px; border-radius: 14px;
  border: 2px solid #ff6a6a; box-shadow: 0 10px 40px rgba(255,106,106,.4);
}
.celebrate.hidden { display: none; }
.celebrate.show { animation: pop .5s ease-out, glow 1.6s ease-in-out infinite alternate; }
@keyframes pop { 0% { transform: translateX(-50%) scale(.6); opacity: 0; } 100% { transform: translateX(-50%) scale(1); opacity: 1; } }
@keyframes glow { from { box-shadow: 0 10px 40px rgba(255,106,106,.3); } to { box-shadow: 0 10px 54px rgba(63,182,240,.6); } }
/* Home-page explainer */
.wickwrap { margin: 6px 0 14px; }
#wickcanvas { width: 100%; height: auto; display: block; background: linear-gradient(160deg, #0a2a4a, #0c1226); border: 1px solid #2a4a7a; border-radius: 12px; }
.wickcap { color: var(--muted); font-size: 12px; margin-top: 6px; }
#explainer .plain { font-size: 18px; line-height: 1.5; color: #eaf4ff; background: linear-gradient(120deg, #0e3b66, #0c1226); border-left: 3px solid var(--accent); border-radius: 8px; padding: 14px 16px; max-width: 820px; }
#explainer .lead { font-size: 16px; color: var(--ink); max-width: 820px; }
#explainer .sub { margin: 22px 0 10px; font-size: 16px; color: var(--accent); }
.compare { display: flex; flex-wrap: wrap; gap: 16px; margin: 16px 0; }
.compare-col { flex: 1 1 280px; background: #0c1226; border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.compare-col.hot { border-color: #3fb6f0; background: linear-gradient(160deg, #0e3b66, #0c1226); }
.compare-h { font-weight: 700; margin-bottom: 10px; }
.compare-bar { height: 14px; background: #0c1226; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.bar-fill { height: 100%; }
.bar-fill.flat { width: 4%; background: var(--muted); }
.bar-fill.grow { width: 4%; background: linear-gradient(90deg, #3fb6f0, #4fd08a); transition: width 1.2s ease; }
.compare-val { margin: 8px 0; color: #d8ecff; }
.compare-col ul { margin: 6px 0 0; padding-left: 18px; color: var(--muted); font-size: 13px; }
.steps { display: flex; flex-wrap: wrap; gap: 12px; }
.step { flex: 1 1 240px; background: #0c1226; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 14px; color: var(--ink); }
.step span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #04121f; font-weight: 800; margin-right: 8px; }
.moats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.moat { background: #0c1226; border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.moat-i { font-size: 22px; }
.moat b { display: block; margin: 4px 0; color: #eaf4ff; }
.moat p { margin: 0; color: var(--muted); font-size: 13px; }
/* ladder profiles + tip */
.preset-btn.rec { border-color: var(--good); color: var(--good); }
.preset-desc { margin: 4px 0 10px; font-size: 13px; color: var(--ink); min-height: 18px; }
.tip { font-size: 13px; color: #cdeeff; background: #0c1226; border: 1px dashed var(--line); border-radius: 8px; padding: 10px 12px; }
/* plans / pricing */
.billtoggle { display: inline-flex; gap: 0; margin: 10px 0 2px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.billbtn { background: transparent; color: var(--muted); border: 0; padding: 8px 16px; font: inherit; cursor: pointer; }
.billbtn.active { background: var(--accent); color: #04121f; font-weight: 700; }
.billbtn span { font-size: 11px; opacity: .85; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 12px; }
.plan { position: relative; background: #0c1226; border: 1px solid var(--line); border-radius: 12px; padding: 18px 16px; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--accent); box-shadow: 0 6px 24px rgba(63,182,240,.2); }
.plan.managed { border-color: #3a2a55; background: linear-gradient(160deg, #160f2b, #0c1226); }
.plan-h { font-size: 18px; font-weight: 800; }
.plan-price { font-size: 26px; font-weight: 900; color: #fff; margin: 4px 0 10px; }
.plan-price span { font-size: 13px; font-weight: 600; color: var(--muted); }
.plan ul { margin: 0 0 12px; padding-left: 18px; color: var(--ink); font-size: 13px; }
.plan ul li { margin: 4px 0; }
.plan-note { font-size: 12px; color: var(--muted); margin: 0 0 12px; }
.plan-cta { margin-top: auto; text-align: center; text-decoration: none; padding: 9px 14px; border-radius: 8px; background: var(--accent); color: #04121f; font-weight: 700; }
.plan-cta.ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.plan-cta.disabled { color: var(--muted); border-color: var(--line); cursor: default; }
.ribbon { position: absolute; top: -10px; right: 10px; background: var(--good); color: #04121f; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 6px; }
.badge.soon { display: inline-block; background: #3a2a55; color: #cdb6ff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px; margin-bottom: 6px; }
.waitlist { display: flex; gap: 8px; margin: 4px 0; flex-wrap: wrap; }
.waitlist input { flex: 1 1 140px; }
.disclaimer { font-size: 11px; color: var(--muted); margin: 8px 0 0; line-height: 1.4; }
/* multi-wallet picker */
.walletbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0; }
.wallet-pill { text-decoration: none; padding: 7px 13px; border-radius: 8px; font-size: 13px; }
.wallet-pill.active { background: var(--accent); color: #04121f; border-color: var(--accent); font-weight: 700; }
.wallet-pill.soon { color: var(--muted); border: 1px dashed var(--line); border-radius: 8px; }
button.wallet-pill:disabled { color: var(--muted); border-color: var(--line); cursor: not-allowed; opacity: .7; }

/* ── The Founding 1313 ─────────────────────────────────────────── */
.founder-cta { display: flex; align-items: center; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.founder-badge { font-weight: 800; letter-spacing: .6px; color: #f0d489;
  border: 1px solid #6b5a2a; background: linear-gradient(135deg, #2a2410, #191d2e);
  padding: 5px 12px; border-radius: 8px; font-size: 13.5px; }
.founder-badge.hidden { display: none; }

.founder-head { text-align: center; padding: 8px 0 14px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.founder-title { font-family: Georgia, "Times New Roman", serif; font-size: 24px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase; color: #f0d489;
  background: linear-gradient(180deg, #f6e3a8, #c9a24e); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.founder-epigraph { font-family: Georgia, serif; font-style: italic; color: #cdd8ec; font-size: 14px;
  max-width: 620px; margin: 8px auto 0; line-height: 1.5; }
.founder-epigraph span { color: var(--muted); font-style: normal; letter-spacing: .5px; }
.founder-seats { margin-top: 10px; font-size: 13px; color: #9fc7e6; }
.founder-seats b { color: #f0d489; }

.founder-table { width: 100%; }
.founder-table .fno { font-family: "SF Mono", Menlo, monospace; color: #f0d489; font-weight: 700; letter-spacing: .5px; }
.keystone { color: #ffe08a; font-weight: 800; font-size: 11px; letter-spacing: 1px;
  border: 1px solid #6b5a2a; border-radius: 5px; padding: 1px 5px; margin-left: 6px; }
