:root {
  --bg: #071a22;
  --panel: #0d2430;
  --ink: #f5f6f4;
  --muted: rgba(245, 246, 244, 0.78);
  --line: rgba(255, 255, 255, 0.24);
  --accent: #b52a26;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
}

a { color: inherit; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  z-index: 10;
}
.skip-link:focus { top: 12px; }

.hero {
  min-height: 100vh;
}

.hero-visual-wrap {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #00141d;
}

.hero-visual {
  display: block;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center center;
}

.overlay-signup {
  position: absolute;
  left: 6.3%;
  bottom: 19.4%;
  width: min(40.5%, 610px);
  display: grid;
  grid-template-columns: 1fr 0.36fr;
  gap: 12px;
}

.overlay-signup input,
.overlay-signup button {
  height: clamp(42px, 4.6vw, 58px);
  border-radius: 3px;
  border: none;
  outline: none;
}

.overlay-signup input {
  background: transparent;
  color: #ffffff;
  padding: 0 20px;
  font-size: clamp(16px, 1.2vw, 20px);
  caret-color: #ffffff;
}
.overlay-signup input::placeholder { color: transparent; }
.overlay-signup button {
  background: transparent;
  cursor: pointer;
}

.mobile-content {
  display: none;
}

.contact-strip {
  padding: 18px 22px 28px;
  text-align: center;
  background: #081d26;
  color: var(--muted);
  font-size: 14px;
}
.contact-strip a { text-decoration: underline; text-underline-offset: 3px; }

.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;
}
.hidden-field { display: none; }

.thank-you-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #091b22 0%, #102732 100%);
}
.thank-you-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}
.thank-you-card {
  width: min(100%, 980px);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}
.thank-you-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 440px;
}
.thank-you-content {
  padding: 48px;
}
.eyebrow {
  margin: 0 0 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255,255,255,0.72);
}
.thank-you-content h1 {
  margin: 0 0 16px;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 0.95;
  font-weight: 400;
}
.thank-you-content p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 17px;
}
.return-link {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  text-decoration: none;
}

@media (max-width: 900px) {
  .hero-visual-wrap {
    min-height: auto;
  }
  .hero-visual {
    height: auto;
    aspect-ratio: 3 / 4;
  }
  .overlay-signup {
    display: none;
  }
  .mobile-content {
    display: block;
    padding: 28px 20px 34px;
    max-width: 760px;
    margin: 0 auto;
  }
  .text-block {
    margin-bottom: 28px;
  }
  .text-block h1 {
    margin: 0 0 12px;
    font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
    font-size: clamp(36px, 10vw, 64px);
    line-height: 0.95;
    font-weight: 400;
  }
  .tagline {
    margin: 0 0 14px;
    font-size: 24px;
    color: #ffffff;
  }
  .body-copy {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 16px;
  }
  .signup-card {
    padding: 22px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.03);
  }
  .signup-card h2 {
    margin: 0 0 10px;
    font-size: 26px;
    font-weight: 600;
  }
  .signup-card p {
    color: var(--muted);
    line-height: 1.6;
  }
  .signup-card label {
    display: block;
    margin: 18px 0 8px;
    font-size: 14px;
  }
  .signup-card input {
    width: 100%;
    height: 52px;
    border: 1px solid var(--line);
    background: transparent;
    color: #fff;
    padding: 0 14px;
    font-size: 16px;
  }
  .signup-card button {
    width: 100%;
    margin-top: 12px;
    height: 52px;
    border: none;
    background: var(--accent);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
  }
  .privacy {
    margin-top: 10px;
    font-size: 13px;
  }
  .thank-you-card {
    grid-template-columns: 1fr;
  }
  .thank-you-content {
    padding: 28px 22px 32px;
  }
}
