:root {
  --bg: #fff8f4;
  --surface: #ffffff;
  --text: #1d2433;
  --muted: #5b6375;
  --border: #f0e2da;
  --accent: #c8302c;
  --accent-soft: #fde8e2;
  --navy: #233a6e;
  --hero-from: #ffe3d8;
  --hero-to: #fff8f4;
  --radius: 18px;
  --max: 1040px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12151f;
    --surface: #1b2030;
    --text: #f3eeea;
    --muted: #a9b0c0;
    --border: #2a3145;
    --accent: #ff7a6b;
    --accent-soft: #3a2026;
    --navy: #9fb4e6;
    --hero-from: #2a1b24;
    --hero-to: #12151f;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; gap: 20px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--text); }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--hero-from), var(--hero-to));
  padding: 72px 0 56px;
  text-align: center;
}
.hero-icon { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 12px 32px rgba(200, 48, 44, 0.25); }
.hero h1 { font-size: clamp(34px, 6vw, 54px); line-height: 1.1; margin: 28px 0 14px; letter-spacing: -0.02em; }
.hero p.lead { font-size: clamp(18px, 2.4vw, 21px); color: var(--muted); max-width: 640px; margin: 0 auto; }
.pill {
  display: inline-block;
  margin-top: 26px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}

/* Sections */
section { padding: 64px 0; scroll-margin-top: 60px; }
section h2 { font-size: clamp(26px, 4vw, 34px); line-height: 1.2; margin: 0 0 10px; letter-spacing: -0.01em; }
.section-intro { color: var(--muted); margin: 0 0 32px; max-width: 640px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.card .emoji { font-size: 28px; line-height: 1; }
.card h3 { font-size: 18px; margin: 14px 0 6px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

/* Contact */
.contact {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.contact h2 { margin-bottom: 6px; }
.contact p { margin: 0; color: var(--muted); }
.button {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.button:hover { filter: brightness(1.08); }
@media (prefers-color-scheme: dark) { .button { color: #1b0f10; } }

/* FAQ */
.faq { display: grid; gap: 12px; }
details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
}
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 12px 0 0; color: var(--muted); }

/* Legal page */
.legal { padding: 56px 0 72px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(32px, 5vw, 42px); line-height: 1.15; margin: 0 0 8px; letter-spacing: -0.02em; }
.legal .updated { color: var(--muted); margin: 0 0 32px; }
.legal h2 { font-size: 22px; margin: 40px 0 10px; }
.legal h3 { font-size: 18px; margin: 24px 0 6px; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.summary-box {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.summary-box p { margin: 0 0 8px; font-weight: 600; }
.summary-box ul { margin: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 32px 0 40px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer a { color: var(--muted); }
.site-footer nav { display: flex; gap: 18px; }
.site-footer .note { flex-basis: 100%; margin: 0; font-size: 13px; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav { gap: 14px; }
  .nav a.hide-sm { display: none; }
  .hero { padding: 52px 0 40px; }
  section { padding: 48px 0; }
  .contact { padding: 24px; }
}
