@font-face {
  font-family: Bricolage;
  src: url('/assets/bricolage.ttf') format('truetype');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: DM;
  src: url('/assets/dm-sans.ttf') format('truetype');
  font-weight: 100 1000;
  font-display: swap;
}
:root {
  color-scheme: light;
  --oat: #f8f5ef;
  --paper: #fffdfa;
  --ink: #29251f;
  --secondary: #665e53;
  --blue: #4058d8;
  --line: #dcd5ca;
  --input: #82786a;
  font-family: DM, Arial, sans-serif;
  color: var(--ink);
  background: var(--oat);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
}
button,
input {
  font: inherit;
}
a,
button,
input {
  touch-action: manipulation;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
a {
  text-underline-offset: 5px;
}
.shell {
  max-width: 1440px;
  padding: 0 64px;
  margin: auto;
}
header {
  height: 112px;
  display: flex;
  align-items: center;
  gap: 48px;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font:
    800 48px/1 Bricolage,
    Arial,
    sans-serif;
  letter-spacing: -0.065em;
  text-decoration: none;
}
.header-note {
  font-size: 15px;
  color: var(--secondary);
}
.nav-link {
  margin-left: auto;
  text-decoration: none;
  font-size: 15px;
  padding: 14px 0;
  display: flex;
  gap: 24px;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 72px 0 88px;
  gap: 32px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin: 0 0 28px;
}
.hero h1 {
  font:
    600 clamp(76px, 8.5vw, 124px)/0.96 Bricolage,
    Arial,
    sans-serif;
  letter-spacing: -0.065em;
  margin: 0 0 32px;
}
.hero h1 span {
  color: var(--blue);
}
.intro {
  font-size: 23px;
  line-height: 1.5;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.detail {
  font-size: 16px;
  line-height: 1.65;
  max-width: 390px;
  color: var(--secondary);
  margin: 0 0 28px;
}
.primary {
  background: var(--blue);
  color: #fffdfa;
  min-height: 54px;
  border: 0;
  border-radius: 16px;
  padding: 16px 24px;
  display: inline-flex;
  gap: 40px;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
}
.primary:hover {
  background: #3348bf;
}
.primary:disabled {
  opacity: 0.65;
  cursor: wait;
}
.small {
  font-size: 13px;
  color: var(--secondary);
  line-height: 1.5;
  margin: 14px 0 0;
}
.portrait {
  margin: 0;
  position: relative;
  align-self: center;
}
.portrait img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 48% 48% 38% 38%;
  aspect-ratio: 1;
  object-fit: cover;
}
.portrait figcaption {
  position: absolute;
  bottom: 14px;
  right: 8px;
  transform: rotate(-6deg);
  padding: 18px 24px;
  background: #f2df9b;
  border-radius: 12px;
  font:
    600 20px Bricolage,
    Arial,
    sans-serif;
  box-shadow: 0 4px 16px #29251f0a;
}
.portrait figcaption span {
  margin-left: 16px;
}
.intro-section {
  border-top: 1px solid var(--line);
  padding: 72px 0 80px;
}
h2 {
  font:
    600 clamp(36px, 4vw, 56px)/1.08 Bricolage,
    Arial,
    sans-serif;
  letter-spacing: -0.045em;
  margin: 0 0 42px;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.number {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--secondary);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
h3 {
  font:
    600 26px/1.18 Bricolage,
    Arial,
    sans-serif;
  letter-spacing: -0.025em;
  margin: 24px 0 18px;
}
.features p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--secondary);
  max-width: 320px;
}
.signup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  background: var(--blue);
  color: var(--paper);
  border-radius: 28px;
  padding: 56px;
  margin-bottom: 64px;
  align-items: center;
}
.signup h2 {
  margin-bottom: 24px;
}
.signup p {
  line-height: 1.65;
}
.signup-notice {
  font-size: 20px;
  max-width: 350px;
}
.signup :focus-visible {
  outline-color: #f2df9b;
}
.signup a {
  text-decoration: underline;
}
.signup .primary {
  background: var(--paper);
  color: var(--ink);
  width: 100%;
  margin-top: 18px;
}
.field-label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}
input[type='email'] {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--input);
  border-radius: 14px;
  padding: 14px 16px;
  background: var(--paper);
  color: var(--ink);
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  margin-top: 18px;
}
.consent input {
  min-width: 20px;
  height: 20px;
  margin: 2px 0;
}
.form-status {
  font-size: 15px;
  min-height: 24px;
}
.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.privacy {
  max-width: 720px;
  padding: 64px 0 100px;
  min-height: 65vh;
}
.privacy h1 {
  font:
    600 48px Bricolage,
    Arial,
    sans-serif;
  letter-spacing: -0.04em;
}
.privacy p,
.privacy li {
  line-height: 1.75;
  font-size: 17px;
}
.privacy h2 {
  font-size: 26px;
  margin: 36px 0 16px;
}
footer {
  display: flex;
  gap: 32px;
  align-items: center;
  padding: 0 0 40px;
}
footer p,
footer span,
.footer-link {
  font-size: 13px;
  color: var(--secondary);
}
footer .wordmark {
  font-size: 36px;
}
footer .footer-link {
  margin-left: auto;
}
.skip {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10;
  padding: 16px;
  background: var(--paper);
}
.skip:focus {
  top: 16px;
}
@media (max-width: 900px) {
  .shell {
    padding: 0 32px;
  }
  .hero {
    gap: 16px;
    padding: 56px 0 64px;
  }
  .hero h1 {
    font-size: 88px;
  }
  .intro {
    font-size: 20px;
  }
  .header-note {
    display: none;
  }
  .features {
    gap: 28px;
  }
  .signup {
    gap: 32px;
    padding: 36px;
  }
  .portrait figcaption {
    font-size: 16px;
    right: 0;
    padding: 16px;
  }
  footer {
    flex-wrap: wrap;
    gap: 20px;
  }
}
@media (max-width: 620px) {
  .shell {
    padding: 0 24px;
  }
  header {
    height: 88px;
  }
  .wordmark {
    font-size: 42px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 0 48px;
    gap: 32px;
  }
  .hero h1 {
    font-size: 88px;
    margin-bottom: 24px;
  }
  .eyebrow {
    font-size: 12px;
    letter-spacing: 0.08em;
    margin-bottom: 22px;
  }
  .intro {
    font-size: 21px;
  }
  .detail {
    max-width: 100%;
  }
  .portrait {
    width: 100%;
    max-width: 400px;
    justify-self: center;
  }
  .portrait figcaption {
    bottom: 12px;
    right: 0;
  }
  .intro-section {
    padding: 48px 0;
  }
  .features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .features p {
    max-width: 100%;
  }
  .features h3 br {
    display: none;
  }
  .signup {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 16px;
    margin-bottom: 40px;
    border-radius: 24px;
  }
  h2 {
    font-size: 38px;
  }
  .signup h2 {
    font-size: 36px;
  }
  .signup-notice {
    font-size: 18px;
  }
  footer {
    gap: 20px;
  }
  footer p {
    width: calc(100% - 100px);
    margin: 0;
  }
  footer .footer-link {
    margin-left: 0;
  }
  footer span {
    margin-left: auto;
  }
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
  .primary {
    transition: background 0.14s;
  }
}

