:root {
  --primary: #0757b6;
  --primary-2: #0875de;
  --ink: #0d1b2a;
  --muted: #617089;
  --line: #dce5f2;
  --soft: #f4f8fd;
  --white: #ffffff;
  --green: #11a36a;
  --red: #d94b4b;
  --gold: #c89528;
  --shadow: 0 18px 48px rgba(13, 27, 42, .12);
}

* { 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(--white);
  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: 20;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(220,229,242,.85);
  backdrop-filter: blur(14px);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: 0; }
.brand img { width: 50px; height: 50px; border-radius: 10px; object-fit: cover; }
.nav-links { display: flex; align-items: center; gap: 22px; color: #344154; font-size: 15px; }
.nav-links a:hover { color: var(--primary); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: white;
  font-weight: 750;
  cursor: pointer;
}
.btn.secondary { background: white; color: var(--primary); }
.btn.dark { background: var(--ink); border-color: var(--ink); }
.hero {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(100deg, rgba(4,32,72,.92), rgba(7,87,182,.72)),
    var(--hero-image, linear-gradient(135deg, #08213e, #0757b6));
  background-size: cover;
  background-position: center;
  color: white;
}
.hero-grid { display: grid; grid-template-columns: 1fr .88fr; gap: 42px; align-items: center; padding: 80px 0; }
.eyebrow { color: #cfe3ff; font-weight: 800; text-transform: uppercase; font-size: 13px; letter-spacing: .08em; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: 0; }
h1 { font-size: clamp(42px, 7vw, 78px); max-width: 780px; }
h2 { font-size: clamp(30px, 4vw, 50px); }
h3 { font-size: 22px; }
p { margin: 0; }
.lead { font-size: clamp(18px, 2.4vw, 22px); max-width: 690px; color: rgba(255,255,255,.86); margin-top: 22px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-panel {
  background: rgba(255,255,255,.94);
  color: var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 22px;
}
.market-card { display: grid; gap: 18px; }
.ticker-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.ticker-row:last-child { border-bottom: 0; }
.symbol { font-weight: 850; }
.gain { color: var(--green); font-weight: 800; }
.loss { color: var(--red); font-weight: 800; }
.chart {
  height: 150px;
  display: flex;
  align-items: end;
  gap: 10px;
  padding-top: 18px;
  border-bottom: 1px solid var(--line);
}
.bar { flex: 1; min-width: 10px; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--primary-2), var(--primary)); }
.section { padding: 86px 0; }
.section.soft { background: var(--soft); }
.section.dark { background: #081d35; color: white; }
.section-head { display: flex; justify-content: space-between; gap: 28px; align-items: end; margin-bottom: 36px; }
.section-head p { max-width: 570px; color: var(--muted); }
.dark .section-head p, .dark .muted { color: rgba(255,255,255,.72); }
.split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 46px; align-items: center; }
.photo {
  min-height: 430px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}
.feature-stack { display: grid; gap: 16px; }
.feature-line {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
.icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eaf3ff;
  color: var(--primary);
  font-weight: 900;
  font-size: 18px;
}
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step, .card, .legal-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(13,27,42,.06);
}
.step b { color: var(--primary); font-size: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.quote { font-size: 18px; color: #243246; }
.download-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0757b6, #08386f);
  color: white;
}
.page-hero {
  padding: 80px 0 54px;
  background: linear-gradient(135deg, #eef6ff, #ffffff);
}
.page-hero p { max-width: 760px; margin-top: 18px; color: var(--muted); font-size: 19px; }
.legal-layout { display: grid; grid-template-columns: 250px 1fr; gap: 34px; align-items: start; }
.legal-aside { position: sticky; top: 100px; background: var(--soft); border: 1px solid var(--line); border-radius: 8px; padding: 18px; }
.legal-main { display: grid; gap: 18px; }
.legal-card h2 { font-size: 28px; margin-bottom: 12px; }
.legal-card ul { margin: 12px 0 0; padding-left: 20px; }
.notice { border-left: 4px solid var(--primary); background: #eef6ff; padding: 18px; border-radius: 8px; }
.contact-shell { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
form { display: grid; gap: 16px; }
label { display: grid; gap: 7px; font-weight: 750; color: #223047; }
input, textarea, select {
  width: 100%;
  border: 1px solid #cfd9e8;
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: white;
}
textarea { min-height: 140px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: start; color: var(--muted); font-weight: 500; }
.check input { width: auto; margin-top: 6px; }
.app-device {
  width: min(360px, 100%);
  margin: 0 auto;
  border: 12px solid #0c1726;
  border-radius: 28px;
  background: white;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.device-top { height: 42px; background: #0c1726; }
.screen { padding: 18px; display: grid; gap: 14px; }
.mini-nav { display: flex; justify-content: space-between; align-items: center; }
.pill { height: 10px; border-radius: 99px; background: #d8e4f2; }
.watch-item { display: flex; justify-content: space-between; border: 1px solid var(--line); border-radius: 8px; padding: 12px; }
.footer { padding: 34px 0; border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer a { color: var(--ink); margin-left: 16px; }
.mobile-only-doc .site-header, .mobile-only-doc .footer { display: none; }
.mobile-only-doc .container { width: min(720px, calc(100% - 28px)); }
.mobile-only-doc .page-hero { padding-top: 34px; }

@media (max-width: 860px) {
  .nav { align-items: flex-start; padding: 13px 0; }
  .nav-links { flex-wrap: wrap; justify-content: flex-end; gap: 12px; font-size: 14px; }
  .hero-grid, .split, .legal-layout, .contact-shell, .download-band { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-grid { padding: 54px 0; }
  .section { padding: 58px 0; }
  .section-head { display: grid; }
  .steps, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .legal-aside { position: static; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1120px); }
  .nav { display: grid; gap: 12px; }
  .nav-links { justify-content: flex-start; }
  .brand img { width: 50px; height: 50px; }
  h1 { font-size: 40px; }
  .hero-actions .btn, .download-band .btn { width: 100%; }
  .photo { min-height: 300px; }
  .card, .step, .legal-card { padding: 19px; }
}
