/* =============================================================================
   Yieldpad — dark launchpad, liquid glass.
   Monochrome on purpose: the only colour in the interface is the mint that
   marks yield, and it is never used for decoration.
   ========================================================================== */

:root {
  --bg:        #08090a;
  --bg-deep:   #050506;
  --panel:     #121315;
  --text:      #f3f4f5;
  --muted:     #f3f4f599;
  --subtle:    #f3f4f55c;
  --faint:     #f3f4f52e;
  --line:      #ffffff14;
  --line-soft: #ffffff0d;

  --mint:      #5df2a0;
  --amber:     #ffcc66;
  --rose:      #ff6b81;

  /* liquid glass — a tint light enough to let the footage through, a bright
     rim, a specular top edge and a sheen overlay. */
  --lg-tint:          #14161ac2;
  --lg-rim:           #ffffff33;
  --lg-specular:      #ffffff4d;
  --lg-specular-side: #ffffff1f;
  --lg-sheen:         #ffffff1a;
  --lg-blur: 30px;

  --r-pill:  999px;
  --r-card:  22px;
  --r-panel: 16px;
  --r-inset: 12px;

  --sans: "Inter", "Inter Variable", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;

  --shell: 1140px;
  --nav-h: 68px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 560; letter-spacing: -0.03em; line-height: 1.06; }
