:root {
  --ink: #17131f;
  --muted: #625b72;
  --line: #e9e5ef;
  --paper: #fffdf8;
  --soft: #f7f2fb;
  --primary: #7b3fe4;
  --primary-dark: #41205f;
  --gold: #f2c94c;
  --green: #1f9d68;
  --red: #c94d4d;
  --shadow: 0 18px 50px rgba(35, 22, 55, 0.13);
}

* {
  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;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 248, 0.92);
  border-bottom: 1px solid rgba(233, 229, 239, 0.9);
  backdrop-filter: blur(16px);
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.02rem;
}

.brand img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(65, 32, 95, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--primary-dark);
}

.nav-cta,
.button,
button {
  border: 0;
  border-radius: 8px;
  background: var(--primary-dark);
  color: white;
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 750;
  box-shadow: 0 12px 26px rgba(65, 32, 95, 0.22);
  cursor: pointer;
}

.button.secondary {
  background: white;
  color: var(--primary-dark);
  border: 1px solid var(--line);
  box-shadow: none;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  padding: 68px 0 42px;
  background:
    radial-gradient(circle at 78% 18%, rgba(242, 201, 76, 0.26), transparent 24%),
    linear-gradient(135deg, #fffdf8 0%, #f6effc 54%, #fff8dc 100%);
}

.hero-grid,
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(340px, 0.97fr);
  gap: 52px;
  align-items: center;
}

.eyebrow {
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.7rem);
  max-width: 760px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  color: var(--muted);
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  max-width: 690px;
}

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

.hero-card,
.image-panel {
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.hero-card img,
.image-panel img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.market-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 14px;
  background: #241833;
}

.ticker {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 12px;
  color: white;
}

.ticker strong {
  display: block;
}

.ticker span {
  color: #b9f3d4;
  font-size: 0.9rem;
}

section {
  padding: 84px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.band {
  background: #241833;
  color: white;
}

.band p,
.band .muted {
  color: #d6cde5;
}

.feature-flow {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.stat-board {
  background: var(--primary-dark);
  color: white;
  border-radius: 8px;
  padding: 28px;
}

.stat-board p {
  color: #eadfff;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 18px;
}

.stat strong {
  display: block;
  font-size: 1.9rem;
  color: var(--gold);
}

.feature-list,
.cards,
.steps,
.legal-list {
  display: grid;
  gap: 16px;
}

.feature-list {
  grid-template-columns: repeat(2, 1fr);
}

.item,
.card,
.step,
.legal-block {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f0e7ff;
  color: var(--primary-dark);
  font-weight: 900;
  margin-bottom: 14px;
}

.cards.three,
.steps {
  grid-template-columns: repeat(3, 1fr);
}

.cards.two {
  grid-template-columns: repeat(2, 1fr);
}

.step-number {
  color: var(--gold);
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
}

.quote {
  font-size: 1.05rem;
  color: var(--ink);
}

.cta-band {
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary-dark), #241833 66%, #332113);
  color: white;
  padding: 42px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.cta-band p {
  color: #eadfff;
}

.page-hero {
  padding: 70px 0;
  background: linear-gradient(135deg, #fffdf8, #f1e8fb);
}

.compact-hero {
  max-width: 820px;
}

.legal-meta {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--line);
  color: var(--primary-dark);
  font-weight: 800;
  margin-top: 18px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.legal-aside {
  position: sticky;
  top: 96px;
  background: #241833;
  color: white;
  border-radius: 8px;
  padding: 22px;
}

.legal-aside p {
  color: #d6cde5;
}

.legal-block h2 {
  font-size: 1.55rem;
}

.notice {
  background: #fff6d8;
  border: 1px solid #f0d985;
  border-radius: 8px;
  padding: 18px;
  color: #4b3911;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

form {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

label {
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border-radius: 8px;
  border: 1px solid #d8d1e2;
  padding: 12px 13px;
  font: inherit;
  background: #fff;
}

textarea {
  min-height: 142px;
  resize: vertical;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
}

.check input {
  width: 18px;
  min-height: 18px;
  margin-top: 4px;
}

.form-note {
  margin-top: 14px;
  font-weight: 750;
}

.download-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.store {
  min-width: 190px;
  background: #121018;
  color: white;
  border-radius: 8px;
  padding: 12px 16px;
  display: inline-flex;
  flex-direction: column;
  line-height: 1.12;
}

.store span {
  font-size: 0.75rem;
  color: #d6d0dd;
}

.store strong {
  font-size: 1.18rem;
}

.h5-wrap {
  width: min(760px, calc(100% - 28px));
  margin: 0 auto;
  padding: 26px 0 54px;
}

.h5-logo {
  width: 50px;
  height: 50px;
  border-radius: 10px;
}

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

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
  }

  .hero-grid,
  .split,
  .feature-flow,
  .legal-layout,
  .contact-grid,
  .cta-band {
    grid-template-columns: 1fr;
  }

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

  .hero-card img,
  .image-panel img {
    height: 320px;
  }

  .feature-list,
  .cards.three,
  .cards.two,
  .steps,
  .market-strip {
    grid-template-columns: 1fr;
  }

  .legal-aside {
    position: static;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    display: block;
  }

  .brand {
    margin-bottom: 12px;
  }

  .nav-links {
    justify-content: flex-start;
    font-size: 0.9rem;
  }

  .nav-cta {
    width: 100%;
  }

  h1 {
    font-size: 2.55rem;
  }

  section {
    padding: 58px 0;
  }

  .cta-band,
  form,
  .download-panel {
    padding: 22px;
  }
}
