:root {
  color-scheme: dark;
  --bg: #050403;
  --bg-2: #0c0907;
  --panel: #12100d;
  --panel-2: #19140f;
  --panel-3: #241c14;
  --line: #34281d;
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f8f1e8;
  --muted: #b8aa99;
  --dim: #817261;
  --accent: #f59e2e;
  --accent-2: #ffbd58;
  --accent-3: #d86f16;
  --positive: #22c58b;
  --negative: #ef5d5d;
  --warning: #f0c260;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  --radius-sm: 6px;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  letter-spacing: 0;
}

body,
button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  border: 0;
}

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.logo {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  min-width: 0;
}

.logo-mark,
.brand-mark {
  align-items: center;
  background: #080604;
  border: 1px solid rgba(245, 158, 46, 0.32);
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  line-height: 1;
  width: 38px;
}

.brand-mark img {
  display: block;
  height: 38px;
  width: 38px;
}

.logo-text {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.logo-title {
  color: var(--text);
  font-size: 15px;
  font-weight: 760;
  white-space: nowrap;
}

.logo-subtitle {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.icon {
  display: inline-block;
  height: 18px;
  width: 18px;
}

.site-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(245, 158, 46, 0.14), transparent 30%),
    radial-gradient(circle at 82% 0%, rgba(255, 189, 88, 0.08), transparent 31%),
    var(--bg);
}

.site-header {
  backdrop-filter: blur(18px);
  background: rgba(7, 8, 8, 0.82);
  border-bottom: 1px solid var(--line-soft);
  left: 0;
  position: sticky;
  right: 0;
  top: 0;
  z-index: 40;
}

.site-header-inner {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  min-height: 74px;
  padding: 0 22px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 4px;
}

.site-nav a {
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  padding: 9px 11px;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.nav-toggle {
  align-items: center;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--text);
  display: none;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.site-actions {
  align-items: center;
  display: flex;
  gap: 10px;
}

.button,
.ghost-button,
.text-button,
.mini-button {
  align-items: center;
  border-radius: 7px;
  display: inline-flex;
  font-weight: 720;
  gap: 8px;
  justify-content: center;
  min-height: 42px;
  white-space: nowrap;
}

.button {
  background: var(--accent);
  color: #130c06;
  padding: 0 16px;
}

.button:hover {
  background: #df8620;
}

.ghost-button {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 0 15px;
}

.ghost-button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.text-button {
  background: transparent;
  color: var(--muted);
  min-height: 36px;
  padding: 0 8px;
}

.text-button:hover {
  color: var(--text);
}

.button.is-disabled {
  background: rgba(255, 255, 255, 0.08);
  color: var(--dim);
  cursor: not-allowed;
}

.hero {
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(5, 4, 3, 0.98) 0%, rgba(5, 4, 3, 0.84) 45%, rgba(5, 4, 3, 0.45) 100%),
    linear-gradient(180deg, rgba(5, 4, 3, 0.12), rgba(5, 4, 3, 0.98));
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.hero-visual {
  inset: 0;
  opacity: 0.96;
  position: absolute;
}

.hero-market-wall {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, minmax(190px, 1fr));
  left: 36%;
  min-width: 960px;
  position: absolute;
  top: 14%;
  transform: rotate(-3deg);
}