p { margin: 0; }
::selection { background: #ffffff1f; }
[hidden] { display: none !important; }

.shell { width: min(100% - 40px, var(--shell)); margin-inline: auto; }
@media (max-width: 640px) { .shell { width: min(100% - 28px, var(--shell)); } }

/* --- liquid glass ---------------------------------------------------------- */
.glass {
  position: relative;
  isolation: isolate;
  background: var(--lg-tint);
  border: 1px solid var(--lg-rim);
  box-shadow:
    inset 0 1px 0 var(--lg-specular),
    inset 0 -1px 0 #ffffff1a,
    inset 1px 0 2px -1px var(--lg-specular-side),
    inset -1px 0 2px -1px var(--lg-specular-side),
    0 1px 2px #00000040,
    0 24px 64px #00000073;
  -webkit-backdrop-filter: blur(var(--lg-blur)) saturate(180%);
  backdrop-filter: blur(var(--lg-blur)) saturate(180%);
}
.glass::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  border-radius: inherit; pointer-events: none;
  background:
    linear-gradient(to bottom, var(--lg-sheen) 0%, transparent 38%),
    linear-gradient(to top, #ffffff14 0%, transparent 24%),
    radial-gradient(120% 60% at 12% -10%, #ffffff17 0%, transparent 60%);
}
.glass > * { position: relative; z-index: 1; }
.glass-inset {
  background: #ffffff0a; border: 1px solid #ffffff1f;
  box-shadow: inset 0 1px 0 #ffffff24;
  -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
}

/* --- type ------------------------------------------------------------------ */
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.015em; }
.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--subtle); }
.mono { font-family: var(--mono); font-size: .86em; letter-spacing: -0.01em; }
.num  { font-variant-numeric: tabular-nums; }
.lede { color: var(--muted); font-size: 16.5px; line-height: 1.6; }
.muted { color: var(--muted); }
.subtle { color: var(--subtle); }
.center { text-align: center; }
.mint { color: var(--mint); }
.trunc { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.small { font-size: 13.5px; line-height: 1.55; }
.tiny  { font-size: 12px; line-height: 1.5; }

/* --- buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  height: 44px; padding: 0 20px; border-radius: var(--r-pill);
  border: 1px solid transparent; cursor: pointer;
  font-size: 14px; font-weight: 500; letter-spacing: -0.012em;
  transition: transform .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), opacity .18s;
  white-space: nowrap;
}
.btn:active { transform: scale(.985); }
.btn:disabled { opacity: .38; cursor: not-allowed; }
.btn-primary { background: #fff; color: #0a0a0b; font-weight: 560; }
.btn-primary:hover:not(:disabled) { background: #e9eaec; }
.btn-mint { background: var(--mint); color: #06120c; font-weight: 560; }
.btn-mint:hover:not(:disabled) { background: #7ff5b6; }
.btn-ghost {
  background: #ffffff0a; border-color: var(--line); color: var(--text);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.btn-ghost:hover:not(:disabled) { background: #ffffff14; border-color: #ffffff2b; }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }
.btn-icon { width: 34px; padding: 0; flex: none; color: var(--muted); }
.btn-icon:hover { color: var(--text); }
.btn-lg { height: 50px; padding: 0 26px; font-size: 15px; }
.btn-block { width: 100%; }

/* --- nav ------------------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--nav-h); display: flex; align-items: center;
  transition: background .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: #08090ab8; border-bottom-color: var(--line-soft);
  -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%);
}
.nav-inner { display: flex; align-items: center; gap: 18px; width: min(100% - 40px, var(--shell)); margin-inline: auto; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 570; letter-spacing: -0.045em; font-size: 16.5px; }
.brand svg, .brand img { flex: none; display: block; }
.nav-links { display: flex; gap: 2px; margin-left: 8px; }
.nav-links a {
  padding: 7px 12px; border-radius: var(--r-pill); font-size: 13.5px; color: var(--muted);
  transition: color .18s, background .18s;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--text); background: #ffffff0d; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
@media (max-width: 820px) { .nav-links { display: none; } }
/* At phone width the bar already carries a brand, a CTA and the wallet. The X
   link steps aside there — the footer still carries it. */
@media (max-width: 560px) { .nav-x { display: none; } }

.wallet-pill { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12.5px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.dot-live { background: var(--mint); box-shadow: 0 0 0 3px #5df2a01f; }

/* --- hero ------------------------------------------------------------------ */
.hero { position: relative; min-height: min(94vh, 800px); display: flex; align-items: center; padding: calc(var(--nav-h) + 60px) 0 72px; }
.hero-bg { position: absolute; inset: -1px 0 0 0; overflow: hidden; z-index: 0; }
.hero-bg video, .hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, #050506f2 0%, #050506e0 28%, #05050699 48%, #05050626 68%, transparent 88%),
    linear-gradient(to bottom, #050506cc 0%, #05050600 22%, #05050600 60%, #050506e6 92%, #050506 100%);
}
.hero-inner { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 30px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; } }
.hero h1 { font-size: clamp(36px, 5.6vw, 64px); letter-spacing: -0.045em; line-height: 1.03; max-width: 15ch; }
.hero .lede { margin-top: 20px; max-width: 46ch; }
.hero-cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }

.hero-stats { margin-top: 34px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: var(--r-panel); padding: 4px; }
.hero-stat { padding: 15px 20px; min-width: 0; }
.hero-stat + .hero-stat { border-left: 1px solid var(--line-soft); }
.hero-stat dt { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); margin-bottom: 5px; }
.hero-stat dd { margin: 0; font-size: 17px; font-weight: 520; letter-spacing: -0.02em; }
@media (max-width: 720px) {
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stat { padding: 13px 16px; }
  .hero-stat:nth-child(odd) { border-left: none; }
  .hero-stat:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
}

/* the ledger card floating over the footage */
.hero-card { padding: 20px; border-radius: var(--r-card); }
.hero-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.ledger-row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.ledger-row:last-of-type { border-bottom: 0; }
.ledger-row dt { font-size: 13.5px; color: var(--muted); }
.ledger-row dd { margin: 0; font-size: 14.5px; font-weight: 520; letter-spacing: -0.02em; text-align: right; }
.hero-card-foot {
  margin-top: 12px; padding: 11px 13px; border-radius: var(--r-inset);
  display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12.5px;
}

