:root {
  --bg: #0b0907;
  --bg2: #14100c;
  --panel: #1b1510;
  --panel2: #231b14;
  --line: #3a2e22;
  --ink: #f5ede3;
  --muted: #b7a896;
  --amber: #ffb347;
  --amber2: #ff7a1a;
  --free: #5ee6c9;
  --danger: #ff5d5d;
  --radius: 14px;
  --display: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--body); overflow-x: hidden; }
img, video, canvas { max-width: 100%; display: block; }
a { color: var(--amber); }
button, input, select, textarea { font: inherit; color: inherit; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: #000; padding: 8px 12px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--free); outline-offset: 2px; }
.wrap { width: min(1180px, 100% - 32px); margin: 0 auto; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.kicker { text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 700; color: var(--amber); margin: 0 0 10px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .01em; line-height: 1.02; margin: 0 0 .4em; }
h2 { font-size: clamp(34px, 5vw, 60px); }
h3 { font-size: 24px; }
h4 { margin: 0 0 6px; font-size: 17px; }
.section-head { max-width: 760px; margin-bottom: 32px; }
.section-head p:last-child { color: var(--muted); font-size: 18px; }
section { padding: 96px 0; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; background: linear-gradient(#0b0907e6, #0b090700); backdrop-filter: blur(6px); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-size: 22px; letter-spacing: .04em; text-transform: uppercase; margin: 0; }
.brand b { color: var(--amber); font-weight: 400; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--amber); font-size: 15px; color: var(--amber); box-shadow: 0 0 18px #ffb34766; }
.nav nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.nav nav a { color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.nav nav a:hover { background: #ffffff14; }
.nav .nav-cta { background: var(--amber); color: #120c05; }
.nav .nav-cta:hover { background: var(--amber2); }
@media (max-width: 760px) { .nav nav a:not(.nav-cta) { display: none; } }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 0; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; background: #000; }
.hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.6s ease, transform 9s linear; }
.hero-media video.on { opacity: 1; transform: scale(1); }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(90% 70% at 20% 80%, #0b0907f0 0%, #0b0907a0 45%, transparent 75%),
  linear-gradient(0deg, var(--bg) 0%, transparent 35%),
  linear-gradient(90deg, #0b0907c0, transparent 70%); }
.hero-inner { width: min(1180px, 100% - 32px); margin: 0 auto; padding: 120px 0 110px; }
.hero h1 { font-size: clamp(68px, 15vw, 190px); line-height: .86; margin: 0 0 18px; text-shadow: 0 6px 40px #000a; }
.hero h1 span { color: transparent; -webkit-text-stroke: 2px var(--amber); background: linear-gradient(90deg, var(--amber), var(--amber2), var(--free)); -webkit-background-clip: text; background-clip: text; background-size: 200% 100%; animation: sheen 7s ease-in-out infinite alternate; }
@keyframes sheen { to { background-position: 100% 0; } }
.lede { font-size: clamp(18px, 2.2vw, 22px); max-width: 640px; margin: 0 0 28px; color: #efe4d6; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 12px; border: 0; border-radius: 999px; padding: 14px 24px; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s; }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--amber); color: #140d05; }
.btn.primary:hover { background: var(--amber2); }
.btn.ghost { background: #ffffff12; color: var(--ink); border: 1px solid #ffffff30; }
.btn.ghost:hover { background: #ffffff22; }
.btn.play { background: #000000a0; border: 1px solid #ffffff38; color: var(--ink); padding: 10px 22px 10px 10px; text-align: left; backdrop-filter: blur(8px); }
.btn.play small { display: block; font-weight: 500; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.play-ico { width: 44px; height: 44px; border-radius: 50%; background: var(--amber); position: relative; flex: none; box-shadow: 0 0 0 0 #ffb34799; animation: pulse 2.2s infinite; }
.play-ico::after { content: ''; position: absolute; left: 17px; top: 13px; border-left: 14px solid #140d05; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.btn.play.playing .play-ico::after { left: 15px; top: 14px; width: 5px; height: 16px; border: 0; background: #140d05; box-shadow: 9px 0 0 #140d05; }
@keyframes pulse { 70% { box-shadow: 0 0 0 16px #ffb34700; } 100% { box-shadow: 0 0 0 0 #ffb34700; } }
.ticker { position: absolute; left: 0; right: 0; bottom: 0; overflow: hidden; border-top: 1px solid #ffffff1a; background: #0b0907b0; }
.ticker-track { display: flex; gap: 36px; width: max-content; padding: 12px 0; animation: tick 50s linear infinite; font-family: var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-size: 18px; }
.ticker-track span::before { content: '\2605'; color: var(--amber); margin-right: 36px; font-size: 12px; vertical-align: middle; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track, .hero h1 span, .play-ico { animation: none; }
  .hero-media video { transition: none; transform: none; }
}

/* player */
.player { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: min(420px, calc(100% - 32px)); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 60px #000c; }
.player-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 8px 8px 14px; font-size: 14px; }
.player-frame { aspect-ratio: 16 / 9; background: #000; }
.player-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.x { background: none; border: 0; color: var(--muted); font-size: 26px; line-height: 1; cursor: pointer; padding: 2px 10px; border-radius: 8px; }
.x:hover { color: var(--ink); background: #ffffff14; }

/* hub app */
.hub { background: radial-gradient(80% 60% at 80% 0%, #2a1a0a 0%, var(--bg) 60%); }
.app { display: grid; grid-template-columns: 220px 1fr; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; min-height: 620px; box-shadow: 0 30px 80px #0008; }
.app-tabs { display: flex; flex-direction: column; gap: 2px; padding: 12px; background: var(--bg2); border-right: 1px solid var(--line); }
.app-tabs button { display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px 14px; border: 0; border-radius: 10px; background: none; color: var(--muted); font-weight: 600; cursor: pointer; white-space: nowrap; }
.app-tabs button i { font-style: normal; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: #ffffff0d; color: var(--amber); font-size: 14px; }
.app-tabs button:hover { background: #ffffff0a; color: var(--ink); }
.app-tabs button[aria-selected="true"] { background: var(--panel2); color: var(--ink); box-shadow: inset 3px 0 0 var(--amber); }
.app-panel { padding: 24px; min-width: 0; }
.panel-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.panel-top h3 { margin: 0; font-size: 30px; }
.soon, .lock { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.soon { background: #ffb3471f; color: var(--amber); border: 1px solid #ffb34755; }
.lock { background: #5ee6c91a; color: var(--free); border: 1px solid #5ee6c955; }
.lock::before { content: '\25CF'; margin-right: 6px; font-size: 9px; vertical-align: 1px; }
@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; }
  .app-tabs { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .app-tabs button[aria-selected="true"] { box-shadow: inset 0 -3px 0 var(--amber); }
  .app-panel { padding: 18px 16px; }
}

.roles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 16px; }
.role { border: 1px solid var(--line); background: var(--panel2); border-radius: 12px; padding: 14px; text-align: left; cursor: pointer; transition: border-color .15s, transform .15s; }
.role:hover, .role[aria-pressed="true"] { border-color: var(--amber); transform: translateY(-2px); }
.role b { display: block; font-size: 15px; }
.role span { font-size: 12px; color: var(--muted); }
.role em { font-style: normal; font-size: 22px; display: block; margin-bottom: 4px; }
.role-pick { margin-top: 18px; padding: 16px; border: 1px solid var(--amber); border-radius: 14px; background: #ffb3470d; }
.role-pick-head { display: flex; justify-content: space-between; align-items: center; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.card-btn { text-align: left; border: 1px solid var(--line); background: var(--panel); border-radius: 12px; padding: 16px; cursor: pointer; font-size: 17px; }
.card-btn:hover { border-color: var(--amber); }
.card-btn small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }

/* forms */
.form { display: grid; gap: 14px; margin-top: 12px; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.form input, .form select, .form textarea { width: 100%; background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; color: var(--ink); font-size: 15px; font-weight: 400; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--amber); outline: none; box-shadow: 0 0 0 3px #ffb34733; }
.form textarea { resize: vertical; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.form .check { display: flex; gap: 10px; align-items: center; font-weight: 500; color: var(--ink); }
.form .check input { width: 18px; height: 18px; accent-color: var(--amber); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.span2 { grid-column: 1 / -1; }
@media (max-width: 600px) { .grid2 { grid-template-columns: 1fr; } }
.form-foot { display: flex; gap: 10px; flex-wrap: wrap; }
.inline { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.inline .grow { flex: 1 1 240px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.note { font-size: 13px; color: var(--muted); margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--bg2); border-radius: 999px; padding: 8px 14px; font-size: 14px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--amber); color: #140d05; border-color: var(--amber); font-weight: 700; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.drawer { border: 1px solid var(--line); border-radius: 14px; padding: 4px 16px 16px; background: var(--panel2); }
.drawer summary { cursor: pointer; font-weight: 700; padding: 12px 0; }
.myposts:empty { display: none; }
.myposts { margin-top: 22px; display: grid; gap: 10px; }
.mypost { border: 1px dashed var(--line); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.mypost b { color: var(--amber); }

/* tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0 22px; }
.tiles.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .tiles, .tiles.three { grid-template-columns: 1fr 1fr; } }
.tile { position: relative; min-height: 170px; border-radius: 14px; overflow: hidden; padding: 14px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(0deg, #000d, #0000 70%), var(--img) center / cover; }
.tile h4 { font-family: var(--display); font-weight: 400; font-size: 22px; margin: 0; }
.tile p { margin: 2px 0 0; font-size: 13px; color: #e8dccd; }

/* checklist */
.checklist { background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.flag { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: 14px; cursor: pointer; }
.flag input { margin-top: 3px; accent-color: var(--danger); width: 16px; height: 16px; flex: none; }
.meter { margin-top: 12px; }
.meter-bar { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--free), var(--amber), var(--danger)); clip-path: inset(0 100% 0 0 round 99px); transition: clip-path .3s; margin-bottom: 8px; }
.meter b { font-size: 14px; }

/* whiteboard */
.board-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0 12px; }
.board-tools button { border: 1px solid var(--line); background: var(--bg2); border-radius: 10px; padding: 8px 14px; cursor: pointer; font-weight: 600; font-size: 14px; }
.board-tools button[aria-pressed="true"] { border-color: var(--amber); color: var(--amber); }
.board-tools .primary { background: var(--free); color: #04261f; border-color: var(--free); }
.board-tools .grow { flex: 1; }
.swatches { display: inline-flex; gap: 6px; }
.swatch { width: 26px; height: 26px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; padding: 0; }
.swatch[aria-pressed="true"] { border-color: var(--ink); }
.board-wrap { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #f7f1e8; }
#board { width: 100%; height: auto; aspect-ratio: 16 / 10; touch-action: none; cursor: crosshair; }

/* fans feed */
.feed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 14px 0 20px; }
@media (max-width: 860px) { .feed { grid-template-columns: 1fr; } }
.post { background: var(--panel2); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.post .media { aspect-ratio: 16/9; background: #000 center / cover; position: relative; cursor: pointer; border: 0; width: 100%; display: block; }
.post .media::after { content: '\25B6'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 34px; color: #fff; text-shadow: 0 2px 16px #000; }
.post .media.still::after { content: none; }
.post div { padding: 12px 14px; font-size: 14px; }
.post b { display: block; }
.post small { color: var(--muted); }

/* revenue */
.revenue { background: var(--bg2); }
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
@media (max-width: 860px) { .rev-grid { grid-template-columns: 1fr; } }
.rev-grid article { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.rev-grid article.fund { border-color: var(--free); background: linear-gradient(160deg, #5ee6c914, var(--panel)); }
.rev-grid ul, .ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.rev-grid li, .ticks li { padding-left: 24px; position: relative; }
.rev-grid li::before, .ticks li::before { content: '\2714'; position: absolute; left: 0; color: var(--amber); }

/* safety */
.safety { position: relative; isolation: isolate; }
.safety::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--bg) 30%, #0b0907cc), var(--img) center / cover; }
.safety .split { align-items: center; gap: 40px; }
.danger { margin-top: 20px; padding: 12px 16px; border-left: 3px solid var(--danger); background: #ff5d5d14; border-radius: 0 10px 10px 0; }

/* doc */
.doc .split { align-items: center; gap: 40px; }
.doc-media video { width: 100%; border-radius: 16px; border: 1px solid var(--line); aspect-ratio: 16/9; object-fit: cover; background: #000; }
.big { font-size: 24px; font-weight: 700; margin: 0 0 12px; color: var(--amber); }

/* join */
.join-tabs { display: inline-flex; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 18px; flex-wrap: wrap; }
.join-tabs button { border: 0; background: none; padding: 10px 18px; border-radius: 999px; font-weight: 700; cursor: pointer; color: var(--muted); }
.join-tabs button[aria-selected="true"] { background: var(--amber); color: #140d05; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 48px 0 60px; }
.foot-top { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; margin-bottom: 20px; }
.erl { display: flex; align-items: center; gap: 14px; }
.erl img { border-radius: 8px; }
.erl p { margin: 0; line-height: 1.3; }
.halo-note { border: 1px solid #5ee6c955; background: #5ee6c90d; padding: 12px 16px; border-radius: 12px; font-size: 14px; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 200%); visibility: hidden; z-index: 80; background: var(--panel2); border: 1px solid var(--free); color: var(--ink); padding: 14px 20px; border-radius: 14px; box-shadow: 0 10px 40px #000a; transition: transform .3s, visibility .3s; max-width: calc(100% - 32px); font-size: 15px; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast.err { border-color: var(--danger); }
