/* Zeroph — static site styles */

:root {
  --bg: #0c0f14;
  --bg-elevated: #141922;
  --surface: #1a2130;
  --text: #e8eaef;
  --text-muted: #8b95a8;
  --accent: #3dd6c6;
  --accent-dim: #2a9d8f;
  --border: rgba(232, 234, 239, 0.08);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --radius: 12px;
  --max: 72rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(61, 214, 198, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(42, 157, 143, 0.06), transparent);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
}

a:hover {
  color: #5fe8d9;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(12, 15, 20, 0.85);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.logo__mark {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}

.logo__text {
  line-height: 1;
}

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

.nav-main {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.nav-main a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav-main a:hover {
  color: var(--text);
}

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

.hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.hero__label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

.hero__lead {
  font-size: clamp(1.0625rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 42ch;
  margin: 0 auto 2rem;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: var(--accent);
  color: var(--bg) !important;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius);
}

.hero__cta:hover {
  background: #5fe8d9;
  color: var(--bg) !important;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

@media (max-width: 900px) {
  .pillars {
    grid-template-columns: 1fr;
  }
}

.pillar {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.pillar:hover {
  border-color: rgba(61, 214, 198, 0.25);
  transform: translateY(-2px);
}

.pillar__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--accent-dim);
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.pillar h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.pillar p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.section {
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.section p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  max-width: 65ch;
}

.section p:last-child {
  margin-bottom: 0;
}

.section__cta {
  margin: 1.5rem 0 0;
  max-width: 65ch;
}

.section__cta a {
  font-weight: 600;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 768px) {
  .split {
    grid-template-columns: 1fr;
  }
}

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

.card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.card p {
  font-size: 0.9375rem;
  margin: 0;
}

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: auto;
  padding: 2.5rem 1.5rem;
  background: var(--bg-elevated);
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
}

.site-footer__legal a {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.site-footer__legal a:hover {
  color: var(--accent);
}

.site-footer__copy {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Legal pages */
.legal-page {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}

.legal-page .meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
}

.legal-page h2:first-of-type {
  margin-top: 1.5rem;
}

.legal-page p,
.legal-page li {
  color: var(--text-muted);
  max-width: 65ch;
}

.legal-page ul {
  padding-left: 1.25rem;
}

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

.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
}

body.layout-column {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.layout-column main {
  flex: 1;
}
