:root {
  --plum: #5a1b6f;
  --plum-dark: #3f245e;
  --mint: #a6d6ce;
  --orchid: #b89acf;
  --warm: #f7f4ee;
  --ink: #26252a;
  --muted: #6c6970;
  --line: #e9e1d8;
  --danger: #9e2a2b;
  --white: #fff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 90% 10%, rgba(184,154,207,.18), transparent 24rem),
    var(--warm);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

.site-header {
  min-height: 78px;
  display: flex;
  align-items: center;
  padding: 14px max(20px, calc((100vw - 1040px) / 2));
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--plum-dark);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  color: var(--white);
  background: var(--plum);
  font-family: Georgia, serif;
  font-size: 30px;
}

.brand strong,
.brand small { display: block; line-height: 1.05; }
.brand strong { font-family: Georgia, serif; font-size: 25px; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }

.container { width: min(1040px, calc(100% - 32px)); margin-inline: auto; }

.home-main { padding: 72px 0 88px; }

.intro { max-width: 730px; }
.intro h1, .article-card h1 {
  margin: 0;
  color: var(--plum-dark);
  font-family: Georgia, serif;
  font-size: clamp(2.45rem, 7vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -.035em;
}
.intro > p:last-child, .lead { max-width: 680px; color: var(--muted); font-size: 1.2rem; }

.eyebrow {
  margin: 0 0 10px;
  color: var(--plum);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.link-list { display: grid; gap: 14px; margin-top: 44px; }
.nav-card {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 112px;
  padding: 18px 24px;
  color: var(--ink);
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(63,36,94,.06);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.nav-card:hover, .nav-card:focus-visible { transform: translateY(-2px); border-color: var(--orchid); box-shadow: 0 16px 40px rgba(63,36,94,.12); outline: none; }
.nav-card strong, .nav-card small { display: block; }
.nav-card strong { font-size: 1.25rem; }
.nav-card small { margin-top: 3px; color: var(--muted); font-size: 1rem; }
.icon-box { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 17px; background: #eaf7f5; color: var(--plum); font-size: 1.55rem; font-weight: 800; }
.danger-icon { background: #f9ecec; color: var(--danger); }
.chevron { color: #969198; font-size: 2.2rem; }

.article-wrap { padding: 40px 0 78px; }
.back-link { display: inline-block; margin: 0 0 18px; font-weight: 750; text-decoration: none; }
.article-card { padding: clamp(26px, 6vw, 64px); background: var(--white); border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 16px 46px rgba(63,36,94,.07); }
.article-card h1 { font-size: clamp(2.25rem, 6vw, 4.25rem); }
.article-card section { padding-top: 30px; margin-top: 30px; border-top: 1px solid var(--line); }
.article-card h2 { margin: 0 0 10px; color: var(--plum-dark); font-size: clamp(1.35rem, 4vw, 1.7rem); line-height: 1.25; }
.article-card p, .article-card li { font-size: 1.04rem; }
.article-card li + li { margin-top: 7px; }
.article-card ul, .article-card ol { padding-left: 24px; }
.updated, .contact-address { color: var(--muted); }

.notice, .delete-callout, .steps-panel, .contact-panel { padding: 24px !important; border: 0 !important; border-radius: 18px; }
.notice { background: #f3eaf8; border-left: 5px solid var(--plum) !important; }
.delete-callout { background: #eaf7f5; border: 2px solid var(--mint) !important; }
.steps-panel { background: #faf8f4; }
.contact-panel { background: var(--warm); }

.button {
  display: inline-block;
  margin: 10px 0;
  padding: 13px 18px;
  color: var(--white);
  background: var(--plum);
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
}
.button:hover, .button:focus-visible { background: var(--plum-dark); outline: 3px solid rgba(184,154,207,.5); outline-offset: 3px; }
.secondary { color: var(--plum-dark); background: var(--mint); }
.danger-button { background: var(--danger); }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px max(20px, calc((100vw - 1040px) / 2));
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}
.site-footer p { margin: 0; }

@media (max-width: 640px) {
  .home-main { padding-top: 48px; }
  .nav-card { grid-template-columns: 52px 1fr auto; gap: 12px; padding: 16px; }
  .icon-box { width: 50px; height: 50px; border-radius: 14px; }
  .nav-card strong { font-size: 1.07rem; }
  .nav-card small { font-size: .9rem; }
  .article-wrap { padding-top: 24px; }
  .article-card { border-radius: 20px; }
  .site-footer { flex-direction: column; }
}
