/* ==========================================================================
   DEED · brand tokens
   Deep green and lime, pill geometry, Archivo for display and IBM Plex Mono
   for every figure. Tint carries emphasis; colour carries meaning in exactly
   one place, the rent-status pills.
   ========================================================================== */
:root {
  --green: #0F3B2E;
  --green-deep: #0A2B21;
  --green-800: #10382C;
  --green-700: #1A5040;
  --green-line: rgba(203, 233, 79, .16);
  --cream: #F5F8EF;
  --cream-2: #E7EFD6;
  --paper: #FFFFFF;
  --ink: #10241C;
  --ink-2: #3E5449;
  --muted: #7A8C83;
  --line: rgba(16, 36, 28, .11);
  --line-2: rgba(16, 36, 28, .2);

  /* The lime ladder — pale to saturated. Emphasis only, never meaning. */
  --lime-1: #EDF7CF;
  --lime-2: #DCF09A;
  --lime-3: #CBE94F;
  --lime-4: #C2E33C;
  --accent: #CBE94F;
  --accent-2: #C2E33C;
  --soft: #EDF7CF;

  --late: #6B4A08;
  --late-soft: #F7E0A8;
  --vacant: #7A3320;
  --vacant-soft: #F2D2C7;
  --pos: #2E7D53;
  --neg: #A83B31;

  /* Geometry — pills for anything you press, generous rounds for panels. */
  --r-pill: 999px;
  --r-panel: 30px;
  --r-lg: 26px;
  --r: 18px;
  --r-sm: 12px;

  --font: 'Archivo', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  --font-display: 'Archivo', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --ease: cubic-bezier(.22, .7, .2, 1);
  --shadow: 0 1px 2px rgba(10,43,33,.05), 0 22px 50px rgba(10,43,33,.11);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; background: var(--green); overflow-x: clip; }
body { font-family: var(--font); color: var(--cream); background: var(--green); font-size: 16.5px; line-height: 1.58; -webkit-font-smoothing: antialiased; letter-spacing: -.003em; font-weight: 400; }
button, input, select { font: inherit; color: inherit; letter-spacing: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.wide { max-width: 1380px; margin: 0 auto; padding: 0 16px; }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); font-size: .9em; }
.small { font-size: 14px; }
.muted { color: var(--muted); }
.pos { color: var(--pos); }
.neg { color: var(--neg); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.032em; line-height: 1.03; text-wrap: balance; }
h1 { font-size: clamp(46px, 7.2vw, 104px); letter-spacing: -.04em; line-height: .95; }
h2 { font-size: clamp(34px, 4.6vw, 62px); letter-spacing: -.036em; }
h3 { font-size: 26px; letter-spacing: -.028em; }
h4 { font-size: 19px; letter-spacing: -.02em; font-weight: 700; }
p { text-wrap: pretty; }

/* Surfaces ---------------------------------------------------------------- */
.panel { background: var(--cream); color: var(--ink); border-radius: var(--r-lg); position: relative; overflow: hidden; }
.panel-dark { background: var(--green-deep); color: var(--cream); border-radius: var(--r-lg); position: relative; overflow: hidden; }
.card { background: var(--paper); color: var(--ink); border-radius: var(--r); }
.card.pad { padding: 26px; }
.panel-dark .card, .on-green .card { background: rgba(241,248,220,.06); color: var(--cream); box-shadow: inset 0 0 0 1px var(--green-line); }
.section { padding: 96px 0; }
.section.tight { padding: 56px 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); gap: 56px; align-items: end; margin-bottom: 40px; }
.sec-head .kicker { margin-bottom: 14px; }
.sec-head p { color: rgba(241,248,220,.72); font-size: 17px; }
.panel .sec-head p { color: var(--ink-2); }
.sec-head.center { grid-template-columns: 1fr; justify-items: center; text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; gap: 14px; }
.sec-head.center .kicker { margin-bottom: 0; }
.card-title { font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 12px; display: flex; align-items: center; gap: 4px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

/* Buttons ----------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 30px; border-radius: var(--r-pill); font-weight: 600; font-size: 16px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s, transform .2s var(--ease); }
.btn:active { transform: scale(.985); }
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn-lime { background: var(--lime-3); color: var(--ink); }
.btn-lime:hover { background: var(--lime-4); }
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-cream:hover { background: #fff; }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--green-800); }
.btn-soft, .btn-white { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1px var(--green-line); }
.btn-soft:hover, .btn-white:hover { background: rgba(241,248,220,.08); }
.panel .btn-soft, .panel .btn-white, .card .btn-white { color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.panel .btn-soft:hover, .panel .btn-white:hover, .card .btn-white:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-outline { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1px var(--green-line); }
.panel .btn-outline { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn:disabled { background: var(--soft); color: var(--muted); box-shadow: none; cursor: not-allowed; }
.panel-dark .btn:disabled, .on-green .btn:disabled { background: rgba(241,248,220,.1); color: rgba(241,248,220,.45); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn-xs { height: 32px; padding: 0 13px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-text { background: none; border: 0; font-weight: 500; font-size: 15px; cursor: pointer; text-decoration: none; padding: 8px 4px; }
.btn-text:hover { text-decoration: underline; text-underline-offset: 4px; }
.btn-icon { padding: 5px 5px 5px 22px; gap: 16px; height: 54px; }
.btn-icon .ico { width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--accent); color: var(--ink); display: grid; place-items: center; flex-shrink: 0; transition: transform .3s var(--ease); }
.btn-icon .ico svg { width: 18px; height: 18px; }
.btn-icon:hover .ico { transform: rotate(-45deg); }

.chips { display: inline-flex; align-items: center; background: rgba(241,248,220,.1); border-radius: var(--r); padding: 3px; font-size: 14px; }
.chips span { padding: 5px 11px; white-space: nowrap; }
.chips b { background: var(--cream); color: var(--ink); font-weight: 500; padding: 5px 12px; border-radius: var(--r-pill); white-space: nowrap; }
.kicker { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 9px; color: rgba(203,233,79,.85); }
.kicker::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.panel .kicker { color: var(--ink-2); }
.panel .kicker::before { background: var(--green); }
.lead { font-size: 18px; line-height: 1.55; color: rgba(241,248,220,.78); }
.panel .lead { color: var(--ink-2); }

.help { position: relative; display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: var(--r-pill); background: var(--soft); color: var(--ink-2); font-size: 11px; font-weight: 600; cursor: help; margin-left: 4px; vertical-align: 1px; border: 0; }
.help::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translate(-50%, 4px); width: 250px; padding: 10px 12px; border-radius: var(--r-pill); background: var(--ink); color: var(--cream); font-size: 13px; font-weight: 400; line-height: 1.5; text-align: left; opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; z-index: 30; white-space: normal; letter-spacing: 0; }
.help:hover::after, .help:focus::after { opacity: 1; transform: translate(-50%, 0); }

.st { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: .09em; padding: 5px 13px; border-radius: var(--r-pill); white-space: nowrap; }
.st::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-PAID { background: #DDEFA6; color: #31501B; }
.st-LATE { background: var(--late-soft); color: var(--late); }
.st-VACANT { background: var(--vacant-soft); color: var(--vacant); }
.st-DUE { background: #E2E9E3; color: #47564E; }
.panel-dark .st-PAID, .on-green .st-PAID { background: rgba(216,240,138,.18); color: var(--accent); }
.panel-dark .st-LATE, .on-green .st-LATE { background: rgba(240,190,90,.16); color: #F3C777; }
.panel-dark .st-VACANT, .panel-dark .st-DUE, .on-green .st-VACANT, .on-green .st-DUE { background: rgba(241,248,220,.1); color: rgba(241,248,220,.7); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; padding: 6px 14px; border-radius: var(--r-pill); background: rgba(251,253,243,.92); color: var(--ink); white-space: nowrap; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.badge.lime { background: var(--accent); }
.badge.dark { background: var(--green); color: var(--cream); }
.badge.warn { background: var(--late-soft); color: var(--late); }
.badge.soft { background: rgba(251,253,243,.9); color: var(--ink-2); }

/* Header ------------------------------------------------------------------ */
.site-header { position: sticky; top: 0; z-index: 50; padding: 14px 0; transition: background .25s; }
.site-header.scrolled { background: rgba(6,58,46,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; max-width: 1380px; margin: 0 auto; padding: 0 16px; }
.logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 600; font-size: 21px; letter-spacing: -.02em; text-decoration: none; color: var(--cream); justify-self: start; }
.logo svg { width: 40px; height: 40px; }
.logo svg.wordmark { width: 134px; height: 36px; }
.panel .logo { color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 2px; background: rgba(241,248,220,.08); border-radius: var(--r); padding: 5px; box-shadow: inset 0 0 0 1px var(--green-line); }
.nav-links a { text-decoration: none; color: rgba(241,248,220,.78); font-size: 14.5px; font-weight: 500; white-space: nowrap; padding: 8px 14px; border-radius: var(--r-pill); transition: background .2s, color .2s; }
.nav-links a:hover { color: var(--cream); background: rgba(241,248,220,.08); }
.nav-links a.on { background: var(--cream); color: var(--ink); }
.nav-links .nav-mark { display: none; }
.nav-cta { display: flex; gap: 8px; align-items: center; justify-self: end; position: relative; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; border-radius: var(--r-pill); background: rgba(241,248,220,.1); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-btn span { width: 17px; height: 1.8px; background: var(--cream); display: block; transition: transform .2s; }
.menu-btn[aria-expanded=true] span:first-child { transform: translateY(3.4px) rotate(45deg); }
.menu-btn[aria-expanded=true] span:last-child { transform: translateY(-3.4px) rotate(-45deg); }
.wallet-dot { display: none; }
.wallet-btn { height: 46px; background: var(--cream); color: var(--ink); border: 0; border-radius: var(--r-pill); padding: 0 20px; font-weight: 500; font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.wallet-btn:hover { background: #fff; }
.wallet-btn .wdot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.wallet-btn.connected { background: rgba(241,248,220,.1); color: var(--cream); box-shadow: inset 0 0 0 1px var(--green-line); font-family: var(--mono); font-size: 14px; }
.wallet-btn.connected .wdot { background: var(--accent); }
.wallet-btn.connected.wrong .wdot { background: #F0B24A; }
.dropdown { position: absolute; top: calc(100% + 12px); right: 0; width: 340px; background: var(--paper); color: var(--ink); border-radius: var(--r); padding: 20px; box-shadow: 0 30px 60px rgba(4,26,20,.3); z-index: 60; display: flex; flex-direction: column; gap: 12px; }
.dropdown .addr { font-family: var(--mono); font-size: 13px; word-break: break-all; background: var(--soft); border-radius: var(--r-pill); padding: 10px 12px; }
.dropdown .row { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; color: var(--ink-2); }
.dropdown .row strong { font-weight: 500; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.dropdown .actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Hero -------------------------------------------------------------------- */
.hero-wrap { padding: 0 0 8px; margin-top: -102px; }
.hero-band { position: relative; display: block; background: var(--green); margin: 0; }
.hero-band img { width: 100%; height: auto; display: block; object-fit: cover; object-position: 50% 0;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 52%, rgba(0,0,0,.55) 78%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 52%, rgba(0,0,0,.55) 78%, transparent 100%); }
.hero-band::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 170px; background: linear-gradient(180deg, rgba(6,58,46,.85), rgba(6,58,46,0)); z-index: 1; pointer-events: none; }
.hero-band.fb img { filter: grayscale(1) contrast(1.06) brightness(.9); }
.hero-band.fb::after { content: ''; position: absolute; inset: 0; background: var(--green); mix-blend-mode: multiply; opacity: .72; pointer-events: none; }
.hero-over { position: absolute; left: 0; right: 0; top: 102px; bottom: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; text-align: center; padding: 0 24px 6%; }
.hero-over > * { position: relative; z-index: 2; }
.hero-mark { width: 62px; height: 62px; display: block; }
.hero-over h1 { color: var(--cream); font-size: clamp(34px, 4.4vw, 68px); }
.hero-bar { display: grid; grid-template-columns: 1.15fr auto; gap: 32px; align-items: center; border-top: 1px solid var(--green-line); border-bottom: 1px solid var(--green-line); padding: 24px 0 26px; margin-top: 8px; }
.hero-bar p { color: rgba(241,248,220,.78); font-size: 17px; max-width: 560px; }
.hero-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-btn { display: inline-flex; align-items: center; gap: 14px; height: 54px; padding: 0 7px 0 26px; border-radius: var(--r-pill); background: var(--lime-3); color: var(--ink); text-decoration: none; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; transition: background .2s; }
.hero-btn .sq { width: 40px; height: 40px; border-radius: var(--r-pill); background: var(--green-800); color: var(--cream); display: grid; place-items: center; transition: transform .3s var(--ease); }
.hero-btn .sq svg { width: 16px; height: 16px; }
.hero-btn:hover { background: var(--lime-4); }
.hero-btn:hover .sq { transform: translateX(3px); }
.hero-btn.ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1px var(--green-line); }
.hero-btn.ghost:hover { background: rgba(241,248,220,.07); }
.hero-btn.ghost .sq { background: var(--cream); color: var(--ink); }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--green-line); }
.hero-stats div { padding: 24px 24px 24px 0; }
.hero-stats div + div { padding-left: 24px; border-left: 1px solid var(--green-line); }
.hero-stats b { display: block; font-family: var(--mono); font-size: clamp(28px, 3vw, 42px); font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--accent); }
.hero-stats span { font-size: 14.5px; color: rgba(241,248,220,.6); }

