:root {
  --navy: #071321;
  --ink: #f7fbff;
  --muted: rgba(247, 251, 255, 0.74);
  --faint: rgba(247, 251, 255, 0.12);
  --teal: #24d1a0;
  --gold: #f1c76a;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.page {
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 72px clamp(24px, 7vw, 96px);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 19, 33, 0.96) 0%, rgba(7, 19, 33, 0.84) 32%, rgba(7, 19, 33, 0.28) 72%, rgba(7, 19, 33, 0.18) 100%),
    linear-gradient(180deg, rgba(7, 19, 33, 0.32), rgba(7, 19, 33, 0.7));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 700px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
}

.status-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(680px, 100%);
  margin: 38px 0 0;
}

.status-panel div {
  min-height: 112px;
  border: 1px solid var(--faint);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
}

.status-panel span,
.note {
  color: var(--muted);
}

.status-panel span {
  display: block;
  font-size: 13px;
  font-weight: 750;
}

.status-panel strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(20px, 2.3vw, 27px);
  line-height: 1.1;
}

.status-panel div:first-child strong {
  color: var(--gold);
}

.note {
  max-width: 620px;
  margin: 24px 0 0;
  font-size: 14px;
  line-height: 1.55;
}

.preview-link {
  display: inline;
  margin-left: 8px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--teal);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.preview-link:hover {
  color: var(--gold);
}

.preview-modal[hidden] {
  display: none;
}

.preview-modal {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(3, 9, 18, 0.72);
  backdrop-filter: blur(10px);
}

.preview-dialog {
  position: relative;
  width: min(460px, 100%);
  border: 1px solid var(--faint);
  border-radius: 8px;
  padding: 28px;
  background: rgba(7, 19, 33, 0.96);
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.38);
}

.preview-dialog h2 {
  margin: 0 0 20px;
  font-size: 30px;
  line-height: 1.1;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 28px;
  cursor: pointer;
}

.preview-dialog form,
.preview-dialog label {
  display: grid;
  gap: 10px;
}

.preview-dialog label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.preview-dialog input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--faint);
  border-radius: 8px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font: inherit;
}

.preview-dialog form button[type="submit"] {
  min-height: 46px;
  margin-top: 8px;
  border: 0;
  border-radius: 8px;
  background: var(--teal);
  color: var(--navy);
  font-weight: 850;
  cursor: pointer;
}

.form-error {
  margin: 0;
  color: #ffb8a8;
  font-size: 13px;
  font-weight: 750;
}

@media (max-width: 760px) {
  .hero {
    align-items: end;
    padding: 44px 22px;
  }

  .hero-image {
    object-position: 70% center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(7, 19, 33, 0.2) 0%, rgba(7, 19, 33, 0.72) 42%, rgba(7, 19, 33, 0.98) 100%),
      linear-gradient(90deg, rgba(7, 19, 33, 0.7), rgba(7, 19, 33, 0.18));
  }

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

  .status-panel {
    grid-template-columns: 1fr;
  }
}
