@font-face { font-family: 'Archivo Black'; src: url('/fonts/archivo-black.woff2') format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('/fonts/geist.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/fonts/geist-mono.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  accent-color: var(--red);
  --bg: #080808;
  --ink: #14100e;
  --card: #141313;
  --card-2: #1c1a19;
  --line: #423a37;
  --line-soft: #302b29;
  --text: #f4f1e9;
  --muted: #bfbbb5;
  --dim: #a49e99;
  --red: #ff5446;
  --strong: #ff7669;
  --focus: #ed9389;
  --selected: #302726;
  --chip: #2a2423;
  --radius: 3px;
  --gutter: clamp(16px, 3.4vw, 54px);
  --display: 'Archivo Black', 'Arial Black', Arial, sans-serif;
  --font: Geist, Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--red); color: var(--ink); }
button, input, select { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.page { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; }

/* ---------- Header ---------- */
.top { padding: 11px max(var(--gutter), calc((100% - 1350px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; border-bottom: 1px solid var(--line-soft); }
.top-left { display: flex; align-items: center; column-gap: 56px; row-gap: 14px; flex-wrap: wrap; flex: 1 1 auto; min-width: 0; min-height: 44px; }
.top > .wallet-btn, .top-right { flex: none; }
@media (max-width: 1000px) { .top-left { column-gap: 32px; } .nav { gap: 20px; } }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 19px; letter-spacing: -0.04em; }
.brand img { display: block; width: 132px; height: auto; }
.nav { display: flex; gap: clamp(15px, 2vw, 32px); margin-left: auto; font: 550 12px/18px var(--mono); flex-wrap: wrap; }
.workspace-page .nav { margin-inline: auto; }
.nav a { color: var(--text); }
.nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.nav a[aria-current='page'] { color: var(--text); text-decoration: underline; text-underline-offset: 6px; }
.btn-white { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--red); color: var(--ink); font-weight: 750; font-size: 14px; border-radius: var(--radius); padding: 11px 16px; border: 0; cursor: pointer; }
.btn-white:hover { background: #ff8c7f; }
.btn-ghost { background: transparent; cursor: pointer; text-align: center; display: flex; align-items: center; justify-content: center; color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; font-weight: 600; padding: 13px 24px; }
.btn-ghost:hover { border-color: var(--text); }
.btn-big { width: 100%; font-size: 16px; line-height: 24px; padding: 14px 24px; }

/* ---------- Layout ---------- */
main { flex: 1; }
.wrap { max-width: 1104px; margin: 0 auto; padding: 56px 24px 120px; }
.wrap-narrow { max-width: 760px; }
.title { text-align: center; font: 900 clamp(40px, 7vw, 84px)/.94 var(--display); letter-spacing: -.055em; margin: 0; }
.title .soft { color: var(--muted); }
.lead { text-align: center; font-size: 14px; line-height: 18px; color: var(--muted); margin: 20px auto 0; max-width: 360px; }
.label { font-size: 12px; line-height: 16px; color: var(--muted); }
.value { font-size: 16px; font-weight: 500; line-height: 24px; }
.green { color: var(--text); }
a.green:hover { color: var(--strong); }
.amber { color: #f2b48c; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.card-2 { background: var(--card-2); border: 1px solid var(--line); border-radius: var(--radius); }
.card-pad { padding: 16px; }
.stack { display: flex; flex-direction: column; gap: 10px; }

.stats { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.stat { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; }
.stat-head { display: flex; justify-content: space-between; align-items: center; }
.ico { width: 25px; height: 25px; border-radius: 50%; background: var(--chip); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 11px; }
.stat .value { margin-top: 14px; }

/* ---------- Pills / tabs ---------- */
.tabs { display: flex; background: var(--card-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px; }
.tab { flex: 1; border: 0; border-radius: 2px; font-size: 14px; font-weight: 600; min-height: 38px; cursor: pointer; background: transparent; color: var(--muted); }
.tab[aria-pressed='true'] { background: var(--selected); color: var(--text); }
.pill { border-radius: 1000px; font-size: 12px; font-weight: 500; padding: 0 14px; min-height: 32px; cursor: pointer; background: transparent; color: var(--muted); border: 1px solid var(--line); }
.pill[aria-pressed='true'] { background: var(--selected); color: var(--strong); border-color: transparent; }
.chip { font-size: 12px; border-radius: 48px; padding: 5px 10px; background: var(--chip); color: var(--muted); }
.chip.ok { background: var(--selected); color: var(--strong); }
.chip.warn { background: var(--card-2); color: var(--strong); }

/* ---------- Widget controls ---------- */
.widget-meta { display: flex; justify-content: flex-end; margin-bottom: 10px; }
.token { width: 40px; height: 40px; border-radius: 50%; background: var(--card-2); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; flex: none; }
.token.ok { background: var(--selected); }
.row { display: flex; align-items: center; gap: 12px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.amount { margin-top: 18px; width: 100%; background: transparent; border: 0; outline: none; font-size: 32px; font-weight: 500; letter-spacing: -1px; padding: 0; }
.big { font-size: 32px; font-weight: 500; letter-spacing: -1px; }
.joiner { display: flex; justify-content: center; margin: -4px 0; position: relative; z-index: 1; }
.joiner span { width: 30px; height: 30px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.facts { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; font-size: 12px; line-height: 16px; }
.facts div { display: flex; justify-content: space-between; gap: 12px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; text-align: right; }

/* ---------- Table ---------- */
.table-head { display: flex; justify-content: space-between; align-items: center; padding: 16px; gap: 12px; flex-wrap: wrap; }
.table-scroll { overflow-x: auto; }
.grid-row { display: grid; grid-template-columns: 2.4fr 1fr 1fr 1fr 0.9fr 1.3fr 24px; gap: 12px; padding: 14px 16px; font-size: 14px; line-height: 20px; border-top: 1px solid var(--line-soft); align-items: center; min-width: 920px; }
.grid-row.head { font-size: 12px; line-height: 16px; color: var(--muted); border-top: 1px solid var(--line); padding: 10px 16px; }
a.grid-row:hover { background: var(--card-2); }
.footnote { font-size: 12px; line-height: 16px; color: var(--dim); margin-top: 14px; text-align: center; }

/* ---------- Vault page ---------- */
.chart { width: 100%; height: auto; display: block; margin-top: 12px; }
.list-row { display: grid; grid-template-columns: 1fr auto; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line-soft); font-size: 14px; line-height: 20px; align-items: center; }
.code { font-family: var(--mono); font-size: 13px; line-height: 22px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; color: var(--text); overflow-x: auto; white-space: pre; margin: 12px 0 0; }
ul.plain { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: 14px; line-height: 24px; }
.check { display: grid; grid-template-columns: 25px 1fr auto; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line-soft); align-items: start; }
.check .ico { background: var(--selected); color: var(--strong); }
.empty { padding: 28px 16px; text-align: center; color: var(--muted); font-size: 14px; }

/* ---------- Footer ---------- */
.foot { text-align: center; font-size: 13px; line-height: 26px; color: var(--muted); padding: 40px 16px 48px; background: var(--bg); border-top: 1px solid var(--line); }
.foot a { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 640px) {
  .top { padding: 16px; }
  .top-left { gap: 20px; }
  .title { font-size: 44px; line-height: 44px; letter-spacing: -2px; }
  .wrap { padding: 36px 16px 96px; }
}

/* ---------- Swap ---------- */
.select { appearance: none; background: var(--card-2) 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' fill='none' stroke='%239a9a9a' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center; border: 1px solid var(--line); border-radius: 1000px; color: var(--text); font-size: 13px; font-weight: 500; padding: 8px 30px 8px 12px; min-height: 36px; max-width: 170px; cursor: pointer; }
.select:focus-visible, .amount:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--strong); outline-offset: 2px; }
#to-amount { color: var(--text); }
.btn-white:disabled { background: var(--chip); color: var(--dim); cursor: not-allowed; }
.step { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; font-size: 14px; line-height: 20px; color: var(--muted); }
.step.active, .step.done { color: var(--text); }
.step-dot { width: 26px; height: 26px; border-radius: 50%; background: var(--chip); display: flex; align-items: center; justify-content: center; font-size: 12px; }
.step.active .step-dot { background: var(--selected); color: var(--strong); box-shadow: 0 0 0 1px var(--focus); }
.step.done .step-dot { background: var(--selected); color: var(--strong); }
.step.error .step-dot { background: var(--card-2); color: var(--strong); }
.backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); z-index: 20; }
.wallet-menu { position: fixed; z-index: 21; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(360px, calc(100vw - 32px)); }
.wallet-option { display: flex; align-items: center; gap: 12px; width: 100%; background: var(--card-2); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: 15px; cursor: pointer; text-align: left; }
.wallet-option:hover { border-color: var(--focus); }
.wallet-option img { border-radius: 8px; }
[hidden] { display: none !important; }

/* ---------- Logos ---------- */
.logo { border-radius: 50%; object-fit: cover; flex: none; background: var(--card-2); display: inline-block; }
.logo-letter { display: inline-flex; align-items: center; justify-content: center; color: var(--text); font-weight: 600; }
.logo-pair { position: relative; display: inline-block; flex: none; }
.logo-pair > .logo { position: absolute; left: 0; top: 0; }
.logo-sub { position: absolute; right: 0; bottom: 0; border-radius: 50%; box-shadow: 0 0 0 2px var(--card); line-height: 0; }

/* ---------- Pickers and dialogs ---------- */
.select-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--card-2); border: 1px solid var(--line); border-radius: 1000px; font-size: 13px; font-weight: 500; padding: 5px 12px 5px 6px; min-height: 36px; cursor: pointer; max-width: 180px; }
.select-btn span:not(.chev) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select-btn:hover { border-color: var(--focus); }
.chev { color: var(--muted); font-size: 11px; }
.max-btn { background: var(--selected); color: var(--strong); border: 0; border-radius: 1000px; font-size: 11px; font-weight: 600; padding: 3px 9px; cursor: pointer; }
.pill-link { display: inline-flex; align-items: center; }
.dialog-wrap { position: fixed; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center; padding: 16px; }
.dialog-wrap .backdrop { position: absolute; inset: 0; z-index: 0; }
.dialog { position: relative; z-index: 1; width: min(420px, 100%); max-height: min(640px, calc(100vh - 32px)); display: flex; flex-direction: column; padding: 16px; }
.picker-search { width: 100%; background: var(--card-2); border: 1px solid var(--line); border-radius: 14px; color: var(--text); font-size: 15px; padding: 12px 14px; outline: none; }
.picker-search:focus { border-color: var(--focus); }
.picker-list { margin-top: 10px; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; }
.picker-item { display: flex; align-items: center; gap: 12px; width: 100%; background: transparent; border: 1px solid transparent; border-radius: 14px; padding: 10px; text-align: left; cursor: pointer; font-size: 15px; }
.picker-item:hover, .picker-item:focus-visible { background: var(--card-2); border-color: var(--line); }
.picker-text { display: flex; flex-direction: column; min-width: 0; }
.picker-text span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.icon-btn { background: transparent; border: 0; color: var(--muted); font-size: 22px; line-height: 1; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; }
.icon-btn:hover { background: var(--chip); color: var(--text); }

/* ---------- Tables ---------- */
.v-row { grid-template-columns: 2.6fr 1.1fr 0.9fr 0.8fr 1.3fr 1fr 1fr; min-width: 980px; }
.p-row { grid-template-columns: 2.6fr 0.8fr 0.9fr 0.8fr 0.9fr 0.9fr 1.4fr; min-width: 980px; }
.v-split { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 10px; align-items: start; }
@media (max-width: 860px) { .v-split { grid-template-columns: 1fr; } }

/* Phones: rows become cards with labelled values. */
@media (max-width: 720px) {
  .table-scroll .grid-row { min-width: 0; grid-template-columns: 1fr 1fr; row-gap: 10px; padding: 14px 16px; }
  .table-scroll .grid-row.head { display: none; }
  .table-scroll .grid-row > .cell-main { grid-column: 1 / -1; }
  .table-scroll .grid-row > div[data-label]::before { content: attr(data-label); display: block; font-size: 11px; color: var(--muted); font-weight: 400; margin-bottom: 2px; }
  .table-scroll .grid-row > div:last-child:not([data-label]) { grid-column: 1 / -1; }
  .stats { grid-template-columns: 1fr 1fr; }
}
.pos-row { grid-template-columns: 2.2fr 1.1fr 1.3fr 0.8fr 1.1fr 1.3fr; min-width: 920px; }
.table-scroll .pos-row > a.cell-main { color: inherit; }
@media (max-width: 720px) { .table-scroll .pos-row > div:last-child { justify-content: flex-start !important; } }

.wallet-btn { white-space: nowrap; font-variant-numeric: tabular-nums; }
.wallet-btn.connected { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.wallet-btn.connected::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--focus); }
.wallet-btn.connected:hover { background: var(--selected); }
@media (max-width: 560px) { .wallet-btn { padding: 9px 12px; font-size: 13px; } }

