:root {
  --ink: #18101f;
  --muted: #665c71;
  --line: #e6dde9;
  --panel: #ffffff;
  --soft: #fbf7ff;
  --primary: #f0bd22;
  --primary-dark: #aa7704;
  --plum: #32163d;
  --plum-2: #4b2059;
  --green: #16a36b;
  --red: #d94a4a;
  --blue: #2f7de1;
  --shadow: 0 22px 60px rgba(38, 14, 51, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fff;
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(230, 221, 233, .82);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  letter-spacing: 0;
}

.brand img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #51465b;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 8px;
}

.nav-links a:hover,
.nav-links a.active {
  background: #f7eefc;
  color: var(--plum);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: var(--primary);
  color: #2b1b03;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(240, 189, 34, .24);
}

.btn.dark {
  background: var(--plum);
  color: #fff;
  box-shadow: 0 12px 28px rgba(50, 22, 61, .24);
}

.btn.ghost {
  background: transparent;
  color: var(--plum);
  border: 1px solid var(--line);
  box-shadow: none;
}

.hero {
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 78px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 48px;
  padding: 60px 0 42px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 7px 11px;
  border: 1px solid #eadba5;
  border-radius: 999px;
  color: #7b5805;
  background: #fff9df;
  font-size: 13px;
  font-weight: 850;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  margin-top: 18px;
  font-size: clamp(44px, 7vw, 86px);
}

h2 {
  font-size: clamp(32px, 4vw, 54px);
}

h3 {
  font-size: 22px;
}

p {
  margin: 0;
}

.lead {
  margin-top: 22px;
  max-width: 680px;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.trust-strip {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
}

.metric {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.metric strong {
  display: block;
  font-size: 21px;
}

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

.visual-shell {
  position: relative;
}

.market-photo {
  width: 100%;
  min-height: 540px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.terminal-card {
  position: absolute;
  left: -28px;
  bottom: 28px;
  width: min(430px, 86%);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 8px;
  background: rgba(28, 15, 34, .9);
  color: #fff;
  box-shadow: 0 24px 50px rgba(18, 8, 24, .28);
  backdrop-filter: blur(16px);
}

.ticker {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  font-size: 14px;
}

.ticker:last-child {
  border-bottom: 0;
}

.up {
  color: #52dfa4;
}

.down {
  color: #ff7b7b;
}

.section {
  padding: 92px 0;
}

.section.soft {
  background: var(--soft);
}

.section.dark {
  background: var(--plum);
  color: #fff;
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  align-items: end;
  margin-bottom: 36px;
}

.section-head p {
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
}

.dark .section-head p,
.dark .muted {
  color: rgba(255, 255, 255, .72);
}

.feature-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 26px;
  align-items: stretch;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 40px rgba(40, 19, 50, .08);
}

.feature-stack {
  display: grid;
  gap: 14px;
}

.feature-item {
  padding: 24px;
}

.feature-item .label,
.step .label,
.legal-block .label {
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.feature-item p,
.step p,
.card p,
.legal-block p,
.contact-card p {
  margin-top: 10px;
  color: var(--muted);
}

.dashboard {
  padding: 24px;
  display: grid;
  gap: 18px;
  background: #180f20;
  color: #fff;
}

.dashboard-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.sparkline {
  height: 180px;
  display: grid;
  grid-template-columns: repeat(18, 1fr);
  align-items: end;
  gap: 6px;
  padding: 18px;
  border-radius: 8px;
  background: #24122e;
}

.sparkline i {
  display: block;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #f7d257, #f0bd22);
}

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

.card,
.step,
.legal-block,
.contact-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.dark .card {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .08);
}

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

.num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--plum);
  color: #fff;
  font-weight: 900;
}

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

.quote {
  padding: 26px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.quote strong {
  display: block;
  margin-top: 18px;
}

.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--plum), #17101e);
  color: #fff;
}

.site-footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.page-hero {
  padding: 76px 0 54px;
  background: linear-gradient(135deg, #fff7d8, #fbf7ff 56%, #fff);
}

.page-hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 44px;
  align-items: center;
}

.page-hero.simple .wrap,
.page-hero.legal .wrap {
  display: block;
  max-width: 920px;
}

.page-image {
  min-height: 430px;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.split {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.legal-list {
  display: grid;
  gap: 16px;
}

.legal-block h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.highlight {
  padding: 22px;
  border-left: 5px solid var(--primary);
  border-radius: 8px;
  background: #fff9df;
}

.form {
  display: grid;
  gap: 14px;
}

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

.field label,
.check {
  font-weight: 800;
  color: #3b3144;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.check {
  display: flex;
  align-items: start;
  gap: 10px;
  font-size: 14px;
}

.notice {
  display: none;
  padding: 12px 14px;
  border-radius: 8px;
  background: #eaf8f1;
  color: #09623f;
  font-weight: 800;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.store-btn {
  min-width: 190px;
  min-height: 58px;
  padding: 9px 16px;
  border-radius: 8px;
  background: #111;
  color: #fff;
  font-weight: 900;
}

.store-btn span {
  display: block;
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
  font-weight: 700;
}

.phone-mock {
  max-width: 330px;
  margin: 0 auto;
  padding: 16px;
  border: 10px solid #18101f;
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--shadow);
}

.phone-screen {
  min-height: 520px;
  border-radius: 22px;
  padding: 20px;
  background: #201129;
  color: #fff;
}

.mini-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.h5-page {
  padding: 24px 0 52px;
}

.h5-page .wrap {
  width: min(680px, calc(100% - 28px));
}

@media (max-width: 900px) {
  .nav {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .page-hero .wrap,
  .feature-layout,
  .split,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .terminal-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: -90px;
  }

  .market-photo,
  .page-image {
    min-height: 320px;
  }

  .trust-strip,
  .stats-grid,
  .card-grid,
  .steps,
  .quote-grid,
  .about-values {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 14px;
  }

  .section {
    padding: 62px 0;
  }
}

@media (max-width: 560px) {
  .nav-cta {
    display: none;
  }

  h1 {
    font-size: 42px;
  }

  .hero-actions,
  .download-actions {
    display: grid;
  }

  .btn,
  .store-btn {
    width: 100%;
  }

  .cta-band {
    padding: 24px;
  }
}
