:root {
  --primary: #082a63;
  --primary-2: #0b3f8f;
  --accent: #c6a23a;
  --accent-2: #e0bd52;
  --ink: #172033;
  --muted: #657085;
  --line: #e3e8f1;
  --soft: #f5f8fc;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(8, 42, 99, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
}

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, 0.94);
  border-bottom: 1px solid rgba(227, 232, 241, 0.86);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0;
}

.brand img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(8, 42, 99, 0.1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 13px;
  color: #344054;
  font-size: 15px;
  font-weight: 650;
  border-radius: 10px;
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--primary);
  font-size: 24px;
  line-height: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 10px;
  background: var(--primary);
  color: var(--white);
  font-weight: 750;
  box-shadow: 0 10px 24px rgba(8, 42, 99, 0.22);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--primary-2);
  box-shadow: 0 16px 30px rgba(8, 42, 99, 0.25);
}

.btn.secondary {
  background: var(--white);
  color: var(--primary);
  border: 1px solid rgba(8, 42, 99, 0.18);
  box-shadow: none;
}

.section {
  padding: 96px 0;
}

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

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

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: #071b3d;
  font-size: clamp(40px, 6vw, 70px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 18px;
  color: #081d43;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  color: #10284e;
  font-size: 22px;
  line-height: 1.2;
}

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

.lead {
  font-size: 18px;
  color: #526073;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 76px);
  padding: 72px 0 56px;
  background: linear-gradient(135deg, #f7fbff 0%, #edf4ff 45%, #fff8e2 100%);
}

.hero-grid {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: 46px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

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

.hero-media {
  position: relative;
  min-height: 520px;
}

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

.market-panel {
  position: absolute;
  left: -24px;
  bottom: 28px;
  width: min(390px, calc(100% - 30px));
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 42px rgba(8, 42, 99, 0.16);
  backdrop-filter: blur(14px);
}

.ticker-row,
.quote-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

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

.gain {
  color: #087a4a;
  font-weight: 800;
}

.loss {
  color: #b42318;
  font-weight: 800;
}

.hero-disclaimer {
  margin-top: 22px;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
  color: #5d6678;
  font-size: 14px;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

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

.feature-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(8, 42, 99, 0.06);
}

.icon-token {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #edf4ff;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
}

.terminal-card,
.insight-card,
.legal-card,
.form-card,
.download-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.terminal-card {
  padding: 24px;
}

.chart {
  height: 220px;
  margin: 16px 0 24px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(8, 42, 99, 0.08), transparent),
    repeating-linear-gradient(to right, transparent 0 58px, rgba(8, 42, 99, 0.08) 59px 60px),
    repeating-linear-gradient(to bottom, transparent 0 43px, rgba(8, 42, 99, 0.08) 44px 45px);
  position: relative;
  overflow: hidden;
}

.chart::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 46px;
  height: 90px;
  border-bottom: 5px solid var(--accent);
  border-right: 5px solid var(--accent);
  transform: skewY(-13deg);
  border-radius: 0 0 12px 0;
}

.chart::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 38px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(198, 162, 58, 0.18);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mini-stat {
  padding: 14px;
  border-radius: 8px;
  background: #f7f9fd;
}

.mini-stat strong {
  display: block;
  color: var(--primary);
  font-size: 20px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.step {
  padding: 24px;
  border-top: 4px solid var(--accent);
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(8, 42, 99, 0.07);
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-weight: 850;
}

.band {
  padding: 54px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), #07172e);
  position: relative;
  overflow: hidden;
}

.band::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 250px;
  height: 250px;
  border: 36px solid rgba(224, 189, 82, 0.25);
  border-radius: 50%;
}

.band h2,
.band p {
  color: var(--white);
}

.band p {
  opacity: 0.82;
}

.review-grid,
.value-grid,
.contact-grid,
.requirement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.review,
.value,
.info-box,
.requirement {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.quote-mark {
  color: var(--accent);
  font-size: 38px;
  line-height: 1;
  font-weight: 900;
}

.page-hero {
  padding: 76px 0;
  background: linear-gradient(135deg, #f7fbff, #fff9e8);
}

.page-hero .container {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 44px;
  align-items: center;
}

.page-photo {
  height: 360px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.principle {
  padding: 24px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.legal-card {
  padding: 34px;
  margin-top: 22px;
}

.legal-card h2 {
  font-size: 28px;
}

.legal-card ul {
  color: var(--muted);
  padding-left: 20px;
}

.notice {
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: #fff9e8;
  color: #55431b;
}

.form-card {
  padding: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.field.full {
  grid-column: 1 / -1;
}

label {
  color: #2b3648;
  font-weight: 750;
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  font: inherit;
  color: var(--ink);
  background: #fbfcfe;
}

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

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(8, 42, 99, 0.12);
  border-color: var(--primary);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

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

.form-message {
  display: none;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #e9f8f1;
  color: #087a4a;
  font-weight: 700;
}

.download-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 42px;
  align-items: center;
}

.store-buttons {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.store-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
  padding: 14px 18px;
  border-radius: 8px;
  background: #071b3d;
  color: var(--white);
  font-weight: 800;
}

.store-btn span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 650;
}

.device-frame {
  padding: 14px;
  border-radius: 8px;
  background: #071b3d;
  box-shadow: var(--shadow);
}

.device-frame img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 8px;
  opacity: 0.94;
}

.footer {
  padding: 44px 0 26px;
  color: #d8e2f3;
  background: #071b3d;
}

.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  text-align: center;
}

.footer .brand {
  justify-content: center;
  color: var(--white);
}

.footer p {
  margin-top: 14px;
  color: #b9c6da;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 24px 0;
}

.footer-links a {
  color: #f7f9fd;
  font-weight: 650;
}

.fineprint {
  font-size: 13px;
  color: #9fb0c8;
}

.h5-page {
  background: #f7f9fd;
}

.h5-shell {
  width: min(680px, calc(100% - 28px));
  margin: 0 auto;
  padding: 28px 0 46px;
}

.h5-logo {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 22px;
}

.h5-block {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  margin-top: 16px;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links .btn {
    width: 100%;
  }

  .hero-grid,
  .split,
  .page-hero .container,
  .download-layout,
  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: auto;
  }

  .hero-photo,
  .page-photo,
  .device-frame img {
    height: 330px;
  }

  .market-panel {
    position: relative;
    left: 0;
    bottom: auto;
    margin: -64px auto 0;
  }

  .steps,
  .review-grid,
  .value-grid,
  .about-principles,
  .requirement-grid {
    grid-template-columns: 1fr;
  }
}

.mt-18 {
  margin-top: 18px;
}

.mt-20 {
  margin-top: 20px;
}

.mt-22 {
  margin-top: 22px;
}

.mt-30 {
  margin-top: 30px;
}

.card-pad {
  padding: 28px;
}

.contact-layout {
  grid-template-columns: 1.2fr 0.8fr;
}

@media (max-width: 620px) {
  .nav,
  .container,
  .hero-grid,
  .narrow,
  .footer-inner {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding: 58px 0;
  }

  h1 {
    font-size: 42px;
  }

  .hero-actions,
  .form-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .band {
    padding: 30px;
  }

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