/* Design tokens, type scale and control primitives are ported verbatim from
   web/app/globals.css so the landing page and the app stay one system. */

@font-face {
  font-family: "Instrument Sans Variable";
  src: url("assets/instrument-sans.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #04110d;
  --surface: #081913;
  --ink: #eef7f1;
  --muted: #8a988f;
  --muted-strong: #bdc9c1;
  --line-strong: #2a4034;
  --accent: #23cb66;
  --accent-ink: #04170c;
  --negative: #ff5f57;
  --page-glow: rgba(35, 203, 102, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(90% 55% at 50% -10%, var(--page-glow), transparent 70%),
    var(--background);
  background-attachment: fixed, fixed;
  color: var(--ink);
  font-family: "Instrument Sans Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
::selection { color: var(--accent-ink); background: var(--accent); }

.shell { width: min(100% - 32px, 560px); margin-inline: auto; }

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 72px 0 56px;
}

.mark { height: 76px; width: auto; margin-bottom: 30px; }

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

h1 {
  margin: 16px 0 0;
  max-width: 14ch;
  font-size: clamp(32px, 6vw, 46px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

.lede {
  margin: 14px 0 0;
  max-width: 40ch;
  color: var(--muted-strong);
  font-size: 15px;
  line-height: 1.6;
}

/* ---- early access ---- */
.signup { width: 100%; max-width: 440px; margin-top: 28px; }
.signup form { display: flex; gap: 8px; }

.field {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding-inline: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  font-size: 14px;
  outline: none;
  transition: border-color 150ms ease;
}
.field::placeholder { color: var(--muted); }
.field:focus { border-color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding-inline: 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: filter 150ms ease, opacity 150ms ease;
}
.btn:hover:not(:disabled) { filter: brightness(0.96); }
.btn:disabled { cursor: not-allowed; opacity: 0.55; }

.note {
  margin: 12px 0 0;
  min-height: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}
.note[data-tone="ok"] { color: var(--accent); }
.note[data-tone="bad"] { color: var(--negative); }

.follow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  transition: color 150ms ease;
}
.follow:hover { color: var(--ink); }

/* ---- footer ---- */
.footer { padding: 0 0 32px; }
.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  vertical-align: middle;
}
.sep { opacity: 0.5; padding-inline: 4px; }

@media (max-width: 560px) {
  main { padding-top: 56px; }
  .mark { height: 64px; }
  .signup form { flex-direction: column; }
  .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
