@font-face {
  font-family: "Sofia Sans Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 1 1000;
  src: url("/fonts/sofia-sans-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Sofia Sans Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 1 1000;
  src: url("/fonts/sofia-sans-latin-ext-wght-normal.woff2")
    format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --pp-canvas: #f3f0ee;
  --pp-lifted: #fcfbfa;
  --pp-white: #ffffff;
  --pp-bone: #f4f4f4;
  --pp-whisper: #e8e2da;

  --pp-ink: #141413;
  --pp-charcoal: #262627;
  --pp-slate: #696969;
  --pp-granite: #555555;
  --pp-taupe: #d1cdc7;

  --pp-signal: #cf4500;
  --pp-signal-light: #f37338;
  --pp-clay: #9a3a0a;
  --pp-link: #2f7d4f;
  --pp-danger: #b3261e;
  --pp-success: #2f7d4f;
  --pp-success-soft: #e3f1e8;
  --pp-warning-soft: #fbe9df;

  --pp-font-sans: "Sofia Sans Variable", "Sofia Sans", Arial, sans-serif;
  --pp-font-mono: "Iosevka Charon Mono", ui-monospace, SFMono-Regular, Menlo,
    Consolas, monospace;

  --pp-radius-xs: 2px;
  --pp-radius-btn: 8px;
  --pp-radius-consent: 10px;
  --pp-radius-card: 16px;
  --pp-radius-pill: 8px;

  --pp-shadow-card: 0 24px 48px rgba(0, 0, 0, 0.08);
  --pp-shadow-nav: 0 4px 24px rgba(0, 0, 0, 0.04);
  --pp-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--pp-canvas);
  color: var(--pp-ink);
  font-family: var(--pp-font-sans);
  font-weight: 450;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  padding-top: 80px;
}

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

a {
  color: inherit;
}

::selection {
  background: var(--pp-signal-light);
  color: var(--pp-white);
}

:focus-visible {
  outline: 3px solid var(--pp-signal-light);
  outline-offset: 3px;
  border-radius: var(--pp-radius-xs);
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: var(--pp-radius-btn);
  background: var(--pp-ink);
  color: var(--pp-canvas);
  font-weight: 500;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}

#demo,
#waitlist {
  scroll-margin-top: 96px;
}

/* ------------------------------------------------------------------ Nav */

.nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  pointer-events: none;
}

.nav {
  pointer-events: auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 16px 24px;
  background: rgba(20, 20, 19, 0.92);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.24);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.nav__brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
}

.nav__brand img {
  height: 20px;
  width: auto;
}

.nav__links {
  justify-self: end;
  display: flex;
  gap: 32px;
}

.nav__links a {
  color: var(--pp-canvas);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav__links a:hover {
  color: var(--pp-signal-light);
}

.nav__cta {
  justify-self: end;
}

.nav .nav__cta {
  border-color: var(--pp-signal);
  background: var(--pp-signal);
  color: var(--pp-white);
}

.nav .nav__cta:hover {
  border-color: var(--pp-signal-light);
  background: var(--pp-signal-light);
}

/* --------------------------------------------------------------- Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 24px;
  border: 1.5px solid var(--pp-ink);
  border-radius: var(--pp-radius-btn);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 150ms var(--pp-ease),
    background-color 150ms var(--pp-ease),
    color 150ms var(--pp-ease);
}

.btn--primary {
  background: var(--pp-ink);
  color: var(--pp-canvas);
}

.btn--primary:hover {
  background: var(--pp-charcoal);
}

.btn--secondary {
  background: var(--pp-white);
  color: var(--pp-ink);
}

.btn--secondary:hover {
  background: var(--pp-lifted);
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  cursor: progress;
  opacity: 0.7;
}

/* ----------------------------------------------------------------- Hero */

.hero {
  padding: 96px 0 48px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  color: var(--pp-signal);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero__title {
  max-width: 20ch;
  margin: 0 auto;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.hero__subhead {
  max-width: 52ch;
  margin: 24px auto 0;
  color: var(--pp-charcoal);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.4;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

/* ----------------------------------------------------------------- Demo */

.demo {
  padding: 24px 0 0;
}

.video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  background: var(--pp-ink);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.video,
.video-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  margin: auto;
  border: 0;
  border-radius: 50%;
  background: var(--pp-white);
  color: var(--pp-ink);
  box-shadow: var(--pp-shadow-card);
  cursor: pointer;
  transition:
    transform 150ms var(--pp-ease),
    background-color 150ms var(--pp-ease);
}

.video-play svg {
  width: 32px;
  height: 32px;
  margin-left: 4px;
}

.video-play:hover {
  transform: scale(1.05);
  background: var(--pp-canvas);
}

.video-frame.is-playing .video-play {
  display: none;
}

/* ---------------------------------------------------------------- Proof */

.proof {
  padding: 48px 0;
}

.proof__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof__item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--pp-charcoal);
  font-size: 16px;
  font-weight: 500;
}

.proof__item::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pp-signal-light);
}

