@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  color-scheme: dark;
  --ink: #f4f1ec;
  --muted: #a8a9b4;
  --faint: #6f707d;
  --canvas: #090a12;
  --panel: #11131d;
  --panel-soft: #151823;
  --line: rgba(245, 241, 236, 0.12);
  --line-bright: rgba(245, 241, 236, 0.2);
  --lime: #c6fb43;
  --lime-ink: #172000;
  --mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
  --sans: "Manrope", Inter, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.noise {
  position: fixed;
  z-index: -1;
  inset: 0;
  opacity: 0.34;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.22) .6px, transparent .6px);
  background-size: 5px 5px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}

.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 50; background: var(--lime); color: #0b0d05; padding: 10px 14px; font-weight: 800; border-radius: 5px; }
.skip-link:focus { top: 16px; }

.site-header { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; letter-spacing: -.06em; }
.brand-mark { display: grid; place-items: center; width: 25px; height: 25px; font-size: 14px; color: var(--lime-ink); background: var(--lime); border-radius: 50% 50% 50% 2px; transform: rotate(-12deg); }
.brand-mark::first-letter { transform: rotate(12deg); }
.site-header nav { display: flex; gap: 26px; margin-left: auto; font-size: 13px; font-weight: 700; color: var(--muted); }
.site-header nav a:hover { color: var(--ink); }

.wallet-button, .outline-button, .icon-button, .text-button { border: 0; background: transparent; color: var(--ink); }
.wallet-button { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 13px; border: 1px solid var(--line-bright); border-radius: 999px; font-size: 12px; font-weight: 700; transition: border-color .2s, background .2s; }
.wallet-button:hover { border-color: var(--lime); background: rgba(198,251,67,.08); }
.wallet-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(198,251,67,.12); }

.hero { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 465px; padding: 78px 0 58px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 18px; color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow span { width: 6px; height: 6px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 12px var(--lime); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.055em; }
h1 { max-width: 590px; margin-bottom: 22px; font-size: clamp(47px, 6vw, 78px); font-weight: 700; line-height: .98; }
h1 em { color: var(--lime); font-style: normal; }
.hero-summary { max-width: 475px; margin-bottom: 30px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 25px; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; border: 0; padding: 14px 17px; color: var(--lime-ink); background: var(--lime); font-size: 12px; font-weight: 800; transition: transform .18s, box-shadow .18s; }
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(198,251,67,.2); }
.primary-button span { font-size: 17px; line-height: 0; }
.primary-button.compact { padding: 12px 14px; gap: 10px; }
.text-button { padding: 9px 0; color: var(--muted); font-size: 12px; font-weight: 800; }
.text-button:hover { color: var(--lime); }
.text-button span { margin-left: 5px; }

