:root {
  color-scheme: dark;
  --ink: #f7f9fc;
  --muted: #98a2b6;
  --muted-2: #667087;
  --night: #070a12;
  --panel: #0e1320;
  --panel-2: #141b2a;
  --line: rgba(255, 255, 255, .1);
  --line-soft: rgba(255, 255, 255, .065);
  --lime: #c8ff66;
  --cyan: #73e7f7;
  --violet: #9c8cff;
  --danger: #ff8d92;
  --shadow: 0 30px 80px rgba(0, 0, 0, .36);
  --radius: 22px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--night); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
[hidden] { display: none !important; }

.site-header { position: relative; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: min(calc(100% - 48px), var(--max)); min-height: 86px; margin: auto; }
.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; color: var(--ink); text-decoration: none; }
.brand > span:last-child { display: flex; align-items: baseline; gap: 7px; }
.brand strong { font-size: 15px; line-height: 1; letter-spacing: -.02em; }
.brand small { color: var(--muted); font-size: 12px; }
.brand-mark { position: relative; display: inline-block; width: 28px; height: 28px; transform: rotate(30deg); }
.brand-mark i { position: absolute; display: block; border-radius: 50%; border: 1px solid rgba(200, 255, 102, .65); }
.brand-mark i:nth-child(1) { inset: 2px; }
.brand-mark i:nth-child(2) { inset: 7px; border-color: rgba(115, 231, 247, .8); }
.brand-mark i:nth-child(3) { inset: 12px; border: 0; background: var(--lime); box-shadow: 0 0 14px var(--lime); }
.site-header nav { display: flex; gap: 8px; align-items: center; padding: 4px; border: 1px solid var(--line-soft); border-radius: 999px; background: rgba(9, 13, 23, .66); backdrop-filter: blur(16px); }
.site-header nav a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: 12px; font-weight: 600; text-decoration: none; transition: .2s ease; }
.site-header nav a:hover, .site-header nav a.is-current { color: var(--ink); background: rgba(255, 255, 255, .075); }
.status-chip { justify-self: end; display: inline-flex; align-items: center; gap: 9px; min-height: 36px; padding: 0 14px; border: 1px solid rgba(200, 255, 102, .24); border-radius: 999px; color: #eaffc7; background: rgba(200, 255, 102, .075); font-size: 12px; font-weight: 650; cursor: pointer; }
.status-chip > span, .pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); }
.status-chip.is-unlocked > span { background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.link-chip { text-decoration: none; }

.hero { position: relative; isolation: isolate; min-height: 660px; overflow: hidden; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.hero::after { content: ""; position: absolute; z-index: -1; inset: auto 0 0; height: 180px; background: linear-gradient(transparent, var(--night)); }
.hero-art { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .84; }
.hero-wash { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(7, 10, 18, .98) 0%, rgba(7, 10, 18, .92) 30%, rgba(7, 10, 18, .42) 60%, rgba(7, 10, 18, .15) 100%), radial-gradient(circle at 48% 25%, rgba(77, 105, 178, .14), transparent 40%); }
.hero-copy { width: min(calc(100% - 48px), var(--max)); margin: auto; padding-top: 112px; }
.hero-copy > * { max-width: 610px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: #b8c0d1; font-size: 10px; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow > span { width: 25px; height: 1px; background: linear-gradient(90deg, var(--lime), transparent); }
.eyebrow.danger { color: #ffc2c5; }
.eyebrow.danger > span { background: linear-gradient(90deg, var(--danger), transparent); }
h1, h2, h3, p { text-wrap: pretty; }
.hero h1, .dev-hero h1 { margin: 0; font-size: clamp(54px, 6.8vw, 94px); line-height: .97; font-weight: 480; letter-spacing: -.065em; }
.hero h1 em, .dev-hero h1 em { color: var(--lime); font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.05em; }
.hero-lede { margin: 28px 0 0; color: #aeb7c9; font-size: 17px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 46px; padding: 0 19px; border: 1px solid transparent; border-radius: 12px; color: var(--ink); background: transparent; font-size: 13px; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .2s ease, border-color .2s ease, background .2s ease, opacity .2s ease; }
.button:hover { transform: translateY(-1px); }
.button:disabled { opacity: .45; cursor: wait; transform: none; }
.button.primary { color: #10150c; background: var(--lime); box-shadow: 0 12px 34px rgba(200, 255, 102, .13); }
.button.primary:hover { background: #d6ff88; }
.button.ghost { border-color: var(--line); background: rgba(9, 13, 22, .45); backdrop-filter: blur(10px); }
.button.ghost:hover { border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); }
.button.light { color: #111720; background: #f1f5f7; }
.button.wide { width: 100%; }
.button.small { min-height: 36px; padding-inline: 14px; border-radius: 10px; font-size: 12px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 35px; color: #a7b0c1; font-size: 11px; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row i { display: grid; place-items: center; width: 17px; height: 17px; border: 1px solid rgba(200, 255, 102, .2); border-radius: 50%; color: var(--lime); font-size: 9px; font-style: normal; }
.hero-card { position: absolute; right: max(24px, calc((100% - var(--max)) / 2)); top: 120px; width: 326px; min-height: 432px; padding: 20px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .13); border-radius: 28px; background: linear-gradient(155deg, rgba(17, 25, 40, .72), rgba(7, 10, 18, .58)); box-shadow: var(--shadow); backdrop-filter: blur(24px) saturate(130%); }
.hero-card::before { content: ""; position: absolute; inset: -80px auto auto -80px; width: 190px; height: 190px; border-radius: 50%; background: rgba(115, 231, 247, .1); filter: blur(35px); }
.hero-card-top { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 11px; }
.hero-card-top b { padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.mini-vault { position: relative; display: grid; place-items: center; width: 164px; height: 164px; margin: 36px auto 24px; }
.mini-vault i { position: absolute; border: 1px solid rgba(115, 231, 247, .28); border-radius: 50%; box-shadow: inset 0 0 28px rgba(115, 231, 247, .04); }
.mini-vault i:nth-child(1) { inset: 0; }
.mini-vault i:nth-child(2) { inset: 19px; border-color: rgba(200, 255, 102, .34); }
.mini-vault i:nth-child(3) { inset: 43px; }
.mini-vault span { display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; color: var(--lime); background: radial-gradient(circle, rgba(200, 255, 102, .2), rgba(115, 231, 247, .05)); box-shadow: 0 0 34px rgba(200, 255, 102, .18); font-size: 22px; }
.hero-card-metric { display: flex; align-items: baseline; gap: 10px; margin: 0 0 18px; }
.hero-card-metric strong { font-size: 34px; font-weight: 550; letter-spacing: -.05em; }
.hero-card-metric span { color: var(--muted); font-size: 11px; }
.hero-card-line { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line-soft); font-size: 10px; }
.hero-card-line span { color: var(--muted-2); }
.hero-card-line strong { color: #c6cedd; font-weight: 550; text-align: right; }

.wallet-section, .story-grid, .dev-section, .resource-section { width: min(calc(100% - 48px), var(--max)); margin: auto; }
.wallet-section { padding: 105px 0 40px; scroll-margin-top: 20px; }
.section-heading { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 64px; margin-bottom: 34px; }
.section-heading h2, .story-feature h2, .dev-section h2 { margin: 0; max-width: 720px; font-size: clamp(34px, 4.2vw, 58px); line-height: 1.02; font-weight: 480; letter-spacing: -.05em; }
.section-heading > p { max-width: 520px; margin: 0 0 5px; color: var(--muted); font-size: 14px; }
.vault-workspace { display: grid; grid-template-columns: 290px 1fr; min-height: 530px; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: var(--panel); box-shadow: var(--shadow); }
.vault-rail { display: flex; flex-direction: column; padding: 26px; border-right: 1px solid var(--line); background: radial-gradient(circle at 50% 20%, rgba(91, 122, 183, .12), transparent 38%), #0a0f19; }
.rail-heading { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.rail-heading strong { color: var(--lime); font-size: 10px; }
.rail-orbit { position: relative; width: 152px; height: 152px; margin: 40px auto 32px; border: 1px solid rgba(115, 231, 247, .15); border-radius: 50%; }
.rail-orbit::before, .rail-orbit::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .11); }
.rail-orbit::before { inset: 18px; }
.rail-orbit::after { inset: 40px; border-color: rgba(200, 255, 102, .25); box-shadow: inset 0 0 25px rgba(200, 255, 102, .09); }
.rail-orbit span { position: absolute; z-index: 2; inset: 63px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 22px rgba(200, 255, 102, .6); }
.rail-orbit i, .rail-orbit b { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.rail-orbit i { top: 13px; left: 38px; }.rail-orbit b { right: 7px; bottom: 49px; background: var(--violet); }
.vault-rail > p { min-height: 70px; margin: 0 0 22px; color: #adb6c7; font-size: 12px; }
.rail-facts { margin: 0 0 25px; }
.rail-facts div { display: flex; justify-content: space-between; padding: 11px 0; border-top: 1px solid var(--line-soft); font-size: 10px; }
.rail-facts dt { color: var(--muted-2); }.rail-facts dd { margin: 0; color: #cbd2df; }
.text-link { display: inline-flex; align-items: center; gap: 8px; width: max-content; color: var(--lime); font-size: 11px; font-weight: 650; text-decoration: none; }
.vault-rail .text-link { margin-top: auto; }
.vault-main { padding: 34px; }
.locked-copy { display: flex; gap: 16px; align-items: center; max-width: 620px; margin-bottom: 32px; }
.locked-copy h3, .dashboard-head h3 { margin: 0 0 4px; font-size: 24px; font-weight: 520; letter-spacing: -.03em; }
.locked-copy p { margin: 0; color: var(--muted); font-size: 12px; }
.icon-tile { display: grid; flex: 0 0 auto; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(200, 255, 102, .2); border-radius: 15px; color: var(--lime); background: rgba(200, 255, 102, .05); }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.choice-grid article { min-height: 308px; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012)); }
.choice-grid article:nth-child(2) { background: linear-gradient(145deg, rgba(115, 231, 247, .055), rgba(255, 255, 255, .012)); }
.choice-number { color: var(--muted-2); font-size: 10px; letter-spacing: .12em; }
.choice-grid h3 { margin: 55px 0 8px; font-size: 21px; font-weight: 520; letter-spacing: -.03em; }
.choice-grid p { min-height: 55px; margin: 0 0 28px; color: var(--muted); font-size: 12px; }
.choice-grid .button, .split-actions { margin-top: auto; }
.split-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dashboard-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.dashboard-head h3 { margin: 0; }
.dashboard-actions { display: flex; gap: 8px; }
.micro-label { margin: 0 0 4px; color: var(--muted-2); font-size: 9px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.wallet-dashboard { display: grid; grid-template-columns: minmax(240px, .88fr) minmax(300px, 1.12fr); gap: 15px; }
.wallet-list-wrap, .active-wallet { min-height: 382px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, .018); }
.wallet-list-wrap { display: flex; flex-direction: column; padding: 16px; }
.list-label { display: flex; justify-content: space-between; padding: 2px 4px 14px; color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.list-label b { display: grid; place-items: center; min-width: 20px; height: 20px; border-radius: 99px; color: var(--ink); background: rgba(255, 255, 255, .08); font-size: 9px; }
.wallet-list { display: grid; gap: 7px; }
.wallet-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; width: 100%; min-width: 0; padding: 11px; border: 1px solid transparent; border-radius: 12px; color: #cbd2df; background: transparent; text-align: left; cursor: pointer; }
.wallet-row:hover { background: rgba(255, 255, 255, .035); }
.wallet-row[aria-pressed="true"] { border-color: rgba(200, 255, 102, .18); color: var(--ink); background: rgba(200, 255, 102, .055); }
.wallet-row > i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: var(--lime); background: #161f2d; font-style: normal; }
.wallet-row > span { min-width: 0; }
.wallet-row strong, .wallet-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wallet-row strong { font-size: 12px; }.wallet-row small { color: var(--muted-2); font-size: 9px; }
.wallet-row > b { color: var(--lime); opacity: 0; font-size: 12px; }.wallet-row[aria-pressed="true"] > b { opacity: 1; }
.add-row { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: auto; padding-top: 14px; }
.add-row button { min-height: 36px; border: 1px dashed var(--line); border-radius: 10px; color: var(--muted); background: transparent; font-size: 10px; cursor: pointer; }
.add-row button:hover { color: var(--ink); border-color: rgba(255, 255, 255, .2); }
.active-wallet { position: relative; overflow: hidden; padding: 24px; background: radial-gradient(circle at 90% 0%, rgba(115, 231, 247, .11), transparent 42%), linear-gradient(145deg, #151c2a, #0d121c); }
.active-wallet::after { content: ""; position: absolute; inset: auto -80px -120px auto; width: 220px; height: 220px; border: 1px solid rgba(200, 255, 102, .12); border-radius: 50%; box-shadow: 0 0 0 25px rgba(115, 231, 247, .025), 0 0 0 55px rgba(200, 255, 102, .018); }
.active-top { position: relative; z-index: 1; display: flex; justify-content: space-between; margin-bottom: 52px; }
.wallet-glyph { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 50%; color: var(--lime); background: rgba(255, 255, 255, .035); }
.live-chip { display: inline-flex; align-items: center; gap: 6px; height: 25px; padding: 0 9px; border-radius: 999px; color: #dfffb0; background: rgba(200, 255, 102, .07); font-size: 9px; }
.live-chip i { width: 5px; height: 5px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime); }
.active-wallet h3 { position: relative; z-index: 1; margin: 0 0 12px; font-size: 28px; font-weight: 520; letter-spacing: -.045em; }
.address-button { position: relative; z-index: 1; display: flex; justify-content: space-between; width: 100%; min-width: 0; padding: 10px 11px; border: 1px solid var(--line); border-radius: 10px; color: #aeb8ca; background: rgba(0, 0, 0, .14); cursor: pointer; }
.address-button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }
.address-button i { color: var(--lime); font-size: 9px; font-style: normal; }
.active-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 19px 0; }
.active-grid div { padding: 11px 0; border-top: 1px solid var(--line-soft); }
.active-grid span, .active-grid strong { display: block; }.active-grid span { color: var(--muted-2); font-size: 9px; }.active-grid strong { margin-top: 3px; font-size: 10px; font-weight: 550; }
.active-wallet .button { position: relative; z-index: 1; }

.story-grid { display: grid; grid-template-columns: 1.35fr repeat(2, .825fr); gap: 14px; padding: 75px 0 120px; }
.story-card { min-height: 295px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(155deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012)); }
.story-card h3 { margin: 44px 0 10px; font-size: 20px; font-weight: 520; letter-spacing: -.03em; }
.story-card > p { color: var(--muted); font-size: 12px; }
.story-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 14px; color: var(--cyan); background: rgba(115, 231, 247, .05); font-size: 21px; }
.story-feature { grid-row: span 2; min-height: 604px; overflow: hidden; background: radial-gradient(circle at 20% 100%, rgba(124, 102, 255, .18), transparent 35%), #0c111b; }
.story-feature h2 { margin-top: 64px; font-size: 44px; }
.story-feature > p:not(.eyebrow) { max-width: 430px; margin-top: 20px; }
.stack-visual { position: relative; height: 205px; margin: 55px -3px -25px; }
.stack-visual span { position: absolute; right: 0; left: 0; display: flex; align-items: center; height: 70px; padding: 0 21px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; color: #cbd2df; background: linear-gradient(90deg, rgba(156, 140, 255, .13), rgba(115, 231, 247, .04)), #111724; box-shadow: 0 18px 32px rgba(0, 0, 0, .25); font-size: 11px; }
.stack-visual span:nth-child(1) { top: 0; transform: scale(.88); opacity: .55; }.stack-visual span:nth-child(2) { top: 42px; transform: scale(.94); opacity: .75; }.stack-visual span:nth-child(3) { top: 89px; }
.story-grid .story-card:last-child { grid-column: 2 / 4; min-height: 295px; background: radial-gradient(circle at 90% 10%, rgba(200, 255, 102, .1), transparent 35%), var(--panel); }
.story-grid .story-card:last-child h3 { margin-top: 22px; }

.wallet-dialog { width: min(520px, calc(100% - 28px)); max-height: min(760px, calc(100vh - 28px)); padding: 0; overflow: auto; border: 1px solid rgba(255, 255, 255, .13); border-radius: 24px; color: var(--ink); background: #101621; box-shadow: 0 40px 100px rgba(0, 0, 0, .65); }
.wallet-dialog::backdrop { background: rgba(1, 3, 8, .76); backdrop-filter: blur(10px); }
.dialog-shell { position: relative; padding: 31px; }
.dialog-close { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: transparent; font-size: 20px; cursor: pointer; }
.dialog-shell h2 { margin: 0; font-size: 30px; line-height: 1.05; font-weight: 520; letter-spacing: -.045em; }.dialog-shell > p:not(.eyebrow) { margin: 12px 0 23px; color: var(--muted); font-size: 12px; }
.dialog-shell label:not(.check-row) { display: grid; gap: 7px; margin: 13px 0; color: #aeb8c8; font-size: 10px; }
.dialog-shell input:not([type="checkbox"]), .dialog-shell textarea, .secret-output { width: 100%; min-height: 44px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); outline: none; background: rgba(0, 0, 0, .18); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; resize: vertical; }
.dialog-shell input:not([type="checkbox"]):focus, .dialog-shell textarea:focus { border-color: rgba(200, 255, 102, .4); box-shadow: 0 0 0 3px rgba(200, 255, 102, .06); }
.dialog-shell output { display: block; overflow-wrap: anywhere; }
.text-button { padding: 0; border: 0; color: var(--lime); background: transparent; font-size: 10px; cursor: pointer; }
.check-row { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0; color: #bdc5d4; font-size: 11px; cursor: pointer; }
.check-row input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--lime); }
.import-preview { padding: 12px; border: 1px solid rgba(200, 255, 102, .15); border-radius: 10px; background: rgba(200, 255, 102, .045); }
.import-preview span, .import-preview strong { display: block; }.import-preview span { color: var(--muted-2); font-size: 9px; }.import-preview strong { margin-top: 4px; overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }

.docs-body { background: radial-gradient(circle at 55% -10%, rgba(58, 83, 135, .16), transparent 34%), var(--night); }
.docs-main { min-height: calc(100vh - 240px); }
.dev-hero { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 72px; width: min(calc(100% - 48px), var(--max)); min-height: 610px; margin: auto; padding: 75px 0 100px; }
.dev-hero h1 { font-size: clamp(48px, 6vw, 82px); }
.dev-hero > div:first-child > p:not(.eyebrow) { max-width: 590px; margin: 28px 0 0; color: var(--muted); font-size: 16px; }
.code-window { overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px; background: rgba(11, 16, 26, .78); box-shadow: var(--shadow); backdrop-filter: blur(18px); transform: perspective(1200px) rotateY(-4deg) rotateX(1deg); }
.code-bar { display: flex; align-items: center; gap: 6px; height: 47px; padding: 0 16px; border-bottom: 1px solid var(--line-soft); }
.code-bar span { width: 7px; height: 7px; border-radius: 50%; background: #394154; }.code-bar span:nth-child(1) { background: #ff8d92; }.code-bar span:nth-child(2) { background: #ffd66e; }.code-bar span:nth-child(3) { background: var(--lime); }
.code-bar b { margin-left: 8px; color: var(--muted-2); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; font-weight: 500; }
.code-window pre { margin: 0; padding: 30px; overflow: auto; color: #dce4f2; font-size: 12px; line-height: 1.85; }
.code-window code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }.code-window i { color: #6f7c94; font-style: normal; }
.dev-status { display: grid; grid-template-columns: repeat(3, 1fr); width: min(calc(100% - 48px), var(--max)); margin: 0 auto 105px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, .02); }
.dev-status > div { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 5px 10px; min-height: 90px; padding: 18px 21px; border-right: 1px solid var(--line); }.dev-status > div:last-child { border-right: 0; }
.dev-status strong { font-size: 12px; font-weight: 600; }.dev-status small { grid-column: 2; color: var(--muted-2); font-size: 9px; }.dev-status .pulse-dot { grid-row: 1 / 3; }
.tag { grid-column: 3; grid-row: 1 / 3; padding: 5px 8px; border-radius: 999px; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }.tag.live { color: #dcff9c; background: rgba(200, 255, 102, .07); }.tag.planned { color: #c5bbff; background: rgba(156, 140, 255, .09); }
.dev-section { padding-bottom: 120px; }
.mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mode-grid article { min-height: 390px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: radial-gradient(circle at 90% 10%, rgba(115, 231, 247, .08), transparent 35%), var(--panel); }
.mode-grid article.mode-future { background: radial-gradient(circle at 90% 10%, rgba(156, 140, 255, .11), transparent 35%), var(--panel); }
.mode-kicker { display: inline-block; padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.mode-grid h3 { margin: 62px 0 10px; font-size: 28px; font-weight: 500; letter-spacing: -.04em; }.mode-grid p { max-width: 490px; color: var(--muted); font-size: 12px; }
.mode-grid ul { display: grid; gap: 9px; margin: 24px 0 30px; padding: 0; list-style: none; color: #c2c9d7; font-size: 11px; }.mode-grid li::before { content: "✓"; margin-right: 9px; color: var(--lime); }.text-muted { color: var(--muted-2); font-size: 10px; }
.resource-section { padding: 0 0 120px; }
.resource-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.resource-grid a { min-height: 280px; padding: 23px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; transition: background .2s ease; }.resource-grid a:hover { background: rgba(255, 255, 255, .025); }
.resource-grid a > span { color: var(--muted-2); font-size: 9px; }.resource-grid h3 { margin: 68px 0 9px; font-size: 18px; font-weight: 520; }.resource-grid p { min-height: 60px; color: var(--muted); font-size: 11px; }.resource-grid b { color: var(--lime); font-size: 10px; font-weight: 650; }

.prose-main { width: min(calc(100% - 48px), 900px); min-height: 70vh; margin: auto; padding: 70px 0 120px; }
.prose-main > h1 { margin: 0 0 16px; font-size: clamp(42px, 6vw, 68px); line-height: 1; font-weight: 480; letter-spacing: -.055em; }.prose-main > p:first-of-type { color: #c4ccda; font-size: 17px; }.prose-main h2 { margin: 58px 0 12px; padding-top: 25px; border-top: 1px solid var(--line); font-size: 26px; font-weight: 520; letter-spacing: -.035em; }.prose-main p, .prose-main li { color: var(--muted); }.prose-main a { color: var(--lime); }.prose-main code { color: #dfffb0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; }.prose-main nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 25px 0 55px; }.prose-main nav a { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: #c4ccda; font-size: 10px; text-decoration: none; }.prose-main table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 11px; }.prose-main th, .prose-main td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }.prose-main th { color: var(--ink); }.prose-main td { color: var(--muted); }

footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; width: min(calc(100% - 48px), var(--max)); min-height: 150px; margin: auto; border-top: 1px solid var(--line); }
footer > p { color: var(--muted-2); font-size: 10px; }footer nav { justify-self: end; display: flex; flex-wrap: wrap; gap: 17px; }footer nav a { color: var(--muted); font-size: 10px; text-decoration: none; }footer nav a:hover { color: var(--ink); }.brand.compact strong { font-size: 13px; }

@media (max-width: 1050px) {
  .hero-card { width: 290px; right: 24px; opacity: .85; }
  .hero-copy > * { max-width: 540px; }
  .story-grid { grid-template-columns: 1fr 1fr; }.story-feature { grid-column: 1 / 3; grid-row: auto; min-height: 500px; }.story-grid .story-card:last-child { grid-column: 1 / 3; }
  .resource-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .site-header { grid-template-columns: 1fr auto; width: min(calc(100% - 30px), var(--max)); }.site-header nav { display: none; }
  .hero { min-height: 720px; }.hero-copy { width: min(calc(100% - 30px), var(--max)); padding-top: 70px; }.hero h1 { font-size: clamp(50px, 14vw, 72px); }.hero-card { position: absolute; top: auto; right: 15px; bottom: 20px; left: 15px; width: auto; min-height: 150px; padding: 17px; }.mini-vault { position: absolute; right: 18px; bottom: -25px; width: 145px; height: 145px; opacity: .5; }.hero-card-metric { margin-top: 28px; }.hero-card-line { width: calc(100% - 155px); }.hero-card-line:last-child { display: none; }
  .wallet-section, .story-grid, .dev-section, .resource-section { width: min(calc(100% - 30px), var(--max)); }.wallet-section { padding-top: 75px; }.section-heading { grid-template-columns: 1fr; gap: 16px; }
  .vault-workspace { grid-template-columns: 1fr; }.vault-rail { min-height: 265px; border-right: 0; border-bottom: 1px solid var(--line); }.rail-orbit { width: 110px; height: 110px; margin: 20px auto; }.rail-orbit span { inset: 45px; }.rail-orbit::before { inset: 14px; }.rail-orbit::after { inset: 31px; }.rail-orbit i { top: 8px; left: 29px; }.rail-orbit b { right: 5px; bottom: 36px; }.vault-rail > p { min-height: 0; }.rail-facts { display: none; }
  .dev-hero { grid-template-columns: 1fr; width: min(calc(100% - 30px), var(--max)); gap: 50px; padding-top: 65px; }.code-window { transform: none; }.dev-status { grid-template-columns: 1fr; width: min(calc(100% - 30px), var(--max)); }.dev-status > div { border-right: 0; border-bottom: 1px solid var(--line); }.dev-status > div:last-child { border-bottom: 0; }.mode-grid { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; width: min(calc(100% - 30px), var(--max)); padding: 35px 0; }footer nav { justify-self: start; }
}

@media (max-width: 600px) {
  .status-chip { padding-inline: 10px; font-size: 10px; }.hero { min-height: 760px; }.hero-copy { padding-top: 56px; }.hero-lede { font-size: 15px; }.hero-actions, .hero-actions .button { width: 100%; }.trust-row { gap: 10px; }.trust-row span { width: 100%; }
  .hero-card { bottom: 16px; }.hero-card-line { display: none; }.mini-vault { right: -5px; }
  .section-heading h2, .story-feature h2, .dev-section h2 { font-size: 36px; }.vault-main { padding: 18px; }.choice-grid { grid-template-columns: 1fr; }.choice-grid article { min-height: 250px; }.choice-grid h3 { margin-top: 28px; }.wallet-dashboard { grid-template-columns: 1fr; }.dashboard-head { align-items: flex-start; }.dashboard-actions { display: grid; }.wallet-list-wrap, .active-wallet { min-height: 350px; }.active-top { margin-bottom: 38px; }
  .story-grid { grid-template-columns: 1fr; padding-bottom: 80px; }.story-feature, .story-grid .story-card:last-child { grid-column: auto; min-height: 420px; }.story-feature h2 { margin-top: 38px; }.stack-visual { margin-top: 35px; }
  .dev-hero h1 { font-size: 48px; }.dev-hero { padding-bottom: 70px; }.code-window pre { padding: 22px; font-size: 10px; }.resource-grid { grid-template-columns: 1fr; }.resource-grid a { min-height: 230px; }.resource-grid h3 { margin-top: 45px; }
  .prose-main { width: min(calc(100% - 30px), 900px); padding-top: 45px; }.prose-main table { display: block; overflow-x: auto; }
  .dialog-shell { padding: 27px 20px 22px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }.button, .resource-grid a { transition: none; } }

.keyring-count {color:var(--muted);font-size:12px;margin:8px 0 0;}
.active-wallet #vault-rename {margin-bottom:9px;}
.connection-review {width:min(calc(100% - 30px),800px);margin:25px auto;padding:25px;border:1px solid rgba(200,255,102,.3);border-radius:20px;background:var(--panel);}
.connection-review h2 {font-size:28px;line-height:1.15;margin:0 0 20px;letter-spacing:-.03em;}
.connection-review dl {margin:0;}
.connection-review dl div {display:grid;grid-template-columns:140px 1fr;gap:12px;padding:10px 0;border-top:1px solid var(--line);font-size:12px;}
.connection-review dt {color:var(--muted);}.connection-review dd {margin:0;overflow-wrap:anywhere;}
.connection-review p {color:var(--muted);font-size:12px;}.connection-review #connection-status {color:var(--lime);}
.connector-mode .hero,.connector-mode .story-grid,.connector-mode footer,.connector-mode .site-header nav,.connector-mode .site-header .brand {display:none;}
.connector-mode .site-header {min-height:65px;display:flex;justify-content:flex-end;}
.connector-mode .wallet-section {padding-top:20px;}
.connector-mode .vault-workspace {grid-template-columns:1fr;}
.connector-mode .vault-rail {display:none;}
.connector-mode .section-heading {grid-template-columns:1fr;gap:12px;}
.connector-mode .wallet-dashboard {grid-template-columns:1fr;}
@media(max-width:600px){.connection-review dl div{grid-template-columns:1fr;gap:3px;}}

.dialog-shell .dialog-status {color:var(--lime);font-size:12px;min-height:1em;margin:12px 0;}