.hero-tile {
  background: rgba(18, 16, 13, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-height: 124px;
  overflow: hidden;
  padding: 16px;
}

.hero-tile strong,
.hero-tile span {
  display: block;
}

.hero-tile strong {
  font-size: 18px;
  margin-bottom: 7px;
}

.hero-tile span {
  color: var(--muted);
  font-size: 13px;
}

.tile-line {
  background: linear-gradient(90deg, var(--accent), rgba(255, 189, 88, 0.18));
  border-radius: 2px;
  height: 3px;
  margin-top: 18px;
  width: 78%;
}

.hero-candle-field {
  bottom: 10%;
  display: flex;
  gap: 10px;
  height: 220px;
  opacity: 0.74;
  position: absolute;
  right: 8%;
}

.hero-candle {
  align-self: center;
  background: var(--positive);
  border-radius: 2px;
  position: relative;
  width: 12px;
}

.hero-candle::before {
  background: currentColor;
  content: "";
  height: 48px;
  left: 5px;
  opacity: 0.72;
  position: absolute;
  top: -18px;
  width: 2px;
}

.hero-candle.is-red {
  background: var(--negative);
  color: var(--negative);
}

.hero-candle.is-green {
  color: var(--positive);
}

.hero-content {
  display: grid;
  gap: 24px;
  margin: 0 auto;
  max-width: var(--max);
  min-height: 0;
  padding: 8px 22px 80px;
  position: relative;
  z-index: 2;
}

.hero-copy {
  align-self: start;
  max-width: 720px;
}

.eyebrow {
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 760;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 66px;
  line-height: 0.96;
  margin: 0;
  max-width: 680px;
}

.hero h2 {
  color: #dfe6e2;
  font-size: 24px;
  font-weight: 660;
  margin: 20px 0 0;
}

.hero p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin: 18px 0 0;
  max-width: 640px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-note,
.inline-note,
.status-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.hero-note {
  border-left: 3px solid var(--accent);
  margin-top: 24px;
  max-width: 660px;
  padding-left: 14px;
}

.status-note {
  display: none;
  margin-top: 10px;
}

.status-note.is-visible {
  display: block;
}

.section {
  border-top: 1px solid var(--line-soft);
  padding: 86px 22px;
}

.section.alt {
  background: rgba(255, 255, 255, 0.025);
}

.section-inner {
  margin: 0 auto;
  max-width: var(--max);
}

.section-heading {
  align-items: end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 28px;
}

.section-heading h2 {
  font-size: 34px;
  line-height: 1.1;
  margin: 0;
}

.section-heading p {
  color: var(--muted);
  line-height: 1.65;
  margin: 10px 0 0;
  max-width: 680px;
}

.feature-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.feature-card,
.preview-card,
.legal-card,
.contact-panel,
.market-table-wrap,
.info-panel,
.policy-block {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}

.feature-card {
  min-height: 170px;
  padding: 18px;
}

.feature-icon {
  align-items: center;
  background: rgba(245, 158, 46, 0.13);
  border: 1px solid rgba(245, 158, 46, 0.34);
  border-radius: 7px;
  color: var(--accent);
  display: inline-flex;
  height: 38px;
  justify-content: center;
  margin-bottom: 18px;
  width: 38px;
}

.feature-card h3,
.preview-card h3,
.legal-card h3,
.policy-block h2 {
  font-size: 17px;
  margin: 0 0 9px;
}

.feature-card p,
.preview-card p,
.legal-card p,
.policy-block p,
.policy-block li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.preview-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.preview-card {
  display: grid;
  gap: 14px;
  min-height: 286px;
  padding: 14px;
}

.screen-shot {
  background: #0b0907;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  min-height: 168px;
  overflow: hidden;
  padding: 12px;
  position: relative;
}

.screen-shot.app-shot {
  aspect-ratio: 390 / 844;
  display: block;
  min-height: 0;
  padding: 0;
}

.screen-shot.app-shot img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  width: 100%;
}

.screen-shot::after {
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.34));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.screen-shot.app-shot::after {
  display: none;
}

.mini-screen-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.mini-screen-line,
.mini-screen-pill,
.mini-screen-bar,
.mini-screen-candle {
  border-radius: 999px;
}

.mini-screen-line {
  background: rgba(255, 255, 255, 0.84);
  height: 8px;
  width: 68px;
}

.mini-screen-pill {
  background: rgba(245, 158, 46, 0.28);
  height: 16px;
  width: 44px;
}

.mini-screen-stack {
  display: grid;
  gap: 7px;
  margin-top: 20px;
}

.mini-screen-row {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: 22px 1fr 52px;
}

.mini-dot {
  background: var(--accent-3);
  border-radius: 50%;
  height: 22px;
  width: 22px;
}

.mini-screen-bar {
  background: rgba(255, 255, 255, 0.16);
  height: 8px;
}

