/* Hallmark · macrostructure: Workbench (sidebar app) · tone: warm, hopeful, trustworthy · anchor hue: lagoon teal 178 · theme: custom (studied With Wise) · Figtree only */
/* BLESS: the wall where whales bless wallets. Sidebar app, Figtree only. */
@font-face { font-family: 'Figtree'; src: url('../fonts/figtree-var.woff2') format('woff2'); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('../fonts/figtree-var-italic.woff2') format('woff2'); font-weight: 300 900; font-style: italic; font-display: swap; }

:root {
  --lagoon: #018984;
  --lagoon-d: #01716d;
  --deep: #04302f;
  --deeper: #021f1f;
  --foam: #f6f1e5;
  --paper: #fffdf8;
  --cream: #ede6d6;
  --halo: #f6c445;
  --halo-d: #b8860b;
  --mint: #d3ece5;
  --mint-2: #e7f4f0;
  --ink: #0d2826;
  --muted: #4b6562;
  --line: rgba(13, 40, 38, .1);
  --rail-w: 272px;
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --sans: 'Figtree', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --halo-l: #ffd35c;
  --lagoon-a45: rgba(1, 137, 132, .45);
  --cream-a85: rgba(237, 230, 214, .85);
  --cream-a72: rgba(237, 230, 214, .72);
  --cream-a06: rgba(237, 230, 214, .06);
  --cream-a12: rgba(237, 230, 214, .12);
  --deep-a14: rgba(4, 48, 47, .14);
  --cream-a14: rgba(237, 230, 214, .14);
  --cream-a6: rgba(237, 230, 214, .6);
  --cream-a1: rgba(237, 230, 214, .1);
  --cream-a2: rgba(237, 230, 214, .2);
  --cream-a55: rgba(237, 230, 214, .55);
  --lagoon-a35: rgba(1, 137, 132, .35);
  --cream-a8: rgba(237, 230, 214, .8);
  --cream-a35: rgba(237, 230, 214, .35);
  --ink-a22: rgba(13, 40, 38, .22);
  --lagoon-a5: rgba(1, 137, 132, .5);
  --lagoon-a0: rgba(1, 137, 132, 0);
  --deep-a25: rgba(4, 48, 47, .25);
  --deep-a45: rgba(4, 48, 47, .45);
  --ink-a06: rgba(13, 40, 38, .06);
  --ink-a2: rgba(13, 40, 38, .2);
  --deep-a35: rgba(4, 48, 47, .35);
  --ink-a16: rgba(13, 40, 38, .16);
  --lagoon-a15: rgba(1, 137, 132, .15);
  --cream-a78: rgba(237, 230, 214, .78);
  --deeper-a5: rgba(2, 31, 31, .5);
  --ink-a07: rgba(13, 40, 38, .07);
  --ink-a14: rgba(13, 40, 38, .14);
  --halo-a8: rgba(246, 196, 69, .8);
  --halo-a0: rgba(246, 196, 69, 0);
  --deeper-a45: rgba(2, 31, 31, .45);
  --lagoon-l: #029b95;
  --bad: #b42318;
  --bad-bg: #fdecea;
  --bad-d: #8a1c12;
  --wait-bg: #fff6dc;
  --wait: #6b4e00;
  --shade-a4: rgba(0, 0, 0, .4);
  --shade-a5: rgba(0, 0, 0, .5);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--foam); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--halo); outline-offset: 3px; border-radius: 10px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--halo); color: var(--ink); padding: 12px 16px; border-radius: 12px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ------------------------------ the rail (sidebar) ------------------------------ */
