/*
  HerNext Network retirement page.
  One page, no third-party requests, no motion.
  Brand colours are the same tokens used across the retired site.
*/

:root {
  --white: #ffffff;
  --plum: #3e2557;
  --plum-deep: #2a1a3c;
  --plum-soft: #786190;
  --gold: #d4af37;
  --gold-text: #806515;
  --ink: #1c1420;
  --rule: #e7e1ec;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", Times, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
}

body::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--gold);
}

::selection {
  background: var(--plum);
  color: var(--white);
}

.page {
  width: min(100% - 2.5rem, 46rem);
  margin: 0 auto;
  padding: 2.25rem 0 3rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--plum);
  font-weight: 600;
  z-index: 10;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  outline: 3px solid var(--gold-text);
  outline-offset: 3px;
}

.masthead {
  display: flex;
  align-items: center;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--rule);
}

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

.brand img {
  display: block;
  width: 44px;
  height: 44px;
}

.brand__name {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

main {
  padding-top: clamp(2.5rem, 7vw, 4.5rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold-text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 14ch;
  margin: 0 0 1.5rem;
  color: var(--plum);
  font-family: var(--serif);
  font-size: clamp(2.4rem, 7vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.lead {
  max-width: 34ch;
  margin: 0 0 1.75rem;
  color: var(--plum);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  line-height: 1.45;
}

p {
  max-width: 62ch;
  margin: 0 0 1.15rem;
}

.note {
  color: var(--plum-soft);
  font-style: italic;
}

section {
  margin-top: 2.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule);
}

h2 {
  margin: 0 0 0.75rem;
  color: var(--gold-text);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

a {
  color: var(--plum);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

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

.footer {
  margin-top: 3.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule);
  color: var(--plum-soft);
  font-size: 0.82rem;
}

.footer p {
  margin: 0;
}
