:root {
  --ink-900: #12202d;
  --ink-700: #1c2a3a;
  --ink-500: #4a5968;
  --ink-300: #8a97a5;
  --paper-50: #fdfbf5;
  --paper-100: #faf6ee;
  --paper-200: #f1eadb;
  --paper-300: #e4dac4;
  --paper-400: #c9bca0;
  --marker-100: #fbe4de;
  --marker-600: #c5472e;
  --marker-700: #a63a25;
  --chalk-100: #dceae4;
  --chalk-600: #2f6f5c;
  --chalk-700: #25584a;
  --highlighter-300: #f7dc86;
  --font-display: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --font-sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  --shadow-paper-2: 0 1px 0 rgba(28, 42, 58, 0.04),
    0 4px 12px -2px rgba(28, 42, 58, 0.08);
  --shadow-paper-3: 0 2px 0 rgba(28, 42, 58, 0.05),
    0 18px 40px -12px rgba(28, 42, 58, 0.18);
}

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

html {
  min-height: 100%;
  background: var(--paper-50);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink-700);
  background:
    linear-gradient(rgba(253, 251, 245, 0.92), rgba(253, 251, 245, 0.98)),
    url("assets/ruled.svg");
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--highlighter-300);
  color: var(--ink-900);
}

.page-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 40px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
}

.brand-link img {
  width: 240px;
  height: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 64px;
  align-items: center;
  min-height: min(760px, calc(100vh - 110px));
  padding: 24px 0 56px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow,
.panel-kicker {
  margin: 0 0 16px;
  color: var(--marker-600);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  color: var(--ink-900);
  font-family: var(--font-display);
  font-size: clamp(3.1rem, 8vw, 5.85rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.98;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}

.lede {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--ink-700);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  line-height: 1.55;
}

.audience-note {
  max-width: 620px;
  margin: 24px 0 0;
  padding-left: 18px;
  border-left: 4px solid var(--marker-600);
  color: var(--ink-500);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.waitlist-panel {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(28, 42, 58, 0.06);
  border-radius: 16px;
  background: var(--paper-100);
  box-shadow: var(--shadow-paper-3);
}

.waitlist-panel::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  border-radius: 16px 0 0 16px;
  background: var(--marker-600);
  content: "";
}

.panel-heading {
  margin-bottom: 24px;
}

.panel-heading h2 {
  max-width: 360px;
  margin-bottom: 0;
  color: var(--ink-900);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.15;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.field span {
  color: var(--ink-700);
  font-size: 0.9375rem;
  font-weight: 600;
}

.field em {
  color: var(--ink-500);
  font-style: normal;
  font-weight: 500;
}

input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--paper-300);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink-900);
  font: inherit;
  padding: 11px 13px;
  transition:
    border-color 120ms cubic-bezier(0.2, 0.8, 0.2, 1),
    background-color 120ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

input::placeholder {
  color: var(--ink-300);
}

input:focus {
  border-color: var(--marker-600);
  outline: 2px solid var(--marker-600);
  outline-offset: 2px;
}

.button {
  width: 100%;
  min-height: 50px;
  margin-top: 4px;
  border: 0;
  border-radius: 8px;
  background: var(--marker-600);
  color: var(--paper-50);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  transition:
    background-color 120ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 120ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.button:hover {
  background: var(--marker-700);
}

.button:active {
  transform: scale(0.98);
}

.button:focus {
  outline: 2px solid var(--marker-600);
  outline-offset: 3px;
}

.button[disabled] {
  cursor: wait;
  opacity: 0.7;
}

.form-note {
  margin: 14px 0 0;
  color: var(--ink-500);
  font-size: 0.875rem;
  line-height: 1.5;
}

.form-status {
  min-height: 1.5em;
  margin: 14px 0 0;
  color: var(--chalk-700);
  font-size: 0.9375rem;
  font-weight: 600;
}

.form-status[data-state="error"] {
  color: var(--marker-700);
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.site-footer {
  display: flex;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 32px;
  border-top: 1px solid var(--paper-300);
  color: var(--ink-500);
  font-size: 0.875rem;
  justify-content: space-between;
}

@media (max-width: 860px) {
  .page-shell {
    width: min(100% - 28px, 680px);
  }

  .site-header {
    padding: 22px 0 36px;
  }

  .brand-link img {
    width: 190px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    min-height: 0;
    padding: 12px 0 44px;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .waitlist-panel {
    padding: 24px;
  }

  .site-footer {
    width: min(100% - 28px, 680px);
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .page-shell {
    width: calc(100% - 24px);
  }

  h1 {
    font-size: clamp(2.6rem, 15vw, 3.4rem);
  }

  .lede {
    font-size: 1.0625rem;
  }

  .panel-heading h2 {
    font-size: 1.7rem;
  }
}

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