.rail {
  position: fixed; inset: 0 auto 0 0; width: var(--rail-w); z-index: 40;
  background: var(--deep); color: var(--cream);
  display: flex; flex-direction: column; gap: 24px; padding: 28px 20px 20px;
  overflow-y: auto; scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.mark { display: flex; align-items: center; gap: 12px; text-decoration: none; padding: 0 8px; }
.mark img { width: 44px; height: 44px; border-radius: 12px; }
.mark-word { font-weight: 800; font-size: 25px; letter-spacing: -.02em; color: var(--cream); }
.mark-word b { color: var(--halo); font-weight: 800; }

.railnav { position: relative; display: flex; flex-direction: column; gap: 4px; }
.railnav a {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 14px; text-decoration: none; font-weight: 600; font-size: 15.5px;
  color: var(--cream-a72); transition: color .25s var(--ease), background-color .25s var(--ease);
}
.railnav a:hover { color: var(--cream); background: var(--cream-a06); }
.railnav a[aria-current="page"] { color: var(--deep); }
.railnav svg { width: 20px; height: 20px; flex: none; }
.railnav-count { margin-left: auto; font-size: 12.5px; font-weight: 700; padding: 1px 8px; border-radius: 99px; background: var(--cream-a12); color: var(--cream); font-variant-numeric: tabular-nums; }
.railnav a[aria-current="page"] .railnav-count { background: var(--deep-a14); color: var(--deep); }
.railnav-marker { position: absolute; left: 0; right: 0; top: 0; height: 44px; border-radius: 14px; background: var(--halo); z-index: 0; transition: transform .45s var(--ease); pointer-events: none; }

.railcoin { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: var(--r-md); background: var(--cream-a06); }
.coinchip { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 12px; border-radius: 12px; border: 1px solid var(--cream-a14); background: transparent; color: var(--cream); font-size: 13.5px; text-align: left; }
.coinchip-k { font-weight: 800; color: var(--halo); }
.coinchip-v { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: .82; }
.coinchip[data-minted="no"] { cursor: default; }
.coinchip[data-minted="yes"]:hover { border-color: var(--halo); }
.coinrow { display: flex; gap: 8px; align-items: center; }
.buy { flex: 1; display: inline-flex; align-items: center; justify-content: center; height: 42px; border-radius: 99px; background: var(--halo); color: var(--deep); font-weight: 800; text-decoration: none; font-size: 15px; transition: transform .2s var(--ease), background-color .2s; }
.buy:hover { background: var(--halo-l); transform: translateY(-1px); }
.buy[aria-disabled="true"] { background: var(--cream-a14); color: var(--cream-a6); pointer-events: none; }
.iconlink { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--cream-a1); color: var(--cream); transition: background-color .2s; }
.iconlink:hover { background: var(--cream-a2); }
.iconlink svg { width: 18px; height: 18px; }
.phantom { display: flex; align-items: center; justify-content: center; gap: 12px; height: 50px; border-radius: 16px; border: 0; background: var(--lagoon-d); color: var(--paper); font-weight: 700; font-size: 15px; transition: background-color .2s; }
.phantom:hover { background: var(--halo); color: var(--deep); }
.phantom svg { width: 20px; height: 20px; }
.phantom[data-on="yes"] { background: var(--cream-a1); color: var(--cream); }
.railnote { font-size: 12.5px; line-height: 1.5; color: var(--cream-a55); padding: 0 8px; margin: 0; }

/* mobile bar and drawer */
.mobilebar { display: none; }
.scrim { display: none; }

/* ------------------------------ the stage ------------------------------ */
.stage { margin-left: var(--rail-w); min-height: 100vh; }
.view { display: none; padding: 40px clamp(20px, 4vw, 64px) 72px; max-width: 1680px; }
.view[data-active="yes"] { display: block; }
.view-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.view-title { font-size: clamp(30px, 3vw, 44px); line-height: 1.08; letter-spacing: -.025em; font-weight: 750; margin: 0; }
.view-sub { margin: 12px 0 0; color: var(--muted); max-width: 60ch; font-size: 16.5px; }

/* hero (top of the wall) */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 3vw, 48px); align-items: stretch; margin-bottom: 28px; }
.hero-card { background: var(--deep); color: var(--cream); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 60px); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 440px; }
.hero-card > * { position: relative; z-index: 1; }
.hero-card::after { z-index: 0;  content: ''; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; border: 56px solid var(--lagoon-a35); pointer-events: none; }
.headline { font-size: clamp(42px, 5.2vw, 84px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; margin: 0; max-width: 12ch; }
.headline .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.headline .ln > span { display: inline-block; }
.lit { color: var(--cream); transition: color .5s var(--ease); }
.lit[data-lit="yes"] { color: var(--halo); }
.lede { font-size: clamp(16.5px, 1.25vw, 19px); line-height: 1.6; color: var(--cream-a8); max-width: 46ch; margin: 24px 0 0; }
.acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; position: relative; z-index: 1; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 52px; padding: 0 24px; border-radius: 99px; border: 0; font-weight: 700; font-size: 16px; text-decoration: none; transition: transform .2s var(--ease), background-color .2s, color .2s, box-shadow .2s; }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-gold { background: var(--halo); color: var(--deep); }
.btn-gold:hover { background: var(--halo-l); }
.btn-lagoon { background: var(--lagoon-d); color: var(--paper); }
.btn-lagoon:hover { background: var(--deep); }
.btn-ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1.5px var(--cream-a35); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--cream); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink-a22); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

