/* Parlay Pad — one stylesheet for the landing page and the app:
   warm cream paper, black ink, one violet highlight; tight grotesk headlines set in caps; black
   numbered section bars; hairline frames with small square corner marks; dotted textures. */
@font-face { font-family: "Inter Tight"; font-weight: 400; font-display: swap; src: url("/fonts/inter-tight-400.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 500; font-display: swap; src: url("/fonts/inter-tight-500.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 600; font-display: swap; src: url("/fonts/inter-tight-600.woff2") format("woff2"); }
@font-face { font-family: "Tiposka"; font-weight: 400; font-display: swap; src: url("/fonts/tiposka.woff2") format("woff2"); }

:root {
  --bg: #f1efe2; --paper: #f7f6ee; --sand: #dbdac8; --sand2: #cdcbc0; --ink: #000; --dark: #1d1d1d;
  --text: #111; --muted: #575757; --faint: #8d8b80; --line: rgba(0, 0, 0, .14); --line2: rgba(0, 0, 0, .3);
  --hi: #b69cff;                                 /* the one accent: violet */
  --no: #b8401a; --warn: #8a5a00;
  --lime: var(--ink); --lime2: var(--ink); --accent: var(--ink);   /* old names, kept so page markup stays the same */
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --pixel: "Tiposka", "Inter Tight", monospace;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --serif: var(--sans);
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; min-height: 100vh; color: var(--text); background: var(--bg); font: 15px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
main, footer, header { position: relative; z-index: 1; }
main { min-width: 0; overflow-x: clip; padding-bottom: 10px; }
a { color: inherit; }
.mono { font-family: var(--mono); font-size: .86em; }
.muted { color: var(--muted); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
::selection { background: var(--hi); color: var(--ink); }

/* ---- top bar (every page) ---- */
.topnav { position: sticky; top: 0; z-index: 40; background: rgba(241, 239, 226, .93); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.topnav-in { max-width: 1240px; margin: 0 auto; padding: 0 40px; height: 76px; display: flex; align-items: center; gap: 24px; }
.brand { text-decoration: none; color: var(--ink); display: inline-flex; align-items: flex-end; gap: 10px; }
.brand .logo { width: 40px; height: 40px; margin-bottom: 4px; transition: transform .4s var(--spring, ease); }
.brand:hover .logo { transform: rotate(-8deg) scale(1.06); }
.wordmark { font: 400 30px/1 var(--pixel); letter-spacing: .02em; padding-bottom: 6px; border-bottom: 3px solid var(--ink); }
.toplinks { flex: 1; display: flex; align-items: center; justify-content: center; gap: 14px; border-bottom: 3px solid var(--ink); align-self: flex-end; margin-bottom: 18px; padding-bottom: 8px; }
.toplinks a { text-decoration: none; font: 500 13px var(--sans); text-transform: uppercase; letter-spacing: .02em; color: var(--ink); padding: 1px 3px; display: inline-flex; }
.toplinks a.on, .toplinks a:hover { background: var(--hi); }
.toplinks i { width: 4px; height: 4px; background: var(--ink); display: inline-block; }
.wallet { font: 500 13px var(--sans); text-transform: uppercase; letter-spacing: .02em; background: var(--ink); color: var(--bg); border: 1px solid var(--ink); padding: 14px 20px; cursor: pointer; white-space: nowrap; }
.wallet:hover { background: var(--hi); color: var(--ink); }
.wallet.on { background: var(--bg); color: var(--ink); }
.tabbar { display: none; }

/* ---- buttons ---- */
button, .btn {
  font: 500 13px var(--sans); text-transform: uppercase; letter-spacing: .02em; cursor: pointer; text-decoration: none;
  border: 1px solid var(--line2); background: transparent; color: var(--ink); padding: 13px 20px; border-radius: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: background .2s, color .2s, border-color .2s;
}
button:hover, .btn:hover { border-color: var(--ink); }
button:disabled { opacity: .45; cursor: default; }
.btn-primary, .btn-dark { background: var(--ink); border: 1px solid var(--ink); color: var(--bg); }
.btn-primary:hover, .btn-dark:hover { background: var(--hi); color: var(--ink); }
.btn::after, .btn-primary.arrow::after { content: "↗"; font-size: 13px; }
/* the template's bracketed button: a sand chip with corner ticks */
.btn-bracket { position: relative; display: inline-block; background: var(--sand); color: var(--ink); text-decoration: none; font: 500 13px var(--sans); text-transform: uppercase; padding: 14px 24px; margin: 8px; }
.btn-bracket::before { content: ""; position: absolute; inset: -8px; pointer-events: none;
  background:
    linear-gradient(#000, #000) 0 0 / 10px 1px no-repeat, linear-gradient(#000, #000) 0 0 / 1px 10px no-repeat,
    linear-gradient(#000, #000) 100% 0 / 10px 1px no-repeat, linear-gradient(#000, #000) 100% 0 / 1px 10px no-repeat,
    linear-gradient(#000, #000) 0 100% / 10px 1px no-repeat, linear-gradient(#000, #000) 0 100% / 1px 10px no-repeat,
    linear-gradient(#000, #000) 100% 100% / 10px 1px no-repeat, linear-gradient(#000, #000) 100% 100% / 1px 10px no-repeat; }
.btn-bracket:hover { background: var(--hi); }

/* ---- section bar: the black strip with a label and a number ---- */
h2 { display: flex; justify-content: space-between; align-items: center; background: var(--ink); color: var(--bg);
  font: 500 12px var(--sans); text-transform: uppercase; letter-spacing: .03em; padding: 9px 12px; margin: 56px 0 22px; }
h2::after { content: attr(data-n); }
.card h2 { margin-top: 28px; }
.tag { display: inline-block; background: var(--hi); color: var(--ink); font: 500 11px var(--sans); padding: 5px 9px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 18px; }
.hl { background: var(--hi); padding: 0 .12em; font-style: normal; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---- page hero (app pages) ---- */
.hero { padding: 54px 0 20px; }
.hero h1, h1.big { font: 500 clamp(44px, 6vw, 92px)/.92 var(--sans); letter-spacing: -.04em; text-transform: uppercase; margin: 0 0 20px; color: var(--ink); }
.hero h1 em { font-style: normal; background: var(--hi); padding: 0 .12em; }
.hero p { color: var(--muted); font-size: 16px; max-width: 580px; margin: 0 0 28px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.stats { display: flex; flex-wrap: wrap; margin: 40px 0 0; border-top: 1px solid var(--line); }
.stat { padding: 18px 44px 0 0; min-width: 170px; }
.stat span, .statbox span { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.stat b { font: 500 44px/1.05 var(--sans); letter-spacing: -.03em; color: var(--ink); }

/* ---- cards: hairline panels with small square corner marks ---- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.card { position: relative; background: var(--paper); border: 1px solid var(--line); padding: 24px; }
.card::before, .card::after { content: ""; position: absolute; width: 7px; height: 7px; background: var(--ink); pointer-events: none; }
.card::before { top: -4px; left: -4px; } .card::after { bottom: -4px; right: -4px; }
.coinhead { display: flex; gap: 14px; align-items: center; text-decoration: none; }
.coinhead img { width: 50px; height: 50px; object-fit: cover; background: var(--sand); flex: none; }
.coinhead .sym { font: 500 30px/1 var(--sans); letter-spacing: -.03em; text-transform: uppercase; color: var(--ink); }
.coinhead .mc { margin-left: auto; text-align: right; white-space: nowrap; }
.coinhead .mc b { display: block; font: 500 28px/1.1 var(--sans); letter-spacing: -.03em; color: var(--ink); }

.market { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 16px; }
.market .q { font: 500 22px/1.15 var(--sans); letter-spacing: -.02em; margin-bottom: 8px; color: var(--ink); }
.market .q .muted { font: 400 13px var(--sans); letter-spacing: 0; margin-left: 6px; }
.market .meta { display: flex; gap: 14px; font-size: 12px; color: var(--muted); margin-bottom: 11px; flex-wrap: wrap; align-items: center; }
.market .meta .ahead { color: var(--ink); background: var(--hi); padding: 0 5px; font-weight: 600; }
.bar { height: 4px; background: var(--sand); overflow: hidden; margin-bottom: 12px; }
.bar i { display: block; height: 100%; background: var(--ink); }
.sides { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.side { padding: 13px 14px; border: 1px solid var(--line2); font: 600 13px var(--sans); text-transform: uppercase; letter-spacing: .03em; display: flex; justify-content: space-between; align-items: center; background: var(--bg); color: var(--ink); }
.side small { font: 500 15px var(--sans); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
button.side.yes:hover, .side.yes.sel { background: var(--hi); border-color: var(--ink); }
button.side.no:hover, .side.no.sel { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.side.sel { box-shadow: inset 0 0 0 1px var(--ink); }
.side.closed { opacity: .45; cursor: default; }

.pill { display: inline-block; padding: 3px 7px; font: 600 10.5px var(--sans); letter-spacing: .04em; text-transform: uppercase; border: 1px solid var(--line2); vertical-align: middle; }
.pill.yes, .pill.won { background: var(--hi); border-color: var(--ink); color: var(--ink); }
.pill.no, .pill.lost { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.pill.void, .pill.open, .pill.test { color: var(--warn); border-color: rgba(138, 90, 0, .45); }

input, textarea { font: 15px var(--sans); color: var(--ink); background: var(--bg); border: 1px solid var(--line2); border-radius: 0; padding: 13px 14px; width: 100%; }
input:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--hi); }
input::placeholder, textarea::placeholder { color: var(--faint); }
.chips { display: flex; gap: 6px; margin: 10px 0; flex-wrap: wrap; }
.chips button { padding: 7px 11px; font-size: 12px; }
.payout { display: flex; justify-content: space-between; margin: 10px 0 4px; font-size: 13px; gap: 10px; }
.payout b { color: var(--ink); background: var(--hi); padding: 0 5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.status { white-space: pre-wrap; font-size: 13px; color: var(--muted); margin-top: 10px; }
.status.err { color: var(--no); } .status.ok { color: var(--ink); }

form.launch { display: grid; gap: 18px; max-width: 760px; }
form.launch label { display: grid; gap: 8px; font: 500 11px var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
form.launch .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.note { background: var(--sand); border-left: 4px solid var(--ink); padding: 16px 18px; color: var(--text); font-size: 14px; line-height: 1.7; }
.note b { color: var(--ink); font-weight: 600; }

table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 13px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 500; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
tr:last-child td { border-bottom: 0; }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tablewrap { overflow-x: auto; }
.legs { display: grid; gap: 6px; }
.legs > div { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }

.tokenhead { display: flex; gap: 18px; align-items: center; margin: 44px 0 10px; flex-wrap: wrap; }
.tokenhead img { width: 76px; height: 76px; object-fit: cover; background: var(--sand); }
.tokenhead h1 { margin: 0; font: 500 64px/1 var(--sans); letter-spacing: -.04em; text-transform: uppercase; color: var(--ink); }
.tokenhead h1 .muted { font: 400 16px var(--sans) !important; letter-spacing: 0; text-transform: none; }
.chart { width: 100%; height: 160px; display: block; margin-top: 12px; }
.chart path { stroke: var(--ink) !important; }
.two-col { display: grid; grid-template-columns: 1.35fr 1fr; gap: 22px; align-items: start; }
.empty { color: var(--muted); padding: 44px; text-align: center; border: 1px dashed var(--line2); background: var(--paper); }
.prose h2 { margin-top: 34px; } .prose p { color: #2b2b2b; line-height: 1.75; } .prose b { color: var(--ink); font-weight: 600; }
.testnote { margin: 14px 0 6px; padding: 12px 16px; border: 1px solid rgba(138, 90, 0, .35); background: rgba(138, 90, 0, .05); font-size: 13px; }

/* pickers (creator tax, market multiple/time) */
.taxes { display: flex; gap: 6px; flex-wrap: wrap; align-items: stretch; }
.taxes button { padding: 12px 16px; min-width: 58px; }
.taxes button.on { background: var(--ink); border-color: var(--ink); color: var(--hi); }
.taxes input { width: 110px; padding: 11px 12px; }

/* board toolbar + stat boxes */
.statrow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 28px 0 0; border: 1px solid var(--line); }
.statbox { background: var(--paper); padding: 18px 20px; border-left: 1px solid var(--line); }
.statbox:first-child { border-left: 0; }
.statbox b { font: 500 40px/1.1 var(--sans); letter-spacing: -.03em; color: var(--ink); }
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 0 0 18px; }
.toolbar input { max-width: 300px; padding: 11px 13px; }
.seg { display: inline-flex; border: 1px solid var(--line2); }
.seg button { border: 0; background: none; padding: 11px 14px; font-size: 12px; color: var(--muted); }
.seg button.on { background: var(--ink); color: var(--bg); }

/* opening a market */
.picker { margin-top: 18px; }
.openbtn { width: 100%; border-style: dashed; color: var(--muted); padding: 12px; }
.openbtn:hover { color: var(--ink); background: var(--hi); border-style: solid; }
.pickbox { background: var(--bg); border: 1px solid var(--line); padding: 16px; animation: rise .3s ease; }
.picklabel { font: 500 11px var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.pickbox .taxes { margin-bottom: 14px; }
.pickbox .taxes button { padding: 9px 12px; min-width: 52px; }
.picknote { font-size: 13px; line-height: 1.6; }
.pickbox .row, .slip .row { display: flex; gap: 8px; margin-top: 12px; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }

/* the slip */
.slip { position: fixed; right: 24px; bottom: 24px; width: 356px; max-height: calc(100vh - 110px); overflow-y: auto; z-index: 45;
  background: var(--paper); border: 1px solid var(--ink); box-shadow: 10px 10px 0 var(--hi); animation: rise .3s ease; }
.slip[hidden] { display: none; }
.sliphead { width: 100%; justify-content: space-between; background: var(--ink); border: 0; color: var(--bg); padding: 13px 16px; }
.sliphead span { color: var(--hi); font-size: 11px; }
.slipbody { padding: 6px 16px 16px; }
.slip.folded .slipbody { display: none; }
.leg { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.leglabel { flex: 1; min-width: 0; color: var(--ink); }
.legx { border: 0; background: none; padding: 0 6px; font-size: 20px; line-height: 1; color: var(--muted); }
.legx:hover { color: var(--no); }
.sliphint { font-size: 12px; margin: 10px 0 0; }
.slip input { padding: 11px 12px; min-width: 0; }
.slip .row .btn-primary { white-space: nowrap; }
.slip .chips .clear { margin-left: auto; border-style: dashed; color: var(--muted); }

/* phones without a wallet: open-in-wallet sheet */
.wsheet { position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, .45); display: flex; align-items: flex-end; justify-content: center; animation: rise .25s ease; }
.wsheet-box { position: relative; width: 100%; max-width: 480px; background: var(--paper); border: 1px solid var(--ink); padding: 26px 20px calc(22px + env(safe-area-inset-bottom)); }
.wsheet-box p { font-size: 14px; margin: 0 0 16px; }
.wsheet-app { width: 100%; margin-bottom: 8px; }
.wsheet-copy { width: 100%; margin: 6px 0 14px; border-style: dashed; }
.wsheet-x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; padding: 0; font-size: 22px; border: 0; }
@media (min-width: 861px) { .wsheet { align-items: center; } }

/* ---- footer (every page) ---- */
.sitefoot { margin-top: 100px; padding: 0 0 36px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.6fr); gap: 28px; border-top: 2px solid var(--ink); padding-top: 26px; }
.foot-cols > div { display: grid; gap: 8px; align-content: start; }
.foot-cols b { font: 500 12px var(--sans); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.foot-cols a { text-decoration: none; font-weight: 500; width: fit-content; }
.foot-cols a:hover { background: var(--hi); }
.legal { color: var(--muted); font-size: 13px; line-height: 1.65; margin: 0; }
.bigmark { font: 400 clamp(34px, 8.6vw, 124px)/.8 var(--pixel); color: var(--ink); margin: 56px 0 0; padding-bottom: 16px; border-bottom: 1px solid var(--ink); white-space: nowrap; overflow: hidden; }
.bigmark { display: flex; align-items: center; gap: .12em; line-height: 1 !important; }
.bigmark img { height: .9em; width: auto; flex: none; }
.foot-base { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 16px; font-size: 12px; color: var(--muted); }
.foot-base .btn-dark { padding: 12px 18px; font: 500 12px var(--sans); text-transform: uppercase; text-decoration: none; }

/* ======================= landing page ======================= */
.ln-hero { text-align: center; padding: 60px 0 0; position: relative; }
.ln-hero h1 { font: 500 clamp(52px, 8.4vw, 128px)/.9 var(--sans); letter-spacing: -.05em; text-transform: uppercase; margin: 0; color: var(--ink); }
.ln-hero h1 .hl { display: inline-block; padding: .02em .14em 0; margin-top: .06em; }
.ln-hero .dash { width: 26px; height: 3px; background: var(--ink); margin: 28px auto 18px; }
.ln-hero p { max-width: 470px; margin: 0 auto 20px; color: var(--muted); font-size: 15px; }
.ln-wings { position: absolute; left: 0; right: 0; top: 260px; height: 150px; pointer-events: none; }
.ln-wings::before, .ln-wings::after { content: ""; position: absolute; top: 0; width: 25%; height: 100%; border-top: 1.5px dashed var(--line2); }
.ln-wings::before { left: 0; border-right: 1.5px dashed var(--line2); border-top-right-radius: 140px; }
.ln-wings::after { right: 0; border-left: 1.5px dashed var(--line2); border-top-left-radius: 140px; }
.ln-strip { position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 16px 40px; max-width: 1240px; margin: 0 auto; font: 500 12px var(--sans); text-transform: uppercase; letter-spacing: .03em; color: var(--muted); gap: 14px; flex-wrap: wrap; }
.ln-strip i { font-style: normal; margin: 0 10px; }
.ln-strip b { color: var(--ink); }
.ln-stage { position: relative; margin-top: 150px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: url("/art/dots-light.webp") center 70% / 1150px auto no-repeat; min-height: 400px; }
.ln-stage .sq { position: absolute; width: 8px; height: 8px; background: var(--ink); }
.ln-live { position: relative; width: min(450px, calc(100% - 36px)); margin: -96px auto 0; background: var(--hi); padding: 22px; z-index: 2; }
.ln-live-card { background: var(--dark); color: #eee; padding: 14px 16px 16px; }
.ln-live-top { display: flex; justify-content: space-between; align-items: center; font: 500 11px var(--sans); text-transform: uppercase; color: #777; background: #fff; padding: 7px 10px; margin-bottom: 14px; }
.ln-live-top b { background: var(--hi); color: var(--ink); padding: 2px 8px; font-weight: 600; }
.ln-live-q { font: 500 26px/1.05 var(--sans); letter-spacing: -.02em; color: #fff; margin: 0 0 4px; }
.ln-live-meta { font-size: 12px; color: #9a9a9a; }
.ln-gauge { display: flex; gap: 3px; align-items: flex-end; height: 70px; margin: 14px 0; }
.ln-gauge i { flex: 1; background: #3a3a3a; }
.ln-gauge i.on { background: var(--hi); }
.ln-live-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ln-live-sides span { border: 1px solid #444; padding: 9px 10px; display: flex; justify-content: space-between; font: 600 12px var(--sans); text-transform: uppercase; }
.ln-live-sides span:first-child { background: var(--hi); color: var(--ink); border-color: var(--hi); }
.ln-icons span { position: absolute; width: 46px; height: 46px; background: var(--dark); color: var(--hi); display: grid; place-items: center; font: 600 16px var(--sans); z-index: 1; }
.ln-cross { position: absolute; left: 50%; bottom: 40px; width: 60px; height: 60px; transform: translateX(-50%);
  background: linear-gradient(#000, #000) center / 60px 3px no-repeat, linear-gradient(#000, #000) center / 3px 60px no-repeat; }

.ln-frame { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.ln-frame-in { border-left: 1px solid var(--line2); border-right: 1px solid var(--line2); padding: 0 6px; }
.ln-about { display: grid; grid-template-columns: minmax(0, .45fr) minmax(0, 1.55fr); gap: 40px; padding: 20px 20px 60px; }
.ln-sticky { color: var(--ink); width: 104px; aspect-ratio: 1; background: var(--hi); padding: 12px; display: flex; flex-direction: column; justify-content: space-between; font: 500 12px/1.2 var(--sans); text-transform: uppercase; text-align: right; clip-path: polygon(0 0, 100% 0, 100% 100%, 16% 100%, 0 84%); }
.ln-sticky i { font-style: normal; text-align: left; letter-spacing: .2em; }
.ln-sticky.big { width: 190px; font-size: 14px; clip-path: polygon(0 0, 100% 0, 100% 100%, 22% 100%, 0 78%); }
.ln-statement { font: 500 clamp(30px, 3.7vw, 54px)/1.02 var(--sans); letter-spacing: -.035em; margin: 0 0 36px; color: var(--ink); }
.ln-statement span { color: var(--sand2); }
.ln-about-foot { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.ln-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 210px)); gap: 26px; }
.ln-notes div { border-left: 1px solid var(--ink); padding-left: 14px; position: relative; font-size: 13px; color: var(--muted); }
.ln-notes div::before { content: ""; position: absolute; left: -4px; top: -4px; width: 7px; height: 7px; background: var(--ink); }
.ln-notes b { display: block; color: var(--ink); margin-bottom: 6px; font-weight: 600; }

.ln-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ln-step { padding: 22px 22px 30px; border-left: 1px solid var(--line); }
.ln-step:first-child { border-left: 0; }
.ln-step-top { display: flex; justify-content: space-between; align-items: flex-start; font-size: 14px; }
.ln-step-top .n { font: 400 66px/1 var(--pixel); color: var(--sand2); }
.ln-step .ln-art { height: 130px; margin: 26px 0 30px; background: url("/art/dots-tile.webp") center / 260px auto no-repeat; opacity: .5; }
.ln-step h3 { font: 500 32px/1.05 var(--sans); letter-spacing: -.03em; margin: 0 0 12px; color: var(--ink); }
.ln-step p { color: var(--muted); font-size: 14px; margin: 0; }

.ln-band { text-align: center; padding: 16px 0; margin: 10px 6px 0; background: var(--sand); font: 500 clamp(34px, 5vw, 70px)/1 var(--sans); letter-spacing: -.045em; text-transform: uppercase; color: var(--ink); }
.ln-band span { font-size: .45em; letter-spacing: .1em; vertical-align: middle; margin: 0 .6em; }

.ln-dark { background: var(--dark); color: var(--bg); margin-top: 70px; padding: 30px 0 0; }
.ln-dark h2 { background: var(--bg); color: var(--ink); margin-top: 0; }
.ln-stats { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 30px; min-height: 470px; }
.ln-stats-left { display: flex; flex-direction: column; justify-content: space-between; }
.ln-stats-lead { font: 500 clamp(26px, 2.6vw, 36px)/1.15 var(--sans); letter-spacing: -.02em; max-width: 520px; margin: 20px 0 30px 40px; }
.ln-huge { display: flex; align-items: flex-end; gap: 30px; }
.ln-huge b { font: 500 clamp(110px, 15vw, 220px)/.78 var(--sans); letter-spacing: -.06em; color: var(--hi); }
.ln-huge b small { font-size: .3em; color: var(--bg); letter-spacing: 0; }
.ln-huge .ln-sticky { margin-bottom: 90px; }
.ln-cols { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; }
.ln-col { border-left: 1px solid #777; padding: 0 0 26px 14px; position: relative; align-self: end; }
.ln-col::before { content: ""; position: absolute; left: -4px; top: -4px; width: 7px; height: 7px; background: var(--bg); }
.ln-col:nth-child(1) { height: 210px; } .ln-col:nth-child(2) { height: 290px; } .ln-col:nth-child(3) { height: 370px; }
.ln-col b { font: 500 46px/1 var(--sans); letter-spacing: -.03em; display: block; }
.ln-col span { font-size: 13px; color: #aaa; display: block; margin-top: 8px; max-width: 150px; }

.ln-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); }
.ln-tile { background: var(--paper); border-left: 1px solid var(--line); padding: 22px; text-decoration: none; display: flex; flex-direction: column; gap: 12px; transition: background .2s; min-height: 210px; }
.ln-tile:first-child { border-left: 0; }
.ln-tile:hover { background: var(--hi); }
.ln-tile .sym { font: 500 12px var(--sans); text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; }
.ln-tile .q { font: 500 30px/1 var(--sans); letter-spacing: -.035em; color: var(--ink); text-transform: uppercase; }
.ln-tile .row { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-top: auto; }
.ln-tile .row b { color: var(--ink); }

.ln-rules { display: grid; grid-template-columns: 200px minmax(0, 1fr); }
.ln-rules-side { border-right: 1px solid var(--line); padding: 20px; }
.ln-rule { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 26px; border-bottom: 1px solid var(--line); padding: 20px 22px; align-items: center; }
.ln-rule h3 { font: 500 clamp(36px, 5vw, 72px)/.95 var(--sans); letter-spacing: -.045em; text-transform: uppercase; margin: 0 0 10px; color: var(--sand2); transition: color .2s; }
.ln-rule:hover h3 { color: var(--ink); }
.ln-rule p { margin: 0; color: var(--muted); font-size: 14px; }
.ln-rule .chips span { background: var(--sand); padding: 4px 10px; font-size: 12px; border-radius: 20px; }

.ln-parlay { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--line); }
.ln-parlay-copy { padding: 34px; background: var(--paper); }
.ln-parlay-copy h3 { font: 500 clamp(34px, 3.6vw, 52px)/.98 var(--sans); letter-spacing: -.04em; text-transform: uppercase; margin: 0 0 18px; }
.ln-parlay-copy p { color: var(--muted); margin: 0 0 14px; }
.ln-ticket { background: var(--hi); padding: 34px; display: grid; gap: 8px; align-content: center; }
.ln-ticket .t { background: var(--paper); padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; font-weight: 500; gap: 10px; }
.ln-ticket .t span { font-size: 13px; color: var(--muted); white-space: nowrap; }
.ln-ticket .total { background: var(--ink); color: var(--bg); padding: 16px; display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; }
.ln-ticket .total b { font: 500 36px var(--sans); color: var(--hi); letter-spacing: -.03em; }

.ln-faq { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); border-top: 1px solid #444; margin-top: 60px; }
.ln-cta { background: var(--hi); color: var(--ink); padding: 26px; display: flex; flex-direction: column; justify-content: space-between; min-height: 440px; }
.ln-cta > span { font-size: 18px; }
.ln-cta h3 { font: 500 clamp(32px, 3.2vw, 46px)/1.02 var(--sans); letter-spacing: -.035em; margin: 14px 0; }
.ln-cta .btn-dark { width: 100%; padding: 16px; text-align: center; text-decoration: none; display: block; font: 500 13px var(--sans); text-transform: uppercase; }
.ln-qa { padding: 26px 0 26px 30px; }
.ln-qa > h3 { font: 500 clamp(40px, 4.6vw, 64px)/.95 var(--sans); letter-spacing: -.045em; text-transform: uppercase; margin: 0 0 30px; color: var(--bg); }
.ln-qa > h3 .hl { color: var(--ink); display: inline-block; margin-top: 6px; }
details.qa { border-bottom: 1px solid #444; padding: 16px 0; }
details.qa summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: 16px; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: "+"; font-size: 20px; line-height: 1; }
details.qa[open] summary::after { content: "–"; }
details.qa p { color: #aaa; margin: 10px 0 0; max-width: 560px; font-size: 14px; }
.ln-dark-end { height: 80px; }
.ln-dark + .sitefoot { margin-top: 70px; }

/* ---- phones ---- */
@media (max-width: 1100px) { .grid { grid-template-columns: 1fr; } .statrow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  body { padding-bottom: 74px; }
  .wrap, .topnav-in, .ln-strip, .ln-frame { padding-left: 16px; padding-right: 16px; }
  .topnav-in { height: 64px; gap: 10px; }
  .toplinks { display: none; }
  .brand { margin-right: auto; }
  .wordmark { font-size: 24px; }
  .brand .logo { width: 32px; height: 32px; }
  .wallet { padding: 11px 14px; font-size: 12px; }
  .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--paper); border-top: 1px solid var(--ink); padding-bottom: env(safe-area-inset-bottom); }
  .tab { display: grid; justify-items: center; gap: 3px; padding: 9px 2px 8px; text-decoration: none; color: var(--muted); font-size: 10px; text-transform: uppercase; }
  .tab.on { color: var(--ink); background: var(--hi); font-weight: 600; }
  .two-col, .ln-about, .ln-steps, .ln-stats, .ln-parlay, .ln-faq, .ln-rule, .ln-rules, .ln-board, .foot-cols { grid-template-columns: minmax(0, 1fr); }
  form.launch .two { grid-template-columns: 1fr; }
  .two-col { display: flex; flex-direction: column; }
  .two-col > #mk { order: 1; }
  .two-col > div:first-child { display: contents; }
  .two-col > div:first-child > .card:first-child { order: 0; }
  .two-col > div:first-child > h2, .two-col > div:first-child > .tablewrap { order: 2; }
  .hero h1, h1.big { font-size: clamp(42px, 12vw, 64px); }
  .tokenhead h1 { font-size: 46px; }
  .tokenhead > div:last-child { margin-left: 0 !important; }
  input, textarea { font-size: 16px; }
  table { font-size: 13px; } th, td { padding: 10px 6px; }
  .stat b, .statbox b { font-size: 30px; }
  .slip { left: 10px; right: 10px; width: auto; bottom: calc(70px + env(safe-area-inset-bottom)); max-height: 70vh; box-shadow: 6px 6px 0 var(--hi); }
  .ln-wings, .ln-icons, .ln-cross, .ln-rules-side { display: none; }
  .ln-stage { min-height: 300px; background-size: 700px auto; margin-top: 110px; }
  .ln-strip { position: static; }
  .ln-live { margin-top: 0; }
  .ln-step, .ln-tile { border-left: 0; border-top: 1px solid var(--line); }
  .ln-notes { grid-template-columns: 1fr; }
  .ln-stats-lead { margin-left: 0; }
  .ln-cols { min-height: 300px; margin-top: 30px; }
  .ln-col:nth-child(1) { height: 150px; } .ln-col:nth-child(2) { height: 200px; } .ln-col:nth-child(3) { height: 250px; }
  .ln-col b { font-size: 34px; }
  .ln-huge .ln-sticky { display: none; }
  .ln-qa { padding: 26px 0; }
  .ln-frame-in { border: 0; padding: 0; }
  .ln-about { padding: 20px 0 40px; }
  .ln-cta { min-height: 320px; }
  .foot-base { flex-direction: column; align-items: flex-start; }
}

/* ======================= motion =======================
   Framer appear: opacity ~0 → 1 and y +40–50px → 0 on a stiff, fully damped spring (stiffness 400,
   damping 70) ≈ a fast ease-out over ~.7s. Sections enter from ~30% opacity the same way. Lime
   highlight words type out letter by letter. Big numbers count up. */
:root { --spring: cubic-bezier(.22, 1, .36, 1); }
@keyframes appear { from { opacity: .001; transform: translateY(44px); } to { opacity: 1; transform: none; } }
@keyframes caret { 50% { border-color: transparent; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes float { 50% { transform: translateY(-6px); } }
@keyframes blink { 50% { opacity: 0; } }

/* page-load entrance (hero) */
.ln-hero h1 .ln-line, .ln-hero .dash, .ln-hero p, .ln-hero .btn-bracket, .ln-live, .hero > * { opacity: .001; animation: appear .75s var(--spring) forwards; }
.ln-hero h1 .ln-line { display: block; }
.ln-hero h1 .ln-line:nth-child(2), .hero > *:nth-child(2) { animation-delay: .08s; }
.ln-hero h1 .ln-line:nth-child(3), .hero > *:nth-child(3) { animation-delay: .16s; }
.hero > *:nth-child(4) { animation-delay: .24s; }
.ln-hero .dash { animation-delay: .25s; } .ln-hero p { animation-delay: .3s; } .ln-hero .btn-bracket { animation-delay: .38s; }
.ln-live { animation-delay: .45s; }

/* typed highlight: the lime box grows as the letters arrive, with a caret while typing */
.typing { border-right: .06em solid var(--ink); animation: caret .6s steps(1) infinite; }

/* scroll appear */
[data-reveal] { opacity: .3; transform: translateY(44px); transition: opacity .7s var(--spring), transform .75s var(--spring); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }
.ln-col[data-reveal] { transform: translateY(60px); }

/* ambient */
.ln-gauge i { transform-origin: bottom; animation: grow .7s var(--spring) both; transition: background .4s; }
.ln-icons span { animation: float 5s ease-in-out infinite; }
.ln-icons span:nth-child(2) { animation-delay: -1.2s; } .ln-icons span:nth-child(3) { animation-delay: -2.4s; } .ln-icons span:nth-child(4) { animation-delay: -3.6s; }
.ln-sticky i { animation: blink 1.4s steps(1) infinite; }
.ln-band { overflow: hidden; white-space: nowrap; }
.ln-band-track { display: inline-block; animation: marquee 22s linear infinite; }

/* hover */
.ln-tile, .ln-ticket .t, .btn, .btn-primary, .btn-dark, .wallet, .btn-bracket { transition: transform .3s var(--spring), background .2s, color .2s, box-shadow .3s; }
.ln-tile:hover, .ln-ticket .t:hover { transform: translateY(-4px); }
.ln-rule h3 { transition: color .35s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal], .hero > *, .ln-hero h1 .ln-line, .ln-hero .dash, .ln-hero p, .ln-hero .btn-bracket, .ln-live { opacity: 1 !important; transform: none !important; }
}