.hero-art { position: relative; height: 360px; min-width: 310px; }
.hero-art::before { position: absolute; inset: 50% auto auto 50%; width: 225px; height: 225px; background: radial-gradient(circle, rgba(198,251,67,.18), transparent 68%); transform: translate(-50%, -50%); content: ""; filter: blur(6px); }
.orbit { position: absolute; left: 50%; top: 50%; border: 1px solid rgba(238,245,226,.18); border-radius: 50%; transform: translate(-50%, -50%) rotate(-22deg); }
.orbit-one { width: 325px; height: 165px; }
.orbit-two { width: 235px; height: 315px; transform: translate(-50%, -50%) rotate(42deg); }
.orbit::before, .orbit::after { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 15px var(--lime); content: ""; }
.orbit-one::before { left: 8%; top: 17%; }.orbit-one::after { right: 6%; bottom: 19%; }
.orbit-two::before { top: 10%; left: 47%; background: #c2b6ff; box-shadow: 0 0 15px #c2b6ff; }.orbit-two::after { bottom: 9%; left: 46%; background: #ffb8dd; box-shadow: 0 0 15px #ffb8dd; }
.hero-core { position: absolute; display: grid; left: 50%; top: 50%; width: 105px; height: 105px; place-items: center; border: 1px solid rgba(198,251,67,.6); border-radius: 50%; background: radial-gradient(circle at 30% 25%, #252d14, #111609); box-shadow: 0 0 0 15px rgba(198,251,67,.03), 0 0 70px rgba(198,251,67,.12); transform: translate(-50%, -50%); }
.hero-core span { display: grid; width: 68px; height: 68px; place-items: center; border: 1px solid rgba(198,251,67,.4); border-radius: 50% 50% 50% 9px; color: var(--lime); font-size: 38px; font-weight: 800; transform: rotate(-12deg); }
.hero-card { position: absolute; display: grid; gap: 5px; padding: 10px 13px; border: 1px solid var(--line-bright); background: rgba(19,22,32,.88); box-shadow: 0 15px 45px rgba(0,0,0,.35); backdrop-filter: blur(10px); }
.hero-card span { color: var(--lime); font-family: var(--mono); font-size: 11px; }.hero-card b { font-size: 11px; font-weight: 700; }
.hero-card-top { right: 4%; top: 19%; }.hero-card-bottom { left: 4%; bottom: 18%; }.hero-card-bottom span { color: #b9adff; }

.network-strip { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #0d0f17; }
.network-marquee { display: flex; width: max-content; gap: 30px; padding: 13px 0; animation: scroll 38s linear infinite; }
.marquee-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; color: var(--muted); font-family: var(--mono); font-size: 11px; }
.compact-glyph { width: 18px!important; height: 18px!important; font-size: 8px!important; }
@keyframes scroll { to { transform: translateX(-50%); } }

.studio-section { padding: 118px 0 88px; scroll-margin-top: 10px; }
.section-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 33px; }
.section-heading h2 { margin: 0; font-size: clamp(33px, 4vw, 50px); line-height: 1; }
.section-heading > p { max-width: 305px; margin: 0 0 2px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.studio-grid { display: grid; grid-template-columns: minmax(350px,.92fr) minmax(400px,1.08fr); gap: 18px; align-items: stretch; }
.builder-card, .source-card { min-width: 0; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(23,26,39,.95), rgba(15,17,26,.95)); }
.builder-card { padding: 29px; }
.card-heading { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 22px; }.card-heading h3 { margin: 0 0 4px; font-size: 17px; }.card-heading p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.step-number { color: var(--lime); font-family: var(--mono); font-size: 10px; line-height: 21px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 12px; }.field-wide { grid-column: 1 / -1; }
.field { display: grid; gap: 7px; color: var(--muted); font-size: 10px; font-weight: 700; }.field span { text-transform: uppercase; letter-spacing: .06em; }.field small { color: var(--faint); font-size: 9px; text-transform: none; letter-spacing: 0; }
.field input { width: 100%; min-width: 0; border: 1px solid var(--line); outline: 0; padding: 11px 12px; color: var(--ink); background: rgba(5,6,12,.55); font-family: var(--mono); font-size: 12px; transition: border-color .15s, background .15s; }.field input:focus { border-color: rgba(198,251,67,.7); background: rgba(198,251,67,.035); }.field input::placeholder { color: #575969; }
.features-heading { padding-top: 31px; border-top: 1px solid var(--line); margin-top: 32px; margin-bottom: 13px; }
.feature-list { display: grid; gap: 2px; }.feature-row { position: relative; display: flex; align-items: center; min-height: 54px; gap: 10px; padding: 7px 0; border-bottom: 1px solid rgba(245,241,236,.06); cursor: pointer; }.feature-row:last-child { border: 0; }.feature-row input { position: absolute; width: 1px; height: 1px; opacity: 0; }.feature-icon { display: grid; width: 23px; height: 23px; place-items: center; color: var(--lime); border: 1px solid rgba(198,251,67,.3); font-family: var(--mono); font-size: 14px; }.feature-copy { display: grid; flex: 1; gap: 2px; }.feature-copy b { font-size: 12px; }.feature-copy small { color: var(--muted); font-size: 10px; }
.switch { position: relative; width: 31px; height: 18px; border: 1px solid var(--line-bright); border-radius: 99px; transition: background .2s, border-color .2s; }.switch::after { position: absolute; width: 10px; height: 10px; top: 3px; left: 3px; border-radius: 50%; background: var(--faint); content: ""; transition: transform .2s, background .2s; }.feature-row input:checked + .switch { border-color: var(--lime); background: rgba(198,251,67,.15); }.feature-row input:checked + .switch::after { background: var(--lime); transform: translateX(13px); }
.network-picker { display: flex; align-items: end; justify-content: space-between; gap: 13px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }.picker-label { display: block; margin-bottom: 9px; color: var(--muted); font-family: var(--mono); font-size: 10px; text-transform: uppercase; }.selected-network { display: flex; align-items: center; gap: 9px; padding: 0; border: 0; background: none; color: var(--ink); text-align: left; }.chain-glyph { display: grid; flex: 0 0 auto; width: 32px; height: 32px; place-items: center; overflow: hidden; border-radius: 50%; color: color-mix(in srgb, var(--chain-accent, var(--lime)) 75%, white); background: color-mix(in srgb, var(--chain-accent, var(--lime)) 20%, transparent); border: 1px solid color-mix(in srgb, var(--chain-accent, var(--lime)) 45%, transparent); font-family: var(--mono); font-size: 10px; font-weight: 500; }.selected-network b, .selected-network small { display: block; }.selected-network b { font-size: 11px; }.selected-network small { margin-top: 3px; color: var(--muted); font-family: var(--mono); font-size: 9px; }.chevron { margin-left: 1px; color: var(--muted); }.network-link { flex: 0 0 auto; padding: 0 0 4px; border: 0; border-bottom: 1px solid var(--line-bright); color: var(--muted); background: none; font-size: 10px; font-weight: 700; }.network-link:hover { color: var(--lime); }

.source-card { display: flex; flex-direction: column; min-height: 610px; }.source-header { display: flex; justify-content: space-between; align-items: start; gap: 15px; padding: 27px 29px 21px; border-bottom: 1px solid var(--line); }.source-file { color: var(--lime); font-family: var(--mono); font-size: 10px; }.source-header h3 { margin: 7px 0 0; font-size: 18px; }.source-status { display: inline-flex; gap: 7px; align-items: center; color: var(--muted); font-family: var(--mono); font-size: 9px; }.source-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); }.source-preview { flex: 1; max-height: 520px; margin: 0; overflow: auto; padding: 21px 25px; color: #c9cbd1; background: rgba(3,4,8,.55); font-family: var(--mono); font-size: 10px; line-height: 1.7; tab-size: 2; white-space: pre; }.source-preview::-webkit-scrollbar { width: 8px; height: 8px; }.source-preview::-webkit-scrollbar-thumb { background: #343743; }.source-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 20px 17px 28px; border-top: 1px solid var(--line); }.source-footer p { margin: 0; color: var(--muted); font-size: 10px; }.source-footer p span { color: var(--lime); }.source-footer > div { display: flex; align-items: center; gap: 8px; }.icon-button { padding: 9px 9px; color: var(--muted); font-size: 10px; font-weight: 700; }.icon-button:hover { color: var(--lime); }

.principles { padding: 85px 0 100px; border-top: 1px solid var(--line); }.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }.principle-grid article { min-height: 205px; padding: 24px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }.principle-grid article > span { color: var(--lime); font-family: var(--mono); font-size: 10px; }.principle-grid h3 { margin: 34px 0 8px; font-size: 16px; }.principle-grid p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }

.networks-section { padding: 28px 0 95px; scroll-margin-top: 10px; }.networks-heading { align-items: center; }.outline-button { padding: 11px 13px; border: 1px solid var(--line-bright); font-size: 11px; font-weight: 800; }.outline-button:hover { border-color: var(--lime); color: var(--lime); }.network-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }.search-field { display: flex; align-items: center; width: min(380px, 100%); gap: 9px; padding: 0 11px; border: 1px solid var(--line); background: rgba(16,18,28,.72); color: var(--muted); }.search-field:focus-within { border-color: var(--lime); }.search-field span { font-family: var(--mono); font-size: 17px; }.search-field input { width: 100%; border: 0; outline: 0; padding: 11px 0; color: var(--ink); background: none; font-size: 11px; }.search-field input::placeholder { color: var(--faint); }.filter-row { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }.filter-button { padding: 7px 9px; border: 1px solid var(--line); color: var(--muted); background: transparent; font-family: var(--mono); font-size: 9px; }.filter-button:hover, .filter-button.is-active { border-color: rgba(198,251,67,.6); color: var(--lime); background: rgba(198,251,67,.06); }
.network-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }.network-card { display: flex; min-width: 0; min-height: 168px; flex-direction: column; justify-content: space-between; padding: 15px; border: 1px solid var(--line); background: rgba(15,17,27,.66); transition: transform .18s, border-color .18s, background .18s; }.network-card:hover { z-index: 1; border-color: color-mix(in srgb, var(--chain-accent) 65%, white); background: rgba(28,31,44,.87); transform: translateY(-3px); }.network-card.is-selected { border-color: var(--lime); box-shadow: inset 0 0 0 1px rgba(198,251,67,.11); }.network-card-top { display: flex; justify-content: space-between; align-items: start; }.network-card-top > span:last-child { color: var(--muted); font-family: var(--mono); font-size: 9px; text-transform: uppercase; }.network-card h3 { margin: 0 0 5px; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }.network-card p { margin: 0; color: var(--muted); font-family: var(--mono); font-size: 9px; }.network-card p i { color: var(--faint); font-style: normal; }.network-card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 9px; }.network-card-bottom a, .network-card-bottom > span { color: var(--muted); font-size: 9px; }.network-card-bottom a:hover { color: var(--lime); }.network-card-bottom button { padding: 5px 7px; border: 1px solid var(--line-bright); color: var(--ink); background: transparent; font-family: var(--mono); font-size: 9px; }.network-card-bottom button:hover { border-color: var(--lime); color: var(--lime); }.catalog-note { max-width: 600px; margin: 20px 0 0; color: var(--faint); font-size: 10px; line-height: 1.65; }.empty-state { display: grid; min-height: 155px; grid-column: 1 / -1; place-items: center; align-content: center; gap: 6px; border: 1px dashed var(--line-bright); color: var(--muted); font-size: 12px; }.empty-state b { color: var(--ink); }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 25px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }.site-footer p { margin: 0; }.site-footer > span { font-family: var(--mono); color: var(--faint); font-size: 9px; }