.hero-side { display: grid; grid-template-rows: 1fr auto; gap: 16px; }
.frame { background: var(--mint); border-radius: var(--r-lg); padding: 12px; }
.frame-in { background: var(--paper); border-radius: calc(var(--r-lg) - 8px); padding: 24px; height: 100%; }
.peek { display: flex; flex-direction: column; gap: 16px; }
.peek-top { display: flex; align-items: center; justify-content: space-between; }
.peek-title { font-weight: 700; font-size: 15px; margin: 0; }
.livepip { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--lagoon-d); }
.livepip::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 var(--lagoon-a5); animation: pip 2s infinite; }
@keyframes pip { 70% { box-shadow: 0 0 0 8px var(--lagoon-a0); } 100% { box-shadow: 0 0 0 0 var(--lagoon-a0); } }
.peek-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.peek-list li { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--mint-2); }
.peek-step { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 14px; background: var(--paper); }
.peek-step b { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--lagoon-d); color: var(--cream); font-size: 14px; }
.peek-step span { font-weight: 700; font-size: 14.5px; line-height: 1.45; color: var(--ink); }
.peek-step em { display: block; font-weight: 400; font-style: normal; color: var(--muted); font-size: 13.5px; }
.peek-empty { padding: 20px; border-radius: 14px; background: var(--mint-2); color: var(--muted); font-size: 14.5px; }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.chip { background: var(--paper); border-radius: var(--r-md); padding: 20px 20px; box-shadow: 0 1px 0 var(--line), 0 12px 32px -18px var(--deep-a25); }
.chip-n { font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--deep); }
.chip-l { font-size: 13.5px; color: var(--muted); margin-top: 8px; }

/* proof band */
.band { background: var(--deeper); color: var(--cream); border-radius: var(--r-md); overflow: hidden; margin-bottom: 44px; }
.band-track { display: flex; width: max-content; animation: drift 46s linear infinite; }
.band:hover .band-track { animation-play-state: paused; }
.band-item { display: inline-flex; align-items: center; gap: 12px; padding: 20px 32px; white-space: nowrap; font-size: 16px; font-weight: 500; }
.band-item b { color: var(--halo); font-weight: 800; }
.band-item svg { width: 18px; height: 18px; opacity: .7; }
@keyframes drift { to { transform: translateX(-50%); } }

/* the wall */
.wallbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.wallbar h2 { font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -.025em; margin: 0; font-weight: 750; }
.seg { display: inline-flex; padding: 4px; border-radius: 99px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { border: 0; background: transparent; height: 38px; padding: 0 16px; border-radius: 99px; font-weight: 650; font-size: 14.5px; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--deep); color: var(--cream); }
.askgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.acard { background: var(--mint); border-radius: var(--r-lg); padding: 12px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.acard:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -26px var(--deep-a45); }
.acard-in { background: var(--paper); border-radius: calc(var(--r-lg) - 8px); padding: 20px; display: flex; flex-direction: column; gap: 16px; height: 100%; }
.acard-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.face { width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--lagoon-d); color: var(--cream); font-weight: 800; font-size: 18px; overflow: hidden; }
.face img { width: 100%; height: 100%; object-fit: cover; }
.face[data-sm] { width: 34px; height: 34px; font-size: 14px; }
.acard-name { min-width: 0; }
.acard-name strong { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acard-name span { display: block; font-size: 13.5px; color: var(--muted); }
.vbadge { display: inline-flex; width: 18px; height: 18px; flex: none; color: var(--lagoon); }
.unv { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 99px; background: var(--ink-a06); color: var(--muted); font-size: 12px; font-weight: 650; }
.acard-purpose { font-size: 18px; line-height: 1.45; font-weight: 550; margin: 0; letter-spacing: -.01em; flex: 1; overflow-wrap: anywhere; }
.acard-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.acard-meta { font-size: 13px; color: var(--muted); line-height: 1.4; }
.acard-meta a { text-decoration: none; border-bottom: 1px solid var(--ink-a2); }
.acard-acts { display: flex; gap: 8px; align-items: center; }
.blessbtn { height: 42px; padding: 0 20px; border-radius: 99px; border: 0; background: var(--lagoon-d); color: var(--paper); font-weight: 750; font-size: 14.5px; display: inline-flex; align-items: center; gap: 8px; transition: background-color .2s, transform .2s var(--ease); }
.blessbtn:hover { background: var(--deep); transform: translateY(-1px); }
.blessbtn svg { width: 16px; height: 16px; }
.flag { width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); display: grid; place-items: center; }
.flag:hover { background: var(--ink-a06); color: var(--ink); }
.flag svg { width: 16px; height: 16px; }

