:root {
  /* Brand (from logo): deep navy + warm paper */
  --ink: #0f2134;
  --paper: #ffffff;
  --muted: rgba(15, 33, 52, 0.72);
  --muted2: rgba(15, 33, 52, 0.55);
  --line: rgba(15, 33, 52, 0.14);

  --brand: #13283e;
  --brand2: #0f2134;
  --cream: #efe7db;
  --stone: #c9c2b8;

  --radius: 18px;
  --radius2: 26px;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.085);

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua",
    Georgia, serif;
  --sans: "Avenir Next", Avenir, "Gill Sans", "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  letter-spacing: 0.2px;
}

.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;
}

.bg {
  display: none;
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(
      1100px 760px at 10% 10%,
      rgba(19, 40, 62, 0.08),
      transparent 58%
    ),
    radial-gradient(
      980px 760px at 82% 22%,
      rgba(239, 231, 219, 0.55),
      transparent 62%
    ),
    radial-gradient(
      980px 760px at 52% 92%,
      rgba(19, 40, 62, 0.07),
      transparent 58%
    ),
    linear-gradient(180deg, #ffffff 0%, #fbfaf7 45%, #f6f1ea 100%);
}

.bg__grain {
  position: absolute;
  inset: -40%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  transform: rotate(2deg);
  opacity: 0.22;
  mix-blend-mode: multiply;
}

.bg__orb {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  filter: blur(28px);
  opacity: 0.55;
}

.bg__orb--a {
  left: -180px;
  top: -160px;
  background: radial-gradient(circle at 30% 30%, rgba(19, 40, 62, 0.6), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(239, 231, 219, 0.85), transparent 55%);
  animation: driftA 12s ease-in-out infinite;
}

.bg__orb--b {
  right: -220px;
  top: 10%;
  background: radial-gradient(circle at 40% 40%, rgba(239, 231, 219, 0.9), transparent 62%),
    radial-gradient(circle at 70% 65%, rgba(19, 40, 62, 0.45), transparent 55%);
  animation: driftB 14s ease-in-out infinite;
}

.bg__orb--c {
  left: 35%;
  bottom: -240px;
  background: radial-gradient(circle at 45% 35%, rgba(19, 40, 62, 0.45), transparent 62%),
    radial-gradient(circle at 60% 70%, rgba(239, 231, 219, 0.9), transparent 55%);
  animation: driftC 16s ease-in-out infinite;
}

@keyframes driftA {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(22px, 18px) scale(1.04);
  }
}

@keyframes driftB {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-28px, 16px) scale(1.03);
  }
}

@keyframes driftC {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(14px, -18px) scale(1.05);
  }
}

.wrap {
  position: relative;
  min-height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 24px;
  padding: 26px 18px 28px;
  max-width: 860px;
  margin: 0 auto;
}

.coming {
  align-self: center;
  padding: 26px 14px 16px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  transform: translateY(10px);
  opacity: 0;
  animation: enter 800ms ease-out 200ms forwards;
  text-align: center;
}

.logoLockup {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.logoLockup__mark {
  width: min(280px, 72vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 26px rgba(15, 33, 52, 0.12));
}

.headline {
  margin: 6px 0 0;
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(38px, 7vw, 78px);
  line-height: 0.95;
  letter-spacing: 0.08em;
}

.subhead {
  margin: 14px 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}

.notify {
  margin-top: 8px;
  padding: 0;
}

.form {
  margin-top: 10px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.honeypot {
  display: none !important;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.form__input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 14px;
  font-size: 16px;
  outline: none;
  background: #ffffff;
  transition: border-color 150ms ease, box-shadow 150ms ease,
    background-color 150ms ease;
}

.form__input:focus {
  border-color: rgba(19, 40, 62, 0.45);
  box-shadow: 0 0 0 5px rgba(19, 40, 62, 0.12);
  background: rgba(255, 255, 255, 0.92);
}

.form__btn {
  border: 0;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: white;
  box-shadow: 0 14px 30px rgba(15, 33, 52, 0.18);
  cursor: pointer;
  transition: transform 120ms ease, filter 120ms ease;
}

.form__btn:hover {
  transform: translateY(-1px);
  filter: saturate(1.05);
}

.form__btn:active {
  transform: translateY(0px);
}

.form__meta {
  margin: 10px 2px 0;
  color: var(--muted2);
  font-size: 13px;
}

.form__status {
  margin: 10px 2px 0;
  color: var(--muted);
  font-size: 13px;
  min-height: 1.2em;
}

.links {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted2);
}

.ctaLink {
  color: rgba(15, 33, 52, 0.76);
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 33, 52, 0.18);
}

.ctaLink:hover {
  border-bottom-color: rgba(18, 16, 20, 0.35);
}

.footer {
  color: var(--muted2);
  font-size: 13px;
  padding: 0 2px;
  transform: translateY(10px);
  opacity: 0;
  animation: enter 700ms ease-out 360ms forwards;
  text-align: center;
}

@keyframes enter {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 560px) {
  .form__row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg__orb {
    animation: none !important;
  }
  .coming,
  .footer {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}