/* ------------------------------------------------------------- Waitlist */

.waitlist {
  padding: 48px 0 96px;
}

.waitlist__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 48px;
  border: 1px solid var(--pp-whisper);
  border-radius: var(--pp-radius-card);
  background: var(--pp-lifted);
}

.waitlist__copy h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.waitlist__copy p {
  margin: 16px 0 0;
  color: var(--pp-slate);
  font-size: 18px;
}

.field {
  display: flex;
  gap: 8px;
}

.field input {
  flex: 1 1 auto;
  min-width: 0;
  height: 48px;
  padding: 0 18px;
  border: 1.5px solid var(--pp-taupe);
  border-radius: var(--pp-radius-btn);
  background: var(--pp-white);
  color: var(--pp-ink);
  font: inherit;
}

.field input::placeholder {
  color: var(--pp-slate);
}

.field input:focus {
  border-color: var(--pp-ink);
}

.waitlist__consent {
  margin: 16px 0 0;
  color: var(--pp-slate);
  font-size: 14px;
}

.waitlist__consent a {
  color: var(--pp-clay);
}

.waitlist__status {
  min-height: 1.4em;
  margin: 12px 0 0;
  font-size: 15px;
  font-weight: 500;
}

.waitlist__status.is-success {
  color: var(--pp-success);
}

.waitlist__status.is-error {
  color: var(--pp-danger);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------------------------------------------------------------- Footer */

.footer {
  padding: 64px 0 32px;
  background: var(--pp-ink);
  color: var(--pp-canvas);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}

.footer__logo {
  height: 20px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer__brand p {
  margin: 12px 0 0;
  color: var(--pp-taupe);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  color: var(--pp-canvas);
  font-size: 14px;
  text-decoration: none;
}

.footer__links a:hover {
  color: var(--pp-signal-light);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(1200px, 100% - 48px);
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--pp-taupe);
  font-size: 13px;
}

/* ------------------------------------------------------------ Text page */

.page {
  padding: 96px 0;
}

.page__inner {
  max-width: 760px;
}

.page__back {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--pp-clay);
  font-weight: 500;
  text-decoration: none;
}

.prose h1 {
  margin: 0 0 24px;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.prose h2 {
  margin: 40px 0 12px;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.prose p,
.prose li {
  color: var(--pp-charcoal);
  font-size: 17px;
  line-height: 1.6;
}

.prose ul {
  padding-left: 1.2em;
}

.prose a {
  color: var(--pp-clay);
}

/* ----------------------------------------------------------- Responsive */

@media (max-width: 1023px) {
  .waitlist__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 767px) {
  main {
    padding-top: 64px;
  }

  .nav {
    grid-template-columns: 1fr auto;
    padding: 10px 10px 10px 18px;
  }

  .nav__links {
    display: none;
  }

  .nav__cta {
    min-height: 44px;
    padding: 8px 16px;
    font-size: 14px;
  }

  .hero {
    padding: 64px 0 32px;
  }

  .hero__title {
    max-width: none;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
  }

  .video-play {
    width: 64px;
    height: 64px;
  }

  .video-play svg {
    width: 26px;
    height: 26px;
  }

  .proof__row {
    justify-content: flex-start;
  }

  .waitlist {
    padding-bottom: 64px;
  }

  .waitlist__inner {
    padding: 28px 20px;
  }

  .field {
    flex-direction: column;
  }

  .field .btn {
    width: 100%;
  }

  .footer__inner,
  .footer__bottom {
    flex-direction: column;
  }
}

@media (max-width: 400px) {
  .container {
    width: calc(100% - 24px);
  }

  .hero__title {
    font-size: clamp(28px, 9vw, 40px);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
