:root {
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --text: #0f172a;
  --text-muted: #475569;
  --border: #e2e8f0;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --radius: 8px;
  --container: 1080px;
}

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

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: 720px; }

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

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  font-size: 17px;
}
.logo:hover { text-decoration: none; }
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: white;
  border-radius: 6px;
  font-weight: 700;
  font-size: 18px;
}
.site-header nav { display: flex; gap: 24px; }
.site-header nav a { color: var(--text-muted); font-size: 15px; }
.site-header nav a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero {
  padding: 96px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}
.hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  margin: 0 0 16px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.hero .lede {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 32px;
}
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 16px;
  transition: background 0.15s ease;
}
.btn-primary:hover {
  background: var(--primary-hover);
  text-decoration: none;
}

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section h2 {
  font-size: 30px;
  margin: 0 0 40px;
  letter-spacing: -0.01em;
}
.section .narrow h2 { margin-bottom: 16px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.card h3 { font-size: 18px; margin: 0 0 12px; }
.card p { margin: 0 0 16px; color: var(--text-muted); }
.card ul { list-style: none; padding: 0; margin: 0; }
.card li {
  padding: 6px 0 6px 24px;
  position: relative;
  color: var(--text-muted);
  font-size: 15px;
}
.card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 600;
}
.price {
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 16px;
}
.price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
}
.note {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin: 32px 0 0;
}

.contact-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 16px;
}
.contact-block p { margin: 0 0 12px; }
.contact-block p:last-child { margin-bottom: 0; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  background: var(--bg);
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.site-footer p { margin: 0; color: var(--text-muted); font-size: 14px; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer nav a { color: var(--text-muted); font-size: 14px; }

/* Legal pages */
.legal { padding: 64px 0; }
.legal h1 { font-size: 36px; margin: 0 0 8px; letter-spacing: -0.01em; }
.legal .updated { color: var(--text-muted); margin: 0 0 32px; font-size: 14px; }
.legal h2 { font-size: 22px; margin: 32px 0 12px; }
.legal h3 { font-size: 17px; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--text); line-height: 1.7; }
.legal ul, .legal ol { padding-left: 24px; }
.legal li { margin-bottom: 6px; }

/* Responsive */
@media (max-width: 640px) {
  .site-header nav { gap: 16px; }
  .site-header nav a { font-size: 14px; }
  .hero { padding: 64px 0 48px; }
  .section { padding: 48px 0; }
  .site-footer .container { flex-direction: column; text-align: center; }
}