/* ---------- Risk ---------- */
.chip.risk-low { background: var(--selected); color: var(--strong); }
.chip.risk-medium { background: var(--card-2); color: var(--strong); }
.chip.risk-high { background: #472521; color: #ff9d92; }
.risk-bar { display: flex; height: 10px; border-radius: 10px; overflow: hidden; margin-top: 16px; background: var(--card-2); gap: 2px; }
.risk-bar span { display: block; height: 100%; }
.rb-stable { background: var(--focus); }
.rb-major { background: #767676; }
.rb-stock { background: #bdbdbd; }
.rb-other { background: #a0a0a0; }
.rb-idle { background: #5a5a5a; }
.risk-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.risk-legend span { display: inline-flex; align-items: center; gap: 6px; }
.risk-legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.risk-reasons { margin-top: 14px; }
.risk-reasons li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; color: var(--muted); }
.risk-reasons li.good span { color: var(--strong); }
.risk-reasons li.bad { color: var(--text); }
.risk-reasons li.bad span { color: var(--strong); }
.expo { margin-top: 14px; border-top: 1px solid var(--line); }
.grid-row.expo-row { grid-template-columns: 1.6fr 0.7fr 1fr 0.8fr; min-width: 0; font-size: 13px; padding: 9px 0; border-top: 0; border-bottom: 1px solid var(--line-soft); }
.grid-row.expo-row.head { font-size: 11px; color: var(--dim); padding: 9px 0; border-top: 0; }
.grid-row.expo-row > div { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) { .grid-row.expo-row { grid-template-columns: 1.4fr 0.7fr 0.9fr 0.8fr; font-size: 12px; } }

/* ---------- Code, docs ---------- */
pre.code { font-family: var(--mono); font-size: 12px; line-height: 18px; background: var(--card-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 10px 0 0; white-space: pre-wrap; word-break: break-all; color: var(--text); }
.v-more { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.v-more > section { margin: 0 !important; }
@media (max-width: 860px) { .v-more { grid-template-columns: 1fr; } }
.doc h2 { font-size: 20px; font-weight: 500; margin: 0 0 6px; }
.doc p { color: var(--muted); line-height: 22px; margin: 6px 0; }
.doc .ep { font-family: var(--mono); font-size: 13px; color: var(--strong); }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 120px; margin-top: 14px; }
.bars span { flex: 1; background: var(--focus); border-radius: 3px 3px 0 0; min-height: 2px; opacity: .85; }

/* ================= Phones ================= */
html { -webkit-text-size-adjust: 100%; }
a, button, input, .select-btn, .picker-item { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.nav .ni, .nav .ns { display: none; }
.m-links, .m-only { display: none; }
#wallet-chip { display: none; }
.picker-search { font-size: 16px; }

@media (max-width: 720px) {
  /* App-style tab bar at the bottom, within thumb reach. */
  .nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    background: rgba(8, 8, 8, 0.95); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
  }
  .nav a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0 4px; font-size: 11px; line-height: 13px; font-weight: 500; color: var(--dim); text-decoration: none !important; }
  .nav a[aria-current='page'] { color: var(--text); }
  .nav a[aria-current='page'] .ni { color: var(--strong); }
  .nav .ni { display: block; width: 24px; height: 24px; }
  .nav .nl, .nav a.nav-extra { display: none; }
  .nav .ns { display: inline; }
  .page { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .m-links { display: inline; }
  .m-only { display: inline; }

  .top { padding: 12px 16px; padding-top: max(12px, env(safe-area-inset-top)); align-items: center; }
  .top-left { min-height: 0; }
  .brand { font-size: 19px; gap: 8px; }
  .brand img { width: clamp(93px, 29vw, 122px); }
  .wallet-btn { padding: 9px 12px; font-size: 12px; min-height: 44px; }

  .wrap { padding-top: 20px; }

  /* Lists: one compact row per item, the yield on the right. Details live on the item's page. */
  .table-scroll .grid-row.v-row, .table-scroll .grid-row.p-row { grid-template-columns: 1fr auto; align-items: center; row-gap: 6px; column-gap: 12px; padding: 12px 14px; }
  .table-scroll .grid-row.v-row > .cell-main, .table-scroll .grid-row.p-row > .cell-main { grid-column: 1; min-width: 0; }
  .table-scroll .grid-row.v-row > div[data-label], .table-scroll .grid-row.p-row > div[data-label] { display: none; }
  .table-scroll .grid-row.v-row > div[data-label='Total'], .table-scroll .grid-row.p-row > div[data-label='Total'] { display: block; grid-column: 2; grid-row: 1; text-align: right; font-size: 18px; }
  .table-scroll .grid-row.v-row > div[data-label='Total']::before, .table-scroll .grid-row.p-row > div[data-label='Total']::before { content: 'per year'; text-align: right; }
  .table-scroll .grid-row.p-row > div:last-child:not([data-label]):empty { display: none; }
  .cell-main .label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cell-main > div { min-width: 0; }

  /* Pickers and dialogs slide up from the bottom. */
  .dialog-wrap { align-items: flex-end; padding: 0; }
  .dialog { width: 100%; max-height: 86vh; border-radius: 22px 22px 0 0; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); animation: sheet-up .22s ease-out; }
  .picker-item { padding: 12px 10px; }

  /* Vault page: get to the money box faster. */
  #vault .title { font-size: 34px; line-height: 36px; letter-spacing: -1.2px; }
  #v-desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-top: 12px; }
  #v-sub { margin-top: 12px !important; }
  .stats .stat { padding: 12px 14px; }
  .stats .stat .value { font-size: 18px; }
  .stats { margin-top: 20px; }
  .btn-big { min-height: 54px; }
  .tabs .tab { min-height: 40px; }
  .max-btn, .pill { min-height: 32px; }
  #v-embed iframe { display: none; }
}
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .dialog { animation: none !important; } }
.chip { white-space: nowrap; display: inline-block; }
@media (max-width: 720px) {
  .table-scroll .v-row .cell-main .chip { font-size: 11px; padding: 1px 7px !important; margin-left: 6px !important; vertical-align: 1px; }
  .table-scroll .v-row .cell-main .chip.warn { display: none; }
}
@media (max-width: 720px) {
  #vault > p.label:first-child { display: none; }
  #v-logo { margin-top: 0 !important; }
  #v-logo > * { transform: scale(.8); }
  #vault .title { margin-top: 6px !important; }
}

/* ---------- Home sections ---------- */
.home-sec { width: 100%; max-width: 1040px; margin: 0 auto; padding: 96px 24px 0; }
.sec-title { font: 900 clamp(36px, 5.5vw, 72px)/.94 var(--display); letter-spacing: -.053em; margin: 0; text-align: center; }
.sec-lead { text-align: center; color: var(--muted); font-size: 15px; margin: 12px 0 0; }
.sec-more { text-align: center; margin: 28px 0 0; }
.sec-more a { display: inline-block; padding: 12px 18px; border: 1px solid var(--text); color: var(--text); font-size: 14px; font-weight: 700; }
.sec-more a:hover { background: var(--selected); }
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; counter-reset: none; }
.step-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 24px; }
.step-card h3, .why-card h3 { font-size: 18px; font-weight: 500; margin: 14px 0 8px; letter-spacing: -0.3px; }
.step-card p, .why-card p { color: var(--muted); font-size: 14px; line-height: 21px; margin: 0; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 2px; background: var(--red); color: var(--ink); font: 650 14px var(--mono); }
.live-stats { margin-top: 28px; }
.why { margin-top: 36px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.why-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px 22px; }
.why-card h3 { margin-top: 0; }
.faq { margin: 32px auto 0; max-width: 760px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 2px; font-size: 16px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--muted); font-size: 22px; font-weight: 300; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); font-size: 14px; line-height: 22px; margin: -4px 2px 18px; max-width: 680px; }
.faq details a { color: var(--strong); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .home-sec { padding: 64px 16px 0; }
  .why { grid-template-columns: 1fr; }
  .faq summary { padding: 16px 2px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

.home-faq { --text: #14100e; --muted: #25120e; max-width: none; margin-top: clamp(48px, 7vw, 96px); padding: clamp(48px, 7vw, 96px) 16px; background: var(--red); color: var(--text); }
.home-faq .faq, .home-faq .faq details { border-color: #0006; }
.home-faq .faq summary::after, .home-faq .faq details p, .home-faq .faq details a { color: var(--text); }
.home-faq .faq details a { text-decoration: underline; }
.home-faq :focus-visible { outline-color: var(--ink); }
.home-faq .sec-more a:hover { background: var(--ink); color: var(--red); }

.legal h2 { font-size: 18px; }
.legal a.green { color: var(--strong); }

/* ---------- X (Twitter) ---------- */
.top-right { display: flex; align-items: center; gap: 10px; }
.x-btn { width: 44px; height: 44px; border-radius: var(--radius); display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); color: var(--text); font-weight: 600; font-size: 16px; transition: background .15s ease, border-color .15s ease; }
.x-btn:hover { background: var(--card-2); border-color: var(--text); }
.x-mark { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--selected); color: var(--text); font-size: 12px; font-weight: 700; line-height: 1; }
.foot .x-follow { display: inline-flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 16px 8px 8px; border: 1px solid var(--line); border-radius: 1000px; margin-bottom: 14px; }
.foot .x-follow:hover { border-color: var(--selected); }
.foot a:focus-visible { outline-color: var(--focus); }
@media (max-width: 720px) { .x-btn { width: 40px; height: 40px; font-size: 15px; } .top-right { gap: 8px; } }

@media (max-width: 720px) { .nav a { font-size: 10.5px; } }

/* Yield card */
.yc-form { display: flex; gap: 8px; margin-top: 36px; align-items: center; padding: 8px; }
.yc-form .picker-search { flex: 1; min-width: 0; margin: 0; font-family: 'Geist Mono', monospace; font-size: 14px; }
.yc-form .btn-white { padding: 12px 18px; white-space: nowrap; }
.yc-form .yc-mine { padding: 11px 16px; white-space: nowrap; }
.yc-error { color: var(--strong); font-size: 13px; text-align: center; margin: 12px 0 0; }
.yc-out { margin-top: 18px; }
.yc-frame { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #0c0c0c; aspect-ratio: 1200 / 630; }
.yc-frame img { display: block; width: 100%; height: auto; }
.yc-frame.loading { background: linear-gradient(100deg, #111 30%, #1a1a1a 50%, #111 70%) 0 0 / 200% 100%; animation: yc-shine 1.4s linear infinite; }
.yc-frame.loading img { opacity: 0; }
@keyframes yc-shine { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .yc-frame.loading { animation: none; } }
.yc-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.yc-actions > * { flex: 1; min-width: 140px; }
.yc-facts { margin-top: 12px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 13px; }
.yc-cta { display: flex; justify-content: center; margin-top: 12px; }
.chip-share { color: var(--text); border: 1px solid var(--line); }
@media (max-width: 640px) {
  .yc-form { flex-wrap: wrap; }
  .yc-form .picker-search { flex-basis: 100%; font-size: 16px; }
  .yc-form .btn-white, .yc-form .yc-mine { flex: 1; }
  .yc-actions > * { min-width: 0; flex-basis: 100%; }
}
