:root {
  --brand: #f8485e;
  --brand-dark: #4a161c;
  --bg: #fbf7f7;
  --surface: #ffffff;
  --text: #2a1215;
  --muted: #6e5357;
  --border: #eedfe1;
  --accent: #c8283f;
  --hero-bg: #4a161c;
  --hero-text: #fbe9eb;
  --radius: 12px;
  --width: 960px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c0a0d;
    --surface: #2a1014;
    --text: #f5e9ea;
    --muted: #c4a9ad;
    --border: #4a2329;
    --accent: #f8485e;
    --hero-bg: #4a161c;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: var(--accent); }

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

header.site {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
}

.brand img { width: 39px; height: 32px; }

nav.site ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav.site a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

nav.site a:hover,
nav.site a[aria-current="page"] { color: var(--text); }

main { flex: 1; }

.hero {
  background: var(--hero-bg);
  color: var(--hero-text);
  padding: 72px 0;
}

.hero .logo {
  display: block;
  width: min(360px, 80%);
  height: auto;
  margin: 0 0 36px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  margin: 0 0 16px;
}

.hero p {
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0;
  opacity: 0.92;
}

.hero .button { margin-top: 28px; }

.button {
  display: inline-block;
  background: var(--brand);
  color: var(--brand-dark);
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

section.content { padding: 56px 0; }

section.content h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.2;
  margin: 0 0 20px;
}

section.content h2 {
  font-size: 1.35rem;
  margin: 40px 0 12px;
}

section.content p,
section.content li { max-width: 680px; }

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

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

.card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.card p { margin: 0 0 12px; color: var(--muted); }

.notice {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 24px;
  max-width: 680px;
}

dl.contact {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 12px 24px;
  margin: 0;
}

dl.contact dt { font-weight: 600; }
dl.contact dd { margin: 0; }

footer.site {
  border-top: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.9rem;
}

footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  padding-bottom: 20px;
}

footer.site ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

footer.site a { color: var(--muted); }

@media (max-width: 600px) {
  .hero { padding: 48px 0; }
  section.content { padding: 40px 0; }
  dl.contact { grid-template-columns: 1fr; gap: 4px; }
  dl.contact dd { margin-bottom: 12px; }
}
