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

:root {
  --primary: #1a1a2e;
  --accent: #4f46e5;
  --accent-light: #6366f1;
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #ffffff;
  --surface: #f9fafb;
  --border: #e5e7eb;
  --radius: 8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

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

/* Header */
header {
  background: var(--primary);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
}

.logo span { color: var(--accent-light); }

nav { display: flex; gap: 24px; }

nav a {
  color: rgba(255,255,255,.8);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color .15s;
}

nav a:hover { color: #fff; text-decoration: none; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #16213e 100%);
  color: #fff;
  padding: 96px 24px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero h1 span { color: var(--accent-light); }

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,.75);
  max-width: 600px;
  margin: 0 auto 36px;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: background .15s, transform .1s;
}

.btn:hover { background: var(--accent-light); text-decoration: none; transform: translateY(-1px); }

/* Sections */
section { padding: 72px 24px; }
section:nth-child(even) { background: var(--surface); }

.container { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-body {
  color: var(--muted);
  max-width: 680px;
  font-size: 1.05rem;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

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

.card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.card p { color: var(--muted); font-size: 0.95rem; }

/* Legal pages */
.legal-header {
  background: var(--primary);
  color: #fff;
  padding: 56px 24px;
  text-align: center;
}

.legal-header h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 8px; }
.legal-header p { color: rgba(255,255,255,.65); font-size: 0.95rem; }

.legal-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.legal-body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 40px 0 12px;
  color: var(--primary);
}

.legal-body h2:first-of-type { margin-top: 0; }

.legal-body p { color: var(--muted); margin-bottom: 14px; font-size: 0.97rem; }
.legal-body ul { color: var(--muted); padding-left: 20px; margin-bottom: 14px; }
.legal-body ul li { margin-bottom: 6px; font-size: 0.97rem; }

/* Footer */
footer {
  background: var(--primary);
  color: rgba(255,255,255,.6);
  text-align: center;
  padding: 32px 24px;
  font-size: 0.88rem;
}

footer a { color: rgba(255,255,255,.8); }
footer a:hover { color: #fff; }
footer .footer-links { margin-bottom: 8px; display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 600px) {
  nav { gap: 14px; }
  nav a { font-size: 0.82rem; }
  .hero { padding: 64px 20px; }
  section { padding: 52px 20px; }
}
