:root {
  --ink: #10162c;
  --muted: #5e6478;
  --paper: #fbf8f0;
  --panel: #ffffff;
  --line: #e0d9c8;
  --navy: #071354;
  --navy-2: #121f6e;
  --violet: #7e76ff;
  --violet-soft: #ece9ff;
  --gold: #bd921c;
  --gold-soft: #f3e4bd;
  --teal: #19726e;
  --coral: #dd7d39;
  --shadow: 0 24px 80px rgba(7, 19, 84, 0.16);
  color-scheme: light;
}

* {
  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(--paper);
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 248, 240, 0.9);
  border-bottom: 1px solid rgba(224, 217, 200, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 36px);
}

.site-nav a,
.secondary-link {
  color: var(--muted);
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.secondary-link:hover {
  color: var(--navy);
}

.nav-cta,
.primary-button {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 760;
}

.nav-cta {
  padding: 0 18px;
  color: var(--navy);
  background: var(--violet-soft);
}

.nav-cta:hover {
  background: #ded9ff;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  color: #fff;
  background: var(--navy);
  box-shadow: 0 10px 28px rgba(7, 19, 84, 0.24);
}

.primary-button:hover {
  background: var(--navy-2);
}

.primary-button.dark {
  background: var(--navy);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(340px, 1.04fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 138px);
  padding: clamp(34px, 5vw, 66px) clamp(18px, 4vw, 56px) 30px;
  background:
    radial-gradient(circle at 8% 10%, rgba(126, 118, 255, 0.18), transparent 28%),
    linear-gradient(110deg, rgba(189, 146, 28, 0.16), transparent 34%),
    linear-gradient(180deg, #fffaf0 0%, #f6f0df 100%);
}

.hero-copy {
  position: relative;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 790px;
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 3.6vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.6vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-text,
.intro-copy p,
.launch p {
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  align-items: center;
  margin: 24px 0;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin: 0;
}

.hero-facts div {
  padding: 13px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-facts dt {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-facts dd {
  margin: 6px 0 0;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 820;
}

.hero-media {
  overflow: hidden;
  border: 1px solid rgba(7, 19, 84, 0.14);
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: #eee9dc;
}

.hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.partner-strip {
  padding: 20px clamp(18px, 4vw, 56px);
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.partner-strip a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 4vw, 34px);
  color: inherit;
  text-decoration: none;
}

.partner-strip a:hover span {
  color: var(--navy);
}

.partner-strip span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.partner-strip img {
  display: block;
  width: min(52vw, 360px);
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.section {
  padding: clamp(58px, 8vw, 108px) clamp(18px, 4vw, 56px);
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  gap: clamp(26px, 6vw, 82px);
  padding-top: clamp(24px, 4vw, 52px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.intro-copy {
  display: grid;
  gap: 16px;
}

.workflow-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: clamp(12px, 2.5vw, 26px) 0 0;
  border: 1px solid rgba(7, 19, 84, 0.1);
  border-radius: 8px;
  background: #fbf8f0;
  box-shadow: 0 18px 56px rgba(7, 19, 84, 0.1);
}

.workflow-step {
  position: relative;
  min-height: 188px;
  padding: 26px;
  border-right: 1px solid rgba(7, 19, 84, 0.1);
}

.workflow-step:last-child {
  border-right: 0;
}

.workflow-step span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 38px;
  color: var(--navy);
  background: var(--gold-soft);
  border: 1px solid rgba(189, 146, 28, 0.28);
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 860;
}

.workflow-step strong {
  display: block;
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 1.1rem;
}

.workflow-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  background: #f4efe3;
}

.feature-card {
  min-height: 260px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid rgba(23, 33, 31, 0.12);
  border-radius: 8px;
}

.feature-kicker {
  display: inline-block;
  margin-bottom: 44px;
  color: var(--violet);
  font-size: 0.8rem;
  font-weight: 860;
}

.feature-card p,
.compliance-copy p,
.compliance-rail p,
.modal-copy {
  color: var(--muted);
  line-height: 1.58;
}

.compliance {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 4vw, 44px);
  align-items: start;
  padding-top: clamp(48px, 6vw, 78px);
  padding-bottom: clamp(48px, 6vw, 78px);
  background:
    radial-gradient(circle at 74% 20%, rgba(126, 118, 255, 0.22), transparent 28%),
    linear-gradient(145deg, #071354 0%, #11122e 100%);
  color: #fff;
}

.compliance .eyebrow {
  color: #f0c76a;
}

.compliance h2 {
  color: #fff;
}

.compliance-copy p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.25vw, 1.17rem);
}

.compliance-rail {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: clamp(12px, 2vw, 22px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.compliance-rail li {
  min-height: 168px;
  padding: 24px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.compliance-rail li:last-child {
  border-right: 0;
}

.compliance-rail span {
  display: block;
  margin-bottom: 18px;
  color: #f0c76a;
  font-size: 0.8rem;
  font-weight: 860;
}

.compliance-rail strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 1.06rem;
}

.compliance-rail p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.launch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  background: #fff;
}

.answer-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(26px, 5vw, 72px);
  background: #f4efe3;
  border-top: 1px solid var(--line);
}

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

.answer-grid article {
  min-height: 220px;
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(23, 33, 31, 0.12);
  border-radius: 8px;
}

.answer-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: #eff7f4;
  background: #070b24;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
}

.site-footer div span:first-child {
  font-weight: 850;
}

.powered-by {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 720;
  text-decoration: none;
}

.powered-by:hover {
  color: #fff;
}

.powered-by img {
  width: auto;
  height: 42px;
  object-fit: contain;
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 20px;
}

.modal-shell.is-open {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 18, 17, 0.66);
}