.emptyslab { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 32px; border-radius: var(--r-lg); background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--mint); }
.emptyslab img { width: 72px; height: 72px; border-radius: 18px; }
.emptyslab h3 { margin: 0 0 8px; font-size: 22px; letter-spacing: -.02em; }
.emptyslab p { margin: 0; color: var(--muted); max-width: 56ch; }

/* closing panel */
.closer { margin-top: 48px; border-radius: var(--r-lg); background: var(--lagoon-d); color: var(--paper); padding: clamp(28px, 4vw, 52px); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.closer h3 { margin: 0; font-size: clamp(26px, 2.6vw, 40px); letter-spacing: -.025em; line-height: 1.1; max-width: 20ch; font-weight: 750; }
.closer p { margin: 12px 0 0; opacity: .85; max-width: 52ch; }

/* ------------------------------ ask form ------------------------------ */
.asklayout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px; align-items: start; }
.panel { background: var(--paper); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); box-shadow: 0 1px 0 var(--line), 0 18px 44px -30px var(--deep-a35); }
.step { display: flex; gap: 16px; }
.step + .step { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.stepdot { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--mint); color: var(--deep); font-weight: 800; font-size: 15px; }
.step[data-done="yes"] .stepdot { background: var(--lagoon-d); color: var(--paper); }
.stepbody { flex: 1; min-width: 0; }
.stepbody h3 { margin: 4px 0 8px; font-size: 19px; letter-spacing: -.015em; }
.stepbody > p { margin: 0 0 16px; color: var(--muted); font-size: 15px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.field label { font-weight: 650; font-size: 14.5px; }
.inputwrap { position: relative; display: flex; align-items: center; }
.inputwrap > span { position: absolute; left: 16px; color: var(--muted); font-weight: 650; }
.field input, .field textarea { width: 100%; border: 1.5px solid var(--ink-a16); background: var(--paper); border-radius: 14px; padding: 12px 16px; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.inputwrap input { padding-left: 32px; }
.field textarea { min-height: 112px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--lagoon); box-shadow: 0 0 0 4px var(--lagoon-a15); }
.fieldfoot { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--muted); min-height: 20px; }
.verdict[data-tone="bad"] { color: var(--bad); font-weight: 600; }
.verdict[data-tone="good"] { color: var(--lagoon-d); font-weight: 600; }
.formacts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; align-items: center; }
.codebox { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px; border-radius: 14px; background: var(--deep); color: var(--cream); margin: 4px 0 12px; }
.codebox code { font-family: var(--sans); font-weight: 800; font-size: 20px; letter-spacing: .04em; color: var(--halo); }
.status { margin-top: 16px; padding: 12px 16px; border-radius: 12px; font-size: 14.5px; display: none; }
.status[data-tone] { display: block; }
.status[data-tone="bad"] { background: var(--bad-bg); color: var(--bad-d); }
.status[data-tone="good"] { background: var(--mint); color: var(--deep); }
.status[data-tone="wait"] { background: var(--wait-bg); color: var(--wait); }
.rules { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.rules li { display: flex; gap: 12px; font-size: 15px; color: var(--muted); }
.rules li strong { display: block; color: var(--ink); font-weight: 700; }
.rules svg { width: 20px; height: 20px; flex: none; color: var(--lagoon); margin-top: 2px; }
.sidecard { background: var(--deep); color: var(--cream); border-radius: var(--r-lg); padding: 28px; }
.sidecard h3 { margin: 0 0 16px; font-size: 20px; letter-spacing: -.015em; }
.sidecard .rules li { color: var(--cream-a72); }
.sidecard .rules li strong { color: var(--cream); }
.sidecard .rules svg { color: var(--halo); }

/* ------------------------------ blessed feed ------------------------------ */
.feedlayout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px; align-items: start; }
.feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.feedrow { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 16px 20px; border-radius: var(--r-md); background: var(--paper); box-shadow: 0 1px 0 var(--line); }
.feedrow-txt { min-width: 0; }
.feedrow-txt strong { font-weight: 700; }
.feedrow-txt p { margin: 4px 0 0; font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feedrow-sol { text-align: right; }
.feedrow-sol b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--deep); font-variant-numeric: tabular-nums; }
.feedrow-sol a { font-size: 13px; color: var(--muted); }
.textbtn2 { border: 0; background: none; padding: 0; color: var(--lagoon-d); font-weight: 700; font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; }
.cardstage { position: sticky; top: 24px; }
.cardstage canvas { width: 100%; height: auto; border-radius: var(--r-md); display: block; background: var(--deep); }
.cardstage .frame-in { padding: 16px; }
.cardstage p { color: var(--muted); font-size: 14.5px; margin: 16px 4px 0; }

