:root {
  --navy: #0d1b3d;
  --blue: #3d5a97;
  --periwinkle: #8fa3d6;
  --mist: #e6eaf2;
  --paper: #f2f2f4;
  --white: #ffffff;
  --ink: #17213a;
  --muted: #5f687a;
  --line: rgba(13, 27, 61, 0.14);
  --accent: #b8a56f;
  --shadow: 0 22px 56px rgba(13, 27, 61, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 max(24px, calc((100% - 1180px) / 2));
  color: var(--white);
  background: rgba(13, 27, 61, 0.88);
  border-bottom: 1px solid rgba(230, 234, 242, 0.18);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
}

.brand-copy {
  display: grid;
  gap: 0;
  line-height: 1.1;
}

.brand-copy strong {
  font-family: "Poppins", Arial, sans-serif;
  font-size: 23px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand-copy span {
  color: var(--mist);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--periwinkle);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: var(--navy);
  background: var(--white);
  border-radius: 8px;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  color: var(--navy);
  background: var(--mist);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 84svh;
  padding: 132px 0 72px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(13, 27, 61, 0.98) 0%, rgba(13, 27, 61, 0.88) 48%, rgba(13, 27, 61, 0.4) 100%),
    url("assets/nuvia-hero.png") center / cover no-repeat;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(230, 234, 242, 0.24);
}

.hero-inner,
.section-inner {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: calc(84svh - 204px);
  align-items: center;
}

.hero-content {
  max-width: 720px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--periwinkle);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
}

.section-kicker {
  color: var(--blue);
}

.section-kicker-light {
  color: var(--periwinkle);
}

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

h1,
h2,
h3 {
  font-family: "Poppins", Arial, sans-serif;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 690px;
  margin-bottom: 22px;
  font-size: 64px;
  font-weight: 700;
}

h2 {
  margin-bottom: 20px;
  color: var(--navy);
  font-size: 42px;
  font-weight: 600;
}

h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 22px;
  font-weight: 600;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.hero-button {
  color: var(--navy);
  background: var(--white);
  border-color: var(--white);
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.14);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px;
  margin: 0;
  border-top: 1px solid rgba(230, 234, 242, 0.26);
  border-bottom: 1px solid rgba(230, 234, 242, 0.26);
}

.hero-metrics div {
  padding: 17px 20px 16px 0;
  border-right: 1px solid rgba(230, 234, 242, 0.2);
}

.hero-metrics div + div {
  padding-left: 20px;
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics dt {
  color: var(--white);
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 600;
}

.hero-metrics dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.trust-band {
  padding: 24px 0;
  background: var(--mist);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.trust-grid p {
  max-width: 640px;
  margin: 0;
  color: var(--ink);
}

.trust-grid strong {
  color: var(--navy);
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 600;
}

.trust-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.trust-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(61, 90, 151, 0.18);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

.section {
  padding: 92px 0;
  background: var(--white);
}

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

.split-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(280px, 0.72fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 38px;
}

.split-intro p:last-child {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 18px;
}

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

.feature-card {
  min-height: 264px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-index {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 30px;
  color: var(--blue);
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 700;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.market-section {
  padding: 94px 0;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(13, 27, 61, 1) 0%, rgba(20, 38, 78, 1) 58%, rgba(61, 90, 151, 0.92) 100%);
}

.market-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1fr);
  gap: 66px;
  align-items: start;
}

.market-copy h2 {
  color: var(--white);
}

.market-copy p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
}

.admin-list {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(230, 234, 242, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}

.admin-list div {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: center;
  min-height: 112px;
  padding: 22px 26px;
  border-bottom: 1px solid rgba(230, 234, 242, 0.16);
}

.admin-list div:last-child {
  border-bottom: 0;
}

.admin-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--navy);
  background: var(--mist);
  border-radius: 8px;
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 700;
}

.admin-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

.centered-intro {
  max-width: 760px;
  margin-bottom: 42px;
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-left: 0;
  list-style: none;
}

.steps li {
  min-height: 258px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  color: var(--white);
  background: var(--blue);
  border-radius: 8px;
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 700;
}

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

.contact-section {
  padding: 94px 0;
  color: var(--white);
  background: var(--navy);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.94fr);
  gap: 68px;
  align-items: start;
}

.contact-copy h2 {
  color: var(--white);
}

.contact-copy p:last-child {
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
}

.lead-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(13, 27, 61, 0.16);
  border-radius: 8px;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

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

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(143, 163, 214, 0.28);
}

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

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
}

.site-footer {
  padding: 30px 0;
  color: rgba(255, 255, 255, 0.76);
  background: #09132c;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-footer .brand-copy strong {
  color: var(--white);
}

.brand-footer .brand-mark {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
}

.footer-grid p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    padding: 0 24px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 12px 24px 24px;
    color: var(--white);
    background: rgba(13, 27, 61, 0.97);
    border-bottom: 1px solid rgba(230, 234, 242, 0.18);
    transform: translateY(-120%);
    transition: transform 200ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(230, 234, 242, 0.14);
  }

  .site-nav .nav-cta {
    margin-top: 14px;
    color: var(--navy);
    border-bottom: 0;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 34px;
  }

  .hero {
    min-height: 82svh;
    padding-top: 122px;
  }

  .hero-inner {
    min-height: calc(82svh - 194px);
  }

  .split-intro,
  .market-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .trust-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .trust-tags {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .hero-inner,
  .section-inner {
    width: min(100% - 32px, 1180px);
  }

  .site-header {
    min-height: 70px;
    padding: 0 16px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .brand-copy strong {
    font-size: 20px;
  }

  .brand-copy span {
    font-size: 11px;
  }

  .site-nav {
    top: 70px;
    padding-inline: 16px;
  }

  .hero {
    min-height: auto;
    padding: 112px 0 54px;
    background:
      linear-gradient(90deg, rgba(13, 27, 61, 0.98) 0%, rgba(13, 27, 61, 0.9) 100%),
      url("assets/nuvia-hero.png") center / cover no-repeat;
  }

  .hero-inner {
    min-height: 0;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 21px;
  }

  .hero-lead,
  .split-intro p:last-child,
  .market-copy p:last-child,
  .contact-copy p:last-child {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    margin-bottom: 24px;
  }

  .button {
    width: 100%;
  }

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

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-metrics div,
  .hero-metrics div + div {
    padding: 11px 8px 10px;
    border-right: 1px solid rgba(230, 234, 242, 0.2);
    border-bottom: 0;
  }

  .hero-metrics div:last-child {
    border-right: 0;
  }

  .hero-metrics dd {
    display: none;
  }

  .hero-metrics dt {
    font-size: 12px;
  }

  .section,
  .market-section,
  .contact-section {
    padding: 68px 0;
  }

  .feature-card,
  .steps li {
    min-height: auto;
  }

  .admin-list div {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .lead-form {
    padding: 22px;
  }

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