@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/assets/fonts/cormorant-garamond-latin-400-normal.woff2')
    format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('/assets/fonts/dm-sans-latin-wght-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #0b080d;
  --text: #f6e8e2;
  --muted: #d7c9c4;
  --accent: #ff7047;
  --accent-hover: #ff8463;
  --focus: #ffd6c7;
  --display: 'Cormorant Garamond', 'Iowan Old Style', Baskerville, serif;
  --body:
    'DM Sans', Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-height: 100%;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--background);
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--background);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html.landing-root,
body.landing-page {
  height: 100%;
  overflow: hidden;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

.page-shell {
  position: relative;
  height: 100dvh;
  overflow: hidden;
  background: var(--background);
  isolation: isolate;
}

.hero-image-frame {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: blur(6px);
  transform: scale(1.02);
  transform-origin: center;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.site-header {
  position: absolute;
  z-index: 2;
  top: clamp(1.75rem, 3vh, 2.2rem);
  right: clamp(2rem, 3.5vw, 3.5rem);
  left: clamp(2rem, 3.5vw, 3.5rem);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.wordmark {
  font-family: var(--display);
  font-size: clamp(2.3rem, 3vw, 2.8rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.launch-label {
  margin: 0.4rem 0 0;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  line-height: 1;
  text-transform: uppercase;
}

.hero {
  position: absolute;
  z-index: 1;
  top: clamp(7rem, 24.3svh, 15.5rem);
  left: clamp(2.5rem, 5vw, 5rem);
  width: min(49vw, 46.5rem);
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.4rem, min(6.7vw, 9.4svh), 6.35rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.93;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero-copy {
  margin: clamp(2.3rem, 4.5vh, 3rem) 0 0;
  color: var(--text);
  font-size: clamp(1.12rem, 1.45vw, 1.35rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.55;
}

.signup-form {
  width: min(100%, 31rem);
  margin-top: clamp(4.5rem, 8.3vh, 5.4rem);
}

.form-heading {
  margin: 0 0 0.8rem;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 11.7rem;
  gap: 1rem;
  align-items: stretch;
}

.form-row input[type='email'] {
  min-width: 0;
  height: 3.25rem;
  padding: 0.1rem 0;
  color: var(--text);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgb(246 232 226 / 52%);
  border-radius: 0;
  outline: none;
  font-size: 0.98rem;
  transition:
    border-color 160ms ease,
    color 160ms ease;
}

.form-row input[type='email']::placeholder {
  color: rgb(246 232 226 / 68%);
  opacity: 1;
}

.form-row input[type='email']:focus {
  border-color: var(--focus);
}

.form-row button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.45rem;
  color: #171012;
  background: var(--accent);
  border: 0;
  border-radius: 1px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition:
    background-color 160ms ease,
    transform 160ms ease;
}

.form-row button:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.form-row button:focus-visible,
.privacy-promise:focus-visible,
.wordmark:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

.form-row button:disabled {
  cursor: not-allowed;
  opacity: 0.78;
  transform: none;
}

.form-row button img {
  width: 1.4rem;
  height: 1.4rem;
}

.form-note,
.form-status {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.turnstile-shell {
  width: 100%;
  min-height: 0;
  margin-top: 0.65rem;
}

.turnstile-shell:empty {
  margin-top: 0;
}

.turnstile-shell[data-interactive='true'] {
  min-height: 65px;
}

.turnstile-shell iframe {
  max-width: 100%;
}

.form-status {
  min-height: 1.2em;
  margin-top: 0.35rem;
}

.form-status:empty {
  min-height: 0;
  margin-top: 0;
}

.form-status[data-state='success'] {
  color: var(--text);
}

.form-status[data-state='error'] {
  color: #ffb69f;
}

.form-success {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 0;
  border-top: 1px solid rgb(246 232 226 / 40%);
  border-bottom: 1px solid rgb(246 232 226 / 24%);
  outline: none;
}

.form-success > img {
  width: 1.55rem;
  height: 1.55rem;
  flex: 0 0 auto;
  margin-top: 0.1rem;
}

.form-success p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.form-success .form-success-title {
  margin-bottom: 0.18rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
}

.privacy-promise {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: clamp(1rem, 2.4svh, 1.6rem);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.3;
  text-decoration: none;
}

.privacy-promise img {
  width: 1.25rem;
  height: 1.25rem;
}

.privacy-promise:hover span {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

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

@media (max-width: 980px) {
  .hero {
    top: 18%;
    width: min(62vw, 38rem);
  }

  .hero h1 {
    font-size: clamp(3.75rem, 7.2vw, 4.8rem);
  }
}

@media (max-width: 720px) {
  .page-shell {
    position: relative;
    display: flex;
    height: 100dvh;
    flex-direction: column;
    overflow: hidden;
  }

  .page-shell::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgb(11 8 13 / 10%) 0%,
      rgb(11 8 13 / 28%) 21%,
      rgb(11 8 13 / 82%) 47%,
      rgb(11 8 13 / 98%) 100%
    );
    content: '';
    pointer-events: none;
  }

  .hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-position: 64% center;
  }

  .site-header {
    position: absolute;
    top: 1.4rem;
    right: 1.25rem;
    left: 1.25rem;
  }

  .wordmark {
    font-size: 2.15rem;
  }

  .launch-label {
    margin-top: 0.35rem;
    font-size: 0.67rem;
  }

  .hero {
    position: relative;
    z-index: 1;
    top: auto;
    left: auto;
    width: 100%;
    min-height: 0;
    flex: 1 1 auto;
    padding: clamp(11.5rem, 30svh, 15.75rem) 1.25rem 2.25rem;
  }

  .hero h1 {
    max-width: 22rem;
    font-size: clamp(2.5rem, 12.4vw, 3.35rem);
    line-height: 0.92;
  }

  .hero h1 span {
    white-space: normal;
  }

  .hero-copy {
    max-width: 23rem;
    margin-top: 1.2rem;
    font-size: clamp(0.92rem, 4vw, 1rem);
    line-height: 1.45;
  }

  .desktop-break {
    display: none;
  }

  .signup-form {
    margin-top: clamp(1.6rem, 5svh, 2.35rem);
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr) 8.9rem;
    gap: 0.7rem;
  }

  .form-row button {
    gap: 0.5rem;
    padding: 0 1rem;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .form-row button img {
    width: 1.15rem;
    height: 1.15rem;
  }

  .privacy-promise {
    position: relative;
    margin: 1rem 0 0;
    padding: 0;
    font-size: 0.78rem;
  }
}

@media (max-width: 360px) {
  .hero {
    padding-top: clamp(9.75rem, 27svh, 12rem);
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12.2vw, 2.75rem);
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr) 8.35rem;
  }

  .form-row button {
    padding-inline: 0.8rem;
  }
}

@media (max-width: 720px) and (max-height: 700px) {
  .hero {
    padding-top: clamp(6.75rem, 19svh, 8.5rem);
    padding-bottom: max(0.65rem, env(safe-area-inset-bottom));
  }

  .hero h1 {
    font-size: clamp(2.1rem, min(11vw, 7.8svh), 2.75rem);
  }

  .hero-copy {
    margin-top: 1rem;
  }

  .signup-form {
    margin-top: 0.9rem;
  }

  .form-note {
    margin-top: 0.65rem;
  }

  .privacy-promise {
    margin-top: 0.55rem;
  }
}

@media (max-height: 790px) and (min-width: 721px) {
  .hero {
    top: 19%;
  }

  .signup-form {
    margin-top: 2.2rem;
  }

  .privacy-promise {
    margin-top: clamp(0.75rem, 1.8svh, 1rem);
  }
}

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