@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/geist-mono-latin-400-normal.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-synthesis: none;
  background: #181818;
  color: #f3f3f3;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 240px;
}

.landing {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

.logo-background {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  /* The depth fade stays fixed while the columns move beneath it. */
  mask-image: radial-gradient(
    ellipse at 50% 42%,
    #000 8%,
    rgb(0 0 0 / 65%) 30%,
    rgb(0 0 0 / 15%) 55%,
    transparent 80%
  );
}

.logo-background::before,
.logo-background::after {
  content: "";
  position: absolute;
  /* Overscan the vertical travel so moving columns cover both edges. */
  inset: -126px 0;
  background: url("/images/logo-grid.svg") center / 108px 84px repeat;
  opacity: 0.07;
  transform: translateY(0);
  pointer-events: none;
  animation: logo-columns-up 15s linear infinite reverse;
}

.logo-background::after {
  /* Both directions use the same upright tile, shifted into alternating columns. */
  background-position: calc(50% + 54px) center;
  opacity: 0.05;
  filter: blur(0.2px);
  transform: translateY(42px);
  animation-name: logo-columns-down;
}

@keyframes logo-columns-up {
  from { transform: translateY(0); }
  to { transform: translateY(-84px); }
}

@keyframes logo-columns-down {
  from { transform: translateY(42px); }
  to { transform: translateY(126px); }
}

@media (prefers-reduced-motion: reduce) {
  .logo-background::before,
  .logo-background::after {
    animation: none;
  }
}

.site-header,
.page-content,
.site-footer {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  background: transparent;
  -webkit-user-select: none;
  user-select: none;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-wordmark {
  color: #b5b5b5;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.header-logo {
  display: block;
  height: 72px;
  width: auto;
}

.page-content {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: clamp(48px, 8svh, 96px) 24px;
}

.home-content {
  grid-template-rows: 1fr auto;
  row-gap: clamp(80px, 12svh, 144px);
  padding-block: clamp(32px, 5svh, 64px) 8px;
}

.hero {
  display: grid;
  place-items: center;
  width: 100%;
  text-align: center;
}

.hero-title {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: normal;
  text-wrap: balance;
}

.hero-keywords {
  font-family: "Geist Mono", monospace;
  width: min(100%, 520px);
  min-width: 0;
  overflow: hidden;
  margin: 28px 0;
  color: #929292;
  mask-image: linear-gradient(to right, transparent, #000 20%, #000 80%, transparent);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.keyword-track {
  display: flex;
  width: max-content;
  animation: keyword-scroll 48s linear infinite;
}

.keyword-list {
  display: flex;
  flex: 0 0 auto;
  justify-content: space-around;
  gap: 32px;
  min-width: 520px;
  margin: 0;
  padding: 0 16px;
  list-style: none;
}

.hero-keywords:hover .keyword-track,
.hero-keywords:focus-within .keyword-track {
  animation-play-state: paused;
}

@keyframes keyword-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.hero-keywords li {
  position: relative;
  white-space: nowrap;
}

.hero-keywords li::before {
  content: "";
  position: absolute;
  left: -17px;
  top: calc(50% - 1px);
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #5c5c5c;
}

@media (prefers-reduced-motion: reduce) {
  .hero-keywords {
    overflow: visible;
    mask-image: none;
  }

  .keyword-track {
    display: block;
    width: auto;
    animation: none;
  }

  .keyword-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 22px;
    min-width: 0;
    padding: 0;
  }

  .keyword-list[aria-hidden="true"],
  .hero-keywords li::before {
    display: none;
  }
}

.hero-intro {
  max-width: 54ch;
  margin: 0;
  color: #999;
  font-size: 14px;
  line-height: 1.8;
  text-wrap: pretty;
}

.launch-updates {
  width: min(100%, 520px);
  text-align: center;
}

.signup-form {
  position: relative;
}

.signup-fields {
  display: flex;
  align-items: stretch;
  gap: 8px;
  padding: 5px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 999px;
  background: rgb(24 24 24 / 45%);
}

.signup-fields:focus-within {
  border-color: #999;
}

.signup-fields input {
  width: 100%;
  min-width: 0;
  padding: 12px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #dedede;
  font: inherit;
  font-size: 16px;
}

.signup-fields input::placeholder {
  color: #969696;
}

.signup-fields input:focus-visible {
  outline: none;
}

.signup-fields button {
  flex-shrink: 0;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid #b5b5b5;
  border-radius: 999px;
  background: #b5b5b5;
  color: #181818;
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  cursor: pointer;
}

.signup-fields button:hover:not(:disabled) {
  background: #cecece;
}

.signup-fields button:focus-visible {
  outline: 2px solid #dedede;
  outline-offset: 4px;
}

.signup-fields button:disabled {
  cursor: default;
  opacity: 0.65;
}

.signup-consent,
.signup-status {
  margin: 14px 12px 0;
  color: #999;
  font-size: 11px;
  line-height: 1.8;
}

.signup-status:empty {
  min-height: 1lh;
  margin-top: 0;
}

.signup-consent a {
  color: #b5b5b5;
  text-decoration-color: #666;
  text-underline-offset: 3px;
}

.signup-status {
  min-height: 2lh;
  margin-top: 10px;
  color: #c5c5c5;
  font-size: 12px;
}

.signup-error {
  color: #e1aaa2;
}

.visually-hidden,
.signup-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 460px) {
  .signup-fields {
    flex-direction: column;
    border-radius: 26px;
  }

  .signup-fields button {
    width: 100%;
  }
}

.site-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  min-height: 64px;
  padding: 20px 24px;
  background: transparent;
  color: #858585;
  text-align: left;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 24px auto;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgb(255 255 255 / 8%) 20%,
    rgb(255 255 255 / 8%) 80%,
    transparent
  );
  pointer-events: none;
}