/* Steps ------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.step-i { background: rgba(241,248,220,.06); box-shadow: inset 0 0 0 1px var(--green-line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.step-i .n { font-size: 14px; font-weight: 600; width: 34px; height: 34px; border-radius: var(--r-pill); background: var(--accent); color: var(--ink); display: grid; place-items: center; margin-bottom: 14px; }
.step-i p { color: rgba(241,248,220,.74); }
.step-i .note { font-size: 14px; color: rgba(241,248,220,.5); }
.step-i .note b { color: var(--accent); font-weight: 500; }

/* Property cards ---------------------------------------------------------- */
.tabs { display: inline-flex; gap: 2px; background: rgba(241,248,220,.08); border-radius: var(--r); padding: 4px; box-shadow: inset 0 0 0 1px var(--green-line); flex-wrap: wrap; }
.tabs button { border: 0; background: transparent; padding: 8px 16px; border-radius: var(--r-pill); font-size: 14.5px; font-weight: 500; cursor: pointer; color: rgba(241,248,220,.72); transition: background .2s, color .2s; }
.tabs button .c { margin-left: 5px; opacity: .6; }
.tabs button.on { background: var(--cream); color: var(--ink); }
.footnote { font-size: 13.5px; color: rgba(241,248,220,.55); margin-top: 18px; }
.panel .footnote { color: var(--muted); }

.props-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: 12px; margin-bottom: 12px; }
.props-summary div { background: rgba(241,248,220,.06); box-shadow: inset 0 0 0 1px var(--green-line); border-radius: var(--r); padding: 18px 20px; }
.props-summary div:first-child { background: var(--cream); color: var(--ink); box-shadow: none; }
.props-summary div:first-child span { color: var(--muted); }
.props-summary b { display: block; font-family: var(--mono); font-size: 29px; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.props-summary span { font-size: 14px; color: rgba(241,248,220,.6); }
.list-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 24px 0 18px; flex-wrap: wrap; }
.explain-pool { display: flex; gap: 14px; align-items: flex-start; background: rgba(241,248,220,.06); box-shadow: inset 0 0 0 1px var(--green-line); border-radius: var(--r-lg); padding: 16px 18px; font-size: 15px; color: rgba(241,248,220,.78); }
.explain-pool b { color: var(--cream); font-weight: 600; }
.explain-pool svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: var(--accent); }

