:root {
  --plum: #5b2a86;
  --plum-dark: #40205f;
  --teal: #0f766e;
  --pink: #c2417a;
  --gold: #b7791f;
  --ink: #25212b;
  --muted: #625b6e;
  --bg: #fffaf7;
  --card: #ffffff;
  --line: #eadff2;
  --soft: #f6eefb;
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--plum); font-weight: 700; }
a:hover, a:focus { color: var(--teal); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--plum-dark);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 10;
}
.skip-link:focus { left: 0; color: #fff; }

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 5;
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  color: var(--plum-dark);
  text-decoration: none;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}
.brand span { color: var(--teal); }

.nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}
.nav ul a { text-decoration: none; font-size: 0.98rem; }

.hero {
  background: linear-gradient(135deg, var(--plum-dark), var(--plum) 55%, var(--teal));
  color: #fff;
  padding: 4.5rem 1rem;
}
.hero-inner, .wrap {
  max-width: 1120px;
  margin: 0 auto;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 0.82rem;
  opacity: 0.9;
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  line-height: 1.05;
  margin: 0.4rem 0 1rem;
  max-width: 820px;
}
.hero p {
  font-size: 1.2rem;
  max-width: 760px;
  margin: 0 0 1.6rem;
}

.button-row { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.button {
  display: inline-block;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  background: #fff;
  color: var(--plum-dark);
  text-decoration: none;
  border: 2px solid #fff;
}
.button.secondary {
  background: transparent;
  color: #fff;
}
.button.dark {
  background: var(--plum);
  border-color: var(--plum);
  color: #fff;
}
.button.outline {
  background: #fff;
  border-color: var(--plum);
  color: var(--plum);
}

main { padding: 2.5rem 1rem 3rem; }
section { margin: 0 auto 2.5rem; max-width: 1120px; }
.narrow { max-width: 820px; }

h1.page-title {
  color: var(--plum-dark);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.12;
  margin: 0 0 1rem;
}
h2 {
  color: var(--plum-dark);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.2;
  margin: 0 0 0.8rem;
}
h3 { color: var(--plum-dark); margin-top: 0; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 820px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 8px 24px rgba(64, 32, 95, 0.06);
}
.card p { color: var(--muted); }

.notice {
  background: var(--soft);
  border-left: 5px solid var(--plum);
  border-radius: 12px;
  padding: 1rem 1.1rem;
}
.warning {
  background: #fff7e6;
  border-left-color: var(--gold);
}
.small { font-size: 0.94rem; color: var(--muted); }

.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1rem 1rem 4.2rem;
  margin-bottom: 0.8rem;
  position: relative;
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.placeholder {
  border: 1px dashed var(--pink);
  background: #fff0f6;
  border-radius: 12px;
  padding: 0.9rem 1rem;
}

.site-footer {
  background: var(--plum-dark);
  color: #fff;
  padding: 2rem 1rem;
}
.site-footer a { color: #fff; }
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}
.footer-inner p, .footer-inner li { color: #eadff2; }
.footer-inner ul { list-style: none; padding: 0; margin: 0; }

@media (max-width: 640px) {
  .nav { align-items: flex-start; flex-direction: column; }
  .hero { padding: 3rem 1rem; }
  main { padding-top: 1.6rem; }
}