/* ------------------------------ boards ------------------------------ */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 32px; }
.tile { background: var(--deep); color: var(--cream); border-radius: var(--r-lg); padding: 28px 24px 20px; min-height: 170px; display: flex; flex-direction: column; justify-content: space-between; }
.tile-n { font-size: clamp(38px, 3.6vw, 60px); line-height: 1; font-weight: 800; letter-spacing: -.035em; color: var(--halo); font-variant-numeric: tabular-nums; }
.tile-l { text-align: right; font-size: 14.5px; color: var(--cream-a78); }
.boards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.board { background: var(--mint); border-radius: var(--r-lg); padding: 12px; }
.board-in { background: var(--paper); border-radius: calc(var(--r-lg) - 8px); padding: 24px; height: 100%; }
.board h3 { margin: 0 0 16px; font-size: 19px; letter-spacing: -.015em; }
.board ol { list-style: none; margin: 0; padding: 0; counter-reset: b; }
.board li { counter-increment: b; display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.board li::before { content: counter(b); font-weight: 800; color: var(--lagoon); }
.board li b { font-variant-numeric: tabular-nums; }
.board li a { text-decoration: none; }
.board-empty { color: var(--muted); font-size: 14.5px; margin: 0; padding-top: 12px; border-top: 1px solid var(--line); }

/* ------------------------------ how it works ------------------------------ */
.howrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: 36px 0; border-top: 1px solid var(--line); }
.howrow:first-of-type { border-top: 0; }
.howrow:nth-of-type(even) .howtext { order: 2; }
.howtext h3 { font-size: clamp(24px, 2.2vw, 34px); letter-spacing: -.025em; line-height: 1.12; margin: 0 0 12px; font-weight: 750; }
.howtext p { color: var(--muted); margin: 0; max-width: 50ch; font-size: 16.5px; }
.mini { display: flex; flex-direction: column; gap: 12px; }
.mini-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: var(--mint-2); font-size: 15px; }
.mini-row b { margin-left: auto; color: var(--deep); }
.safety { margin-top: 20px; }

/* ------------------------------ mine ------------------------------ */
.mine-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.connectcta { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }

