/* Arcade look for the Ambassador pages (/ambassadors, /ambassador, /ambassador-terms), matching
   the homepage / plans / why: navy page, cream cards with chunky dark edges, Lilita One headings,
   red + gold, 3D buttons. Keeps app.css's class names so the pages' scripts work unchanged. */
:root{
  --bg:#161d2b; --panel:#1e2740; --edge:#0b1020; --card:#fff8ec;
  --red:#d83a34; --red-2:#e8554f; --gold:#ffc93c; --sky:#7ec8ff; --good:#3fae6b;
  --text:#fff8ec; --soft:#cdd7e6; --muted:#5a6472; --ink:#1b2333;
  --line:rgba(11,16,32,.14);
  --accent:var(--red); --accent-2:var(--red-2); --accent-dk:var(--edge);
  --disp:'Lilita One',system-ui,sans-serif; --body:'Nunito',system-ui,sans-serif;
}
*{ box-sizing:border-box; }
html,body{ margin:0; }
body{ font-family:var(--body); color:var(--text); font-weight:700; line-height:1.55; min-height:100vh;
  background:radial-gradient(70% 55% at 85% -6%, rgba(126,200,255,.30) 0%, rgba(22,29,43,0) 60%), var(--bg);
  -webkit-font-smoothing:antialiased; }
a{ color:var(--red); font-weight:800; }
.wrap{ width:100%; max-width:900px; margin:0 auto; padding:0 18px 40px; }

/* Nav */
.nav{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:16px 0 18px; }
.brand{ display:inline-flex; align-items:center; gap:9px; text-decoration:none; }
.brand img{ height:42px; width:auto; }
.brand .wm{ font-family:var(--disp); font-size:1.3rem; letter-spacing:.5px; line-height:1; -webkit-text-stroke:2px var(--edge); paint-order:stroke fill; }
.brand .wm .a{ color:var(--red); } .brand .wm .b{ color:var(--gold); }
.nav-right{ display:inline-flex; align-items:center; gap:6px; }
.navlink{ font-weight:900; font-size:.92rem; color:var(--text); padding:9px 12px; border-radius:12px; text-decoration:none; }
.navlink:hover{ color:var(--gold); }
.who{ color:var(--soft); font-weight:800; font-size:.86rem; }
@media (max-width:560px){ .nav{ flex-wrap:wrap; } .nav-right{ width:100%; justify-content:flex-end; } .who{ display:none; } }

/* Page heading on navy */
.page-head{ text-align:center; padding:6px 0 18px; }
.page-head h1{ font-family:var(--disp); font-weight:400; font-size:clamp(2rem,6vw,2.7rem); line-height:1.1; margin:0 0 10px; color:var(--text); -webkit-text-stroke:2px var(--edge); paint-order:stroke fill; text-shadow:0 5px 0 var(--edge); }
.page-head h1 .a{ color:var(--gold); }
.page-head p{ color:var(--soft); max-width:56ch; margin:0 auto; }

/* Cream cards */
.card, .legal{ background:var(--card); color:var(--ink); border:4px solid var(--edge); border-radius:22px; padding:24px 22px; box-shadow:0 8px 0 var(--edge); }
.card + .card, .card + section, section + .card, section + section{ margin-top:22px; }
.card h1, .legal h1{ font-family:var(--disp); font-weight:400; font-size:1.8rem; line-height:1.15; margin:0 0 6px; color:var(--ink); }
.card h2, .legal h2{ font-family:var(--disp); font-weight:400; font-size:1.3rem; margin:0 0 6px; color:var(--ink); }
.sub{ color:var(--muted); font-weight:700; margin:0 0 16px; font-size:.96rem; }
.hint{ color:var(--muted); font-weight:700; font-size:.88rem; margin-top:8px; }
.center{ text-align:center; } .mt{ margin-top:14px; }
.empty{ color:var(--muted); font-weight:800; text-align:center; padding:16px; }
.note{ background:#fff1c9; border:3px solid var(--gold); color:#6b4e08; border-radius:14px; padding:10px 13px; font-weight:800; font-size:.9rem; }

/* Buttons (3D) */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; width:100%; cursor:pointer; text-decoration:none;
  font-family:var(--disp); font-weight:400; font-size:1.08rem; letter-spacing:.5px; padding:12px 22px; border-radius:16px;
  border:4px solid var(--edge); background:var(--red); color:#fff; box-shadow:0 6px 0 var(--edge);
  -webkit-text-stroke:1px var(--edge); paint-order:stroke fill; }