/* --- sections -------------------------------------------------------------- */
.section { padding: 78px 0; position: relative; }
.section-head { max-width: 60ch; margin-bottom: 38px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.038em; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 16px; }
.rule { height: 1px; background: var(--line-soft); border: 0; margin: 0; }
.stack-sm > * + * { margin-top: 10px; }
.stack   > * + * { margin-top: 18px; }
.row { display: flex; align-items: center; gap: 10px; }
.spread { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.grow { flex: 1 1 auto; min-width: 0; }

/* --- the five-step flow ----------------------------------------------------- */
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 1000px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .flow { grid-template-columns: minmax(0, 1fr); } }
.flow-step { padding: 22px; border-radius: var(--r-panel); }
.flow-n {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-size: 11.5px; font-weight: 560; background: #ffffff12; border: 1px solid var(--line);
  margin-bottom: 14px;
}
.flow-step h3 { font-size: 16px; letter-spacing: -0.026em; }
.flow-step p { margin-top: 8px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }

/* --- strategy tiles ---------------------------------------------------------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 940px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tiles { grid-template-columns: minmax(0, 1fr); } }
.tile { padding: 24px; border-radius: var(--r-card); transition: transform .35s var(--ease), border-color .3s; display: block; }
.tile:hover { transform: translateY(-3px); border-color: #ffffff33; }
.tile h3 { font-size: 17px; letter-spacing: -0.028em; margin-top: 14px; }
.tile p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* --- vault spec panel --------------------------------------------------------- */
.route-wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 14px; align-items: start; }
@media (max-width: 940px) { .route-wrap { grid-template-columns: minmax(0, 1fr); } }
.route-panel { padding: 26px; border-radius: var(--r-card); }
.guards > * + * { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.guard h4 { font-size: 15px; letter-spacing: -0.024em; }
.guard p { margin-top: 7px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }

/* --- manifesto ----------------------------------------------------------------- */
.manifesto { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-soft); }
@media (max-width: 860px) { .manifesto { grid-template-columns: minmax(0, 1fr); } }
.manifesto > div { padding: 26px 26px 0 0; border-right: 1px solid var(--line-soft); }
.manifesto > div:last-child { border-right: 0; padding-right: 0; }
.manifesto > div:not(:first-child) { padding-left: 26px; }
@media (max-width: 860px) {
  .manifesto > div { border-right: 0; border-bottom: 1px solid var(--line-soft); padding: 22px 0; }
  .manifesto > div:not(:first-child) { padding-left: 0; }
  .manifesto > div:last-child { border-bottom: 0; }
}
.manifesto h3 { font-size: clamp(19px, 2.2vw, 23px); letter-spacing: -0.032em; }
.manifesto p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* --- table ---------------------------------------------------------------------- */
.table-wrap { border-radius: var(--r-card); overflow: hidden; }
.tscroll { overflow-x: auto; }
table.feed { width: 100%; border-collapse: collapse; min-width: 880px; }
/* With no rows there are no columns to fit, so let the message use the width
   the phone actually has. */
