:root {
  --ink: #102126;
  --muted: #53666b;
  --line: #d7e3e5;
  --paper: #f3f8f8;
  --white: #ffffff;
  --navy: #0b3040;
  --teal: #006b73;
  --teal-dark: #064f58;
  --coral: #d85b3a;
  --coral-dark: #a93f27;
  --silver: #e8eef0;
  --shadow: 0 18px 50px rgb(8 38 48 / 14%);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Aptos", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--white);
  color: var(--navy);
  padding: 10px 14px;
  border-radius: var(--radius);
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(243 248 248 / 92%);
  border-bottom: 1px solid rgb(215 227 229 / 80%);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--coral));
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--navy);
}

.button,
.pdf-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  border: 1px solid transparent;
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 900;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
  white-space: nowrap;
}

.button:active,
.pdf-link:active {
  transform: translateY(1px);
}

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

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

.button.secondary {
  color: var(--white);
  border-color: rgb(255 255 255 / 60%);
  background: rgb(255 255 255 / 14%);
}

.button.secondary:hover {
  background: rgb(255 255 255 / 22%);
}

.button.light {
  color: var(--navy);
  background: var(--white);
  border-color: rgb(255 255 255 / 70%);
}

.button.light:hover {
  background: var(--silver);
}

.hero {
  position: relative;
  min-height: 76dvh;
  display: grid;
  align-items: end;
  color: var(--white);
  background-image:
    linear-gradient(90deg, rgb(7 30 38 / 88%), rgb(7 30 38 / 58%) 42%, rgb(7 30 38 / 24%)),
    linear-gradient(0deg, rgb(7 30 38 / 78%), rgb(7 30 38 / 0%) 45%),
    url("../dsi/slides/1hero.webp");
  background-position: center;
  background-size: cover;
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0 72px;
}

.eyebrow {
  margin: 0 0 16px;
  color: rgb(255 255 255 / 86%);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(54px, 11vw, 128px);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgb(255 255 255 / 90%);
  font-size: clamp(19px, 2.1vw, 28px);
  line-height: 1.28;
}

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

.metric-band {
  width: min(1180px, calc(100% - 32px));
  margin: -34px auto 0;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.metric {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  color: var(--navy);
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 90px 0;
}

.section.compact {
  padding-top: 64px;
}

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

.section-header h2,
.account-panel h2,
.details-panel h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-header p,
.account-panel p,
.details-panel p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.program-block {
  min-height: 350px;
  display: grid;
  align-content: end;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
}

.program-block img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.52;
}

.program-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(5 25 32 / 86%), rgb(5 25 32 / 8%) 66%);
}

.program-copy {
  position: relative;
  z-index: 1;
  padding: 28px;
}

.program-copy h3 {
  margin: 0;
  font-size: 31px;
  line-height: 1.05;
}

.program-copy p {
  margin: 14px 0 0;
  color: rgb(255 255 255 / 84%);
}

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

.certificate-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.certificate-card img {
  width: 100%;
  aspect-ratio: 7 / 4;
  object-fit: cover;
  background: var(--silver);
}

.certificate-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.certificate-body h3 {
  margin: 0;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.08;
}

.certificate-body p {
  margin: 12px 0 0;
  color: var(--muted);
}

.certificate-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: var(--radius);
  padding: 6px 9px;
  background: #edf3f4;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
}

.label.premium {
  background: #f9e8df;
  color: var(--coral-dark);
}

.pdf-link {
  width: 100%;
  margin-top: auto;
  color: var(--navy);
  border-color: var(--line);
  background: var(--white);
}

.pdf-link:hover {
  color: var(--white);
  border-color: var(--teal);
  background: var(--teal);
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.step {
  padding: 22px;
  border-top: 4px solid var(--coral);
  border-radius: var(--radius);
  background: var(--white);
}

.step-number {
  display: block;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.step h3 {
  margin: 16px 0 8px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.12;
}

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

.account-wrap {
  padding: 86px 0;
  color: var(--white);
  background-image:
    linear-gradient(90deg, rgb(7 30 38 / 90%), rgb(7 30 38 / 58%)),
    url("../dsi/slides/2hero.webp");
  background-position: center;
  background-size: cover;
}

.account-panel {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  max-width: 800px;
}

.account-panel h2,
.account-panel p {
  color: var(--white);
}

.account-panel p {
  color: rgb(255 255 255 / 86%);
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.request-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 38px;
  align-items: start;
}

.request-copy {
  margin-bottom: 0;
}

.request-form {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.form-field {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 900;
}

.form-field span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
}

.form-field strong {
  color: var(--coral-dark);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #b9cacc;
  border-radius: var(--radius);
  padding: 11px 12px;
  color: var(--ink);
  background: #fbfdfd;
  font: inherit;
  font-weight: 700;
}

.form-field textarea {
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 3px solid rgb(0 107 115 / 22%);
  border-color: var(--teal);
  background: var(--white);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding-top: 4px;
}

.form-actions span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.details-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.incentive-copy {
  columns: 2;
  column-gap: 34px;
  color: var(--muted);
  font-size: 17px;
}

.incentive-copy p {
  break-inside: avoid;
  margin: 0 0 16px;
}

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

.footer-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-shell a {
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

  .metric-band,
  .program-grid,
  .certificate-grid,
  .workflow,
  .request-grid,
  .details-panel {
    grid-template-columns: 1fr;
  }

  .metric {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .incentive-copy {
    columns: 1;
  }
}

@media (max-width: 640px) {
  .nav-shell {
    width: min(1180px, calc(100% - 24px));
    min-height: 66px;
    gap: 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand span:last-child {
    max-width: 116px;
    white-space: normal;
    line-height: 1;
  }

  .site-header .button {
    display: none;
  }

  .hero {
    min-height: 72dvh;
    background-image:
      linear-gradient(90deg, rgb(7 30 38 / 92%), rgb(7 30 38 / 66%)),
      linear-gradient(0deg, rgb(7 30 38 / 78%), rgb(7 30 38 / 0%) 45%),
      url("../dsi/slides/1hero.webp");
  }

  .hero-inner {
    width: min(1180px, calc(100% - 24px));
    padding: 74px 0 52px;
  }

  .hero h1 {
    max-width: 6ch;
    font-size: clamp(50px, 17vw, 64px);
  }

  .hero-copy {
    max-width: 29ch;
    font-size: 17px;
  }

  .hero-actions,
  .account-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .request-form {
    padding: 18px;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .metric-band,
  .section,
  .account-panel,
  .footer-shell {
    width: min(1180px, calc(100% - 24px));
  }

  .section {
    padding: 64px 0;
  }

  .section-header h2,
  .account-panel h2,
  .details-panel h2 {
    font-size: clamp(34px, 13vw, 52px);
  }

  .program-block {
    min-height: 300px;
  }

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