@font-face {
  font-family: "SelfSend Inter";
  src: url("../fonts/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --font-sans: "SelfSend Inter", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink: #434343;
  --ink-strong: #171716;
  --muted: #777772;
  --canvas: #f1f0ed;
  --white: #ffffff;
  --line: #a6a49e;
  --danger: #9d3434;
  --success: #2f754b;
  --focus: #171716;
  --radius-control: 10px;
  --radius-surface: 16px;
  --radius-pill: 999px;
}

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

html {
  min-width: 320px;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

body {
  min-width: 320px;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

:is(a, button, input):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

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

.launch-page {
  display: grid;
  grid-template-columns: minmax(0, 1.015fr) minmax(0, .985fr);
  width: 100%;
  min-height: 100svh;
  min-height: 100dvh;
  background: var(--canvas);
}

.content-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-width: 0;
  min-height: 0;
  padding:
    max(clamp(24px, 4vh, 52px), env(safe-area-inset-top))
    clamp(36px, 5.2vw, 100px)
    max(clamp(22px, 3.3vh, 42px), env(safe-area-inset-bottom));
}

.site-header {
  position: relative;
  z-index: 1;
}

.brand {
  display: inline-block;
  width: clamp(112px, 9.4vw, 135px);
  line-height: 0;
  text-decoration: none;
}

.brand img {
  width: 100%;
  height: auto;
}

.launch-content {
  width: min(100%, 610px);
  align-self: center;
  padding-block: clamp(12px, 2.1vh, 26px);
}

.eyebrow {
  margin: 0;
  color: var(--ink);
  font-size: clamp(10px, .76vw, 12px);
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  margin-inline: .42em;
  color: #aaa8a2;
}

h1 {
  margin: clamp(8px, 1.3vh, 15px) 0 0;
  color: var(--ink-strong);
  font-size: clamp(48px, 4.35vw, 72px);
  font-weight: 560;
  letter-spacing: -.06em;
  line-height: .98;
}

.benefits {
  display: grid;
  gap: clamp(8px, 1.25vh, 13px);
  margin: clamp(21px, 3.1vh, 34px) 0 0;
  padding: 0;
  list-style: none;
}

.benefits li {
  display: grid;
  grid-template-columns: 1.55em minmax(0, 1fr);
  align-items: start;
  color: var(--ink);
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 440;
  letter-spacing: -.012em;
  line-height: 1.45;
}

.benefit-icon {
  display: inline-block;
  font-size: 1.05em;
  line-height: 1.45;
}

.signup-area {
  margin-top: clamp(18px, 2.6vh, 29px);
}

.signup-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: clamp(14px, 1.5vw, 22px);
  row-gap: 7px;
  align-items: end;
  width: 100%;
}

.email-field {
  position: relative;
  min-width: 0;
}

.email-field::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--line);
  content: "";
  transition: height .16s ease, background-color .16s ease;
}

.email-field:focus-within::after {
  height: 2px;
  background: var(--ink-strong);
}

.email-field input {
  width: 100%;
  height: clamp(43px, 5.4vh, 49px);
  padding: 0 2px 8px;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink-strong);
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 450;
  line-height: 1;
}

.email-field input::placeholder {
  color: #85837e;
  opacity: 1;
}

.email-field input[aria-invalid="true"] {
  color: var(--danger);
}

.email-field input[aria-invalid="true"] + * {
  color: var(--danger);
}

.email-field:has(input[aria-invalid="true"])::after {
  height: 2px;
  background: var(--danger);
}

.submit-button {
  position: relative;
  display: inline-grid;
  min-width: clamp(150px, 11.5vw, 174px);
  height: clamp(44px, 5.4vh, 50px);
  padding: 0 clamp(19px, 1.7vw, 28px);
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--white);
  font-size: clamp(13px, .92vw, 15px);
  font-weight: 650;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .16s ease, background-color .16s ease, border-color .16s ease;
}

.submit-button:hover:not(:disabled) {
  border-color: #555551;
  background: #555551;
  transform: translateY(-1px);
}

.submit-button:active:not(:disabled) {
  transform: translateY(1px);
}

.submit-button:disabled {
  cursor: wait;
  opacity: .72;
}

.button-spinner {
  position: absolute;
  display: none;
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255, 255, 255, .38);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

.signup-form.is-loading .button-label {
  visibility: hidden;
}

.signup-form.is-loading .button-spinner {
  display: block;
}

.honeypot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  min-height: 18px;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
}

.form-status.is-error {
  color: var(--danger);
}

.form-status.is-success {
  color: var(--success);
}

.social-proof {
  display: flex;
  gap: clamp(10px, 1vw, 14px);
  align-items: center;
  margin-top: clamp(11px, 1.5vh, 18px);
}

.avatar-stack {
  display: flex;
  flex: 0 0 auto;
  padding-left: 1px;
}

.avatar-stack img {
  width: clamp(34px, 2.75vw, 42px);
  height: clamp(34px, 2.75vw, 42px);
  border: 2px solid var(--canvas);
  border-radius: 50%;
  background: #ddd9d2;
  object-fit: cover;
}

.avatar-stack img + img {
  margin-left: clamp(-12px, -.76vw, -9px);
}

.social-proof p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(11px, .84vw, 13px);
  font-weight: 480;
  letter-spacing: -.01em;
  line-height: 1.35;
}

