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

:root {
  --accent: #6366f1;
  --accent-hover: #4f46e5;
  --bg: #fafafa;
  --bg-alt: #f0f0f5;
  --surface: #ffffff;
  --text: #1c1c1e;
  --text-muted: #6b7280;
  --border: rgba(0, 0, 0, 0.08);
  --radius: 12px;
  --max-width: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0f11;
    --bg-alt: #161618;
    --surface: #1c1c1e;
    --text: #f5f5f7;
    --text-muted: #9ca3af;
    --border: rgba(255, 255, 255, 0.1);
  }
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
}

.logo {
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
  color: var(--accent);
}

.site-header nav {
  display: flex;
  gap: 1.5rem;
}

.site-header nav a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  text-decoration: none;
}

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

/* Hero */

.hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(
    180deg,
    var(--bg-alt) 0%,
    var(--bg) 100%
  );
}

.hero-inner {
  max-width: 42rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0 0 2rem;
  font-size: 1.125rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.25rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  text-decoration: none;
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-alt);
  text-decoration: none;
}

/* Sections */

.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section h2 {
  margin: 0 0 1.5rem;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.section-intro {
  max-width: 40rem;
  margin: 0 0 2rem;
  color: var(--text-muted);
}

.grid {
  display: grid;
  gap: 2rem;
}

.two-col {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.three-col {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.feature-list li:last-child {
  border-bottom: 1px solid var(--border);
}

.feature-list strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.feature-list span {
  display: block;
}

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

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 600;
}

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

.contact-block {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 24rem;
}

.contact-block p {
  margin: 0 0 1rem;
}

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

.contact-block strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

/* Legal */

.legal-page {
  padding: 3rem 0 4rem;
}

.legal-page h1 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
}

.legal-meta {
  margin: 0 0 2rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.legal-page h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
}

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

/* Footer */

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-inner p {
  margin: 0;
}

.footer-inner nav {
  display: flex;
  gap: 1.5rem;
}

.footer-inner nav a {
  color: var(--text-muted);
  text-decoration: none;
}

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