:root {
  color-scheme: dark;
  --ink: #07100e;
  --panel: #0d1815;
  --panel-2: #13211d;
  --line: #263b34;
  --paper: #f4f7f5;
  --muted: #93a39e;
  --green: #32e59c;
  --green-dark: #0d5d43;
  --coral: #ff765f;
  --white: #fff;
  --radius: 8px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; letter-spacing: 0; }
button, .button { cursor: pointer; }
.site-body { background: var(--ink); color: var(--white); }
.site-nav { position: absolute; z-index: 10; inset: 0 0 auto; height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(22px, 5vw, 76px); border-bottom: 1px solid rgba(255,255,255,.14); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 15px; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--green); color: var(--green); font-weight: 800; }
.site-nav nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.site-nav nav a:hover { color: var(--green); }
.site-nav .nav-cta { padding: 10px 15px; border: 1px solid rgba(255,255,255,.5); }
.language-picker { display: inline-flex; align-items: center; gap: 5px; color: #d7e3df; }
.language-picker select { width: 68px; border: 0; border-bottom: 1px solid #63736e; border-radius: 0; padding: 7px 2px; background: transparent; color: #fff; font-size: 12px; font-weight: 750; cursor: pointer; }
.language-picker option { background: #101b18; color: #fff; }
.hero-stage { position: relative; min-height: min(850px, 92vh); display: flex; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: rgba(2,10,8,.24); box-shadow: inset 62vw 0 150px rgba(2,10,8,.82); }
.hero-copy { position: relative; z-index: 2; width: min(680px, 86vw); margin-left: clamp(24px, 8vw, 132px); padding-top: 66px; }
.eyebrow { margin: 0 0 18px; color: var(--green); text-transform: uppercase; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.eyebrow.dark { color: var(--green-dark); }
.hero-copy h1 { margin: 0; max-width: 650px; font-size: 88px; line-height: .92; letter-spacing: 0; }
.hero-lead { max-width: 610px; margin: 28px 0; color: #d5e1dd; font-size: 22px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 20px; border: 1px solid transparent; border-radius: 4px; font-weight: 750; }
.button.primary { background: var(--green); color: #04110c; }
.button.secondary { border-color: #71827c; background: rgba(5,13,11,.72); color: #fff; }
.button.dark { background: var(--ink); color: #fff; }
.button:hover { transform: translateY(-1px); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 0; margin-top: 46px; color: #c2d0cb; font-size: 12px; text-transform: uppercase; }
.hero-proof span { padding: 0 18px; border-left: 1px solid #5a6a65; }
.hero-proof span:first-child { padding-left: 0; border-left: 0; }
.section-inner { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.signal-band { background: var(--paper); color: #12201c; padding: 92px 0 104px; }
.signal-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 90px; align-items: end; }
.signal-layout h2, .workflow-copy h2, .cta-layout h2 { margin: 0; font-size: 52px; line-height: 1.04; letter-spacing: 0; }
.signal-layout > p { margin: 0; color: #53635e; font-size: 18px; line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 78px; border-top: 1px solid #bfc9c5; }
.feature-grid article { padding: 28px 24px 0 0; border-right: 1px solid #cdd5d2; }
.feature-grid article:not(:first-child) { padding-left: 24px; }
.feature-grid article:last-child { border-right: 0; }
.feature-index { color: var(--coral); font-weight: 800; font-size: 12px; }
.feature-grid h3 { margin: 44px 0 12px; font-size: 20px; }
.feature-grid p { margin: 0; color: #66746f; line-height: 1.65; }
.workflow-band { padding: 110px 0; background: #0b1512; }
.workflow-layout { display: grid; grid-template-columns: 1fr 480px; gap: clamp(50px, 8vw, 130px); align-items: center; }
.steps { list-style: none; padding: 0; margin: 52px 0 0; counter-reset: flow; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 170px 1fr; gap: 30px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.steps span { color: var(--muted); line-height: 1.55; }
.live-panel { border: 1px solid #355047; border-radius: var(--radius); background: #101e1a; padding: 22px; box-shadow: 0 32px 70px rgba(0,0,0,.28); }
.live-panel-head { display: flex; align-items: center; gap: 8px; color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.live-panel-head span:last-child { margin-left: auto; color: var(--muted); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.trade-title { display: flex; align-items: center; gap: 12px; padding: 32px 0 24px; }
.token-orb { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #062118; font-weight: 900; }
.trade-title div { display: grid; }
.trade-title small { color: var(--muted); margin-top: 2px; }
.buy-label { margin-left: auto; color: var(--green); }
.live-panel dl { margin: 0; }
.live-panel dl div { display: flex; justify-content: space-between; padding: 13px 0; border-top: 1px solid var(--line); }
.live-panel dt { color: var(--muted); }
.live-panel dd { margin: 0; font-weight: 750; }
.post-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 16px; }
.post-links span { padding: 10px 4px; background: #1a2c26; text-align: center; font-size: 12px; border-radius: 4px; }
.cta-band { background: var(--green); color: #092018; padding: 72px 0; }
.cta-layout { display: flex; align-items: center; justify-content: space-between; gap: 70px; }
.cta-layout h2 { max-width: 780px; }
.site-footer { min-height: 100px; padding: 0 clamp(24px, 5vw, 76px); display: flex; align-items: center; gap: 28px; color: var(--muted); font-size: 13px; }
.site-footer span:first-child { color: #fff; font-weight: 800; }
.site-footer .footer-meta { margin-left: auto; white-space: nowrap; }

.auth-body, .dashboard-body { min-height: 100vh; background: #eef3f0; color: #14211d; }
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(360px, 44%) 1fr; }
.auth-panel { display: flex; flex-direction: column; padding: 32px clamp(28px, 6vw, 84px); background: #fff; }
.auth-panel .brand { color: #13211d; }
.auth-form { width: min(430px, 100%); margin: auto 0; }
.auth-form h1 { margin: 0 0 12px; font-size: 48px; line-height: 1; }
.auth-form > p { color: #63716c; line-height: 1.6; margin-bottom: 32px; }
.auth-form label, .field { display: grid; gap: 8px; margin-bottom: 16px; font-size: 13px; font-weight: 700; }
.auth-form input, .field input, .field select, .field textarea { width: 100%; border: 1px solid #bdc9c5; border-radius: 5px; padding: 13px 14px; background: #fff; color: #14211d; outline: none; }
.auth-form input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-dark); box-shadow: 0 0 0 3px rgba(13,93,67,.1); }
.wide { width: 100%; }
.auth-help { margin-top: 24px; padding-top: 22px; border-top: 1px solid #dbe3e0; color: #65736e; font-size: 13px; line-height: 1.6; }
.auth-step { display: none; }
.auth-step.active { display: block; }
.requested-account { margin-bottom: 18px; padding: 12px 14px; border-left: 3px solid var(--green-dark); background: #eef6f2; color: #53635d; font-size: 13px; }
.auth-back { width: 100%; margin-top: 10px; padding: 9px; border: 0; background: transparent; color: var(--green-dark); font-weight: 750; }
.auth-visual { position: relative; overflow: hidden; background: #07100e; }
.auth-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 63% center; opacity: .88; }
.auth-caption { position: absolute; left: 48px; right: 48px; bottom: 42px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.35); color: #fff; }
.auth-caption strong { display: block; font-size: 24px; }
.auth-caption span { color: #c2d0cb; }
.form-status { min-height: 22px; margin-top: 12px; color: #b42d1b; font-size: 13px; }

.dashboard-layout { min-height: 100vh; display: grid; grid-template-columns: 250px minmax(0, 1fr); }
.dashboard-sidebar { position: sticky; top: 0; height: 100vh; padding: 26px 20px; background: var(--ink); color: #fff; display: flex; flex-direction: column; }
.dashboard-sidebar .brand { padding: 0 8px 28px; border-bottom: 1px solid var(--line); }
.dashboard-nav { display: grid; gap: 5px; margin-top: 24px; }
.dashboard-nav button { min-height: 42px; border: 0; border-radius: 5px; background: transparent; color: #aebdb8; text-align: left; padding: 0 12px; font-weight: 650; }
.dashboard-nav button:hover, .dashboard-nav button.active { background: #172722; color: #fff; }
.dashboard-nav button.active { box-shadow: inset 3px 0 var(--green); }
.sidebar-foot { margin-top: auto; border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 12px; }
.sidebar-foot small { color: var(--muted); overflow-wrap: anywhere; }
.sidebar-foot button { border: 1px solid #496057; border-radius: 5px; background: transparent; color: #fff; padding: 10px; }
.dashboard-main { padding: 32px clamp(22px, 4vw, 58px) 60px; overflow: hidden; }
.dashboard-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.dashboard-top h1 { margin: 0; font-size: 42px; }
.dashboard-top p { margin: 7px 0 0; color: #68766f; }
.top-actions { display: flex; gap: 8px; }
.ui-button { min-height: 42px; border: 1px solid #aebdb8; border-radius: 5px; padding: 0 15px; background: #fff; color: #17241f; font-weight: 750; }
.ui-button.primary { background: #11694c; border-color: #11694c; color: #fff; }
.ui-button.danger { color: #a9281a; border-color: #e3b5ae; }
.dashboard-panel { display: none; }
.dashboard-panel.active { display: block; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid #cbd6d2; background: #fff; border-radius: var(--radius); overflow: hidden; }
.metric { min-height: 132px; padding: 24px; border-right: 1px solid #dbe3e0; }
.metric:last-child { border-right: 0; }
.metric span { color: #6b7a74; font-size: 13px; }
.metric strong { display: block; margin-top: 18px; font-size: 34px; }
.content-section { margin-top: 26px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.section-head h2 { margin: 0; font-size: 21px; }
.token-list, .destination-list { display: grid; gap: 10px; }
.token-row, .destination-row { display: grid; grid-template-columns: minmax(180px, 1fr) auto auto auto; align-items: center; gap: 16px; padding: 16px 18px; background: #fff; border: 1px solid #d2ddd9; border-radius: 6px; }
.token-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.token-id img, .token-fallback { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; background: #16352b; color: #fff; display: grid; place-items: center; font-weight: 850; }
.token-id strong, .token-id small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.token-id small { color: #71807a; margin-top: 3px; }
.token-row > span { color: #61706a; font-size: 13px; }
.state { font-size: 12px; font-weight: 800; color: #197453; }
.state.off { color: #a74335; }
.empty { padding: 42px 20px; border: 1px dashed #b8c6c1; border-radius: 6px; text-align: center; color: #6a7973; }
.editor { background: #fff; border: 1px solid #ced9d5; border-radius: var(--radius); padding: 24px; }
.editor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.editor-grid .field { margin: 0; }
.field.full { grid-column: 1 / -1; }
.switch-line { display: flex; flex-wrap: wrap; gap: 22px; padding: 14px 0; }
.switch-line label, .check-grid label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 8px 0; }
.editor-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 24px; padding-top: 18px; border-top: 1px solid #dbe3e0; }
.pool-results { display: grid; gap: 8px; margin: 14px 0; }
.pool-option { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; padding: 12px; border: 1px solid #d0dbd7; border-radius: 5px; }
.pool-option small { display: block; color: #718079; overflow-wrap: anywhere; margin-top: 3px; }
.upload-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.upload-box { position: relative; padding: 15px; border: 1px dashed #a9b9b3; border-radius: 5px; text-align: center; font-size: 13px; }
.upload-box input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.toast-site { position: fixed; z-index: 50; right: 20px; top: 20px; max-width: min(390px, calc(100vw - 40px)); padding: 12px 16px; border-radius: 5px; background: #12231d; color: #fff; box-shadow: 0 15px 40px rgba(0,0,0,.22); transform: translateY(-14px); opacity: 0; pointer-events: none; transition: .2s; }
.toast-site.show { transform: translateY(0); opacity: 1; }
.toast-site.error { background: #8e3024; }

@media (max-width: 980px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid article:nth-child(2) { border-right: 0; }
  .workflow-layout { grid-template-columns: 1fr; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid #dbe3e0; }
}
@media (max-width: 760px) {
  .site-nav nav a:not(.nav-cta) { display: none; }
  .site-nav { padding: 0 14px; }
  .site-nav .brand span:last-child { display: none; }
  .site-nav nav { gap: 9px; }
  .site-nav .nav-cta { padding: 9px 10px; font-size: 12px; }
  .hero-stage { min-height: 88vh; align-items: flex-end; }
  .hero-media { object-position: 66% center; }
  .hero-shade { background: rgba(2,10,8,.48); box-shadow: inset 0 -55vh 110px rgba(2,10,8,.88); }
  .hero-copy { margin: 0; padding: 120px 24px 52px; width: 100%; }
  .hero-copy h1 { font-size: 54px; }
  .hero-lead { font-size: 18px; }
  .signal-layout h2, .workflow-copy h2, .cta-layout h2 { font-size: 38px; }
  .auth-form h1 { font-size: 38px; }
  .dashboard-top h1 { font-size: 32px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 10px; padding-top: 28px; padding-bottom: 28px; }
  .site-footer .footer-meta { margin-left: 0; white-space: normal; }
  .signal-layout, .cta-layout { display: grid; grid-template-columns: 1fr; gap: 30px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article, .feature-grid article:not(:first-child) { padding: 24px 0; border-right: 0; border-bottom: 1px solid #cdd5d2; }
  .feature-grid h3 { margin-top: 22px; }
  .steps li { grid-template-columns: 1fr; gap: 8px; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-sidebar { position: static; height: auto; padding: 16px; }
  .dashboard-sidebar .brand { padding-bottom: 14px; }
  .dashboard-nav { grid-template-columns: repeat(4, 1fr); margin-top: 14px; }
  .dashboard-nav button { text-align: center; padding: 0 5px; font-size: 12px; }
  .sidebar-foot { display: none; }
  .dashboard-main { padding: 24px 16px 50px; }
  .dashboard-top { align-items: flex-start; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric { padding: 18px; }
  .token-row { grid-template-columns: 1fr auto; }
  .token-row > span:nth-of-type(1) { display: none; }
  .editor-grid, .upload-grid { grid-template-columns: 1fr; }
}