.mini-screen-value {
  background: rgba(34, 197, 139, 0.32);
  border-radius: 999px;
  height: 8px;
}

.mini-chart {
  align-items: end;
  display: flex;
  gap: 5px;
  height: 92px;
  margin-top: 18px;
}

.mini-screen-candle {
  background: var(--positive);
  flex: 1;
  min-width: 5px;
}

.mini-screen-candle:nth-child(2n) {
  background: var(--negative);
}

.market-table-wrap {
  overflow-x: auto;
}

.market-live-badge {
  align-items: center;
  background: rgba(245, 158, 46, 0.12);
  border: 1px solid rgba(245, 158, 46, 0.34);
  border-radius: 999px;
  color: var(--accent-2);
  display: inline-flex;
  font-size: 12px;
  font-weight: 760;
  min-height: 32px;
  padding: 0 12px;
  white-space: nowrap;
}

.market-live-badge.is-offline {
  background: rgba(255, 255, 255, 0.055);
  border-color: var(--line-soft);
  color: var(--muted);
}

.market-table {
  border-collapse: collapse;
  min-width: 680px;
  width: 100%;
}

.market-table th,
.market-table td {
  border-bottom: 1px solid var(--line-soft);
  padding: 16px 18px;
  text-align: left;
}

.market-table th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.market-table td {
  color: var(--text);
  font-size: 14px;
}

.market-table tbody tr {
  cursor: pointer;
}

.market-table tbody tr:hover {
  background: rgba(245, 158, 46, 0.055);
}

.market-table tbody tr td:last-child {
  color: var(--accent-2);
  font-weight: 760;
}

.site-pair-modal-backdrop {
  align-items: center;
  background: rgba(0, 0, 0, 0.78);
  display: none;
  inset: 0;
  justify-content: center;
  overflow-y: auto;
  padding: 24px;
  position: fixed;
  z-index: 90;
}

.site-pair-modal-backdrop.is-open {
  display: flex;
}

.site-pair-modal {
  background: #080604;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  max-height: calc(100vh - 48px);
  max-width: 1060px;
  overflow-y: auto;
  width: 100%;
}

.site-pair-modal-header {
  align-items: start;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 22px;
}

.site-pair-modal-header h2 {
  font-size: 30px;
  line-height: 1;
  margin: 0;
}

.site-pair-modal-body {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.site-pair-summary {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
}

.site-pair-price {
  display: grid;
  gap: 8px;
}

.site-pair-price strong {
  font-size: 34px;
  line-height: 1;
}

.site-timeframes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-pair-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
}

.site-market-panel {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 16px;
}

.site-market-panel h3 {
  font-size: 17px;
  margin: 0 0 14px;
}

.site-candle-chart {
  background: #0b0907;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  height: 320px;
  overflow: hidden;
  width: 100%;
}

.site-candle-chart svg {
  display: block;
  height: 100%;
  width: 100%;
}

.site-stats-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.site-side-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-side-title {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.site-side-title span {
  color: var(--muted);
  font-size: 12px;
}

.site-preview-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-preview-note {
  background: rgba(240, 194, 96, 0.08);
  border: 1px solid rgba(240, 194, 96, 0.22);
  border-radius: 7px;
  color: #dfc984;
  display: none;
  font-size: 13px;
  line-height: 1.5;
  padding: 11px 12px;
}

.site-preview-note.is-visible {
  display: block;
}

.positive {
  color: var(--positive);
}

.negative {
  color: var(--negative);
}

.about-grid,
.legal-grid,
.contact-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1.2fr 0.8fr;
}

.info-panel,
.legal-card,
.contact-panel {
  padding: 22px;
}

.info-panel p,
.legal-card p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 14px;
}

.statement-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.statement {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  color: #dfe6e2;
  font-size: 14px;
  padding: 12px 13px;
}

.legal-list,
.contact-list {
  color: var(--muted);
  display: grid;
  gap: 8px;
  font-size: 14px;
  line-height: 1.55;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 7px;
}

.field span {
  color: var(--muted);
  font-size: 13px;
}

.field input,
.field textarea,
.search-field input,
.pair-select select {
  background: #0a0806;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--text);
  min-height: 44px;
  padding: 0 12px;
}