.btn:hover{ transform:translateY(-2px); box-shadow:0 8px 0 var(--edge); }
.btn:active{ transform:translateY(3px); box-shadow:0 3px 0 var(--edge); }
.btn:disabled{ opacity:.6; cursor:default; transform:none; }
.btn.ghost{ background:#fff; color:var(--edge); -webkit-text-stroke:0; }
.btn.gold{ background:var(--gold); color:var(--edge); -webkit-text-stroke:0; }
.btn.sm{ width:auto; font-size:.95rem; padding:8px 16px; border-width:3px; border-radius:13px; box-shadow:0 4px 0 var(--edge); }
.btn.sm:hover{ box-shadow:0 6px 0 var(--edge); }

/* Forms */
label{ display:block; font-weight:900; font-size:.9rem; margin:14px 0 6px; color:var(--ink); }
input[type=text],input[type=email],input[type=password],input[type=number],select{
  width:100%; font:inherit; font-weight:800; padding:11px 13px; border:3px solid var(--edge); border-radius:12px; background:#fff; color:var(--ink); }
input:focus,select:focus{ outline:3px solid var(--gold); outline-offset:1px; }
.row2{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.inline{ display:flex; align-items:center; gap:9px; margin-top:14px; font-weight:800; }
.inline input{ width:auto; accent-color:var(--red); }
.msg{ margin:14px 0 0; padding:10px 12px; border-radius:12px; font-weight:800; font-size:.92rem; display:none; border:3px solid var(--edge); }
.msg.err{ display:block; background:#fde3e1; color:#8f231d; }
.msg.ok{ display:block; background:#dff3e6; color:#1e6b43; }
@media (max-width:640px){ .row2{ grid-template-columns:1fr; } }

/* Tiles + pills + tables */
.tile{ background:#fff; border:3px solid var(--edge); border-radius:16px; padding:12px 14px; box-shadow:0 4px 0 var(--edge); }
.tile .v{ font-family:var(--disp); font-weight:400; font-size:1.6rem; line-height:1.1; color:var(--ink); }
.tile .k{ color:var(--muted); font-weight:800; font-size:.82rem; margin-top:2px; }
.pill{ display:inline-block; padding:2px 10px; border-radius:99px; font-size:.78rem; font-weight:900; background:#eef0f3; color:var(--muted); border:2px solid var(--edge); }
.pill.ready{ background:#dff3e6; color:#1e6b43; } .pill.paid{ background:#dcecfb; color:#1d5a91; }
.pill.void, .pill.clawback{ background:#fde3e1; color:#8f231d; }
table{ width:100%; border-collapse:collapse; margin-top:10px; font-size:.92rem; }
th,td{ text-align:left; padding:8px 6px; border-top:2px solid var(--line); font-weight:800; }
th{ color:var(--muted); font-size:.78rem; border-top:0; }
td.r, th.r{ text-align:right; }

/* Legal pages */
.legal .back{ display:inline-block; margin-bottom:12px; }
.legal .eff{ color:var(--muted); font-weight:800; font-size:.9rem; margin:0 0 16px; }
.legal h2{ margin-top:22px; }
.legal p, .legal li{ color:#2c3646; font-weight:700; line-height:1.6; }
.legal ul{ margin:6px 0; padding-left:20px; }
.legal .disc{ color:var(--muted); font-size:.86rem; font-style:italic; margin-top:22px; }

/* Footer (on navy) */
.site-foot{ border-top:2px solid var(--panel); margin-top:28px; padding:24px 0 30px; text-align:center; }
.foot-links{ display:flex; flex-wrap:wrap; gap:8px 20px; justify-content:center; margin-bottom:12px; }
.foot-links a{ color:var(--text); font-weight:800; font-size:.9rem; text-decoration:none; }
.foot-links a:hover{ color:var(--gold); }
.foot-copy{ color:#9fb0c9; font-weight:800; font-size:.85rem; margin:0; }
.below{ text-align:center; margin-top:18px; }
.below a{ color:var(--soft); }
