:root {
  --navy: #082f5b;
  --navy-dark: #061d38;
  --green: #55a441;
  --green-dark: #408733;
  --ink: #162231;
  --muted: #607083;
  --line: #dfe8ef;
  --soft: #f5f9fb;
  --white: #fff;
  --shadow: 0 22px 55px rgba(8, 47, 91, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(223,232,239,.9);
  backdrop-filter: blur(16px);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.35rem; font-weight: 800; }
.code-mark { display: inline-flex; align-items: center; gap: 1px; color: var(--navy); font-weight: 900; font-size: 1.25em; letter-spacing: -4px; }
.code-mark b { color: var(--green); font-size: 1.15em; margin: 0 3px; }
.brand-name strong { color: var(--navy); }
.brand-name em { color: var(--green); font-style: normal; }
.primary-nav { display: flex; align-items: center; gap: 28px; font-size: .95rem; font-weight: 600; }
.primary-nav > a:not(.button) { color: #415065; }
.primary-nav > a:not(.button):hover { color: var(--green-dark); }
.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  border: 1px solid var(--navy);
  box-shadow: 0 12px 30px rgba(8,47,91,.16);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); background: var(--navy-dark); box-shadow: 0 16px 34px rgba(8,47,91,.22); }
.button-small { min-height: 42px; padding-inline: 18px; border-radius: 10px; }
.button-ghost { background: rgba(255,255,255,.78); color: var(--navy); box-shadow: none; }
.button-ghost:hover { background: var(--white); }
.button-light { background: var(--white); color: var(--navy); border-color: var(--white); }

.hero { position: relative; min-height: 720px; display: grid; align-items: center; overflow: hidden; background: linear-gradient(110deg, #fff 0%, #f7fbfd 54%, #edf7f0 100%); }
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: rgba(85,164,65,.10); right: -180px; top: -160px; filter: blur(4px); }
.hero-art { position: absolute; inset: 0; background: url("assets/nextraize-banner.png") center/cover no-repeat; opacity: .18; mix-blend-mode: multiply; }
.hero-content { position: relative; z-index: 1; padding-block: 110px; }
.eyebrow { margin: 0 0 16px; color: var(--green-dark); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 800; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 900px; font-size: clamp(3rem, 7vw, 6.25rem); line-height: .98; letter-spacing: -.055em; margin-bottom: 30px; color: var(--navy); }
h1 span { color: var(--green); }
.hero-copy { max-width: 730px; font-size: clamp(1.05rem, 2vw, 1.25rem); color: #536377; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.trust-row { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 56px; color: #495a6f; font-size: .92rem; font-weight: 600; }
.trust-row span { display: inline-flex; align-items: center; gap: 9px; }
.trust-row span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(85,164,65,.12); }

.section { padding: 110px 0; }
.section-soft { background: var(--soft); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
h2 { color: var(--navy); font-size: clamp(2.15rem, 4.5vw, 4rem); line-height: 1.08; letter-spacing: -.04em; margin-bottom: 22px; }
.section-copy { color: var(--muted); font-size: 1.08rem; }
.section-copy p:last-child { margin-bottom: 0; }
.section-heading { max-width: 720px; margin-bottom: 54px; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.05rem; }
.section-heading.compact { max-width: 760px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 34px; box-shadow: 0 10px 32px rgba(8,47,91,.06); overflow: hidden; }
.card::after { content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%; right: -45px; top: -45px; background: rgba(85,164,65,.08); }
.card-number { display: block; color: var(--green); font-weight: 800; letter-spacing: .12em; margin-bottom: 34px; }
.card h3 { color: var(--navy); font-size: 1.45rem; margin-bottom: 14px; }
.card p { color: var(--muted); }
.card ul { margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); list-style: none; }
.card li { position: relative; padding-left: 20px; margin: 10px 0; color: #435266; }
.card li::before { content: ""; position: absolute; left: 0; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

.process-section { background: linear-gradient(180deg, #fff, #f8fbfc); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps article { padding: 26px 22px; border-top: 3px solid var(--green); background: var(--white); box-shadow: 0 12px 34px rgba(8,47,91,.06); }
.steps span { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 22px; }
.steps h3 { color: var(--navy); margin-bottom: 8px; }
.steps p { color: var(--muted); margin-bottom: 0; font-size: .94rem; }

.cta { padding: 82px 0; background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.cta::after { content: "</>"; position: absolute; right: 4%; top: 50%; transform: translateY(-50%); font-weight: 900; font-size: 13rem; color: rgba(255,255,255,.045); letter-spacing: -.2em; }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.cta .eyebrow { color: #a8dc99; }
.cta h2 { color: var(--white); max-width: 780px; margin-bottom: 14px; }
.cta p { color: #c6d5e4; margin-bottom: 0; }

.site-footer { background: var(--navy-dark); color: #b9c7d5; padding: 34px 0; }
.footer-inner { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 28px; font-size: .88rem; }
.footer-inner p { margin: 0; }
.footer-brand .brand-name strong { color: #fff; }
.footer-brand { font-size: 1.05rem; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .primary-nav { display: none; position: absolute; left: 20px; right: 20px; top: 70px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 10px; }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 10px; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 28px, 1160px); }
  .hero { min-height: 660px; }
  .hero-content { padding-block: 84px; }
  h1 { font-size: clamp(2.7rem, 15vw, 4.2rem); }
  .section { padding: 78px 0; }
  .steps { grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .trust-row { display: grid; gap: 15px; }
  .cta { padding: 68px 0; }
}