.social-proof strong {
  color: var(--ink);
  font-weight: 720;
}

.site-footer {
  display: flex;
  gap: 7px 14px;
  align-items: center;
  justify-content: flex-start;
  color: #777570;
  font-size: clamp(9px, .7vw, 11px);
  line-height: 1.4;
}

.site-footer p {
  margin: 0;
}

.site-footer p span {
  margin-inline: .25em;
}

.site-footer a {
  text-underline-offset: 3px;
  text-decoration-color: #aaa8a2;
}

.site-footer a:hover {
  color: var(--ink-strong);
  text-decoration-color: currentColor;
}

.visual-panel {
  min-width: 0;
  min-height: 0;
  margin: clamp(12px, 1.3vw, 24px) clamp(12px, 1.3vw, 24px) clamp(12px, 1.3vw, 24px) 0;
  overflow: hidden;
  border-radius: clamp(18px, 1.7vw, 30px);
  background: #ddd3c5;
}

.visual-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (min-width: 800px) {
  body.launch-body {
    width: 100%;
    height: 100svh;
    height: 100dvh;
    overflow: hidden;
  }

  .launch-page {
    height: 100svh;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
  }
}

@media (max-width: 799px) {
  .launch-page {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows:
      clamp(220px, 32dvh, 278px)
      minmax(0, 1fr);

    width: 100%;
    height: 100svh;
    height: 100dvh;
    min-height: 0;
  }

  .visual-panel {
    grid-row: 1;
    height: auto;
    min-height: 0;
    margin:
      max(8px, env(safe-area-inset-top))
      max(8px, env(safe-area-inset-right))
      0
      max(8px, env(safe-area-inset-left));
    border-radius: clamp(15px, 5vw, 22px);
  }

  .visual-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 43%;
  }

  
  .content-panel {
      grid-row: 2;
      display: flex;
      flex-direction: column;
      justify-content: initial;
      min-height: 0;
      padding:
        clamp(13px, 2svh, 18px)
        max(clamp(18px, 5vw, 28px), env(safe-area-inset-right))
        max(11px, env(safe-area-inset-bottom))
        max(clamp(18px, 5vw, 28px), env(safe-area-inset-left));
    }

  .brand {
    width: clamp(100px, 29vw, 118px);
  }

  .launch-content {
      width: 100%;
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-self: auto;
      padding: 0;
      margin-top: clamp(10px, 1.7svh, 15px);
    }

  .eyebrow {
    font-size: clamp(9px, 2.55vw, 10.5px);
    letter-spacing: .105em;
  }

  h1 {
    margin-top: 5px;
    font-size: clamp(36px, 10.7vw, 44px);
    line-height: 1;
  }

  .benefits {
    gap: clamp(6px, 1svh, 9px);
    margin-top: clamp(12px, 1.7svh, 16px);
  }

  .benefits li {
    grid-template-columns: 1.5em minmax(0, 1fr);
    font-size: clamp(12.5px, 3.45vw, 14px);
    line-height: 1.37;
  }

  .signup-area {
    margin-top: clamp(12px, 1.8svh, 17px);
  }

  .signup-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
  }

  .email-field input {
    height: 38px;
    padding-bottom: 7px;
    font-size: 14px;
  }

  .submit-button {
    width: 100%;
    min-width: 0;
    height: 42px;
    font-size: 13px;
  }

  .form-status {
    min-height: 16px;
    margin-top: 4px;
    font-size: 10px;
  }

  .social-proof {
    gap: 9px;
    margin-top: clamp(7px, 1svh, 10px);
  }

  .avatar-stack img {
    width: 34px;
    height: 34px;
  }

  .avatar-stack img + img {
    margin-left: -10px;
  }

  .social-proof p {
    font-size: 10.5px;
  }

  .site-footer {
      flex-wrap: wrap;
      flex-shrink: 0;
      margin-top: auto;
      padding-top: clamp(10px, 1.7svh, 15px);
      font-size: 9.5px;
    }
}

@media (max-width: 370px) and (max-height: 760px) {
 
  .content-panel {
    padding-top: 11px;
  }

  .brand {
    width: 96px;
  }

  .launch-content {
    margin-top: 8px;
  }

  h1 {
    font-size: 35px;
  }

  .benefits {
    gap: 5px;
    margin-top: 10px;
  }

  .benefits li {
    font-size: 12.25px;
    line-height: 1.33;
  }

  .signup-area {
    margin-top: 10px;
  }

  .email-field input {
    height: 35px;
  }

  .submit-button {
    height: 39px;
  }

  .site-footer {
    padding-top: 8px;
  }
}

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

body.legal-page {
  height: auto;
  min-height: 100svh;
  overflow-x: hidden;
  overflow-y: auto;
  padding:
    max(28px, env(safe-area-inset-top))
    max(20px, env(safe-area-inset-right))
    max(28px, env(safe-area-inset-bottom))
    max(20px, env(safe-area-inset-left));
}

.legal-content {
  width: min(100%, 680px);
  margin: 0 auto;
  padding: clamp(24px, 6vw, 64px) 0;
}

.legal-content h1 {
  margin: clamp(42px, 8vw, 80px) 0 24px;
  font-size: clamp(38px, 6vw, 64px);
}

.legal-content p {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}

.legal-back {
  display: inline-block;
  margin-top: 20px;
  font-weight: 650;
  text-underline-offset: 4px;
}
