:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --text: #1a2330;
  --muted: #5b6677;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --border: #e3e8ef;
  --maxw: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.logo:hover { text-decoration: none; }
.nav a {
  margin-left: 28px;
  color: var(--muted);
  font-weight: 500;
}
.nav a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero {
  padding: 96px 0 80px;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero .lead {
  font-size: 20px;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 32px;
}
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--accent-dark); color: #fff; text-decoration: none; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section h2 {
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}
.section-alt .card { background: #fff; }
.card h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
}
.card p { color: var(--muted); }

/* Contact */
.contact p { margin-bottom: 18px; font-size: 17px; }
.contact strong { font-size: 18px; }

/* Legal pages */
.legal h1 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.legal .updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 32px;
}
.legal h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 28px 0 10px;
}
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 14px 22px; }
.legal li { margin-bottom: 6px; color: var(--text); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  background: var(--bg);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 560px) {
  .nav a { margin-left: 18px; font-size: 14px; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 56px 0; }
}
