:root {
  color-scheme: light;
  --ink: #392d35;
  --muted: #766771;
  --paper: #fffaf4;
  --peach: #ffe7d4;
  --rose: #d95e71;
  --rose-deep: #aa3e54;
  --line: #efd9cb;
  --card: rgba(255, 255, 255, 0.82);
}

* { box-sizing: border-box; }

html { background: var(--paper); }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 5%, #ffe8db 0, transparent 26rem),
    radial-gradient(circle at 92% 9%, #f8d8df 0, transparent 22rem),
    var(--paper);
  font-family: ui-rounded, "SF Pro Rounded", "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;
  line-height: 1.7;
}

a { color: var(--rose-deep); }

.site-header,
.site-footer,
.content {
  width: min(100% - 40px, 900px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
}

.brand {
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand-mark { margin-right: 7px; }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav a { text-decoration: none; }
.nav a:hover, .nav a:focus-visible { text-decoration: underline; }

.hero {
  padding: 64px 0 36px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--rose-deep);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

h1, h2, h3 { line-height: 1.25; }

h1 {
  max-width: 700px;
  margin: 0 auto;
  font-size: clamp(2.6rem, 9vw, 5rem);
  letter-spacing: -0.07em;
}

.hero-copy {
  max-width: 560px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--rose);
  border-radius: 999px;
  color: white;
  background: var(--rose);
  box-shadow: 0 8px 20px rgba(170, 62, 84, 0.16);
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  color: var(--rose-deep);
  background: transparent;
  box-shadow: none;
}

.button:hover, .button:focus-visible { transform: translateY(-1px); }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 32px 0 70px;
}

.card,
.document {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 16px 50px rgba(91, 47, 54, 0.06);
}

.card { padding: 24px; }
.card h2 { margin: 0 0 8px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.96rem; }

.document {
  margin: 22px auto 64px;
  padding: clamp(28px, 7vw, 64px);
}

.document h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.2rem);
  letter-spacing: -0.05em;
}

.document h2 {
  margin-top: 38px;
  font-size: 1.25rem;
}

.document p, .document li { color: #584852; }
.document .effective { margin-top: 12px; color: var(--muted); }

.site-footer {
  padding: 0 0 34px;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

@media (max-width: 680px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .hero { padding-top: 36px; }
  .grid { grid-template-columns: 1fr; }
}
