:root {
  --brand-primary: #3f4261;
  --brand-accent: #8b91b8;
  --brand-secondary: #938fbf;

  --background: #f8f9fa;
  --foreground: #111827;
  --card: #ffffff;
  --muted-foreground: #6b7280;
  --border: #e5e7eb;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
    Arial, sans-serif;
  color: var(--foreground);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */

header.site-header {
  background-color: var(--brand-primary);
}

header.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

header.site-header a.logo-link {
  display: flex;
  align-items: center;
}

header.site-header img.logo {
  height: 20px;
  width: auto;
}

header.site-header nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.9;
}

header.site-header nav a:hover {
  opacity: 1;
}

header.site-header a.cta {
  background-color: var(--brand-secondary);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600;
  opacity: 1;
}

/* Hero */

.hero {
  background-color: var(--brand-primary);
  color: #ffffff;
  padding: 88px 0 96px;
}

.hero .container {
  max-width: 720px;
  text-align: center;
}

.hero h1 {
  font-size: 2.75rem;
  line-height: 1.15;
  margin: 0 0 20px;
}

.hero p.subtext {
  font-size: 1.15rem;
  color: var(--brand-accent);
  margin: 0 0 36px;
}

.hero a.cta-primary {
  display: inline-block;
  background-color: var(--brand-secondary);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 1.05rem;
}

/* Features */

.features {
  padding: 80px 0;
}

.features h2 {
  text-align: center;
  font-size: 2rem;
  margin: 0 0 56px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.feature-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: var(--brand-primary);
}

.feature-card p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Footer */

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

footer.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

footer.site-footer nav a {
  color: var(--muted-foreground);
  text-decoration: none;
  margin-left: 20px;
}

footer.site-footer nav a:hover {
  color: var(--foreground);
}

/* Legal / privacy page */

.legal {
  padding: 64px 0 96px;
}

.legal .container {
  max-width: 720px;
}

.legal h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.legal .updated {
  color: var(--muted-foreground);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 1.25rem;
  color: var(--brand-primary);
  margin-top: 40px;
}

.legal p,
.legal li {
  line-height: 1.6;
  color: var(--foreground);
}

.legal ul {
  padding-left: 20px;
}

@media (max-width: 640px) {
  header.site-header nav {
    display: none;
  }

  .hero h1 {
    font-size: 2.1rem;
  }
}
