:root {
  --primary: #b71363;
  --primary-dark: #7f0d45;
  --primary-soft: #fff0f6;
  --ink: #18202f;
  --muted: #687386;
  --line: #e7eaf0;
  --paper: #ffffff;
  --soft: #f7f8fb;
  --navy: #111827;
  --green: #0f9f6e;
  --amber: #c98417;
  --shadow: 0 18px 50px rgba(24, 32, 47, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(231, 234, 240, 0.75);
  backdrop-filter: blur(18px);
}

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

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

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

.brand span {
  font-size: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #384153;
  font-weight: 650;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 24px;
  cursor: pointer;
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 14px 30px rgba(183, 19, 99, 0.25);
}

.button:hover,
button.button:hover {
  transform: translateY(-2px);
  background: var(--primary-dark);
}

.button.secondary {
  background: #fff;
  color: var(--primary);
  border: 1px solid rgba(183, 19, 99, 0.28);
  box-shadow: none;
}

.button.dark {
  background: var(--navy);
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.2);
}

.section {
  padding: 88px 0;
}

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: 0;
  margin-bottom: 18px;
}

h3 {
  font-size: 22px;
  line-height: 1.22;
  margin-bottom: 10px;
}

.lead {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
  max-width: 720px;
}

.hero {
  min-height: calc(100vh - 76px);
  padding: 78px 0 66px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 18% 18%, rgba(183, 19, 99, 0.13), transparent 32%),
    linear-gradient(135deg, #fff 0%, #fff7fb 46%, #f5f7fb 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 54px;
  align-items: center;
}

.hero-copy {
  padding-top: 16px;
}

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

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

.trust-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.trust-item strong {
  display: block;
  font-size: 20px;
}

.trust-item span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
}

.hero-visual img,
.feature-photo img,
.split-photo img,
.download-photo img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.hero-visual img {
  max-height: 560px;
  aspect-ratio: 5 / 4;
}

.market-card {
  position: absolute;
  left: -26px;
  bottom: 26px;
  width: min(300px, 72%);
  padding: 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 45px rgba(24, 32, 47, 0.18);
}

.ticker-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  font-weight: 800;
}

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

.up {
  color: var(--green);
}

.down {
  color: #d14343;
}

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

.section-head p {
  max-width: 500px;
  color: var(--muted);
}

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

.feature-photo img {
  aspect-ratio: 5 / 4;
}

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

.tile,
.legal-card,
.contact-card,
.requirement,
.quote,
.step,
.download-panel,
.form-shell {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(24, 32, 47, 0.06);
}

.tile {
  padding: 24px;
}

.mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  margin-bottom: 18px;
  color: var(--primary);
  background: var(--primary-soft);
  font-weight: 900;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: steps;
}

.step {
  position: relative;
  padding: 28px;
  min-height: 235px;
}

.step::before {
  counter-increment: steps;
  content: counter(steps);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin-bottom: 24px;
  color: #fff;
  background: var(--primary);
  font-weight: 900;
}

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

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

.metric {
  padding: 28px;
  background: #fff;
}

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

.metric span {
  color: var(--muted);
  font-weight: 700;
}

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

.quote {
  padding: 28px;
}

.quote p {
  color: #334155;
}

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

.cta-band {
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.cta-band .container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 660px;
}

.page-hero {
  padding: 82px 0 62px;
  background: linear-gradient(135deg, #fff7fb, #f8fafc);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.split-photo img,
.download-photo img {
  aspect-ratio: 5 / 4;
}

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

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 24px;
  border-left: 4px solid var(--primary);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(24, 32, 47, 0.06);
}

.timeline-item time {
  color: var(--primary);
  font-weight: 900;
}

.legal-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 30px;
  align-items: start;
}

.legal-aside {
  position: sticky;
  top: 98px;
}

.legal-card {
  padding: 24px;
  margin-bottom: 18px;
}

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

.legal-card h3 {
  font-size: 20px;
}

.highlight {
  padding: 18px;
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  background: var(--primary-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: start;
}

.form-shell {
  padding: 32px;
}

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

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

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

label {
  font-weight: 800;
}

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

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

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(183, 19, 99, 0.15);
  border-color: var(--primary);
}

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

.checkline input {
  width: auto;
  margin-top: 6px;
}

.form-message {
  display: none;
  margin-top: 16px;
  padding: 14px;
  border-radius: 8px;
  font-weight: 800;
}

.form-message.success {
  display: block;
  color: #116149;
  background: #eaf8f2;
}

.form-message.error {
  display: block;
  color: #8f1d1d;
  background: #fff1f1;
}

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

.contact-card {
  padding: 24px;
}

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

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.store-button {
  display: inline-grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
  min-width: 198px;
  padding: 13px 18px;
  border-radius: 10px;
  color: #fff;
  background: var(--navy);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.2);
}

.store-button b {
  display: block;
  line-height: 1.1;
}

.store-button small {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.1;
}

.store-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

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

.requirement {
  padding: 24px;
}

.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  display: grid;
  justify-items: center;
  gap: 22px;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  color: var(--muted);
  font-weight: 700;
}

.copyright {
  color: var(--muted);
  font-size: 14px;
}

.h5-body .page-hero {
  padding-top: 42px;
}

@media (max-width: 900px) {
  .nav {
    width: min(100% - 28px, 1160px);
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: fixed;
    inset: 76px 14px auto 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-links a {
    padding: 14px;
  }

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

  .nav-actions .button {
    display: none;
  }

  .hero,
  .section {
    padding: 58px 0;
  }

  .container {
    width: min(100% - 28px, 1160px);
  }

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

  .hero {
    min-height: 0;
  }

  .market-card {
    left: 14px;
    bottom: 14px;
  }

  .section-head {
    display: block;
  }

  .feature-list,
  .step-grid,
  .quotes,
  .values,
  .requirement-grid,
  .metrics,
  .metric-band,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .legal-aside {
    position: static;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 39px;
  }

  .brand span {
    font-size: 17px;
  }

  .hero-actions,
  .store-buttons {
    display: grid;
  }

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

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

  .hero-visual img {
    max-height: 360px;
    aspect-ratio: 16 / 10;
  }
}
