:root {
  --bg: #12141c;
  --bg-raised: #1b1e2a;
  --text: #eef0f5;
  --text-dim: #a9adbd;
  --teal: #2bae7e;
  --purple: #6c3fc5;
  --pink: #e8207a;
  --border: #2b2f3d;
  --max-width: 960px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

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

a { color: inherit; }

.site-header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--teal);
  width: fit-content;
}

.brand-mark { flex-shrink: 0; }

.site-header .brand-mark {
  width: clamp(40px, 12vw, 112px);
  height: clamp(40px, 12vw, 112px);
}

.site-header .brand-word {
  font-size: clamp(1.75rem, 8vw, 4.5rem);
  font-weight: 700;
  color: var(--text);
}

.brand-dot { color: var(--teal); }

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero {
  text-align: center;
  padding: 3rem 0 2rem;
}

.eyebrow {
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dim);
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.25;
  margin: 0 0 1.25rem;
}

.accent { color: var(--teal); }

.hero-sub {
  max-width: 46rem;
  margin: 0 auto 0.5rem;
  color: var(--text-dim);
  font-size: 1.1rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--teal);
  color: #0a1410;
}

.btn-primary:hover { opacity: 0.9; }

.section {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

.section h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  max-width: 42rem;
  margin: 0 0 2rem;
  line-height: 1.35;
}

.platform {
  padding-bottom: 0.5rem;
}

.platform h2 {
  text-align: center;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}

.card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.card-icon {
  display: block;
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
}

.signup {
  text-align: center;
  padding-top: 1.75rem;
  padding-bottom: 1.5rem;
}

.signup-fields {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.input {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  min-width: 0;
  width: 14rem;
  max-width: 100%;
}

.input::placeholder {
  color: var(--text-dim);
}

.input:focus {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-status {
  min-height: 1.2em;
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.privacy-note {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem 3rem;
  color: var(--text-dim);
  font-size: 0.9rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-affiliation {
  margin: 0;
  font-size: 0.95rem;
}

.footer-affiliation a {
  color: var(--text-dim);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-affiliation a:hover {
  color: var(--text);
}