.field textarea {
  min-height: 116px;
  padding: 12px;
  resize: vertical;
}

.form-status {
  color: var(--positive);
  display: none;
  font-size: 14px;
}

.form-status.is-visible {
  display: block;
}

.site-footer {
  background: #050606;
  border-top: 1px solid var(--line-soft);
  padding: 36px 22px;
}

.footer-inner {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr 1fr;
  margin: 0 auto;
  max-width: var(--max);
}

.footer-copy,
.footer-notice {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.footer-links a {
  color: var(--muted);
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--text);
}

.legal-page-main {
  margin: 0 auto;
  max-width: 980px;
  padding: 58px 22px 84px;
}

.logo-lab-main {
  margin: 0 auto;
  max-width: 1180px;
  padding: 58px 22px 84px;
}

.logo-lab-hero {
  max-width: 760px;
  padding: 20px 0 34px;
}

.logo-lab-hero h1 {
  font-size: 48px;
  line-height: 1.02;
  margin: 0;
}

.logo-lab-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin: 16px 0 0;
}

.logo-options-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.logo-option-card {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  display: grid;
  gap: 18px;
  min-height: 300px;
  padding: 18px;
}

.logo-display {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(245, 158, 46, 0.08), transparent 55%),
    #080604;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  justify-items: center;
  min-height: 172px;
  padding: 18px;
}

.logo-option-mark {
  flex: 0 0 auto;
  height: 104px;
  width: 104px;
}

.logo-meta h2 {
  font-size: 19px;
  margin: 0 0 8px;
}

.logo-meta p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.legal-page-main h1 {
  font-size: 42px;
  margin: 0 0 14px;
}

.legal-page-main > p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 28px;
}

.policy-stack {
  display: grid;
  gap: 18px;
}

.policy-block {
  padding: 24px;
  scroll-margin-top: 96px;
}

.policy-block ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 20px;
}

.app-page {
  align-items: center;
  background:
    radial-gradient(circle at 15% 5%, rgba(245, 158, 46, 0.14), transparent 31%),
    radial-gradient(circle at 86% 90%, rgba(255, 189, 88, 0.08), transparent 28%),
    #040302;
  display: grid;
  justify-items: center;
  overflow: hidden;
  padding: 18px;
}

.mobile-shell {
  background: #080b0a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: 1fr 78px;
  height: min(910px, calc(100vh - 36px));
  max-height: 910px;
  max-width: 430px;
  min-height: 620px;
  overflow: hidden;
  position: relative;
  width: min(430px, calc(100vw - 36px));
}

.app-root {
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.app-screen {
  height: 100%;
  overflow-y: auto;
  padding: 24px 18px 22px;
  scrollbar-width: thin;
}

.app-screen::-webkit-scrollbar {
  width: 6px;
}

.app-screen::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 999px;
}

.app-topbar {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.app-title-block h1,
.app-title-block h2 {
  font-size: 24px;
  line-height: 1.1;
  margin: 0;
}

.app-title-block p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 7px 0 0;
}

.status-chip,
.mini-chip,
.quote-tab,
.timeframe-button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 720;
  justify-content: center;
  min-height: 30px;
  white-space: nowrap;
}

.status-chip {
  background: rgba(245, 158, 46, 0.12);
  border: 1px solid rgba(245, 158, 46, 0.34);
  color: var(--accent-2);
  padding: 0 10px;
}

.mini-chip {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line-soft);
  color: var(--muted);
  padding: 0 9px;
}

.app-panel {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  margin-bottom: 14px;
  padding: 16px;
}

.app-panel-title {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}

.app-panel-title h3 {
  font-size: 16px;
  margin: 0;
}

.stats-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-box {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  min-height: 74px;
  padding: 12px;
}

.stat-label {
  color: var(--muted);
  display: block;
  font-size: 12px;
  line-height: 1.35;
  margin-bottom: 8px;
}

.stat-value {
  color: var(--text);
  display: block;
  font-size: 18px;
  font-weight: 760;
}

