/* Fonts: Archivo and Inter (SIL Open Font License 1.1), self-hosted Latin subsets. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("fonts/archivo-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
}

:root {
  --accent: #EEBE04;
  --ink: #0D0D0D;
  --muted: #5C5C5C;
  --body: #4A4A4A;
  --line: #E2E2DD;
  --ring: #EDEDE8;
  --field: #F6F6F3;
  --field-line: #D6D6D0;
  --error: #B42318;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #FFFFFF;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); }
a:hover { color: #6B5600; }

.page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* Header */
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo { height: 30px; width: auto; display: block; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: #333333;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* Hero */
.hero {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
}
.hero-copy {
  flex: 999 1 560px;
  min-width: 0;
  max-width: 740px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.eyebrow {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
h1 {
  margin: 0;
  font-family: Archivo, "Helvetica Neue", sans-serif;
  font-size: clamp(2.75rem, 6vw, 5.25rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.highlight {
  background: linear-gradient(transparent 58%, var(--accent) 58%);
  padding: 0 4px;
  white-space: nowrap;
}
.lede {
  margin: 0;
  font-size: 19px;
  line-height: 1.6;
  color: var(--body);
  max-width: 560px;
}

/* Signup */
.signup { display: flex; flex-direction: column; gap: 10px; max-width: 540px; }
.signup label { font-size: 14px; font-weight: 600; }
.signup-row { display: flex; flex-wrap: wrap; gap: 10px; }
.signup input[type="email"] {
  flex: 1 1 260px;
  min-width: 0;
  height: 54px;
  padding: 0 18px;
  background: var(--field);
  border: 1px solid var(--field-line);
  border-radius: 12px;
  color: var(--ink);
  font: 16px Inter, sans-serif;
}
.signup input::placeholder { color: #7A7A7A; }
.signup input:focus { outline: 2px solid var(--ink); outline-offset: 2px; }
.signup input[aria-invalid="true"] { border-color: var(--error); }
.signup button {
  flex: 0 0 auto;
  height: 54px;
  padding: 0 28px;
  background: var(--ink);
  color: #FFFFFF;
  border: 0;
  border-radius: 12px;
  font: 600 16px Inter, sans-serif;
  cursor: pointer;
}
.signup button:hover { background: #2A2A2A; }
.signup button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.signup button[disabled] { opacity: 0.6; cursor: progress; }
.error { margin: 0; font-size: 14px; color: var(--error); }
.fineprint { margin: 0; font-size: 13px; color: #6B6B6B; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.success {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 540px;
  padding: 18px 20px;
  border-radius: 12px;
  background: var(--accent);
}
.success p { margin: 0; font-size: 16px; font-weight: 600; }

[hidden] { display: none !important; }

/* Art */
.art { flex: 1 1 320px; min-width: 0; display: flex; justify-content: center; }
.art svg { width: 100%; max-width: 420px; height: auto; }

/* Footer */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }

@media (max-width: 600px) {
  .wrap { padding: 24px 16px; gap: 36px; }
  .logo { height: 22px; }
  .lede { font-size: 17px; }
  .signup button { flex: 1 1 100%; }
  .art svg { max-width: 260px; }
}

@media (prefers-reduced-motion: no-preference) {
  .art circle { transform-origin: 200px 200px; }
  .art .orbit { animation: spin 60s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
}
