:root {
  --bg: #f8f4f2;
  --surface: #fffdfc;
  --surface-soft: #fbf7f5;
  --text: #2d2325;
  --muted: #6c5b5e;
  --border: #e4d6d9;
  --accent: #6e1f32;
  --accent-strong: #531725;
  --focus: #a83a57;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(41, 19, 24, 0.06);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(1000px 500px at 100% -10%, #f3e5e9 0%, transparent 55%),
    radial-gradient(700px 450px at -10% 0%, #f2e8e3 0%, transparent 50%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: min(900px, 92%);
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 253, 252, 0.85);
  backdrop-filter: blur(6px);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  font-weight: 700;
  color: var(--accent-strong);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.nav-links a,
a.inline-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a:focus-visible,
a.inline-link:hover,
a.inline-link:focus-visible {
  text-decoration: underline;
}

.main-content {
  padding: 34px 0 50px;
}

.hero {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  margin-bottom: 22px;
}

.hero h2 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.3;
}

.hero p {
  margin: 0;
  color: var(--muted);
}

.card-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card,
.policy-section,
.support-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.card h3,
.policy-section h2,
.support-section h2 {
  margin-top: 0;
  line-height: 1.35;
}

.card p,
.policy-section p,
.support-section p {
  margin-bottom: 0;
}

ul {
  margin: 0;
  padding-left: 1.15rem;
}

li + li {
  margin-top: 8px;
}

.meta {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.stack {
  display: grid;
  gap: 16px;
}

.site-footer {
  margin-top: 26px;
  border-top: 1px solid var(--border);
  background: var(--surface-soft);
}

.footer-inner {
  min-height: 88px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.footer-links a,
.footer-links span {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.96rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (max-width: 650px) {
  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .card,
  .policy-section,
  .support-section {
    padding: 18px;
  }
}
