@font-face {
  font-family: "Nordique Pro";
  src: url("/fonts/nordique-regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nordique Pro";
  src: url("/fonts/nordique-bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --lime: #f8ffa1;
  --ink: #101410;
  --paper: #ffffff;
  --muted: #4f554d;
  --font-brand: "Nordique Pro", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  min-height: 100%;
  background: var(--lime);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

::selection {
  background: var(--ink);
  color: var(--lime);
}

a {
  color: inherit;
}

.landing-page {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  padding: calc(72px + env(safe-area-inset-top, 0px)) 24px calc(30px + env(safe-area-inset-bottom, 0px));
}

.brandbar {
  display: flex;
  justify-content: center;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  line-height: 0;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 56px;
  height: 56px;
  flex: none;
}

.brand-text {
  margin-left: 1px;
  font-family: var(--font-brand);
  font-size: clamp(2.65rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: 0;
}

.hero {
  width: min(100%, 760px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(54px, 8vh, 82px);
  padding: 64px 0;
  text-align: center;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.6rem, 10vw, 7rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero h1 {
  font-family: var(--font-brand);
}

.waitlist {
  width: min(100%, 520px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.waitlist-form {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 5px 5px 21px;
  border: 1px solid rgba(16, 20, 16, 0.08);
  border-radius: 999px;
  background: var(--paper);
}

.waitlist-form:focus-within {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.waitlist-input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

.waitlist-input::placeholder {
  color: #747970;
}

.waitlist-button {
  min-height: 54px;
  flex: none;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
  transition: opacity 160ms ease;
}

.waitlist-button:hover {
  opacity: 0.86;
}

.waitlist-button:focus-visible,
.landing-footer a:focus-visible,
.brand:focus-visible,
.text-link:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.waitlist-button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

.form-status[data-tone="success"] {
  color: var(--ink);
}

.form-status[data-tone="error"] {
  color: #7a1717;
}

.landing-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 11px;
  font-size: 0.95rem;
  line-height: 1.4;
}

.landing-footer a,
.text-link {
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-color: rgba(16, 20, 16, 0.45);
  text-underline-offset: 4px;
}

.landing-footer a:hover,
.text-link:hover {
  text-decoration-color: var(--ink);
}

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

.content-page {
  min-height: 100svh;
  padding: calc(48px + env(safe-area-inset-top, 0px)) 24px calc(48px + env(safe-area-inset-bottom, 0px));
  background: var(--paper);
}

.content-shell {
  width: min(100%, 620px);
  margin: 0 auto;
}

.content-header {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(72px, 12vh, 132px);
}

.content-header .brand-mark {
  width: 35px;
  height: 35px;
}

.content-header .brand-text {
  font-size: 2rem;
}

.content-main h1 {
  margin-bottom: 32px;
  font-size: clamp(3rem, 8vw, 5rem);
}

.content-main h2 {
  margin: 36px 0 10px;
  font-size: 1rem;
  font-weight: 700;
}

.content-main p {
  margin: 0 0 16px;
  color: var(--muted);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.98rem;
  line-height: 1.65;
}

.content-main .lede {
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.25rem;
  line-height: 1.45;
}

.content-back {
  display: inline-block;
  margin-top: 48px;
}

@media (max-width: 560px) {
  .landing-page {
    padding-top: calc(44px + env(safe-area-inset-top, 0px));
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand-text {
    font-size: 2.5rem;
  }

  .hero {
    gap: 48px;
    padding: 48px 0;
  }

  .waitlist-form {
    padding-left: 17px;
  }

  .waitlist-button {
    min-height: 46px;
    padding: 0 17px;
    font-size: 0.88rem;
  }
}

@media (max-width: 365px) {
  .waitlist-form {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    border-radius: 22px;
  }

  .waitlist-input {
    min-height: 42px;
    padding: 0 4px;
  }
}

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