:root {
  --primary: #086ddd;
  --primary-dark: #073c9e;
  --primary-light: #10aee8;
  --ink: #132033;
  --muted: #5f6d7d;
  --line: #dce6f2;
  --soft: #f3f8fd;
  --white: #ffffff;
  --green: #16835f;
  --amber: #a66b00;
  --shadow: 0 18px 44px rgba(7, 60, 158, 0.12);
}

* {
  box-sizing: border-box;
}

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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  max-width: 1160px;
  min-height: 74px;
  margin: 0 auto;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  color: var(--ink);
}

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

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

.nav-links a {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
}

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

.nav-cta,
.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(8, 109, 221, 0.22);
}

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

.hero {
  background: linear-gradient(135deg, #f8fbff 0%, #eaf6ff 56%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid,
.split,
.page-hero,
.section,
.footer-grid {
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 22px;
  padding-right: 22px;
}

.hero-grid {
  min-height: 660px;
  padding-top: 76px;
  padding-bottom: 76px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 7px 11px;
  border: 1px solid rgba(8, 109, 221, 0.18);
  border-radius: 999px;
  color: var(--primary-dark);
  background: rgba(16, 174, 232, 0.1);
  font-size: 13px;
  font-weight: 800;
}

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

h1 {
  max-width: 780px;
  margin-top: 18px;
  font-size: clamp(42px, 6vw, 74px);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: 0;
}

h3 {
  font-size: 22px;
}

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

.lead {
  max-width: 720px;
  margin-top: 20px;
  font-size: 19px;
}

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

.hero-media {
  position: relative;
}

.hero-media img,
.feature-image img,
.about-image img,
.download-image img,
.contact-image img {
  width: 100%;
  min-height: 430px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.data-board {
  min-height: 430px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(243, 248, 253, 0.94)),
    repeating-linear-gradient(90deg, transparent 0, transparent 54px, rgba(8, 109, 221, 0.08) 55px),
    repeating-linear-gradient(0deg, transparent 0, transparent 54px, rgba(8, 109, 221, 0.08) 55px);
  box-shadow: var(--shadow);
}

.board-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.board-pill {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--primary-dark);
  background: #e7f5ff;
  font-size: 13px;
  font-weight: 900;
}

.chart-line {
  height: 130px;
  margin: 28px 0;
  border-left: 3px solid var(--primary);
  border-bottom: 3px solid var(--primary);
  clip-path: polygon(0 86%, 16% 66%, 29% 72%, 42% 38%, 56% 50%, 70% 24%, 86% 32%, 100% 12%, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(16, 174, 232, 0.34), rgba(8, 109, 221, 0.08));
}

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

.board-cell {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.market-panel {
  position: absolute;
  left: -24px;
  bottom: -24px;
  width: min(360px, 86%);
  padding: 18px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, rgba(7, 60, 158, 0.96), rgba(8, 109, 221, 0.92));
  box-shadow: var(--shadow);
}

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

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

.up {
  color: #9ef3ce;
}

.section {
  padding-top: 88px;
  padding-bottom: 88px;
}

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

.section.alt > .inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 22px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p {
  margin-top: 14px;
  font-size: 18px;
}

.feature-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
}

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

.feature-item,
.step,
.info-card,
.legal-section,
.contact-method,
.requirement,
.download-option {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 22px;
}

.feature-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
}

.glyph {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: var(--primary-dark);
  background: #e7f5ff;
  font-size: 13px;
  font-weight: 900;
}

.metric-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.metric {
  padding: 26px;
  background: var(--white);
}

.metric strong {
  display: block;
  color: var(--primary-dark);
  font-size: 34px;
  line-height: 1;
}

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

.step-num {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--white);
  background: var(--primary);
  font-weight: 900;
}

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

.quote {
  padding: 24px;
  border-left: 4px solid var(--primary);
  background: var(--white);
  border-radius: 8px;
}

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

.download-band p {
  color: rgba(255, 255, 255, 0.78);
}

.page-hero {
  padding-top: 72px;
  padding-bottom: 58px;
}

.page-hero .lead {
  max-width: 820px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}

.info-grid,
.requirements,
.download-options,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

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

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

label {
  display: block;
  margin-bottom: 14px;
  color: var(--ink);
  font-weight: 800;
}

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

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

.check {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-weight: 600;
}

.check input {
  margin-top: 4px;
}

.form-status {
  min-height: 24px;
  margin-top: 14px;
  font-weight: 800;
}

.legal-shell {
  max-width: 920px;
  margin: 0 auto;
  padding: 40px 22px 88px;
}

.legal-note {
  padding: 24px;
  border-radius: 8px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.legal-section {
  margin-top: 18px;
}

.legal-section h2 {
  font-size: 26px;
}

.legal-section ul {
  margin: 14px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

.updated {
  display: inline-flex;
  margin-top: 18px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--amber);
  background: #fff5dc;
  font-weight: 900;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #071b33;
  color: var(--white);
}

.footer-grid {
  padding-top: 42px;
  padding-bottom: 42px;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 30px;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
  display: block;
  margin-top: 8px;
  text-decoration: none;
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--white);
  font-weight: 900;
}

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

.about-h5 {
  padding: 26px 18px 42px;
}

.about-h5 .brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  font-weight: 900;
}

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

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-grid,
  .feature-layout,
  .split,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .market-panel {
    position: static;
    width: 100%;
    margin-top: 14px;
  }

  .metric-band,
  .steps,
  .quote-strip,
  .info-grid,
  .requirements,
  .download-options,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .download-band {
    grid-template-columns: 1fr;
  }

  .hero-media img,
  .feature-image img,
  .about-image img,
  .download-image img,
  .contact-image img {
    min-height: 280px;
  }
}