dialog { width: min(680px, calc(100% - 30px)); max-height: min(720px, calc(100vh - 30px)); padding: 0; border: 1px solid var(--line-bright); color: var(--ink); background: #11131e; box-shadow: 0 24px 100px rgba(0,0,0,.7); }.network-dialog::backdrop, .custom-chain-dialog::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(3px); }.dialog-header { display: flex; align-items: start; justify-content: space-between; padding: 27px 28px 16px; border-bottom: 1px solid var(--line); }.dialog-header .eyebrow { margin-bottom: 11px; }.dialog-header h2 { margin: 0; font-size: 27px; }.close-button { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid var(--line); color: var(--muted); background: transparent; font-size: 21px; line-height: 1; }.close-button:hover { color: var(--lime); border-color: var(--lime); }.dialog-search { width: auto; margin: 17px 28px; }.dialog-network-list { display: grid; max-height: 480px; overflow: auto; padding: 0 28px 25px; }.dialog-network { display: flex; align-items: center; gap: 11px; width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); background: transparent; text-align: left; }.dialog-network:hover, .dialog-network.is-selected { color: var(--lime); }.dialog-network > span:nth-child(2) { display: grid; gap: 3px; flex: 1; }.dialog-network b { font-size: 12px; }.dialog-network small { color: var(--muted); font-family: var(--mono); font-size: 9px; }.dialog-network-action { color: var(--muted); font-family: var(--mono); font-size: 9px; }.dialog-network.is-selected .dialog-network-action { color: var(--lime); }
.custom-chain-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 13px; padding: 25px 28px 28px; }.dialog-actions { display: flex; grid-column: 1 / -1; justify-content: flex-end; align-items: center; gap: 17px; padding-top: 7px; }
.toast { position: fixed; z-index: 60; right: 20px; bottom: 20px; max-width: min(390px, calc(100% - 40px)); padding: 12px 15px; border: 1px solid rgba(198,251,67,.4); color: var(--ink); background: #1b2111; box-shadow: 0 12px 40px rgba(0,0,0,.4); font-size: 11px; line-height: 1.5; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .2s, transform .2s; }.toast.visible { opacity: 1; transform: translateY(0); }.toast[data-kind="error"] { border-color: rgba(255,108,108,.65); background: #281417; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 55px; }.hero-art { height: 300px; width: min(500px, 100%); margin: 10px auto 0; }.studio-grid { grid-template-columns: 1fr; }.source-card { min-height: 570px; }.network-grid { grid-template-columns: repeat(3, 1fr); }.network-controls { display: grid; }.filter-row { justify-content: flex-start; }
}

