:root {
  color-scheme: light;
  --ink: #102237;
  --muted: #576779;
  --paper: #f6f3ec;
  --surface: #fffdf8;
  --line: #dcd6ca;
  --blue: #1d6fd6;
  --navy: #0d2744;
  --sky: #dbeaff;
  --danger: #a72c29;
  --danger-soft: #fbe7e3;
  --warning: #fff0c7;
  --warning-ink: #604713;
  --success: #14724b;
  --success-soft: #dff3e9;
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(90deg, rgba(16, 34, 55, 0.035) 1px, transparent 1px) 0 0 / 36px 36px,
    var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: var(--blue);
  text-underline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(13, 39, 68, 0.96);
  backdrop-filter: blur(14px);
}

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

.brand {
  color: #fff;
  font-weight: 850;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand span {
  color: #8fc1ff;
}

.document-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.document-nav a {
  padding: 8px 11px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.document-nav a:hover,
.document-nav a:focus-visible,
.document-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

main {
  overflow: hidden;
}

.intro {
  position: relative;
  min-height: 500px;
  padding: 72px max(40px, calc((100vw - 1120px) / 2));
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
  align-items: center;
  gap: 72px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(86, 169, 255, 0.35), transparent 28%),
    linear-gradient(135deg, #0b2139 0%, #123d6a 60%, #1c69bb 100%);
  color: #fff;
}

.intro::after {
  content: "";
  position: absolute;
  right: -8vw;
  bottom: -210px;
  width: min(520px, 72vw);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 42px rgba(255, 255, 255, 0.035),
    0 0 0 96px rgba(255, 255, 255, 0.025);
}

.intro-copy,
.road-visual {
  position: relative;
  z-index: 1;
}

.intro-copy {
  animation: rise-in 520ms ease-out both;
}

.eyebrow,
.section-label {
  margin: 0 0 16px;
  color: #a9d1ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: Iowan Old Style, Baskerville, Georgia, serif;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(48px, 6.5vw, 78px);
  font-weight: 700;
  line-height: 0.98;
}

.lead {
  max-width: 690px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 2vw, 19px);
}

.road-visual {
  width: min(330px, 30vw);
  aspect-ratio: 1;
  justify-self: end;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 32px 80px rgba(4, 24, 47, 0.28);
  animation: visual-in 650ms 100ms ease-out both;
}

.road-line {
  position: absolute;
  width: 120%;
  border-top: 1px dashed rgba(255, 255, 255, 0.38);
}

.road-line-one {
  transform: rotate(18deg);
}

.road-line-two {
  transform: rotate(-24deg);
}

.road-dot {
  position: absolute;
  top: 19%;
  right: 21%;
  width: 14px;
  height: 14px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.08);
  animation: pulse 2.4s ease-in-out infinite;
}

.road-visual strong {
  margin-top: -24px;
  font: 700 clamp(72px, 9vw, 118px)/1 Iowan Old Style, Baskerville, Georgia, serif;
}

.road-visual small {
  position: absolute;
  top: 63%;
  font-size: 12px;
  font-weight: 800;
}

.workspace {
  width: min(1120px, calc(100% - 40px));
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: minmax(250px, 0.34fr) minmax(0, 0.66fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(16, 34, 55, 0.08);
  animation: section-in 500ms 160ms ease-out both;
}

.steps {
  padding: 38px 32px;
  background: var(--navy);
  color: #fff;
}

.steps div {
  position: relative;
  min-height: 112px;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
}

.steps div:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 34px;
  bottom: 8px;
  left: 13px;
  width: 1px;
  background: rgba(255, 255, 255, 0.17);
}

.steps span {
  color: #8fc1ff;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.steps p {
  margin: -3px 0 0;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
}

.action-panel {
  padding: 48px clamp(26px, 5vw, 64px);
}

.action-panel .section-label,
.data-section .section-label {
  color: var(--blue);
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
}

.section-copy {
  max-width: 650px;
  margin: 16px 0 28px;
  color: var(--muted);
}

form {
  max-width: 620px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid #cfc8bb;
  border-radius: 14px;
  outline: none;
  background: #fff;
  color: var(--ink);
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(29, 111, 214, 0.12);
}

input[aria-invalid="true"] {
  border-color: var(--danger);
}

.field-error {
  margin: 8px 0 0;
  color: var(--danger);
  font-size: 13px;
  font-weight: 700;
}

.turnstile {
  min-height: 68px;
  margin: 18px 0 12px;
}

.primary-button {
  width: 100%;
  min-height: 54px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  font: 800 15px/1.2 "Avenir Next", Avenir, "Segoe UI", sans-serif;
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.primary-button:hover:not(:disabled),
.primary-button:focus-visible:not(:disabled) {
  background: #145cab;
  box-shadow: 0 10px 24px rgba(29, 111, 214, 0.22);
  transform: translateY(-1px);
}

.primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.feedback {
  margin-top: 20px;
  padding: 15px 17px;
  border-left: 4px solid var(--blue);
  background: var(--sky);
  color: #24415f;
  font-size: 14px;
  font-weight: 650;
}

.feedback[data-kind="error"] {
  border-color: var(--danger);
  background: var(--danger-soft);
  color: #71221f;
}

.feedback[data-kind="success"] {
  border-color: var(--success);
  background: var(--success-soft);
  color: #185a40;
}

.form-note,
.retention-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.status-details {
  margin: 24px 0;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.status-details span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.data-section {
  width: min(1120px, calc(100% - 40px));
  margin: 76px auto 90px;
  padding-top: 42px;
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.66fr);
  gap: 48px;
  border-top: 2px solid var(--ink);
}

.data-section ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.data-section li {
  padding: 18px 0;
  display: grid;
  grid-template-columns: minmax(110px, 0.28fr) 1fr;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.data-section li span {
  color: var(--ink);
  font-weight: 850;
}

.data-section li p {
  margin: 0;
  color: var(--muted);
}

.retention-note {
  grid-column: 2;
  max-width: 680px;
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
}

.footer-inner a {
  color: #acd2ff;
}

[hidden] {
  display: none !important;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes section-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes visual-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 820px) {
  .site-header {
    position: static;
  }

  .nav-shell {
    padding: 13px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .document-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .document-nav::-webkit-scrollbar {
    display: none;
  }

  .document-nav a[aria-current="page"] {
    order: -1;
  }

  .intro {
    min-height: auto;
    padding: 58px 20px 52px;
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .road-visual {
    width: min(300px, 72vw);
    justify-self: center;
  }

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

  .steps {
    padding: 24px 22px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .steps div {
    min-height: auto;
    display: block;
  }

  .steps div:not(:last-child)::after {
    display: none;
  }

  .steps p {
    margin-top: 4px;
    font-size: 12px;
  }

  .data-section {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .retention-note {
    grid-column: 1;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .nav-shell,
  .workspace,
  .data-section,
  .footer-inner {
    width: min(100% - 28px, 1180px);
  }

  h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .action-panel {
    padding: 36px 20px;
  }

  .steps {
    gap: 9px;
    padding: 22px 18px;
  }

  .steps p {
    font-size: 11px;
  }

  .data-section li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .status-details {
    flex-direction: column;
    gap: 4px;
  }
}