/* ------------------------------ bless sheet ------------------------------ */
.sheet { position: fixed; inset: 0; z-index: 60; display: none; }
.sheet[data-open="yes"] { display: block; }
.sheet-scrim { position: absolute; inset: 0; background: var(--deeper-a5); }
.sheet-card { position: absolute; top: 0; right: 0; bottom: 0; width: min(480px, 100%); background: var(--foam); padding: 28px; overflow-y: auto; display: flex; flex-direction: column; gap: 20px; box-shadow: -30px 0 60px -30px var(--shade-a4); }
.sheet-top { display: flex; justify-content: space-between; align-items: center; }
.sheet-top h2 { margin: 0; font-size: 26px; letter-spacing: -.025em; }
.xbtn { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--ink-a07); display: grid; place-items: center; }
.xbtn svg { width: 18px; height: 18px; }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.amounts button { height: 54px; border-radius: 16px; border: 1.5px solid var(--ink-a14); background: var(--paper); font-weight: 750; font-size: 16px; font-variant-numeric: tabular-nums; }
.amounts button[aria-pressed="true"] { border-color: var(--lagoon); background: var(--mint); color: var(--deep); }
.sheet .note { font-size: 13.5px; color: var(--muted); margin: 0; }
.halo-pulse { animation: halo 1.4s var(--ease) 1; }
@keyframes halo { 0% { box-shadow: 0 0 0 0 var(--halo-a8); } 100% { box-shadow: 0 0 0 26px var(--halo-a0); } }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); z-index: 80; background: var(--deep); color: var(--cream); padding: 12px 20px; border-radius: 14px; font-size: 14.5px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); max-width: calc(100% - 32px); }
.toast[data-show="yes"] { opacity: 1; transform: translateX(-50%) translateY(0); }

/* reveal start state only when JS + motion are on */
.js .rv { opacity: 0; transform: translateY(24px); }

/* ------------------------------ responsive ------------------------------ */
@media (min-width: 1800px) {
  :root { --rail-w: 300px; }
  body { font-size: 17px; }
  .view { max-width: none; padding-left: 72px; padding-right: 72px; }
  .askgrid { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
}
@media (min-width: 2400px) {
  :root { --rail-w: 340px; }
  body { font-size: 18px; }
  .headline { font-size: 104px; }
  .askgrid { grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); }
  .hero-card { min-height: 560px; }
}
@media (max-width: 1180px) {
  .hero, .asklayout, .feedlayout { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .boards { grid-template-columns: 1fr; }
  .cardstage { position: static; }
}
@media (max-width: 900px) {
  .rail { transform: translateX(-100%); transition: transform .4s var(--ease); width: min(300px, 86vw); }
  body[data-drawer="open"] .rail { transform: none; box-shadow: 30px 0 60px -30px var(--shade-a5); }
  body[data-drawer="open"] .scrim { display: block; position: fixed; inset: 0; z-index: 35; background: var(--deeper-a45); }
  .mobilebar { display: flex; position: sticky; top: 0; z-index: 30; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--deep); color: var(--cream); }
  .mobilebar .mark img { width: 36px; height: 36px; }
  .mobilebar .mark-word { font-size: 21px; }
  .menubtn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 99px; border: 0; background: var(--cream-a12); color: var(--cream); font-weight: 700; }
  .menubtn svg { width: 18px; height: 18px; }
  .stage { margin-left: 0; }
  .view { padding: 24px 16px 56px; }
  .howrow { grid-template-columns: 1fr; }
  .howrow:nth-of-type(even) .howtext { order: 0; }
  .mine-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero-card { min-height: 0; padding: 28px 24px; }
  .headline { font-size: 40px; }
  .chips { grid-template-columns: 1fr 1fr; }
  .chip-n { font-size: 28px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tile { min-height: 130px; padding: 20px; }
  .tile-n { font-size: 34px; }
  .askgrid { grid-template-columns: 1fr; }
  .emptyslab { grid-template-columns: 1fr; text-align: left; }
  .feedrow { grid-template-columns: auto 1fr; }
  .feedrow-sol { grid-column: 2; text-align: left; }
  .acts .btn { flex: 1 1 100%; }
  .amounts { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .rv { opacity: 1; transform: none; }
  .band-track { animation: none; }
}

/* every button-like control: one line, a press, an honest disabled state */
.btn, .railnav a, .blessbtn, .buy, .phantom, .seg button, .amounts button, .textbtn2, .menubtn, .xbtn, .coinchip { white-space: nowrap; }
.btn:active, .blessbtn:active, .buy:active, .phantom:active, .seg button:active, .amounts button:active, .iconlink:active, .flag:active, .menubtn:active, .xbtn:active { transform: translateY(1px); }
.btn:disabled, .xbtn:disabled, .blessbtn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