.pair-list {
  display: grid;
  gap: 8px;
}

.pair-row {
  align-items: center;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--text);
  display: grid;
  gap: 10px;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  min-height: 70px;
  padding: 10px;
  text-align: left;
  width: 100%;
}

.pair-row:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-soft);
}

.asset-icon {
  align-items: center;
  border-radius: 50%;
  color: #ffffff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 850;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.asset-BTC { background: #d99b2b; }
.asset-ETH { background: #5865d9; }
.asset-SOL { background: #21b28f; }
.asset-BNB { background: #c7952c; }
.asset-XRP { background: #59636d; }
.asset-DOGE { background: #c58f37; }
.asset-TRX { background: #cf4d5d; }
.asset-LTC { background: #798491; }
.asset-ADA { background: #2774df; }
.asset-AVAX { background: #d94d4d; }
.asset-DOT { background: #d454a5; }
.asset-LINK { background: #2e67d3; }
.asset-MATIC { background: #7b55cc; }
.asset-ATOM { background: #4d5e77; }
.asset-UNI { background: #da5c96; }
.asset-AAVE { background: #56a59d; }

.pair-main {
  min-width: 0;
}

.pair-symbol {
  display: block;
  font-size: 15px;
  font-weight: 760;
  line-height: 1.25;
}

.pair-meta {
  color: var(--muted);
  display: block;
  font-size: 12px;
  line-height: 1.35;
  margin-top: 4px;
}

.pair-side {
  align-items: end;
  display: grid;
  gap: 5px;
  justify-items: end;
}

.pair-price {
  font-size: 14px;
  font-weight: 760;
  white-space: nowrap;
}

.change {
  border-radius: 999px;
  font-size: 12px;
  font-weight: 760;
  padding: 3px 8px;
  white-space: nowrap;
}

.change.positive {
  background: rgba(34, 197, 139, 0.12);
}

.change.negative {
  background: rgba(239, 93, 93, 0.12);
}

.sparkline {
  height: 28px;
  width: 72px;
}

.disclaimer-strip {
  background: rgba(240, 194, 96, 0.08);
  border: 1px solid rgba(240, 194, 96, 0.22);
  border-radius: 7px;
  color: #dfc984;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 12px;
  padding: 10px 12px;
}

.search-field {
  margin-bottom: 12px;
  position: relative;
}

.search-field input {
  padding-left: 38px;
  width: 100%;
}

.search-field .icon {
  color: var(--dim);
  left: 12px;
  position: absolute;
  top: 13px;
}

.quote-tabs,
.timeframe-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.quote-tab,
.timeframe-button {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-soft);
  color: var(--muted);
  padding: 0 12px;
}

.quote-tab.is-active,
.timeframe-button.is-active {
  background: rgba(245, 158, 46, 0.16);
  border-color: rgba(245, 158, 46, 0.48);
  color: #ffe1b0;
}

.favorite-button,
.icon-button {
  align-items: center;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  color: var(--muted);
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.favorite-button.is-active,
.icon-button.is-active {
  background: rgba(217, 164, 65, 0.16);
  border-color: rgba(217, 164, 65, 0.42);
  color: var(--accent-3);
}

.empty-state {
  align-items: center;
  background: rgba(255, 255, 255, 0.035);
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  display: grid;
  gap: 14px;
  justify-items: center;
  margin-top: 12px;
  min-height: 180px;
  padding: 24px;
  text-align: center;
}

.pair-hero {
  display: grid;
  gap: 12px;
}

.pair-price-line {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pair-price-large {
  font-size: 28px;
  font-weight: 820;
}

.pair-select {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.pair-select label {
  color: var(--muted);
  font-size: 12px;
}

.pair-select select {
  width: 100%;
}

.chart-card {
  padding-bottom: 10px;
}

.candle-chart {
  background: #0b0907;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  height: 238px;
  overflow: hidden;
  width: 100%;
}

.candle-chart svg {
  display: block;
  height: 100%;
  width: 100%;
}

.market-depth {
  display: grid;
  gap: 14px;
}

.book-table,
.trades-table {
  display: grid;
  gap: 5px;
}

.book-head,
.book-row,
.trade-row {
  display: grid;
  font-size: 12px;
  gap: 8px;
  grid-template-columns: 1fr 1fr 1fr;
}

.book-head {
  color: var(--dim);
  font-weight: 760;
  padding: 0 8px;
  text-transform: uppercase;
}

.book-row,
.trade-row {
  border-radius: 5px;
  padding: 6px 8px;
}

.book-row.ask {
  background: rgba(239, 93, 93, 0.08);
  color: #f6b1b1;
}

.book-row.bid {
  background: rgba(34, 197, 139, 0.08);
  color: #9ee9cb;
}

.trade-row {
  background: rgba(255, 255, 255, 0.035);
}

.trade-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trade-action {
  border-radius: 7px;
  color: #ffffff;
  font-weight: 800;
  min-height: 46px;
}

.trade-action.buy {
  background: rgba(34, 197, 139, 0.09);
  border: 1px solid rgba(34, 197, 139, 0.28);
  color: #8fbfa9;
}

.trade-action.sell {
  background: rgba(239, 93, 93, 0.09);
  border: 1px solid rgba(239, 93, 93, 0.28);
  color: #c99797;
}

.trade-action[data-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.62;
}

.profile-card {
  display: grid;
  gap: 12px;
}

.profile-hero {
  align-items: center;
  display: grid;
  gap: 13px;
  grid-template-columns: auto minmax(0, 1fr);
}

.profile-avatar {
  align-items: center;
  background: linear-gradient(145deg, rgba(245, 158, 46, 0.16), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(245, 158, 46, 0.32);
  border-radius: 8px;
  display: inline-flex;
  height: 58px;
  justify-content: center;
  width: 58px;
}

.profile-avatar .brand-mark {
  border-color: transparent;
  height: 42px;
  width: 42px;
}

.profile-avatar .brand-mark img {
  height: 42px;
  width: 42px;
}

.profile-identity {
  min-width: 0;
}

.profile-identity h2 {
  font-size: 21px;
  line-height: 1.1;
  margin: 0;
}

.profile-identity p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  margin: 5px 0 0;
}

.profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.profile-badges span,
.profile-quick-action em,
.profile-menu-status {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 10px;
  font-style: normal;
  font-weight: 760;
  justify-content: center;
  min-height: 23px;
  white-space: nowrap;
}

.profile-badges span {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line-soft);
  color: var(--muted);
  padding: 0 8px;
}

.profile-summary-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-summary {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  min-width: 0;
  padding: 10px;
}

.profile-summary span {
  color: var(--dim);
  display: block;
  font-size: 11px;
  font-weight: 720;
  margin-bottom: 5px;
}

.profile-summary strong {
  color: var(--text);
  display: block;
  font-size: 13px;
  line-height: 1.2;
}

.profile-summary.orange {
  background: rgba(245, 158, 46, 0.09);
  border-color: rgba(245, 158, 46, 0.26);
}

.profile-summary.green {
  background: rgba(34, 197, 139, 0.08);
  border-color: rgba(34, 197, 139, 0.22);
}

.profile-quick-grid {
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-quick-action {
  align-items: start;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  color: var(--text);
  display: grid;
  gap: 8px;
  justify-items: start;
  min-height: 128px;
  padding: 11px;
  text-align: left;
}

.profile-quick-icon,
.profile-menu-icon {
  align-items: center;
  background: rgba(245, 158, 46, 0.12);
  border: 1px solid rgba(245, 158, 46, 0.25);
  border-radius: 7px;
  color: var(--accent-2);
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.profile-quick-action strong,
.profile-menu-row strong {
  display: block;
  font-size: 13px;
  line-height: 1.25;
}

.profile-quick-action small,
.profile-menu-row small {
  color: var(--muted);
  display: block;
  font-size: 11px;
  line-height: 1.35;
  margin-top: 4px;
}

.profile-quick-action em {
  background: rgba(245, 158, 46, 0.11);
  border: 1px solid rgba(245, 158, 46, 0.24);
  color: var(--accent-2);
  padding: 0 8px;
}

.profile-menu {
  display: grid;
  gap: 8px;
}

.profile-menu-row {
  align-items: center;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  color: var(--text);
  display: grid;
  gap: 10px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 68px;
  padding: 10px;
  text-align: left;
}

.profile-menu-text {
  min-width: 0;
}

.profile-menu-status {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line-soft);
  color: var(--muted);
  max-width: 112px;
  overflow: hidden;
  padding: 0 8px;
  text-overflow: ellipsis;
}

.profile-legal-card {
  margin-bottom: 0;
}

.profile-section {
  border-top: 1px solid var(--line-soft);
  display: grid;
  gap: 7px;
  padding-top: 13px;
}

.profile-section h3 {
  font-size: 14px;
  margin: 0;
}

.profile-section p,
.profile-section div {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

.profile-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bottom-nav {
  background: rgba(7, 8, 8, 0.96);
  border-top: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: 78px;
  padding: 8px 8px 10px;
}

.nav-item {
  align-items: center;
  background: transparent;
  border-radius: 8px;
  color: var(--dim);
  display: grid;
  font-size: 11px;
  font-weight: 720;
  gap: 3px;
  justify-items: center;
  min-width: 0;
  padding: 6px 2px;
}

.nav-item.is-active {
  background: rgba(245, 158, 46, 0.14);
  color: #ffe1b0;
}

.nav-item .icon {
  height: 19px;
  width: 19px;
}

.modal-backdrop {
  align-items: center;
  background: rgba(0, 0, 0, 0.68);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 22px;
  position: fixed;
  z-index: 80;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  max-width: 360px;
  padding: 22px;
  width: 100%;
}

.modal h2 {
  font-size: 20px;
  margin: 0 0 8px;
}

.modal p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 18px;
}

.modal .button {
  width: 100%;
}

@media (max-width: 1050px) {
  .feature-grid,
  .preview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .logo-options-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero h1 {
    font-size: 54px;
  }
}

@media (max-width: 820px) {
  .site-header-inner {
    min-height: 66px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    background: rgba(7, 8, 8, 0.98);
    border-bottom: 1px solid var(--line-soft);
    display: none;
    gap: 0;
    left: 0;
    padding: 8px 22px 18px;
    position: absolute;
    right: 0;
    top: 66px;
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-actions .ghost-button {
    display: none;
  }

  .hero,
  .hero-content {
    min-height: 0;
  }

  .hero-content {
    padding: 14px 18px 70px;
  }

  .hero h1 {
    font-size: 45px;
  }

  .hero h2 {
    font-size: 20px;
  }

  .hero-market-wall {
    left: 12%;
    opacity: 0.46;
    top: 48%;
  }

  .hero-candle-field {
    opacity: 0.42;
    right: -16%;
  }

  .section {
    padding: 64px 18px;
  }

  .section-heading {
    align-items: start;
    display: grid;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .feature-grid,
  .preview-grid,
  .logo-options-grid,
  .site-pair-grid,
  .site-side-grid,
  .about-grid,
  .legal-grid,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .site-pair-modal-backdrop {
    align-items: flex-start;
    padding: 12px;
  }

  .site-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .app-page {
    padding: 0;
  }

  .mobile-shell {
    border: 0;
    border-radius: 0;
    height: 100vh;
    max-height: none;
    max-width: none;
    min-height: 100vh;
    width: 100vw;
  }

  .app-screen {
    padding: 20px 14px 20px;
  }

  .site-header-inner {
    padding: 0 14px;
  }

  .site-actions .button {
    padding: 0 11px;
  }

  .logo-subtitle {
    display: none;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero-ctas {
    display: grid;
  }

  .hero-ctas .button,
  .hero-ctas .ghost-button {
    width: 100%;
  }

  .feature-grid,
  .preview-grid {
    grid-template-columns: 1fr;
  }

  .profile-actions,
  .trade-actions,
  .stats-grid,
  .site-stats-grid,
  .site-preview-actions {
    grid-template-columns: 1fr;
  }

  .pair-row {
    grid-template-columns: 36px minmax(0, 1fr) auto;
  }
}