.site-footer small,
.footer-links {
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-left: auto;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a[aria-current="page"] {
  color: #c5c5c5;
}

a:focus-visible {
  outline: 1px solid #999;
  outline-offset: 6px;
  border-radius: 2px;
}

.home-link {
  display: block;
  padding-inline: 12px;
}

.skip-link {
  position: absolute;
  z-index: 1;
  top: 16px;
  left: 24px;
  padding: 12px 16px;
  background: #181818;
  color: #f3f3f3;
  transform: translateY(-200%);
}

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

.contact-content {
  width: min(100%, 520px);
  text-align: center;
  overflow-wrap: anywhere;
}

.contact-content h1 {
  margin: 0 0 24px;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 400;
  line-height: 1.2;
}

.contact-content p {
  margin: 0 0 24px;
  color: #999;
  font-size: 15px;
  line-height: 1.8;
}

.contact-email {
  display: inline-block;
  max-width: 100%;
  padding-block: 10px;
  color: #d0d0d0;
  font-family: "Geist Mono", monospace;
  font-size: clamp(16px, 3vw, 20px);
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-color: #666;
  text-underline-offset: 5px;
}

.contact-email:hover {
  color: #fff;
  text-decoration-color: currentColor;
}

.legal-page .logo-background {
  /* Keep the pattern in the opening viewport on long documents. */
  bottom: auto;
  height: 100svh;
}

.legal-content {
  display: block;
  padding-block: clamp(32px, 6svh, 64px) 96px;
}

.legal-article {
  max-width: 700px;
  margin-inline: auto;
  color: #b5b5b5;
  font-size: 15px;
  line-height: 1.85;
  overflow-wrap: break-word;
}

.legal-heading {
  margin-bottom: 48px;
}

.legal-eyebrow,
.legal-updated {
  font-family: "Geist Mono", monospace;
  color: #999;
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.03em;
}

.legal-article h1 {
  margin: 16px 0;
  color: #f3f3f3;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: normal;
}

.legal-article .legal-intro {
  margin-top: 28px;
  color: #c5c5c5;
  font-size: 17px;
  line-height: 1.8;
}

.legal-article section + section {
  margin-top: 36px;
}

.legal-article h2 {
  margin: 0 0 12px;
  color: #dedede;
  font-size: 19px;
  line-height: 1.5;
  font-weight: 400;
  scroll-margin-top: 32px;
}

.legal-article p {
  margin: 0 0 16px;
}

.legal-article a {
  color: #d0d0d0;
  text-decoration-color: #666;
  text-underline-offset: 4px;
}

.legal-article a:hover {
  color: #fff;
  text-decoration-color: currentColor;
}

.legal-contact {
  position: relative;
  margin-top: 48px;
  padding-top: 32px;
  font-size: 13px;
}

.legal-contact::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(to right, transparent, rgb(255 255 255 / 10%) 20%, rgb(255 255 255 / 10%) 80%, transparent);
}

@media print {
  :root,
  body {
    color-scheme: light;
    background: #fff;
  }

  .legal-page .logo-background,
  .legal-page .site-header,
  .legal-page .site-footer,
  .skip-link {
    display: none;
  }

  .legal-page {
    display: block;
    overflow: visible;
  }

  .legal-content {
    padding: 0;
  }

  .legal-article {
    max-width: none;
  }

  .legal-article,
  .legal-article * {
    color: #000;
  }

  .legal-article h2 {
    break-after: avoid;
  }
}

@media (max-width: 600px), (max-height: 480px) {
  .site-header {
    padding-block: 24px;
  }

  .header-logo {
    height: 64px;
  }
}

.signup-secondary {
  margin-top: 16px;
  padding: 8px;
  border: 0;
  background: transparent;
  color: #b5b5b5;
  font: inherit;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.confirmation-page {
  width: min(100%, 580px);
  text-align: center;
  line-height: 1.8;
}

.confirmation-page h1 {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 400;
  line-height: 1.3;
}

.confirmation-page p {
  color: #aaa;
}

.confirmation-page a {
  color: #bbb;
  text-underline-offset: 4px;
}

.confirmation-button {
  margin-top: 16px;
  padding: 14px 24px;
  border: 0;
  border-radius: 999px;
  background: #b5b5b5;
  color: #181818;
  font: inherit;
  cursor: pointer;
}

.confirmation-button:hover { background: #cecece; }
.confirmation-button:focus-visible,
.signup-secondary:focus-visible { outline: 2px solid #dedede; outline-offset: 4px; }
