:root {
  color-scheme: light;
  --ink: #102a43;
  --muted: #5a7184;
  --paper: #f6f8f7;
  --paper-strong: #ffffff;
  --line: rgba(16, 42, 67, 0.16);
  --snow: #e8f2f8;
  --glacier: #c7d4dd;
  --sunrise: #e9b872;
  --deep-sky: #061827;
  --shadow: 0 24px 80px rgba(6, 24, 39, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0;
  color: var(--snow);
}

.brand {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-badge {
  display: block;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border: 2px solid var(--paper-strong);
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.brand-badge img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.08);
}

.header-note {
  margin: 0;
  color: var(--glacier);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(740px, 88svh);
  overflow: hidden;
  padding: 132px 20px 78px;
  place-items: center start;
  isolation: isolate;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  z-index: -3;
  object-fit: cover;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(6, 24, 39, 0.9) 0%, rgba(16, 42, 67, 0.74) 44%, rgba(16, 42, 67, 0.2) 100%),
    linear-gradient(0deg, rgba(16, 42, 67, 0.18), rgba(232, 242, 248, 0.06));
}

.hero-content {
  width: min(760px, calc(100% - 16px));
  margin: 0 auto;
  color: var(--paper-strong);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--glacier);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: 116px;
  line-height: 0.9;
  letter-spacing: 0;
}

.tagline {
  max-width: 660px;
  margin: 18px 0 0;
  color: var(--sunrise);
  font-size: 28px;
  font-weight: 800;
}

.lede {
  max-width: 660px;
  margin: 18px 0 0;
  color: rgba(232, 242, 248, 0.9);
  font-size: 20px;
}

.signup-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  width: min(600px, 100%);
  margin-top: 34px;
  padding: 8px;
  border: 1px solid rgba(232, 242, 248, 0.32);
  border-radius: 8px;
  background: rgba(6, 24, 39, 0.34);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

input,
button {
  min-height: 54px;
  border: 0;
  border-radius: 6px;
  font: inherit;
}

input {
  width: 100%;
  min-width: 0;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  outline: 2px solid transparent;
}

input:focus {
  outline-color: var(--sunrise);
}

button {
  padding: 0 22px;
  background: var(--sunrise);
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
}

button:hover,
button:focus-visible {
  background: #f0c988;
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: rgba(232, 242, 248, 0.82);
  font-size: 14px;
}

.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 760px) {
  .site-header {
    width: min(100% - 28px, 1180px);
    padding: 18px 0;
  }

  .header-note {
    display: none;
  }

  .brand {
    max-width: calc(100% - 12px);
    font-size: 16px;
  }

  .brand-badge {
    width: 42px;
    height: 42px;
  }

  .hero {
    min-height: min(650px, 88svh);
    padding: 98px 14px 46px;
  }

  .hero-content {
    width: 100%;
  }

  h1 {
    font-size: 58px;
  }

  .lede {
    font-size: 18px;
  }

  .tagline {
    font-size: 22px;
  }

  .signup-form {
    grid-template-columns: 1fr;
  }

  button {
    width: 100%;
  }

  .site-footer {
    width: min(100% - 28px, 1180px);
  }
}

@media (min-width: 761px) and (max-width: 940px) {
  h1 {
    font-size: 86px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 48px;
  }

  .brand {
    gap: 8px;
  }
}

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