:root {
  --purple: #3a3693;
  --purple-deep: #2b2a7a;
  --purple-tint: #f3f2fa;
  --purple-line: #e2e0f2;
  --red: #d3334e;
  --ink: #3a3693;
  --white: #fff;
}

* { box-sizing: border-box; }

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

body {
  font-family: "Barlow", "DIN Next W01 Regular", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* Header ------------------------------------------------------------- */

.hero {
  background: linear-gradient(100deg, var(--purple-deep) 0%, var(--purple) 38%, var(--red) 100%);
  color: var(--white);
  padding: 44px 24px;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 40px;
  align-items: center;
}

.wordmark {
  margin: 0;
  font-weight: 800;
  font-size: 64px;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}

.wm-slash {
  color: var(--red);
  font-weight: 400;
  margin: 0 0.06em;
}

.hero-copy {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  max-width: 60ch;
}

.tagline {
  margin: 14px 0 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  max-width: 30ch;
  opacity: 0.95;
}

.hero-notes {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.hero-notes li {
  font-size: 14px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* Contact band (phone/tablet; the footer pill covers desktop) ---------- */

.contact-band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 24px;
  background: var(--purple);
  color: var(--white);
}

.badge {
  flex-shrink: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.15;
}

.contact-lines p {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.contact-lines .label {
  display: inline-block;
  min-width: 3.6em;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 14px;
}

.contact-lines a { text-decoration: none; white-space: nowrap; }
.contact-lines a:hover { text-decoration: underline; }

/* Topic cards: one per area, uniform grid, equal heights per row --------- */

.topics {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.topic {
  background: var(--purple-tint);
  border: 1px solid var(--purple-line);
  border-radius: 14px;
  padding: 24px 24px 20px;
}

.topic-wide { grid-column: 1 / -1; }

.topic h2 {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
}

.topic .sub {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
}

.topic ul + .sub { margin-top: 16px; }

.topic ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-weight: 500;
}

.topic li {
  padding-left: 14px;
  position: relative;
  break-inside: avoid;
}

.topic li::before {
  content: "·";
  position: absolute;
  left: 2px;
  font-weight: 800;
}

.topic li.more { padding-left: 24px; }
.topic li.more::before { content: ""; }

.paren { white-space: nowrap; }

/* The wide card lays its list out in columns so it does not read as one
   long strip. */
.topic-wide ul.flow { columns: 3; column-gap: 24px; }

.footnote {
  margin: 14px 0 0;
  font-size: 12px;
  font-weight: 500;
}

/* Footer ------------------------------------------------------------- */

.footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 24px 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.footer-logo { height: 40px; width: auto; }
.footer-logo:last-child { justify-self: end; }

.pill {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 28px 8px 8px;
  border-radius: 999px;
  background: var(--purple);
  color: var(--white);
}

/* Breakpoints ---------------------------------------------------------- */

@media (min-width: 900px) {
  .contact-band { display: none; }
}

@media (max-width: 899px) {
  .hero-inner { grid-template-columns: 1fr; gap: 20px; }
  .tagline { max-width: none; }
  .wordmark { font-size: 52px; }
  .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topic-wide ul.flow { columns: 2; }
  .footer { grid-template-columns: 1fr 1fr; }
  .pill { display: none; }
}

@media (max-width: 560px) {
  .contact-lines p { font-size: 15px; }
  .contact-band { gap: 12px; padding: 14px 16px; }
  .hero { padding: 32px 20px; }
  .wordmark { font-size: 44px; }
  .hero-copy { font-size: 16px; }
  .topics { grid-template-columns: 1fr; padding: 24px 16px 8px; gap: 14px; }
  .topic { padding: 20px 18px 16px; }
  .topic-wide ul.flow { columns: 1; }
  .footer { grid-template-columns: 1fr; justify-items: center; gap: 18px; padding-bottom: 36px; }
  .footer-logo:last-child { justify-self: center; }
  .footer-logo { height: 34px; }
}
