:root {
  --bg: #000000;
  --surface: #111111;
  --surface-2: #1a1a1a;
  --border: rgba(255,255,255,0.06);
  --text: #f5f5f5;
  --text-muted: #737373;
  --accent: #7c50ff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

/* ── Site header ── */
.site-header {
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.site-header .brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
}

.site-header .brand img {
  width: 32px;
  height: 32px;
}

.site-header .brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.site-header .back-link {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.site-header .back-link:hover { color: var(--text); }

/* ── Page content ── */
.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
}

.page h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.page h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.page p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.page p.lead {
  font-size: 1.2rem;
  color: var(--text);
  line-height: 1.6;
}

.page ul {
  list-style: disc;
  padding-left: 1.5rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.page li { margin-bottom: 0.5rem; }

.page a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s;
}

.page a:hover { text-decoration-color: var(--text); }

.page .updated {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

/* ── Contact form ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.contact-form input,
.contact-form textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 0.625rem;
  padding: 0.75rem 0.9rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(124,80,255,0.5);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form button {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 0.625rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  align-self: flex-start;
  transition: opacity 0.15s, transform 0.15s;
}

.contact-form button:hover { opacity: 0.9; transform: translateY(-1px); }

.contact-form .form-status {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--text);
  padding: 0.85rem 1rem;
  border-radius: 0.5rem;
  background: rgba(124,80,255,0.1);
  border: 1px solid rgba(124,80,255,0.3);
  display: none;
}

.contact-form .form-status.visible { display: block; }

.contact-direct {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ── Footer (cloned from homepage) ── */
footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3.5rem 2rem 2rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

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

.footer-newsletter {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.footer-newsletter-text h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.footer-newsletter-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-newsletter-form {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.footer-newsletter-form input {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 0.625rem;
  padding: 0.65rem 0.9rem;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  width: 240px;
  outline: none;
  transition: border-color 0.15s;
}

.footer-newsletter-form input:focus {
  border-color: rgba(124,80,255,0.5);
}

.footer-newsletter-form input::placeholder { color: var(--text-muted); }

.footer-newsletter-form button {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 0.625rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
}

.footer-newsletter-form button:hover { opacity: 0.9; transform: translateY(-1px); }

.footer-copyright {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

@media (max-width: 960px) {
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (max-width: 720px) {
  .footer-newsletter { grid-template-columns: 1fr; gap: 1rem; }
  .footer-newsletter-form input { width: 100%; }
}
