@import url("https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,400&display=swap");

:root {
  --paper: #fbf8f5;
  --paper-deep: #f6efeb;
  --soft-blush: #f8e9e7;
  --rose-mist: #f2d8d6;
  --crimson: #b23a58;
  --burgundy: #7d233b;
  --ink: #171516;
  --graphite: #5d5555;
  --hairline: #e8dcda;
  --white: #fffdfb;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: Inter, Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--paper);
}

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

button,
input {
  font: inherit;
}

.waitlist-page {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 8% 92%, rgba(242, 216, 214, 0.56), transparent 28%),
    var(--paper);
}

.paper-grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.15;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(125, 35, 59, 0.018) 0,
    rgba(125, 35, 59, 0.018) 1px,
    transparent 1px,
    transparent 5px
  );
}

.ambient-shape {
  position: absolute;
  z-index: -2;
  pointer-events: none;
  border-radius: 999px;
  background: var(--soft-blush);
}

.ambient-shape-one {
  top: -180px;
  right: -240px;
  width: 670px;
  height: 670px;
}

.ambient-shape-two {
  bottom: -390px;
  left: -260px;
  width: 670px;
  height: 670px;
  background: rgba(242, 216, 214, 0.52);
}

.site-header,
.hero,
.site-footer {
  width: min(100%, 1500px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 34px 56px 16px;
}

.wordmark {
  display: flex;
  width: max-content;
  flex-direction: column;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-decoration: none;
  text-transform: uppercase;
}

.hero {
  display: grid;
  min-height: 690px;
  flex: 1;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  gap: clamp(40px, 5vw, 88px);
  align-items: center;
  padding: 10px 56px 38px;
}

.hero-copy {
  width: 100%;
  max-width: 660px;
  padding: 42px 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--crimson);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(58px, 5.3vw, 88px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.hero h1 em {
  display: block;
  margin-top: 8px;
  color: var(--crimson);
  font-style: italic;
  font-weight: 400;
}

.hero-intro {
  max-width: 555px;
  margin: 30px 0 32px;
  color: var(--graphite);
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: 20px;
  line-height: 1.55;
}

.signup-shell {
  width: min(100%, 560px);
}

.email-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 188px;
  min-height: 62px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(48, 28, 32, 0.08);
}

.brevo-form,
.form__entry,
.entry__field {
  min-width: 0;
}

.entry__field {
  display: flex;
}

.email-form input {
  width: 100%;
  min-width: 0;
  padding: 0 18px 0 26px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
}

.email-form input::placeholder {
  color: #7a7171;
  opacity: 1;
}

.email-form input:focus-visible {
  border-radius: 999px 0 0 999px;
  box-shadow: inset 0 0 0 2px rgba(178, 58, 88, 0.35);
}

.email-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  padding: 0 24px;
  border: 4px solid var(--white);
  border-radius: 999px;
  background: var(--crimson);
  color: var(--white);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.email-form button:hover:not(:disabled) {
  transform: translateY(-1px);
  background: var(--burgundy);
  box-shadow: 0 12px 26px rgba(125, 35, 59, 0.22);
}

.email-form button:focus-visible {
  outline: 3px solid rgba(125, 35, 59, 0.28);
  outline-offset: 3px;
}

.email-form button:disabled,
.email-form input:disabled,
.email-form button.sib-form-block__button-disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-note {
  margin: 13px 0 0 24px;
  color: #807676;
  font-size: 11px;
  letter-spacing: 0.01em;
}

.product-pillars {
  display: grid;
  max-width: 590px;
  grid-template-columns: repeat(3, 1fr);
  margin: 50px 0 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.product-pillars div {
  display: block;
  min-height: 72px;
  padding: 14px 16px 14px 0;
}

.product-pillars div + div {
  padding-left: 16px;
  border-left: 1px solid var(--hairline);
}

.product-pillars dt,
.product-pillars dd {
  margin: 0;
}

.product-pillars dt {
  margin-bottom: 8px;
  color: var(--crimson);
  font-family: var(--sans);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-pillars dd {
  color: var(--graphite);
  font-family: var(--serif);
  font-size: 11px;
  font-optical-sizing: auto;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-transform: none;
}

.visual-column {
  position: relative;
  align-self: stretch;
  min-height: 650px;
  padding: 18px 0 0;
}

.visual-caption {
  position: absolute;
  top: 18px;
  right: calc(50% - 140px);
  left: auto;
  z-index: 3;
  display: flex;
  width: max-content;
  justify-content: flex-end;
  padding: 0;
  color: var(--crimson);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.device-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.device-stage::before {
  content: none;
}

.device-stage::after {
  content: none;
}

.device-halo {
  display: none;
}

.device-preview {
  position: absolute;
  top: 1%;
  bottom: auto;
  left: 50%;
  z-index: 2;
  display: block;
  width: auto;
  height: 108%;
  max-width: none;
  transform: translateX(-50%);
  mix-blend-mode: normal;
}

.sib-form-message-panel {
  display: none;
  width: 100%;
  margin: 0 0 10px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
}

.sib-form-message-panel.is-error {
  border-color: rgba(142, 24, 53, 0.2);
  background: rgba(255, 237, 237, 0.97);
  color: #8e1835;
}

.sib-form-message-panel.is-success {
  border-color: rgba(19, 133, 84, 0.2);
  background: rgba(239, 250, 244, 0.97);
  color: #205d42;
}

.entry__error {
  display: none;
  margin: 8px 22px 0;
  color: #8e1835;
  font-size: 11px;
  line-height: 1.3;
}

.entry__error:not(:empty) {
  display: block;
}

.input--hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.captcha-slot {
  height: 0;
  overflow: visible;
}

.progress-indicator__icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
  animation: form-spinner 850ms linear infinite;
}

.sib-hide-loader-icon {
  display: none;
}

@keyframes form-spinner {
  to {
    transform: rotate(360deg);
  }
}

.site-footer {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 56px 20px;
  color: #786e6f;
  font-size: 11px;
}

.site-footer > p {
  margin: 0;
}

.social-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-lockup span {
  color: var(--graphite);
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 400;
}

.social-icons {
  display: flex;
  gap: 6px;
}

.social-icons a {
  display: block;
  border-radius: 6px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.social-icons a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(48, 28, 32, 0.14);
}

.social-icons a:focus-visible {
  outline: 2px solid var(--burgundy);
  outline-offset: 3px;
}

.social-icons img {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 4px;
}

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

@media (max-width: 980px) {
  .site-header {
    padding-inline: 32px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.82fr);
    gap: 34px;
    padding-inline: 32px;
  }

  .hero h1 {
    font-size: clamp(52px, 6.8vw, 70px);
  }

  .visual-column {
    min-height: 610px;
  }

  .product-pillars {
    margin-top: 38px;
  }

  .product-pillars dd {
    font-size: 9px;
  }

  .site-footer {
    padding-inline: 32px;
  }
}

@media (max-width: 720px) {
  .waitlist-page {
    display: block;
    min-height: 100svh;
    overflow: hidden;
    background:
      radial-gradient(circle at 100% 14%, rgba(242, 216, 214, 0.7), transparent 30%),
      var(--paper);
  }

  .paper-grain {
    opacity: 0.1;
  }

  .ambient-shape-one {
    top: -120px;
    right: -260px;
    width: 500px;
    height: 500px;
  }

  .ambient-shape-two {
    bottom: 120px;
    left: -310px;
    width: 530px;
    height: 530px;
  }

  .site-header {
    align-items: flex-start;
    padding: 24px 22px 0;
  }

  .wordmark {
    font-size: 11px;
  }

  .hero {
    display: flex;
    min-height: 0;
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  .hero-copy {
    max-width: none;
    padding: 74px 22px 0;
    text-align: center;
  }

  .eyebrow {
    justify-content: center;
    margin-bottom: 18px;
    font-size: 10px;
  }

  .eyebrow::before {
    width: 28px;
  }

  .hero h1 {
    margin-inline: auto;
    font-size: clamp(48px, 14.4vw, 66px);
    line-height: 0.93;
  }

  .hero h1 em {
    margin-top: 6px;
  }

  .hero-intro {
    max-width: 400px;
    margin: 26px auto 28px;
    font-size: 18px;
    line-height: 1.48;
  }

  .signup-shell {
    width: min(100%, 410px);
    margin-inline: auto;
  }

  .email-form {
    grid-template-columns: minmax(0, 1fr) minmax(138px, 42%);
    min-height: 58px;
  }

  .email-form input {
    padding-left: 20px;
    font-size: 14px;
  }

  .email-form button {
    padding-inline: 12px;
    font-size: 12px;
  }

  .form-note {
    margin: 12px auto 0;
    font-size: 10px;
  }

  .product-pillars {
    max-width: 430px;
    margin: 36px auto 0;
  }

  .product-pillars div {
    display: block;
    min-height: 70px;
    padding: 12px 7px;
  }

  .product-pillars div + div {
    padding-left: 7px;
  }

  .product-pillars dt {
    margin-bottom: 7px;
    font-size: 8px;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  .product-pillars dd {
    font-size: 9px;
    line-height: 1.25;
  }

  .visual-column {
    width: calc(100% - 24px);
    min-height: 690px;
    margin: 42px auto 0;
    padding: 0;
  }

  .visual-caption {
    top: 16px;
    right: 0;
    left: 0;
    width: auto;
    padding-inline: 24px;
    font-size: 8px;
  }

  .device-stage {
    border-radius: 0;
  }

  .device-stage::before {
    inset: 18% -10% 9% 20%;
  }

  .device-preview {
    top: 1%;
    bottom: auto;
    height: 108%;
  }

  .site-footer {
    min-height: 118px;
    flex-direction: column-reverse;
    gap: 20px;
    justify-content: center;
    padding: 28px 22px 34px;
  }

  .social-lockup {
    flex-direction: column;
    gap: 9px;
  }

  .social-icons {
    gap: 9px;
  }

  .social-icons img {
    width: 28px;
    height: 28px;
    border-radius: 5px;
  }
}

@media (max-width: 390px) {
  .hero-copy {
    padding-top: 58px;
  }

  .hero h1 {
    font-size: 47px;
  }

  .hero-intro {
    font-size: 16px;
  }

  .email-form {
    grid-template-columns: minmax(0, 1fr) 136px;
  }

  .email-form input {
    padding-left: 17px;
    font-size: 13px;
  }

  .visual-column {
    min-height: 650px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