/* One decorative peek at the real signup action; the button stays solid. */
.waitlist-action {
  position: relative;
  isolation: isolate;
  padding-top: 120px;
  margin-top: 20px;
}
.peek-window {
  position: absolute;
  inset: 0 0 auto;
  height: 134px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.peek-plush {
  position: absolute;
  width: 180px;
  height: 180px;
  bottom: -58px;
  left: calc(50% - 90px);
}
.peek-plush img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: 50% 80%;
}
.signup .waitlist-action .primary {
  position: relative;
  z-index: 1;
  margin-top: 0;
  gap: 12px;
}
@media (prefers-reduced-motion: no-preference) {
  .peek-plush {
    transition: transform 250ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .waitlist-action .primary {
    transition:
      transform 140ms cubic-bezier(0.2, 0.8, 0.2, 1),
      background 140ms;
  }
  .waitlist-action:has(.primary:focus-visible:not(:disabled)) .peek-plush {
    transform: translateY(-7px) rotate(-3deg);
  }
  .waitlist-action .primary:active:not(:disabled) {
    transform: translateY(4px) scaleX(1.02) scaleY(0.95);
  }
  .waitlist-action.celebrate .peek-plush img {
    animation: pola-nod 650ms cubic-bezier(0.2, 0.8, 0.2, 1) 1;
  }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .waitlist-action:has(.primary:hover:not(:disabled)) .peek-plush {
    transform: translateY(-7px) rotate(-3deg);
  }
}
@keyframes pola-nod {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  25% {
    transform: translateY(-9px) rotate(-5deg);
  }
  55% {
    transform: translateY(3px) rotate(5deg);
  }
  78% {
    transform: translateY(-3px) rotate(-2deg);
  }
}
