:root {
  --navy: #06234a;
  --deep: #041a38;
  --blue: #0b3568;
  --cyan: #08b6d8;
  --cyan-pale: #e8fbfe;
  --ink: #122033;
  --muted: #637082;
  --line: #dce5ee;
  --soft: #f3f7fb;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 76px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(4, 26, 56, 0.98);
}

.brand img,
footer img {
  display: block;
  width: 148px;
  height: auto;
}

.back-link {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  transition: border-color 180ms ease, background 180ms ease;
}

.back-link:hover,
.back-link:focus-visible {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 270px) minmax(320px, 0.72fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(76px, 9vw, 132px) clamp(20px, 6vw, 96px);
  color: var(--white);
  background:
    radial-gradient(circle at 84% 18%, rgba(8, 182, 216, 0.2), transparent 30%),
    radial-gradient(circle at 14% 82%, rgba(47, 125, 180, 0.16), transparent 34%),
    linear-gradient(115deg, #041a38, #07345d);
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 26px;
  font-size: clamp(2.7rem, 6vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-intro {
  max-width: 680px;
  margin-bottom: 20px;
  color: #d8e8f4;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 300;
}

.hero-note {
  max-width: 680px;
  margin: 0;
  padding-left: 18px;
  border-left: 3px solid var(--cyan);
  color: #f1f8fc;
  font-size: 0.92rem;
  font-weight: 650;
}

.document-card {
  position: relative;
  display: block;
  width: min(100%, 270px);
  margin-inline: auto;
  padding: 10px;
  border: 1px solid rgba(143, 198, 230, 0.32);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.28),
    0 0 32px rgba(8, 182, 216, 0.14);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.document-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(8, 182, 216, 0.52), transparent 38%, rgba(255, 255, 255, 0.22));
  opacity: 0.42;
}

.document-card:hover,
.document-card:focus-visible {
  border-color: rgba(172, 241, 255, 0.9);
  box-shadow:
    0 34px 72px rgba(0, 0, 0, 0.34),
    0 0 38px rgba(8, 182, 216, 0.34);
  transform: translateY(-4px);
}

.document-card:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.document-card figure {
  margin: 0;
}

.document-card img {
  display: block;
  width: 100%;
  aspect-ratio: 0.707 / 1;
  object-fit: cover;
  object-position: top;
  border-radius: 10px;
}

.document-card figcaption {
  display: grid;
  gap: 2px;
  padding: 14px 8px 7px;
}

.document-card figcaption span {
  color: var(--cyan);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.document-card figcaption strong {
  color: var(--white);
  font-size: 0.88rem;
  line-height: 1.3;
}

.document-card figcaption small {
  color: #c8dceb;
  font-size: 0.72rem;
}

.form-actions {
  display: grid;
  gap: 12px;
}

.action-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 88px;
  padding: 16px 18px;
  overflow: hidden;
  border: 1px solid rgba(191, 212, 232, 0.26);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.action-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    110deg,
    transparent 28%,
    rgba(255, 255, 255, 0.3) 49%,
    transparent 68%
  );
  opacity: 0;
  transform: translateX(-135%);
  transition: transform 560ms ease, opacity 220ms ease;
}

.action-card:hover,
.action-card:focus-visible {
  border-color: rgba(172, 241, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.action-card:hover::before,
.action-card:focus-visible::before {
  opacity: 1;
  transform: translateX(135%);
}

.action-primary {
  border-color: rgba(111, 225, 255, 0.72);
  background: linear-gradient(100deg, rgba(8, 182, 216, 0.28), rgba(255, 255, 255, 0.08));
  box-shadow: 0 0 30px rgba(8, 182, 216, 0.18);
}

.action-card strong,
.action-card small {
  display: block;
}

.action-card strong {
  margin-bottom: 2px;
  color: var(--white);
  font-size: 0.96rem;
}

.action-card small {
  color: #c8dceb;
  font-size: 0.8rem;
}

.action-icon {
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 50%;
  background: rgba(8, 182, 216, 0.2);
  box-shadow: 0 0 16px rgba(83, 222, 255, 0.25);
}

.action-icon::before,
.action-icon::after {
  content: "";
  position: absolute;
}

.action-icon-edit::before {
  top: 10px;
  left: 13px;
  width: 14px;
  height: 18px;
  border: 1.5px solid var(--white);
  border-radius: 2px;
}

.action-icon-edit::after {
  top: 15px;
  left: 17px;
  width: 8px;
  height: 1.5px;
  background: var(--white);
  box-shadow: 0 5px 0 var(--white), 0 10px 0 var(--white);
}

.action-icon-download::before {
  top: 10px;
  left: 19px;
  width: 2px;
  height: 14px;
  background: var(--white);
}

.action-icon-download::after {
  left: 13px;
  bottom: 10px;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(45deg);
}

.action-icon-send::before {
  top: 12px;
  left: 11px;
  width: 19px;
  height: 16px;
  border: 1.5px solid var(--white);
  border-radius: 2px;
}

.action-icon-send::after {
  top: 13px;
  left: 13px;
  width: 14px;
  height: 14px;
  border-right: 1.5px solid var(--white);
  border-bottom: 1.5px solid var(--white);
  transform: rotate(45deg) translate(-2px, 2px);
}

.steps {
  padding: clamp(70px, 8vw, 112px) clamp(20px, 6vw, 96px);
}

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

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

h2 {
  margin-bottom: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.steps ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
}

.steps li {
  min-height: 210px;
  padding: 28px;
  background: var(--white);
}

.steps li > span {
  display: block;
  margin-bottom: 28px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.steps strong {
  color: var(--navy);
  font-size: 1.08rem;
}

.steps p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.steps p a {
  color: var(--blue);
  font-weight: 800;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 6vw, 96px);
  color: #c8dceb;
  background: var(--deep);
}

footer p {
  margin: 0;
  font-size: 0.78rem;
}

footer a {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .steps ol {
    grid-template-columns: 1fr;
  }

  .steps li {
    min-height: auto;
  }

  .document-card {
    width: min(100%, 250px);
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 66px;
  }

  .brand img,
  footer img {
    width: 116px;
  }

  .back-link {
    font-size: 0.72rem;
  }

  .hero {
    padding-top: 64px;
  }

  h1 {
    font-size: clamp(2.5rem, 13vw, 4.2rem);
  }

  .action-card {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 14px;
  }

  .action-icon {
    width: 38px;
    height: 38px;
  }

  .document-card {
    width: min(74vw, 245px);
  }

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

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