.modal {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: clamp(24px, 5vw, 38px);
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.modal h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  min-height: 38px;
  padding: 0 12px;
  color: var(--muted);
  background: #eef2ef;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 750;
}

form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 760;
}

input,
select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: #fbfcfb;
  border: 1px solid #cad5d0;
  border-radius: 8px;
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(126, 118, 255, 0.16);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.form-status.is-error {
  color: #a53f22;
}

.form-status.is-success {
  color: #1f6b43;
}

.is-complete label,
.is-complete .form-submit {
  display: none;
}

.is-complete .form-status {
  min-height: 0;
  padding: 20px;
  color: #174a34;
  background: #eef8f1;
  border: 1px solid #b9dec6;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 760;
}

.form-submit {
  width: 100%;
  margin-top: 4px;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 1040px) {
  .hero,
  .intro-band,
  .compliance,
  .launch,
  .answer-section {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compliance-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compliance-rail li:nth-child(2) {
    border-right: 0;
  }

  .compliance-rail li:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .launch {
    align-items: start;
  }

  .launch .primary-button {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .nav-cta {
    min-height: 42px;
    padding: 0 12px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
    padding-bottom: 22px;
    gap: 22px;
  }

  h1 {
    font-size: clamp(2.15rem, 9.5vw, 2.75rem);
  }

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

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

  .answer-grid article {
    min-height: auto;
  }

  .hero-facts {
    display: none;
  }

  .hero-media img {
    aspect-ratio: 16 / 9;
  }

  .partner-strip {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .partner-strip a {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .partner-strip img {
    width: min(100%, 320px);
    max-height: 50px;
  }

  .feature-card {
    min-height: auto;
  }

  .intro-band {
    padding-top: 12px;
  }

  .compliance-rail {
    grid-template-columns: 1fr;
  }

  .workflow-strip {
    grid-template-columns: 1fr;
  }

  .workflow-step {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(7, 19, 84, 0.1);
  }

  .workflow-step:last-child {
    border-bottom: 0;
  }

  .workflow-step span {
    margin-bottom: 20px;
  }

  .compliance-rail li,
  .compliance-rail li:nth-child(2),
  .compliance-rail li:last-child {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .compliance-rail li:last-child {
    border-bottom: 0;
  }

  .feature-kicker {
    margin-bottom: 24px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
