:root {
  --bg: #fafaf8;
  --surface: #ffffff;
  --ink: #141414;
  --muted: #5a5a5a;
  --line: #e5e5e2;
  --accent: #60071d;
  --accent-ink: #ffffff;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.03);
  --max: 1120px;
}

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

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

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

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

h1, h2, h3 { color: var(--ink); letter-spacing: -0.01em; }
h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.1; font-weight: 700; }
h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 32px; font-weight: 700; }
h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }

/* Header */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 250, 248, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.logo {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 6px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: 14px;
}
.wordmark { font-weight: 600; letter-spacing: -0.01em; }
.brand-small { font-weight: 600; margin-right: 12px; }
nav a { color: var(--ink); margin-left: 24px; font-size: 15px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 500; font-size: 15px;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}
.btn-large { padding: 14px 28px; font-size: 16px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #4a0517; text-decoration: none; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); text-decoration: none; }

/* Hero */
.hero { padding: 96px 0 72px; }
.hero .subtitle {
  font-size: 20px;
  color: var(--muted);
  margin-top: 20px;
  max-width: 680px;
}
.cta-row { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Sections */
.section { padding: 72px 0; border-top: 1px solid var(--line); }
.section-alt { background: var(--surface); }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.card:hover { transform: translateY(-2px); border-color: var(--accent); }
.card p { color: var(--muted); margin-top: 8px; font-size: 15px; }

/* Steps */
.steps { list-style: none; display: grid; gap: 28px; max-width: 760px; }
.steps li { display: flex; gap: 20px; align-items: flex-start; }
.step-num {
  flex: none;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: 14px;
}
.steps p { color: var(--muted); }

.contact { text-align: center; }
.contact p { font-size: 17px; color: var(--muted); max-width: 520px; margin: 0 auto; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 32px 0; background: var(--surface); }
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 14px; color: var(--muted);
}
.muted { color: var(--muted); }
.footer-nav a { color: var(--muted); margin-left: 20px; }
.footer-nav a:hover { color: var(--ink); text-decoration: none; }

/* Legal pages */
body.legal main.legal-body {
  padding: 56px 24px 80px;
  max-width: 760px;
}
.legal-body h1 { font-size: 36px; margin-bottom: 8px; }
.legal-body .date { color: var(--muted); margin-bottom: 32px; font-size: 14px; }
.legal-body h2 { font-size: 20px; margin: 32px 0 12px; }
.legal-body h3 { font-size: 17px; margin: 20px 0 8px; }
.legal-body p, .legal-body li { color: #2a2a2a; font-size: 16px; margin-bottom: 10px; }
.legal-body ul { padding-left: 22px; margin-bottom: 10px; }

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