table.feed.is-empty { min-width: 0; }
table.feed th {
  text-align: left; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle);
  font-weight: 500; padding: 14px 16px; border-bottom: 1px solid var(--line-soft); white-space: nowrap;
}
table.feed th.r, table.feed td.r { text-align: right; }
table.feed td { padding: 13px 16px; border-bottom: 1px solid var(--line-soft); font-size: 14px; vertical-align: middle; }
table.feed tr:last-child td { border-bottom: 0; }
table.feed tbody tr { transition: background .18s; }
table.feed tbody tr.clickable { cursor: pointer; }
table.feed tbody tr.clickable:hover { background: #ffffff08; }
.mk-name { display: flex; align-items: center; gap: 11px; min-width: 0; }
.mk-logo {
  width: 32px; height: 32px; border-radius: 9px; object-fit: cover; flex: none;
  background: #ffffff0d; border: 1px solid var(--line);
  display: grid; place-items: center; font-family: var(--mono); font-size: 10.5px; color: var(--muted); overflow: hidden;
}
.mk-title { font-weight: 520; letter-spacing: -0.018em; }
.mk-sub { display: block; font-size: 12px; color: var(--subtle); font-family: var(--mono); }
.apy { font-variant-numeric: tabular-nums; font-size: 14.5px; font-weight: 520; }
.bar { height: 3px; border-radius: 2px; background: #ffffff14; overflow: hidden; margin-top: 6px; }
.bar > i { display: block; height: 100%; background: var(--mint); border-radius: 2px; }

.pill {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px;
  border-radius: var(--r-pill); font-size: 11.5px; letter-spacing: -0.005em;
  background: #ffffff0d; border: 1px solid var(--line); color: var(--muted); white-space: nowrap;
}
.pill-mint { background: #5df2a014; border-color: #5df2a03d; color: var(--mint); }
.pill-amber { background: #ffcc6614; border-color: #ffcc6640; color: var(--amber); }
.pill-solid { background: #fff; border-color: #fff; color: #0a0a0b; }
.pill-mono { font-family: var(--mono); font-size: 11px; }

.empty { padding: 44px 20px; text-align: center; color: var(--subtle); font-size: 14px; }
.empty h3 { font-size: 18px; letter-spacing: -0.03em; color: var(--text); margin-bottom: 8px; }
.spinner {
  width: 15px; height: 15px; border-radius: 50%; border: 2px solid #ffffff29; border-top-color: #fff;
  animation: spin .7s linear infinite; display: inline-block; vertical-align: -2px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.notice { padding: 12px 14px; border-radius: var(--r-inset); font-size: 13.5px; line-height: 1.5; border: 1px solid var(--line); background: #ffffff08; }
.notice-bad  { border-color: #ff6b8147; background: #ff6b810f; color: #ffc2ca; }
.notice-good { border-color: #5df2a03d; background: #5df2a00f; color: #b6f5d4; }
.notice-warn { border-color: #ffcc6640; background: #ffcc660f; color: #ffe6b3; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* --- app pages --------------------------------------------------------------- */
.app-page { background: var(--bg-deep); }
.app-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.app-bg video { width: 100%; height: 100%; object-fit: cover; opacity: .17; }
.app-bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(100% 70% at 50% 0%, #05050699 0%, #050506e6 55%, var(--bg-deep) 100%);
}
.app-main { position: relative; z-index: 1; padding: calc(var(--nav-h) + 44px) 0 60px; }
.app-head { max-width: 64ch; margin-bottom: 28px; }
.app-head h1 { font-size: clamp(28px, 4.4vw, 42px); letter-spacing: -0.038em; margin-top: 10px; }
.app-head .lede { margin-top: 14px; font-size: 15.5px; }

.mini-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: var(--r-panel); padding: 4px; }
.mini-rail > div { padding: 15px 20px; min-width: 0; }
.mini-rail > div + div { border-left: 1px solid var(--line-soft); }
.mini-rail dt { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); margin-bottom: 6px; }
.mini-rail dd { margin: 0; font-size: 19px; font-weight: 530; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
@media (max-width: 720px) {
  .mini-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mini-rail > div:nth-child(odd) { border-left: 0; }
  .mini-rail > div:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
}

.panel-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 14px; align-items: start; }
@media (max-width: 980px) { .panel-grid { grid-template-columns: minmax(0, 1fr); } }
.pane { padding: 24px; border-radius: var(--r-card); }
.sticky { position: sticky; top: calc(var(--nav-h) + 16px); }
@media (max-width: 980px) { .sticky { position: static; } }

/* key/value list used everywhere numbers are stated */
.kv { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 16px; margin: 0; }
.kv > dt { padding: 10px 0; font-size: 13.5px; color: var(--muted); border-bottom: 1px solid var(--line-soft); min-width: 0; }
.kv > dd { padding: 10px 0; margin: 0; text-align: right; font-size: 13.5px; font-variant-numeric: tabular-nums; border-bottom: 1px solid var(--line-soft); }
.kv > dt:last-of-type, .kv > dd:last-of-type { border-bottom: 0; }
.kv a { border-bottom: 1px solid var(--line); }

/* --- forms --------------------------------------------------------------------- */
.field { margin-bottom: 18px; }
.field > .lab { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 7px; }
.input, .textarea, .select {
  width: 100%; background: #ffffff08; border: 1px solid var(--line);
  border-radius: var(--r-inset); padding: 12px 13px; font-size: 14.5px;
  transition: border-color .18s, background .18s; outline: none;
}
.input:focus, .textarea:focus, .select:focus { border-color: #ffffff3d; background: #ffffff0f; }
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.input.num, .input.mono { font-family: var(--mono); font-size: 13.5px; }
.input-err { border-color: #ff6b8180 !important; }
.textarea { resize: vertical; min-height: 90px; line-height: 1.55; }
.select {
  appearance: none; padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%23f3f4f57a' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center;
}
.select option { background: #121315; color: var(--text); }
.hint { font-size: 12px; color: var(--subtle); margin-top: 7px; line-height: 1.5; }
.inline-suffix { position: relative; }
.inline-suffix > .sfx { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 12px; color: var(--subtle); pointer-events: none; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: grab; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 3px; background: #ffffff1f; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; margin-top: -6px; background: #fff; border: 0; box-shadow: 0 1px 6px #00000080; }
input[type="range"]:active { cursor: grabbing; }

/* radio-style option cards */
.opts { display: grid; gap: 9px; }
.opts-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
@media (max-width: 720px) { .opts-row { grid-template-columns: minmax(0, 1fr); } }
.opt {
  display: flex; gap: 12px; align-items: flex-start; text-align: left; width: 100%; cursor: pointer;
  padding: 14px; border-radius: var(--r-inset); background: #ffffff05; border: 1px solid var(--line);
  transition: background .18s, border-color .18s;
}
.opt:hover { background: #ffffff0d; border-color: #ffffff2b; }
.opt.is-on { border-color: #ffffff4d; background: #ffffff12; }
.opt-mark { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #ffffff33; flex: none; margin-top: 2px; display: grid; place-items: center; }
.opt.is-on .opt-mark { border-color: #fff; }
.opt.is-on .opt-mark::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.opt strong { display: block; font-weight: 520; font-size: 14px; }
.opt > .grow > span { display: block; font-size: 12.5px; color: var(--subtle); margin-top: 4px; line-height: 1.5; }

/* the three-step rail on the launch page */
.steps-rail { display: flex; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: #ffffff0a; border: 1px solid var(--line-soft); overflow-x: auto; }
.steps-rail button {
  flex: 1; border: 0; background: transparent; cursor: pointer; white-space: nowrap;
  padding: 9px 16px; border-radius: var(--r-pill); font-size: 13.5px; color: var(--muted);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: background .18s, color .18s;
}
.steps-rail button:hover { color: var(--text); }
.steps-rail button.is-on { background: #ffffff14; color: var(--text); }
.steps-rail button.is-done { color: var(--mint); }
.steps-rail .sn { font-family: var(--mono); font-size: 11px; opacity: .7; }

.tabs { display: flex; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: #ffffff0a; border: 1px solid var(--line-soft); }
.tab { flex: 1; border: 0; background: transparent; cursor: pointer; padding: 8px 16px; border-radius: var(--r-pill); font-size: 13.5px; color: var(--muted); transition: background .18s, color .18s; }
.tab:hover { color: var(--text); }
.tab.is-on { background: #ffffff14; color: var(--text); }

.chip { padding: 6px 12px; border-radius: var(--r-pill); font-size: 12.5px; cursor: pointer; background: #ffffff08; border: 1px solid var(--line); color: var(--muted); transition: background .18s, color .18s, border-color .18s; }
.chip:hover { color: var(--text); border-color: #ffffff2b; }
.chip.is-on { background: #ffffff1a; color: var(--text); border-color: #ffffff33; }

.big-num { font-size: 32px; font-weight: 540; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; line-height: 1; }
.chart { width: 100%; height: 180px; display: block; }
.split-bar { display: flex; height: 10px; border-radius: var(--r-pill); overflow: hidden; background: #ffffff0d; }

/* --- modal + toast ------------------------------------------------------------- */
.modal-back {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px;
  background: #05050699; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .22s var(--ease);
}
.modal-back.in { opacity: 1; }
.modal { width: min(100%, 380px); border-radius: var(--r-card); padding: 24px; transform: translateY(10px) scale(.985); transition: transform .28s var(--ease); }
.modal-back.in .modal { transform: none; }
.modal h3 { font-size: 19px; letter-spacing: -0.03em; }
.modal > p { margin-top: 8px; font-size: 13px; line-height: 1.55; color: var(--muted); }
.wallet-list { display: grid; gap: 8px; margin: 20px 0 14px; }
.wallet-opt {
  display: flex; align-items: center; gap: 12px; width: 100%; cursor: pointer;
  padding: 11px 14px; border-radius: var(--r-inset); text-align: left;
  background: #ffffff08; border: 1px solid var(--line); font-size: 14.5px; font-weight: 480;
  transition: background .18s, border-color .18s;
}
.wallet-opt:hover { background: #ffffff14; border-color: #ffffff33; }
.wallet-opt img { width: 24px; height: 24px; border-radius: 6px; flex: none; }

.toasts { position: fixed; z-index: 300; right: 18px; bottom: 18px; display: grid; gap: 8px; width: min(calc(100vw - 36px), 380px); }
.toast { border-radius: var(--r-inset); padding: 12px 14px; font-size: 13.5px; line-height: 1.5; opacity: 0; transform: translateY(8px); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.toast.in { opacity: 1; transform: none; }
.toast-bad  { border-color: #ff6b8147; color: #ffc9d0; }
.toast-good { border-color: #5df2a03d; color: #b6f5d4; }

/* --- footer --------------------------------------------------------------------- */
.footer { padding: 56px 0 44px; border-top: 1px solid var(--line-soft); margin-top: 40px; position: relative; z-index: 1; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 32px 60px; justify-content: space-between; }
.footer h4 { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); font-weight: 500; margin-bottom: 12px; }
.footer a { display: block; color: var(--muted); font-size: 14px; padding: 3px 0; transition: color .18s; }
.footer a:hover { color: var(--text); }
.footer-note { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-soft); font-size: 12.5px; color: var(--subtle); display: flex; flex-direction: column; gap: 8px; }

/* On a narrow screen the three step labels do not fit; the numbers still do,
   and a rail that is cut off in half reads as broken. */
@media (max-width: 620px) {
  .steps-rail button { padding: 9px 12px; }
  .steps-rail button:not(.is-on) .lbl { display: none; }
}

/* --- the transaction walk on the launch page ---------------------------------- */
.tx-step { display: flex; align-items: flex-start; gap: 11px; padding: 11px 13px; border-radius: var(--r-inset);
           background: #ffffff05; border: 1px solid var(--line); font-size: 13.5px; }
.tx-step.is-now { border-color: #ffffff3d; background: #ffffff0f; }
.tx-step.is-done { border-color: #5df2a03d; background: #5df2a00f; }
.tx-step.is-bad { border-color: #ff6b8147; background: #ff6b810f; }
.tx-mark { width: 18px; height: 18px; border-radius: 50%; flex: none; margin-top: 1px; display: grid; place-items: center;
           border: 1.5px solid #ffffff2b; font-size: 10px; font-family: var(--mono); color: var(--subtle); }
.tx-step.is-done .tx-mark { border-color: var(--mint); color: var(--mint); }
.tx-step.is-now .tx-mark { border-color: #fff; color: #fff; }
.tx-step.is-bad .tx-mark { border-color: var(--rose); color: var(--rose); }
.tx-step b { display: block; font-weight: 520; }
.tx-step span { display: block; color: var(--subtle); font-size: 12.5px; margin-top: 3px; line-height: 1.5; }