@media (max-width: 650px) {
  .shell { width: min(100% - 30px, 1180px); }.site-header { min-height: 68px; }.site-header nav { display: none; }.wallet-button { padding: 0 10px; font-size: 10px; }.hero { min-height: 0; padding: 47px 0 26px; }.hero-art { height: 230px; min-width: 0; }.hero-core { width: 84px; height: 84px; }.hero-core span { width: 55px; height: 55px; font-size: 28px; }.orbit-one { width: 255px; height: 125px; }.orbit-two { width: 185px; height: 245px; }.hero-card { padding: 8px 9px; }.hero-card b, .hero-card span { font-size: 9px; }.hero-card-top { right: 0; top: 17%; }.hero-card-bottom { left: 0; bottom: 13%; }.hero-actions { gap: 14px; }.studio-section { padding: 75px 0 58px; }.section-heading { display: block; }.section-heading > p { margin-top: 16px; }.builder-card { padding: 22px 18px; }.field-grid { gap: 13px 9px; }.feature-copy small { max-width: 220px; }.network-picker { align-items: start; flex-direction: column; }.network-link { align-self: flex-end; margin-top: -26px; }.source-header { padding: 22px 19px 17px; }.source-preview { padding: 17px; font-size: 9px; }.source-footer { align-items: flex-start; flex-direction: column; padding: 14px 16px; }.source-footer > div { align-self: flex-end; }.principles { padding: 58px 0 64px; }.principle-grid { grid-template-columns: 1fr; }.principle-grid article { min-height: 150px; }.principle-grid h3 { margin-top: 23px; }.networks-section { padding-bottom: 63px; }.networks-heading { display: flex; align-items: end; }.outline-button { flex: 0 0 auto; font-size: 9px; }.network-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }.network-card { min-height: 155px; padding: 12px; }.network-card h3 { font-size: 11px; }.network-card-bottom { align-items: start; flex-direction: column; gap: 8px; }.site-footer { flex-wrap: wrap; }.site-footer > span { display: none; }.custom-chain-form { grid-template-columns: 1fr; padding: 20px; }.dialog-header { padding: 21px 20px 15px; }.dialog-search { margin: 15px 20px; }.dialog-network-list { padding: 0 20px 20px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }.network-marquee { animation: none; }.primary-button, .network-card, .toast { transition: none; } }
