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

:root {
  --blue: #0066cc;
  --blue-light: #2997ff;
  --dark: #1d1d1f;
  --dark-soft: #1c1c1e;
  --gray: #62666d;
  --gray-dark: #333333;
  --gray-border: #e0e0e0;
  --surface: #ffffff;
  --surface-alt: #f5f6f7;
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-width: 320px;
  overflow-x: clip;
  background: var(--surface);
  color: var(--dark);
  font-family:
    Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

ul,
ol {
  list-style: none;
}

[id] {
  scroll-margin-top: 88px;
}

:focus-visible {
  border-radius: 6px;
  outline: 3px solid var(--blue-light);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  border-radius: 9999px;
  background: var(--blue);
  color: #ffffff;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 160ms ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.page-wrapper {
  width: min(100%, 1440px);
  margin: 0 auto;
  overflow: hidden;
  background: var(--surface);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 48px;
  border-bottom: 1px solid var(--gray-border);
  background: var(--surface);
}

.nav-logo {
  display: flex;
  min-height: 44px;
  align-items: center;
  text-decoration: none;
}

.nav-logo-text {
  color: var(--dark);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    color 200ms ease,
    opacity 200ms ease;
}

.btn-primary {
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #ffffff;
}

.btn-primary:hover {
  border-color: #0059b3;
  background: #0059b3;
}

.btn-primary {
  min-width: 220px;
  min-height: 48px;
  padding: 12px 30px;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 100px 120px 80px;
  background: var(--surface);
}

.hero-headline {
  max-width: 1000px;
  color: var(--dark);
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 60px;
  text-align: center;
  text-wrap: balance;
}

.hero-subhead {
  max-width: 836px;
  color: var(--gray);
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  text-align: center;
  text-wrap: pretty;
}

.hero-visual {
  width: min(100%, 1200px);
  aspect-ratio: 15 / 7;
  overflow: hidden;
  margin-top: 8px;
  border-radius: 18px;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vision,
.problem,
.final-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vision {
  gap: 28px;
  padding: 110px 180px;
  background: var(--surface);
}

.vision-inner,
.problem-header {
  display: flex;
  width: 100%;
  max-width: 1080px;
  flex-direction: column;
  align-items: center;
}

.vision-inner {
  gap: 28px;
}

.section-eyebrow {
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-align: center;
}

.vision-statement {
  color: var(--dark-soft);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 48px;
  text-align: center;
  text-wrap: balance;
}

.vision-support {
  max-width: 800px;
  color: var(--gray);
  font-size: 19px;
  font-weight: 400;
  line-height: 28px;
  text-align: center;
}

.problem {
  gap: 48px;
  padding: 96px 180px;
  background: var(--surface-alt);
}

.problem-header {
  gap: 16px;
}

.problem-headline {
  color: var(--dark);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 44px;
  text-align: center;
  text-wrap: balance;
}

.problem-support {
  max-width: 760px;
  color: var(--gray);
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
  text-align: center;
}

.contrast-grid {
  width: min(100%, 1080px);
}

.contrast-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
  border-radius: 18px;
  background: var(--surface);
}

.card-old {
  border: 1px solid var(--gray-border);
}

.card-new {
  border: 1.5px solid var(--blue);
}

.card-label {
  color: var(--gray);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.card-new .card-label {
  color: var(--blue);
}

.card-title {
  color: var(--dark);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.card-desc,
.card-bullet {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.card-desc {
  color: var(--gray);
}

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

.card-bullet {
  color: var(--gray-dark);
}

.final-cta {
  gap: 28px;
  padding: 110px 180px;
  background: var(--surface);
}

.cta-headline {
  max-width: 900px;
  color: var(--dark);
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 52px;
  text-align: center;
  text-wrap: balance;
}

.cta-support {
  max-width: 720px;
  color: var(--gray);
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  text-align: center;
}

.waitlist-page-main {
  background: var(--surface-alt);
}

.waitlist-page-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 88px 48px 110px;
}

.waitlist-page-intro {
  display: flex;
  max-width: 820px;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.waitlist-page-headline {
  color: var(--dark);
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 52px;
  text-align: center;
  text-wrap: balance;
}

.waitlist-page-support {
  max-width: 720px;
  color: var(--gray);
  font-size: 19px;
  font-weight: 400;
  line-height: 29px;
  text-align: center;
  text-wrap: pretty;
}

.waitlist-form-card {
  width: min(100%, 760px);
  padding: 40px;
  border: 1px solid var(--gray-border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 16px 48px rgb(29 29 31 / 8%);
}

.waitlist-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.waitlist-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}

.waitlist-field label {
  color: var(--dark);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.waitlist-field input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #b7bac0;
  border-radius: 10px;
  background: var(--surface);
  color: var(--dark);
  padding: 11px 13px;
  font: inherit;
  font-size: 16px;
  line-height: 24px;
}

.waitlist-field input::placeholder {
  color: #858990;
}

.waitlist-field input:hover {
  border-color: #858990;
}

.waitlist-field input:focus {
  border-color: var(--blue);
}

.waitlist-field input[aria-invalid="true"] {
  border-color: #b42318;
}

.waitlist-field-hint,
.waitlist-field-error {
  font-size: 13px;
  line-height: 19px;
}

.waitlist-field-hint {
  color: var(--gray);
}

.waitlist-field-error {
  color: #b42318;
}

.waitlist-field-error:empty {
  display: none;
}

.waitlist-submit,
.waitlist-status {
  grid-column: 1 / -1;
}

.waitlist-submit {
  width: fit-content;
  margin-top: 4px;
  cursor: pointer;
  font-family: inherit;
}

.waitlist-submit:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.waitlist-form[aria-busy="true"] .waitlist-submit {
  cursor: wait;
}

.waitlist-status {
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 21px;
}

.waitlist-status[data-state="error"] {
  background: #fff1f0;
  color: #8a1c13;
}

.waitlist-status[data-state="preview"] {
  background: #eef6ff;
  color: #174f86;
}

.waitlist-success {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
}

.waitlist-success-mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: #eaf6ee;
  color: #18733a;
  font-size: 26px;
  font-weight: 700;
}

.waitlist-success h2 {
  color: var(--dark);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 36px;
}

.waitlist-success p {
  max-width: 500px;
  color: var(--gray);
  font-size: 17px;
  line-height: 26px;
}

.footer {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 64px 48px 48px;
  background: var(--surface);
}

.footer-decor,
.footer-top,
.footer-bottom {
  width: min(100%, 1344px);
  margin: 0 auto;
}

.footer-decor img {
  display: block;
  width: 100%;
  height: auto;
}

.footer-top,
.footer-bottom {
  display: flex;
  justify-content: space-between;
}

.footer-top {
  align-items: flex-start;
}

.footer-brand-name {
  color: var(--dark-soft);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.footer-bottom {
  align-items: center;
}

.copyright {
  color: var(--gray);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

@media (max-width: 1199px) {
  .nav {
    padding-inline: 32px;
  }

  .hero {
    padding: 88px 64px 72px;
  }

  .vision,
  .problem,
  .final-cta {
    padding-inline: 64px;
  }

  .waitlist-page-section {
    padding-inline: 32px;
  }
}

@media (max-width: 899px) {
  [id] {
    scroll-margin-top: 136px;
  }

  .hero-headline {
    font-size: 48px;
    line-height: 52px;
  }

  .contrast-grid {
    gap: 18px;
  }

  .card {
    padding: 26px;
  }
}

@media (max-width: 699px) {
  [id] {
    scroll-margin-top: 152px;
  }

  .nav {
    padding-inline: 20px;
  }

  .hero,
  .vision,
  .problem,
  .final-cta {
    padding: 64px 24px;
  }

  .hero {
    gap: 20px;
  }

  .hero-headline {
    font-size: 42px;
    line-height: 46px;
  }

  .hero-subhead {
    font-size: 18px;
    line-height: 28px;
  }

  .hero-visual {
    margin-top: 12px;
    border-radius: 14px;
  }

  .vision-statement,
  .problem-headline {
    font-size: 34px;
    line-height: 40px;
  }

  .vision-support,
  .problem-support {
    font-size: 17px;
    line-height: 26px;
  }

  .contrast-grid {
    grid-template-columns: 1fr;
  }

  .cta-headline {
    font-size: 40px;
    line-height: 46px;
  }

  .cta-support {
    font-size: 18px;
    line-height: 28px;
  }

  .waitlist-page-section {
    gap: 32px;
    padding: 64px 24px 80px;
  }

  .waitlist-page-headline {
    font-size: 40px;
    line-height: 46px;
  }

  .waitlist-page-support {
    font-size: 17px;
    line-height: 26px;
  }

  .waitlist-form {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 48px 24px 36px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }
}

@media (max-width: 479px) {
  .nav-logo-text {
    font-size: 20px;
  }

  .hero,
  .vision,
  .problem,
  .final-cta {
    padding: 52px 20px;
  }

  .hero-headline {
    font-size: 36px;
    line-height: 40px;
  }

  .hero-visual {
    aspect-ratio: 6 / 5;
  }

  .hero-visual img {
    object-position: center;
  }

  .vision-statement,
  .problem-headline {
    font-size: 31px;
    line-height: 36px;
  }

  .card {
    padding: 24px;
  }

  .cta-headline {
    font-size: 34px;
    line-height: 40px;
  }

  .btn-primary {
    width: 100%;
  }

  .waitlist-page-section {
    padding: 52px 16px 64px;
  }

  .waitlist-page-headline {
    font-size: 34px;
    line-height: 40px;
  }

  .waitlist-form-card {
    padding: 28px 20px;
    border-radius: 14px;
  }

  .waitlist-submit {
    width: 100%;
  }
}

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

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