/* Property detail --------------------------------------------------------- */
.crumbs { font-size: 14.5px; color: rgba(241,248,220,.6); margin: 12px 0 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--cream); }
.pd-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 20px; }
.pd-head h1 { font-size: clamp(40px, 5vw, 66px); }
.pd-head .loc { display: flex; align-items: center; gap: 8px; color: rgba(241,248,220,.7); font-size: 17px; margin-top: 10px; }
.pd-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 12px; align-items: start; }
.pd-hero { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--green-800); position: relative; }
.pd-hero img { width: 100%; height: 100%; object-fit: cover; }
.pd-hero .badge { position: absolute; top: 16px; left: 16px; }
.pd-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 12px; }
.invest { background: var(--paper); color: var(--ink); border-radius: var(--r-lg); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.invest .big { text-align: center; padding: 20px 12px; background: var(--green); color: var(--cream); border-radius: var(--r); }
.invest .big b { display: block; font-family: var(--mono); font-size: 46px; font-weight: 500; letter-spacing: -.035em; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.invest .big span { font-size: 14px; color: rgba(241,248,220,.7); }
.invest .note { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.pd-section { margin-top: 36px; }
.pd-section h2 { font-size: 32px; margin-bottom: 14px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--green-line); border-radius: var(--r); overflow: hidden; }
.facts div { background: rgba(241,248,220,.06); padding: 16px 18px; }
.facts span { display: block; font-size: 13.5px; color: rgba(241,248,220,.6); }
.facts b { font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.heat { display: grid; gap: 6px; font-size: 13.5px; }
.heat .hr { display: grid; grid-template-columns: 60px repeat(6, 1fr); gap: 6px; align-items: center; }
.heat .hh { color: var(--muted); text-align: center; }
.heat .hu { font-weight: 600; }
.heat .hc { height: 38px; border-radius: var(--r-sm); display: grid; place-items: center; font-weight: 500; font-size: 12.5px; }
.heat .hc.PAID { background: #E3F2C8; color: #35611F; }
.heat .hc.LATE { background: var(--late-soft); color: var(--late); }
.heat .hc.VACANT { background: var(--vacant-soft); color: var(--vacant); }
.timeline { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.timeline li { background: rgba(241,248,220,.06); box-shadow: inset 0 0 0 1px var(--green-line); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.timeline li::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: rgba(241,248,220,.25); margin-bottom: 6px; }
.timeline li.done::before { background: var(--cream); }
.timeline li.cur::before { background: var(--accent); box-shadow: 0 0 0 5px rgba(216,240,138,.2); }
.timeline b { font-weight: 500; font-size: 16px; }
.timeline span { font-size: 14px; color: rgba(241,248,220,.6); }

/* Calculator -------------------------------------------------------------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-in { background: var(--paper); color: var(--ink); border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.calc-amount { display: flex; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--line-2); padding-bottom: 10px; }
.calc-amount input { font-family: var(--font-display); font-weight: 500; font-size: 58px; letter-spacing: -.05em; border: 0; background: transparent; outline: none; width: 100%; min-width: 0; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc-amount span { color: var(--muted); font-size: 17px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--green) var(--p, 10%), var(--soft) var(--p, 10%)); cursor: pointer; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--paper), 0 2px 10px rgba(4,26,20,.25); }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--green); border: 4px solid var(--paper); }
.presets { display: flex; gap: 6px; flex-wrap: wrap; }
.presets button { border: 0; background: var(--soft); border-radius: var(--r-pill); padding: 7px 14px; font-size: 14px; cursor: pointer; color: var(--ink); transition: background .15s, color .15s; }
.presets button:hover, .presets button.on { background: var(--green); color: var(--cream); }
.calc-out { background: var(--green-deep); color: var(--cream); box-shadow: inset 0 0 0 1px var(--green-line); border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--green-line); }
.calc-row span { color: rgba(241,248,220,.7); }
.calc-row strong { font-family: var(--mono); font-size: 27px; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.calc-row strong.hl { color: var(--accent); }
.calc-story { font-size: 15px; color: rgba(241,248,220,.74); line-height: 1.6; margin-top: 16px; }
.calc-story b { color: var(--cream); font-weight: 500; }
.calc-note { font-size: 13px; color: rgba(241,248,220,.45); margin-top: 10px; }

/* Tables and report ------------------------------------------------------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; }
table.data th { text-align: left; font-family: var(--mono); font-weight: 500; font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); padding: 15px 18px; border-bottom: 1px solid var(--line); white-space: nowrap; user-select: none; }
table.data th[data-k] { cursor: pointer; }
table.data td { font-variant-numeric: tabular-nums; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data tbody tr:hover td { background: rgba(6,42,33,.04); }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data .r { text-align: right; }
table.data td.r { white-space: nowrap; font-family: var(--mono); font-size: 14.5px; font-variant-numeric: tabular-nums; }
td.unit { font-family: var(--mono); font-weight: 500; font-size: 14.5px; }
td.nw { white-space: nowrap; }
td.note { color: var(--muted); font-size: 14px; min-width: 220px; }
td .thumb { width: 34px; height: 34px; border-radius: var(--r-sm); object-fit: cover; display: inline-block; vertical-align: middle; margin-right: 10px; }
td a { text-decoration: none; font-weight: 500; }
td a:hover { text-decoration: underline; text-underline-offset: 3px; }
tr.row-me td { background: #E3F2C8 !important; }
tr.clickable { cursor: pointer; }
.empty { padding: 36px; text-align: center; color: var(--muted); }
.panel-dark table.data th, .on-green table.data th { color: rgba(241,248,220,.55); border-color: var(--green-line); }
.panel-dark table.data td, .on-green table.data td { border-color: var(--green-line); }
.panel-dark table.data tbody tr:hover td, .on-green table.data tbody tr:hover td { background: rgba(241,248,220,.04); }
.panel-dark td.note, .on-green td.note { color: rgba(241,248,220,.55); }
.panel-dark tr.row-me td, .on-green tr.row-me td { background: rgba(216,240,138,.12) !important; }
.roll-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; font-weight: 500; }
.roll-head .ok { display: inline-flex; align-items: center; gap: 8px; color: var(--pos); font-size: 14.5px; }
.panel-dark .roll-head, .on-green .roll-head { border-color: var(--green-line); }
.panel-dark .roll-head .ok, .on-green .roll-head .ok { color: var(--accent); }
.roll-foot { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); background: rgba(6,42,33,.03); }
.roll-foot div { padding: 16px 20px; display: flex; flex-direction: column; gap: 2px; }
.roll-foot div + div { border-left: 1px solid var(--line); }
.roll-foot span { font-size: 13.5px; color: var(--muted); }
.roll-foot strong { font-family: var(--mono); font-size: 23px; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; display: inline-block; }
.panel-dark .roll-foot, .on-green .roll-foot { background: rgba(241,248,220,.04); border-color: var(--green-line); }
.panel-dark .roll-foot div + div, .on-green .roll-foot div + div { border-color: var(--green-line); }
.panel-dark .roll-foot span, .on-green .roll-foot span { color: rgba(241,248,220,.55); }
.panel-dark .roll-foot strong.bump, .on-green .roll-foot strong.bump { color: var(--accent); }
.roll-more { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.panel-dark .roll-more, .on-green .roll-more { border-color: var(--green-line); }
.roll-more p { color: var(--muted); font-size: 14.5px; }
.panel-dark .roll-more p, .on-green .roll-more p { color: rgba(241,248,220,.55); }

.replay { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); background: var(--soft); border-radius: var(--r-lg); padding: 5px 13px; }
.replay i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: blink 1.1s infinite; }
.replay.done i { display: none; }
.panel-dark .replay, .on-green .replay { background: rgba(241,248,220,.1); color: rgba(241,248,220,.8); }
.panel-dark .replay i, .on-green .replay i { background: var(--accent); }
.panel-dark .replay.done, .on-green .replay.done { background: rgba(216,240,138,.16); color: var(--accent); }
.replay-bar { height: 2px; background: var(--soft); }
.replay-bar i { display: block; height: 100%; width: 0; background: var(--green); transition: width .6s var(--ease); }
.panel-dark .replay-bar, .on-green .replay-bar { background: rgba(241,248,220,.08); }
.panel-dark .replay-bar i, .on-green .replay-bar i { background: var(--accent); }
@keyframes blink { 50% { opacity: .25; } }
#excerptBody td { transition: background 1.2s ease; height: 62px; }
.table-scroll.rp-scroll { overflow-y: hidden; scrollbar-width: none; }
.table-scroll.rp-scroll::-webkit-scrollbar { display: none; }
#excerptBody td.note { white-space: nowrap; }
#excerptBody tr.enter td { animation: rowIn .55s var(--ease) both; }
#excerptBody tr.fresh td { background: rgba(216,240,138,.12); transition: none; }
#excerptBody tr.leave td { animation: rowOut .35s ease forwards; }
@keyframes rowIn { from { opacity: 0; transform: translateY(-16px); } }
@keyframes rowOut { to { opacity: 0; transform: translateY(12px); } }
.st-DUE::before { animation: blink .9s infinite; }
.st.pop { animation: chipPop .45s var(--ease) both; }
.st-LATE.pop { animation: chipPop .45s var(--ease) both, shake .45s .45s ease; }
@keyframes chipPop { 0% { transform: scale(.55); opacity: 0; } 60% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); } }
@keyframes shake { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
.skel { display: block; height: 11px; max-width: 100%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--soft) 25%, #fff 50%, var(--soft) 75%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.panel-dark .skel, .on-green .skel { background: linear-gradient(90deg, rgba(241,248,220,.07) 25%, rgba(241,248,220,.15) 50%, rgba(241,248,220,.07) 75%); background-size: 200% 100%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.roll-foot strong.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: translateY(-3px); } }

/* Short lists ------------------------------------------------------------- */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.list li { position: relative; padding-left: 30px; color: rgba(241,248,220,.8); }
.panel .list li, .card .list li { color: var(--ink-2); }
.list li::before { position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: var(--r-pill); display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.list-yes li::before { content: '✓'; background: var(--accent); color: var(--ink); }
.list-no li::before { content: '×'; background: rgba(241,248,220,.14); color: var(--cream); font-size: 14px; }
.card .list-no li::before, .panel .list-no li::before { background: var(--ink); color: var(--cream); }

/* FAQ --------------------------------------------------------------------- */
.faq { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq details { background: rgba(241,248,220,.06); box-shadow: inset 0 0 0 1px var(--green-line); border-radius: var(--r); padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-family: var(--font-display); font-weight: 500; font-size: 18.5px; letter-spacing: -.02em; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex-shrink: 0; width: 30px; height: 30px; border-radius: var(--r-pill); background: rgba(241,248,220,.1); display: grid; place-items: center; font-size: 19px; font-weight: 300; transition: transform .25s var(--ease), background .2s, color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); color: var(--ink); }
.faq details p { padding: 0 40px 20px 0; color: rgba(241,248,220,.74); line-height: 1.7; }

.cta .kicker { color: var(--ink-2); }
.cta .kicker::before { background: var(--green); }
/* Waitlist page ----------------------------------------------------------- */
.wl-page { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: start; padding-bottom: 48px; border-bottom: 1px solid var(--green-line); }
.wl-col { display: flex; flex-direction: column; gap: 16px; }
.wl-col h1 { font-size: clamp(42px, 5.4vw, 74px); }
.wl-col .lead { max-width: 520px; }
.wl-col .wl-row input { background: rgba(241,248,220,.08); color: var(--cream); box-shadow: inset 0 0 0 1px var(--green-line); }
.wl-col .wl-row input::placeholder { color: rgba(241,248,220,.45); }
.wl-col .wl-row input:focus { box-shadow: inset 0 0 0 1.5px var(--accent); }
.wl-col .hero-btn { background: var(--lime-3); color: var(--ink); }
.wl-col .hero-btn:hover { background: var(--lime-4); }
.wl-col .hero-btn .sq { background: var(--green-800); color: var(--cream); }
.wl-col .check { color: rgba(241,248,220,.72); }
.wl-col .wl-msg { background: rgba(241,248,220,.08); color: var(--cream); }
.wl-col .wl-msg.ok { background: rgba(216,240,138,.14); color: var(--accent); }
.wl-col .wl-msg.bad { background: rgba(190,80,70,.16); color: #F2B5AE; }
.wl-col .wl-note { color: rgba(241,248,220,.5); }
.wl-col .wl-done b { color: var(--cream); }
.wl-aside { display: flex; flex-direction: column; gap: 12px; }
.wl-photo { margin: 0; overflow: hidden; }
.wl-photo img { width: 100%; height: 300px; object-fit: cover; display: block; }
.wl-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--green-line); }
.wl-facts div { background: var(--green); padding: 18px 20px; }
.wl-facts span { display: block; font-size: 13.5px; color: rgba(241,248,220,.6); }
.wl-facts b { font-family: var(--font-display); font-size: 26px; font-weight: 500; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.wl-next { padding-top: 44px; }
.wl-next h2 { margin-bottom: 20px; }
.wl-next .list a { text-decoration: underline; text-underline-offset: 3px; }

/* Waitlist ---------------------------------------------------------------- */
.wl { display: flex; flex-direction: column; gap: 14px; }
.wl h2 { margin-top: 2px; }
.wl p { margin: 0; }
.wl-form { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; max-width: 520px; }
.wl-row { display: flex; gap: 8px; flex-wrap: wrap; }
.wl-row input { flex: 1 1 220px; min-width: 0; height: 54px; border: 0; border-radius: var(--r-pill); background: #fff; color: var(--ink); padding: 0 24px; font-size: 16px; box-shadow: inset 0 0 0 1px var(--line-2); }
.wl-row input:focus { outline: 0; box-shadow: inset 0 0 0 1.5px var(--green); }
.wl-row input::placeholder { color: var(--muted); }
.wl .hero-btn { background: var(--green); color: var(--cream); }
.wl .hero-btn:hover { background: var(--green-800); }
.wl .hero-btn .sq { background: var(--accent); color: var(--ink); }
.wl .check { color: var(--ink-2); font-size: 13.5px; }
.wl-msg { font-size: 14.5px; padding: 13px 18px; border-radius: var(--r); background: var(--soft); color: var(--ink); }
.wl-msg.ok { background: #E3F2C8; color: #35611F; }
.wl-msg.bad { background: #F7DDD9; color: #7E1F1A; }
.wl-note { font-size: 13px; color: var(--muted); max-width: 460px; }
.wl-done { display: flex; flex-direction: column; gap: 10px; max-width: 520px; }
.wl-done b { font-family: var(--font-display); font-size: 24px; font-weight: 500; letter-spacing: -.03em; }

/* CTA + footer ------------------------------------------------------------ */
.cta { padding: 72px 56px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; background: var(--cream); color: var(--ink); border-radius: var(--r-lg); }
.cta h2 { color: var(--ink); }
.cta p { color: var(--ink-2); font-size: 17px; margin: 16px 0 26px; max-width: 460px; }
.cta .btn-cream, .cta .btn-lime { background: var(--green); color: var(--cream); }
.cta .btn-cream:hover, .cta .btn-lime:hover { background: var(--green-800); }
.cta .btn-soft { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.cta-art { position: relative; height: 240px; }
.cta-art .photo { position: absolute; right: 0; top: 0; width: 320px; height: 230px; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 24px 50px rgba(4,26,20,.2); }
.cta-art .photo img { width: 100%; height: 100%; object-fit: cover; }
.waves { display: none; }
.footer { padding: 56px 0 40px; }
.footer-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 36px; }
.footer-tag { margin-top: 12px; color: rgba(241,248,220,.6); max-width: 280px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(150px, auto)); gap: 52px; }
.footer-cols h5 { font-size: 13.5px; font-weight: 400; color: rgba(241,248,220,.5); margin-bottom: 12px; }
.footer-cols a, .footer-cols span { display: block; font-size: 15px; text-decoration: none; color: rgba(241,248,220,.85); margin-bottom: 9px; }
.footer-cols a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 4px; }
.footer-legal { border-top: 1px solid var(--green-line); padding-top: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; line-height: 1.65; color: rgba(241,248,220,.5); }
.footer-legal strong { color: rgba(241,248,220,.85); font-weight: 500; }

/* Vault app --------------------------------------------------------------- */
.subnav { margin-top: 8px; }
.subnav .wrap { display: flex; justify-content: center; }
.subnav-inner { display: inline-flex; gap: 2px; background: rgba(241,248,220,.08); box-shadow: inset 0 0 0 1px var(--green-line); border-radius: var(--r); padding: 4px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.subnav a { flex-shrink: 0; padding: 7px 14px; border-radius: var(--r-pill); color: rgba(241,248,220,.72); text-decoration: none; font-size: 14px; font-weight: 500; transition: background .2s, color .2s; }
.subnav a:hover { color: var(--cream); }
.subnav a.on { background: var(--cream); color: var(--ink); }
.app-hero { padding: 36px 0 22px; }
.app-hero .row-between { align-items: flex-end; }
.app-hero h1 { font-size: clamp(40px, 5vw, 66px); }
.app-hero p { color: rgba(241,248,220,.75); max-width: 540px; margin-top: 12px; font-size: 17px; }
.big-nav { text-align: right; }
.big-nav small { color: rgba(241,248,220,.6); font-size: 14.5px; display: block; }
.big-nav b { font-family: var(--mono); font-size: 48px; font-weight: 500; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.big-nav em { font-style: normal; font-size: 13.5px; background: var(--accent); color: var(--ink); padding: 3px 9px; border-radius: var(--r-sm); margin-left: 8px; vertical-align: 14px; }
.stepper { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.step { background: rgba(241,248,220,.06); box-shadow: inset 0 0 0 1px var(--green-line); border: 0; text-align: left; cursor: pointer; padding: 8px 16px 8px 8px; display: flex; gap: 12px; align-items: center; color: var(--cream); border-radius: var(--r); transition: box-shadow .2s; }
.step .sn { width: 34px; height: 34px; border-radius: var(--r-pill); background: rgba(241,248,220,.12); display: grid; place-items: center; font-size: 14px; font-weight: 600; flex-shrink: 0; }
.step b { font-size: 14.5px; font-weight: 500; display: block; line-height: 1.2; }
.step small { font-size: 12.5px; color: rgba(241,248,220,.55); }
.step.done .sn { background: var(--accent); color: var(--ink); }
.step.cur { box-shadow: inset 0 0 0 1.5px var(--accent); }
.step.cur .sn { background: var(--cream); color: var(--ink); }
.app-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 12px; align-items: start; }
.swap { background: var(--paper); color: var(--ink); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.seg { display: inline-flex; background: var(--soft); border-radius: var(--r); padding: 4px; }
.seg button { border: 0; background: transparent; padding: 8px 18px; border-radius: var(--r-pill); font-size: 14.5px; font-weight: 500; cursor: pointer; color: var(--ink-2); transition: background .2s, color .2s; }
.seg button.on { background: var(--green); color: var(--cream); }
.seg.sm button { padding: 6px 12px; font-size: 13.5px; }
.swap-sub { font-size: 14.5px; color: var(--muted); }
.token-box { background: var(--soft); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 10px; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .2s; }
.token-box:focus-within { box-shadow: inset 0 0 0 1.5px var(--green); }
.tb-label { font-size: 14px; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; }
.token-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.token { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: var(--r); background: var(--paper); flex-shrink: 0; }
.token .tk { width: 30px; height: 30px; border-radius: var(--r-pill); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.tk-usdg { background: #2A5BD7; color: #fff; }
.tk-deed { background: var(--green); }
.tk-deed svg { width: 16px; height: 16px; }
.token b { font-weight: 600; font-size: 15.5px; display: block; line-height: 1.1; }
.token small { font-size: 12px; color: var(--muted); }
.amt-input { width: 100%; background: transparent; border: 0; outline: none; text-align: right; font-family: var(--font-display); font-size: 42px; font-weight: 500; letter-spacing: -.05em; color: var(--ink); min-width: 0; font-variant-numeric: tabular-nums; }
.amt-input::placeholder { color: #B9C7B4; }
.amt-out { font-family: var(--font-display); font-size: 36px; font-weight: 500; letter-spacing: -.05em; color: var(--ink-2); text-align: right; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.pcts { display: flex; gap: 6px; flex-wrap: wrap; }
.pcts button { border: 0; background: var(--paper); border-radius: var(--r-pill); padding: 4px 11px; font-size: 13px; cursor: pointer; }
.pcts button:hover { background: var(--green); color: var(--cream); }
.swap-arrow { height: 0; display: flex; justify-content: center; position: relative; z-index: 2; }
.swap-arrow span { width: 40px; height: 40px; border-radius: var(--r-pill); background: var(--green); color: var(--cream); border: 4px solid var(--paper); display: grid; place-items: center; transform: translateY(-50%); margin-top: 6px; }
.plain-out { background: #E9F3D2; border-radius: var(--r); padding: 12px 14px; font-size: 14.5px; color: #2F4D25; line-height: 1.55; }
.plain-out b { color: var(--ink); font-weight: 600; }
.kv { display: flex; flex-direction: column; }
.kv > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.panel-dark .kv > div, .on-green .kv > div { border-color: var(--green-line); }
.kv > div:last-child { border-bottom: 0; }
.kv dt { color: var(--ink-2); }
.panel-dark .kv dt, .on-green .kv dt { color: rgba(241,248,220,.75); }
.kv dd { text-align: right; white-space: nowrap; font-family: var(--mono); font-size: 14.5px; font-weight: 500; font-variant-numeric: tabular-nums; }
.kv > div.total { border-top: 1px solid var(--line-2); border-bottom: 0; margin-top: 4px; padding-top: 12px; }
.panel-dark .kv > div.total, .on-green .kv > div.total { border-color: var(--green-line); }
.kv > div.total dt { font-weight: 600; }
.kv-stack > div { flex-direction: column; align-items: flex-start; gap: 3px; }
.kv-stack dd { text-align: left; white-space: normal; word-break: break-all; font-family: var(--mono); font-size: 12px; font-weight: 400; }
.kv-stack dt { font-size: 13.5px; }
.details { padding: 0 2px; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice button { border: 0; background: var(--soft); color: var(--ink); border-radius: var(--r); padding: 12px 14px; text-align: left; cursor: pointer; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .2s, background .2s; }
.choice button strong { display: block; font-size: 15px; font-weight: 600; }
.choice button small { color: var(--muted); font-size: 13px; line-height: 1.4; display: block; margin-top: 2px; }
.choice button.on { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--green); }
.check { display: flex; gap: 10px; font-size: 14px; color: var(--ink-2); align-items: flex-start; cursor: pointer; line-height: 1.5; }
.check input { margin-top: 3px; accent-color: var(--green); width: 16px; height: 16px; flex-shrink: 0; }
.err { color: var(--neg); font-size: 14px; text-align: center; }
.mode-note { font-size: 13px; color: var(--muted); text-align: center; line-height: 1.55; }
.mode-note b { color: var(--ink); background: var(--accent); padding: 0 6px; border-radius: var(--r-pill); font-weight: 500; }
/* The page is pointed at something that is not the vault. Lime reads as "all
   is well" everywhere else on this site, so this one badge does not use it. */
.mode-note.bad { color: var(--neg); }
.mode-note.bad b { color: #fff; background: var(--neg); }
.side { display: flex; flex-direction: column; gap: 12px; }
.pos-card { background: var(--green-deep); color: var(--cream); box-shadow: inset 0 0 0 1px var(--green-line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.pos-card .card-title { color: var(--cream); margin: 0; }
.pos-card p { color: rgba(241,248,220,.7); }
.pos-big small { color: rgba(241,248,220,.6); font-size: 14.5px; }
.pos-big b { display: block; font-family: var(--mono); font-size: 43px; font-weight: 500; letter-spacing: -.035em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.pos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pos-grid div { background: rgba(241,248,220,.07); padding: 14px 16px; border-radius: var(--r); }
.pos-grid span { font-size: 13px; color: rgba(241,248,220,.6); display: block; }
.pos-grid strong { font-size: 18px; font-weight: 500; font-variant-numeric: tabular-nums; }
.activity { list-style: none; font-size: 14px; max-height: 240px; overflow-y: auto; }
.activity li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--green-line); }
.activity li:last-child { border-bottom: 0; }
.activity .a-meta { font-size: 12.5px; color: rgba(241,248,220,.45); white-space: nowrap; text-align: right; }
.activity a { color: var(--accent); text-decoration: none; }
.activity .sub { color: rgba(241,248,220,.6); font-size: 13px; }
.link-btn { background: none; border: 0; color: var(--accent); cursor: pointer; font-size: 14px; padding: 0; margin-left: 8px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.link-btn.ink { color: var(--green); }
.next-card { background: var(--cream); color: var(--ink); border-radius: var(--r); padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.next-card small { font-size: 14.5px; display: block; color: var(--ink-2); }
.next-card b { font-family: var(--font-display); font-size: 26px; font-weight: 500; letter-spacing: -.03em; }
.next-card .cd { display: flex; gap: 6px; }
.next-card .cd div { background: var(--green); color: var(--cream); border-radius: var(--r); padding: 8px 10px; text-align: center; min-width: 56px; }
.next-card .cd strong { font-size: 21px; font-weight: 500; display: block; line-height: 1.1; font-variant-numeric: tabular-nums; }
.next-card .cd span { font-size: 11.5px; color: rgba(241,248,220,.6); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { background: rgba(241,248,220,.06); box-shadow: inset 0 0 0 1px var(--green-line); border-radius: var(--r); padding: 20px 22px; }
.stat:first-child { background: var(--cream); color: var(--ink); box-shadow: none; }
.stat:first-child .label, .stat:first-child .sub { color: var(--muted); }
.stat:first-child .pos { color: var(--pos); }
.stat .label { font-size: 14.5px; color: rgba(241,248,220,.6); display: flex; align-items: center; margin-bottom: 6px; }
.stat .value { font-family: var(--mono); font-size: 34px; font-weight: 500; letter-spacing: -.035em; display: block; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat .sub { font-size: 13.5px; color: rgba(241,248,220,.5); margin-top: 6px; display: block; }
.alloc { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 12px; align-items: start; }
.alloc-left { background: rgba(241,248,220,.06); box-shadow: inset 0 0 0 1px var(--green-line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.donut { position: relative; width: 240px; height: 240px; }
.donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut circle.seg-c { transition: stroke-width .2s, opacity .2s, stroke-dasharray 1.2s var(--ease); }
.donut-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; pointer-events: none; }
.donut-center strong { font-family: var(--font-display); font-size: 30px; font-weight: 500; letter-spacing: -.04em; }
.donut-center span { font-size: 13.5px; color: rgba(241,248,220,.6); max-width: 150px; line-height: 1.3; }
.alloc-note { font-size: 13px; color: rgba(241,248,220,.5); text-align: center; }
.alloc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.alloc-item { background: rgba(241,248,220,.06); box-shadow: inset 0 0 0 1px var(--green-line); border-radius: var(--r); padding: 8px 18px 8px 8px; display: flex; gap: 14px; align-items: center; text-decoration: none; color: var(--cream); transition: box-shadow .2s; }
.alloc-item:hover, .alloc-item.hl { box-shadow: inset 0 0 0 1.5px var(--accent); }
.alloc-item img, .alloc-item .buf { width: 54px; height: 54px; border-radius: var(--r-sm); object-fit: cover; flex-shrink: 0; }
.alloc-item .buf { background: var(--cream); color: var(--ink); display: grid; place-items: center; font-size: 20px; font-weight: 700; }
.alloc-item .ai { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.alloc-item .pc { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 19px; font-weight: 500; letter-spacing: -.03em; }
.alloc-item .sw { width: 9px; height: 9px; border-radius: 50%; }
.alloc-item .nm { font-size: 14.5px; font-weight: 500; }
.alloc-item .mt { font-size: 12.5px; color: rgba(241,248,220,.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.alloc-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
.roll-toolbar { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.roll-nav, .roll-filters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.field-sm { height: 42px; border: 0; border-radius: var(--r-pill); padding: 0 16px; background: rgba(241,248,220,.08); box-shadow: inset 0 0 0 1px var(--green-line); font-size: 14.5px; color: var(--cream); }
select.field-sm { padding-right: 36px; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23F1F8DC' fill='none' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; cursor: pointer; }
select.field-sm option { background: var(--green-deep); color: var(--cream); }
#rollSelect { min-width: 220px; }
input.field-sm[type=search] { width: 200px; }
input.field-sm::placeholder { color: rgba(241,248,220,.45); }
.icon-btn { width: 42px; height: 42px; border: 0; background: rgba(241,248,220,.08); box-shadow: inset 0 0 0 1px var(--green-line); border-radius: var(--r-pill); cursor: pointer; font-size: 20px; line-height: 1; color: var(--cream); }
.icon-btn:hover:not(:disabled) { background: var(--cream); color: var(--ink); }
.icon-btn:disabled { opacity: .35; cursor: default; }
.roll-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 12px; align-items: start; }
.roll-doc { overflow: hidden; }
.roll-side { display: flex; flex-direction: column; gap: 12px; }
.roll-side .card { padding: 20px; }
.verify { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--green-line); display: flex; flex-direction: column; gap: 8px; }
.verify label { cursor: pointer; align-self: flex-start; }
.verify-result { font-size: 14px; padding: 10px 12px; border-radius: var(--r); }
.verify-result.ok { background: rgba(216,240,138,.16); color: var(--accent); }
.verify-result.bad { background: rgba(200,80,70,.18); color: #F0B0AA; }
.chart-card { padding: 26px 26px 14px; }
.chart-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.chart-head .big { font-family: var(--font-display); font-size: 42px; font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.chart-legend { display: flex; gap: 18px; font-size: 13.5px; color: rgba(241,248,220,.7); }
.chart-legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg-line { width: 18px; height: 2.5px; background: var(--cream); display: inline-block; border-radius: var(--r); }
.lg-bar { width: 12px; height: 12px; background: var(--accent); display: inline-block; border-radius: var(--r-pill); }
.chart { position: relative; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart .ch-line { stroke-dasharray: 2000; stroke-dashoffset: 2000; transition: stroke-dashoffset 1.8s var(--ease); }
.chart .ch-bar { transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); transition: transform .9s var(--ease); }
.chart.in .ch-line { stroke-dashoffset: 0; }
.chart.in .ch-bar { transform: scaleY(1); }
.chart .tipbox { position: absolute; pointer-events: none; background: var(--cream); color: var(--ink); font-size: 13px; padding: 8px 11px; border-radius: var(--r); white-space: nowrap; transform: translate(-50%, -118%); line-height: 1.5; }
.queue-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 12px; align-items: start; }
.bar { height: 6px; background: rgba(241,248,220,.12); border-radius: var(--r-pill); position: relative; overflow: hidden; }
.bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent); border-radius: var(--r-pill); width: 0; transition: width 1.2s var(--ease); }
.bar .floor { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--cream); }
.bar-legend { display: flex; justify-content: space-between; font-size: 12.5px; color: rgba(241,248,220,.5); margin: 8px 0 12px; }
.wait { font-size: 14px; white-space: nowrap; font-weight: 500; }
.wait.soon { color: var(--pos); }
.wait.later { color: var(--late); }
.panel-dark .wait.soon, .on-green .wait.soon { color: var(--accent); }
.panel-dark .wait.later, .on-green .wait.later { color: #F3C777; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 20px 20px 8px; flex-wrap: wrap; }
.card-head .card-title { margin-bottom: 0; }
.q-explain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 12px; }
.q-explain div { background: rgba(241,248,220,.06); box-shadow: inset 0 0 0 1px var(--green-line); border-radius: var(--r); padding: 18px; color: rgba(241,248,220,.75); font-size: 15px; }
.q-explain b { display: block; color: var(--cream); font-size: 17px; font-weight: 500; margin-bottom: 4px; }

/* Modal, toast ------------------------------------------------------------ */
.modal-backdrop { position: fixed; inset: 0; background: rgba(4, 26, 20, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); z-index: 100; display: flex; align-items: flex-start; justify-content: center; padding: 72px 16px; overflow-y: auto; animation: fade .2s ease-out; }
.modal { width: 100%; max-width: 450px; background: var(--paper); color: var(--ink); border-radius: var(--r-lg); animation: rise .25s var(--ease); }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 20px 0 26px; }
.modal-head h3 { font-size: 23px; }
.modal-x { border: 0; background: var(--soft); width: 36px; height: 36px; border-radius: var(--r-pill); cursor: pointer; font-size: 21px; line-height: 1; color: var(--ink); }
.modal-x:hover { background: var(--green); color: var(--cream); }
.modal-body { padding: 16px 26px 26px; display: flex; flex-direction: column; gap: 12px; }
.modal-body > p { color: var(--ink-2); font-size: 15px; }
.wallet-opt { display: flex; align-items: center; gap: 14px; width: 100%; border: 0; border-radius: var(--r); background: var(--soft); padding: 8px 10px 8px 8px; cursor: pointer; text-align: left; transition: background .2s; color: var(--ink); }
.wallet-opt:hover { background: var(--cream-2); }
.wallet-opt img, .wallet-opt .wi { width: 42px; height: 42px; border-radius: var(--r-sm); flex-shrink: 0; }
.wallet-opt .wi { display: grid; place-items: center; background: var(--paper); font-weight: 700; }
.wallet-opt .wi.lime { background: var(--accent); }
.wallet-opt strong { font-size: 15.5px; font-weight: 500; display: block; }
.wallet-opt small { color: var(--muted); font-size: 13px; display: block; }
.wallet-opt .wtag { margin-left: auto; font-size: 13px; background: var(--green); color: var(--cream); border-radius: var(--r-pill); padding: 6px 12px; white-space: nowrap; }
.opt-label { font-size: 13px; color: var(--muted); margin-top: 6px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; }
.field input, .field select { height: 50px; border: 0; border-radius: var(--r); padding: 0 16px; background: var(--soft); font-size: 15.5px; width: 100%; color: var(--ink); box-shadow: inset 0 0 0 1.5px transparent; }
.field input:focus, .field select:focus { box-shadow: inset 0 0 0 1.5px var(--green); outline: none; }
.alert { border-radius: var(--r); padding: 14px 16px; font-size: 14px; line-height: 1.55; }
.alert-warn { background: var(--late-soft); color: #5E3800; }
.alert-bad { background: #F7DDD9; color: #7E1F1A; }
.alert-info { background: var(--soft); color: var(--ink-2); }
.spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast { position: fixed; bottom: 24px; right: 24px; background: var(--green-deep); color: var(--cream); box-shadow: 0 16px 40px rgba(0,0,0,.35), inset 0 0 0 1px var(--green-line); padding: 10px 20px 10px 10px; border-radius: var(--r); font-size: 14.5px; z-index: 200; max-width: 420px; animation: rise .25s var(--ease); display: flex; gap: 12px; align-items: center; }
.toast::before { content: '✓'; width: 32px; height: 32px; border-radius: var(--r-sm); background: var(--accent); color: var(--ink); display: grid; place-items: center; font-weight: 700; font-size: 13px; flex-shrink: 0; }
.toast.bad::before { content: '!'; background: #F0B24A; }
.toast a, .toast .sub { color: var(--accent); font-size: 12.5px; display: block; text-decoration: none; }

/* Reveal ------------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .chart .ch-line { stroke-dashoffset: 0 !important; }
  .chart .ch-bar { transform: none !important; }
}

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1180px) {
  .hero-bar { grid-template-columns: 1fr; gap: 20px; }
  .app-grid, .roll-grid, .queue-grid, .alloc, .pd-grid { grid-template-columns: minmax(0, 1fr); }
  .pd-side { position: static; }
  .roll-side { display: grid; grid-template-columns: repeat(3, 1fr); }
  .cta { grid-template-columns: 1fr; padding: 56px 36px; }
  .cta-art { display: none; }
}
@media (max-width: 980px) {
  .wl-page { grid-template-columns: 1fr; gap: 28px; }
  .nav { grid-template-columns: auto 1fr auto; }
  .nav-links { display: none; position: absolute; top: calc(100% + 6px); left: 16px; right: 16px; flex-direction: column; align-items: stretch; border-radius: var(--r); padding: 10px; background: var(--green-800); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 16px; font-size: 16px; }
  .menu-btn { display: flex; }
  .sec-head, .two, .calc, .steps { grid-template-columns: 1fr; }
  .sec-head { gap: 14px; }
  .roll-side { grid-template-columns: 1fr; }
  .stepper, .stats, .props-summary, .facts, .timeline { grid-template-columns: 1fr 1fr; }
  .q-explain, .alloc-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .wide { padding: 0 8px; }
  .site-header { padding: 10px 0; }
  .nav { padding: 0 10px; }
  .logo svg { width: 34px; height: 34px; }
  .logo svg.wordmark { width: 108px; height: 29px; }
  .hide-sm { display: none !important; }
  .wallet-btn { height: 42px; padding: 0 14px; font-size: 14px; }
  .section { padding: 64px 0; }
  .hero-band img { height: 460px; }
  .hero-mark { width: 46px; height: 46px; }
  .hero-over { top: 84px; padding-bottom: 10%; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats div, .hero-stats div + div { padding: 18px 0; border-left: 0; border-top: 1px solid var(--green-line); }
  .hero-btn { font-size: 11.5px; height: 44px; }
  .panel, .panel-dark, .cta { border-radius: var(--r); }
  .choice { grid-template-columns: 1fr; }
  .calc-in, .calc-out { padding: 22px; }
  .calc-amount input { font-size: 44px; }
  .calc-row strong { font-size: 22px; }
  .cta { padding: 40px 22px; }
  .roll-foot { grid-template-columns: 1fr 1fr; }
  .roll-foot div:nth-child(3) { border-left: 0; }
  .roll-foot div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .panel-dark .roll-foot div:nth-child(n+3), .on-green .roll-foot div:nth-child(n+3) { border-color: var(--green-line); }
  .roll-foot strong { font-size: 19px; }
  .stepper, .stats, .props-summary, .facts, .timeline { grid-template-columns: 1fr; }
  .big-nav { text-align: left; }
  .big-nav b { font-size: 38px; }
  .amt-input { font-size: 32px; }
  .amt-out { font-size: 27px; }
  .swap { padding: 12px; }
  .pos-big b { font-size: 33px; }
  input.field-sm[type=search], .roll-filters, .roll-nav { width: 100%; }
  #rollSelect, #fProp { flex: 1; min-width: 0; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 26px; }
  .kv dd { white-space: normal; }
  .dropdown { position: fixed; top: 72px; left: 12px; right: 12px; width: auto; }
  .toast { left: 12px; right: 12px; bottom: 12px; max-width: none; border-radius: var(--r); }
  .modal-backdrop { padding: 20px 10px; }
  .faq summary { font-size: 17px; }
  .faq details p { padding-right: 0; }
  .heat .hr { grid-template-columns: 44px repeat(6, 1fr); gap: 4px; }
  .heat .hc { height: 32px; font-size: 0; }
  .invest .big b { font-size: 40px; }
}
@media print {
  .site-header, .subnav, .footer, .roll-toolbar, .verify, .toast, .modal-backdrop, section:not(#roll) { display: none !important; }
}
/* ==========================================================================
   Direction layer — built from the four boards
   The hero echo, the tint-pill stack and the heavier section rhythm. These
   are new structures rather than restyled old ones, so they live together
   here instead of being threaded through the sheet above.
   ========================================================================== */

/* The hero: one focal point on a deep green field, with four concentric
   rounded rectangles radiating out of it. Board 1. */
.hero-echo { position: relative; margin-top: -102px; padding: 210px 24px 104px; background: var(--green); overflow: hidden; isolation: isolate; }
.hero-echo .echo { position: absolute; inset: 0; display: grid; place-items: center; z-index: 0; pointer-events: none; }
.hero-echo .echo { top: 48%; }
.hero-echo .echo i { position: absolute; border: 1.5px solid rgba(203,233,79,.30); border-radius: 999px; }
.hero-echo .echo i:nth-child(1) { width: 780px; height: 430px; }
.hero-echo .echo i:nth-child(2) { width: 1140px; height: 640px; border-color: rgba(203,233,79,.21); }
.hero-echo .echo i:nth-child(3) { width: 1560px; height: 880px; border-color: rgba(203,233,79,.14); }
.hero-echo .echo i:nth-child(4) { width: 2040px; height: 1160px; border-color: rgba(203,233,79,.08); }
.hero-echo-in { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero-echo-in .kicker { color: rgba(203,233,79,.9); }
.hero-echo-in h1 { color: var(--cream); }
.hero-lede { max-width: 620px; font-size: 19px; line-height: 1.5; color: rgba(245,248,239,.78); }
.hero-lede b { color: var(--cream); font-weight: 600; }
.hero-echo .hero-acts { justify-content: center; margin-top: 6px; }

/* The tint ladder as a block of type. Board 2, minus its white-on-lime,
   which fails contrast at anything under poster size. */
.ladder { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.ladder b { display: inline-block; padding: 9px 30px; border-radius: var(--r-pill); font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 3vw, 44px); letter-spacing: -.035em; line-height: 1.12; color: var(--ink); text-transform: uppercase; white-space: nowrap; }
.ladder b:nth-child(1) { background: var(--lime-1); }
.ladder b:nth-child(2) { background: var(--lime-2); margin-left: 36px; }
.ladder b:nth-child(3) { background: var(--lime-3); margin-left: 12px; }
.ladder b:nth-child(4) { background: var(--lime-4); margin-left: 58px; }
.ladder .tile { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: var(--r); background: var(--green-800); color: var(--cream); font-size: 22px; margin-left: 84px; }
.ladder-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(250px, .6fr); gap: 56px; align-items: start; }

/* Commitments — the five headings from the concept, as a numbered stack. */
.commits { display: grid; grid-template-columns: repeat(auto-fit, minmax(196px, 1fr)); gap: 12px; }
.commit { padding: 24px 22px 26px; border-radius: var(--r-lg); background: rgba(245,248,239,.055); box-shadow: inset 0 0 0 1px var(--green-line); }
.panel .commit { background: var(--lime-1); box-shadow: none; }
.commit .cn { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: var(--r-pill); background: var(--accent); color: var(--ink); font-family: var(--mono); font-size: 13px; margin-bottom: 16px; }
.commit h4 { margin-bottom: 7px; }
.commit p { font-size: 15px; color: rgba(245,248,239,.72); }
.panel .commit p { color: var(--ink-2); }

@media (max-width: 860px) {
  .hero-echo { padding: 168px 20px 74px; }
  .hero-echo .echo i:nth-child(1) { width: 420px; height: 250px; }
  .hero-echo .echo i:nth-child(2) { width: 640px; height: 400px; }
  .hero-echo .echo i:nth-child(3) { width: 880px; height: 560px; }
  .hero-echo .echo i:nth-child(4) { width: 1140px; height: 740px; }
  .hero-lede { font-size: 17px; }
  .ladder b { margin-left: 0 !important; white-space: normal; }
  .ladder-head { grid-template-columns: 1fr; gap: 20px; }
  .ladder .tile { margin-left: 0; }
}

/* Dashboard chrome. The pages inside the app say what they are in one small
   line; the display sizes stay on the public pages. */
.app-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; padding: 30px 0 20px; }
.app-head h1 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.03em; line-height: 1.05; }
.app-head p { color: rgba(241,248,220,.72); font-size: 15px; margin-top: 8px; max-width: 600px; }
.app-head .mode-note { text-align: left; color: rgba(241,248,220,.72); font-size: 14px; }
.app-head .big-nav b { font-size: 40px; }
.app-h2 { font-size: 19px; font-weight: 600; letter-spacing: -.02em; margin: 34px 0 12px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.app-h2 small { font-family: var(--font); font-weight: 400; font-size: 14px; color: rgba(241,248,220,.6); letter-spacing: 0; }
.acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.acts .btn { justify-content: center; }
.history-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 12px; }
.history-sum div { background: rgba(241,248,220,.06); box-shadow: inset 0 0 0 1px var(--green-line); border-radius: var(--r); padding: 16px 18px; }
.history-sum b { display: block; font-family: var(--mono); font-size: 24px; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.history-sum span { font-size: 13.5px; color: rgba(241,248,220,.6); }
.app-main { padding-bottom: 56px; }
@media (max-width: 720px) {
  .app-head .big-nav { text-align: left; }
  .acts { grid-template-columns: 1fr; }
}

/* Documentation ----------------------------------------------------------
   The pages under /docs are generated by tools/build-docs.mjs from the
   markdown in docs/site. Everything here is scoped to .doc-page so the rest
   of the site is untouched, and it uses the same tokens as every other page:
   the lime ladder for emphasis, mono for anything that is a figure or a
   symbol, pills for anything you press. */

.doc-page { background: var(--paper); color: var(--ink); padding: 44px 0 96px; }
.doc-grid {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr) 208px;
  gap: 56px;
  align-items: start;
}

/* Sidebar */
.doc-nav { position: sticky; top: 92px; font-size: 14.5px; }
.doc-nav h4 {
  font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: .13em; text-transform: uppercase; color: var(--muted);
  margin: 26px 0 10px;
}
.doc-nav h4:first-child { margin-top: 0; }
.doc-nav ul { list-style: none; margin: 0; padding: 0; }
.doc-nav li { margin: 0; }
.doc-nav a {
  display: block; padding: 6px 12px; margin-left: -12px;
  border-radius: var(--r-pill); color: var(--ink-2); text-decoration: none;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.doc-nav a:hover { background: var(--cream); color: var(--ink); }
.doc-nav a.here { background: var(--lime-1); color: var(--ink); font-weight: 600; }

/* Article */
/* min-width: 0 is load-bearing: a grid item defaults to min-width auto, so a
   code block wider than the phone would stretch the column and scroll the
   whole page sideways instead of scrolling inside its own box. */
.doc { min-width: 0; max-width: 680px; font-size: 16.5px; line-height: 1.68; color: var(--ink-2); }
.doc h1 {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em;
  font-size: clamp(34px, 5vw, 52px); line-height: 1.03; color: var(--ink);
  margin: 0;
}
.doc-lede {
  font-size: 19px; line-height: 1.5; color: var(--ink-2);
  margin: 0 0 40px; padding-bottom: 28px; border-bottom: 1px solid var(--line);
}
.doc h1 + .doc-lede { margin-top: 18px; }
.doc h2 {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em;
  font-size: 27px; line-height: 1.15; color: var(--ink);
  margin: 52px 0 14px; scroll-margin-top: 96px;
}
.doc h3 {
  font-weight: 700; font-size: 18.5px; color: var(--ink);
  margin: 34px 0 10px; scroll-margin-top: 96px;
}
.doc h4 { font-weight: 600; font-size: 16px; color: var(--ink); margin: 26px 0 8px; }
.doc p { margin: 0 0 18px; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--lime-3); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.doc a:hover { background: var(--lime-1); }
.doc ul, .doc ol { margin: 0 0 18px; padding-left: 22px; }
.doc li { margin: 0 0 9px; }
.doc li::marker { color: var(--muted); }

.doc code {
  font-family: var(--mono); font-size: .875em; overflow-wrap: anywhere;
  background: var(--cream); color: var(--ink);
  padding: 2px 6px; border-radius: var(--r-sm);
}
.doc pre {
  background: var(--green-deep); color: var(--cream);
  border-radius: var(--r); padding: 20px 22px; margin: 0 0 22px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.doc pre code {
  background: none; color: inherit; padding: 0; font-size: 13.5px; line-height: 1.6;
  overflow-wrap: normal; white-space: pre;
}
.doc blockquote {
  margin: 0 0 22px; padding-left: 20px;
  border-left: 3px solid var(--lime-3); color: var(--ink-2);
}
.doc blockquote p:last-child { margin-bottom: 0; }

.doc .alert { margin: 0 0 22px; padding: 18px 20px; }
.doc .alert p:last-child { margin-bottom: 0; }
.doc .alert code { background: rgba(16, 36, 28, .08); }

.doc .table-scroll { margin: 0 0 24px; border: 1px solid var(--line); border-radius: var(--r); }
.doc table.data td { font-size: 15px; line-height: 1.5; }
.doc table.data tr:last-child td { border-bottom: 0; }

/* On this page */
.doc-toc { position: sticky; top: 92px; font-size: 13.5px; }
.doc-toc h4 {
  font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: .13em; text-transform: uppercase; color: var(--muted);
  margin: 0 0 10px;
}
.doc-toc ul { list-style: none; margin: 0; padding: 0; }
.doc-toc li { margin: 0 0 8px; line-height: 1.4; }
.doc-toc a { color: var(--muted); text-decoration: none; }
.doc-toc a:hover { color: var(--ink); }

/* Previous / next */
.doc-pager {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line);
}
.doc-pager a {
  display: block; padding: 16px 20px; border-radius: var(--r);
  background: var(--cream); color: var(--ink); font-weight: 600;
  text-decoration: none; transition: background .18s var(--ease);
}
.doc-pager a:hover { background: var(--lime-1); }
.doc-pager .next { text-align: right; }
.doc-pager span {
  display: block; font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: .13em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 5px;
}

@media (max-width: 1100px) {
  .doc-grid { grid-template-columns: 210px minmax(0, 1fr); gap: 44px; }
  .doc-toc { display: none; }
}
@media (max-width: 860px) {
  /* The index moves below the page. Thirteen links above the first sentence
     is a wall to scroll past on a phone, and someone who followed a link came
     for the page, not for the list. */
  .doc-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .doc { order: 1; max-width: none; }
  .doc-nav {
    order: 2; position: static;
    margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line);
  }
  .doc-nav ul { display: flex; flex-wrap: wrap; gap: 4px; }
  .doc-nav a { margin-left: 0; }
  .doc-pager { grid-template-columns: 1fr; }
  .doc-pager .next { text-align: left; }
}

/* The community token's address in the footer, linked to its launchpad page. */
.footer-cols .footer-token code { display: block; font-family: var(--mono, 'IBM Plex Mono', monospace); font-size: 11.5px; letter-spacing: .01em; color: rgba(241,248,220,.6); margin-top: 4px; word-break: break-all; }
.footer-cols .footer-token:hover code { color: var(--cream); }

/* Portfolio map: one spot per building over a static outline of the country. */
.pmap-wrap { position: relative; margin: 26px 0 8px; }
.pmap { position: relative; width: 100%; aspect-ratio: 960 / 600; max-width: 100%; border-radius: var(--r); overflow: visible; }
.pmap-base { display: block; width: 100%; height: 100%; user-select: none; -webkit-user-drag: none; }
.pmap-spots { position: absolute; inset: 0; }
.pmap-spot { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.pmap-spot:focus-visible { outline: 2px solid var(--lime-3); outline-offset: 2px; }
.pmap-dot { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--lime-3); box-shadow: 0 0 0 3px rgba(6,58,46,.9); transition: transform .15s ease; }
.pmap-ring { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; border: 1.5px solid var(--lime-3); opacity: .7; animation: pmap-pulse 2.4s ease-out infinite; }
.pmap-spot:nth-child(2) .pmap-ring { animation-delay: .4s; } .pmap-spot:nth-child(3) .pmap-ring { animation-delay: .8s; }
.pmap-spot:nth-child(4) .pmap-ring { animation-delay: 1.2s; } .pmap-spot:nth-child(5) .pmap-ring { animation-delay: 1.6s; }
@keyframes pmap-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pmap-ring { animation: none; opacity: .35; transform: scale(2); } }
.pmap-spot.on .pmap-dot, .pmap-spot:hover .pmap-dot { transform: scale(1.35); }
.pmap-label { position: absolute; left: 50%; top: 100%; transform: translate(-50%, -6px); font-family: var(--mono); font-size: 11.5px; letter-spacing: .02em; color: rgba(241,248,220,.75); white-space: nowrap; pointer-events: none; }
.pmap-card { position: absolute; left: var(--x); top: var(--y); transform: translate(22px, -50%); width: 300px; max-width: calc(100vw - 32px); background: var(--cream); color: var(--ink); border-radius: var(--r); padding: 16px 18px 14px; box-shadow: 0 18px 44px rgba(0,0,0,.35); z-index: 5; }
.pmap-card.flip { transform: translate(calc(-100% - 22px), -50%); }
.pmap-card.up { transform: translate(22px, calc(-100% + 24px)); }
.pmap-card.flip.up { transform: translate(calc(-100% - 22px), calc(-100% + 24px)); }
.pmap-city { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.01em; }
.pmap-sub { color: var(--muted); font-size: 13.5px; margin: 3px 0 10px; }
.pmap-kv { display: grid; grid-template-columns: 1fr auto; gap: 5px 14px; margin: 0; font-size: 13.5px; }
.pmap-kv dt { color: var(--muted); } .pmap-kv dd { margin: 0; font-family: var(--mono); font-variant-numeric: tabular-nums; text-align: right; }
.pmap-hint { color: rgba(241,248,220,.55); font-size: 13.5px; margin-top: 10px; }
@media (max-width: 720px) {
  .pmap-card, .pmap-card.flip, .pmap-card.up, .pmap-card.flip.up { position: static; transform: none; width: auto; max-width: none; margin-top: 14px; }
  .pmap-label { display: none; }
}
