:root {
  --plum: #2f1838;
  --ice: #eef8fa;
  --green: #087a68;
  --yellow: #f3d85a;
  --red: #b73b4a;
  --white: #fff;
  --ink: #211428;
  --muted: #594f5d;
  --line: 3px;
  --max: 76rem;
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ice);
  font-family: Verdana, Tahoma, sans-serif;
  font-size: clamp(1.0625rem, 0.98rem + 0.25vw, 1.1875rem);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
a { color: #006657; text-decoration-thickness: 0.13em; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 0.2em; }
button, input, select, textarea { font: inherit; }
button, .button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.05rem;
  border: var(--line) solid var(--plum);
  border-radius: .25rem;
  background: var(--yellow);
  color: var(--plum);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: .28rem .28rem 0 var(--plum);
}
button:hover, .button:hover { transform: translate(-1px, -1px); box-shadow: .38rem .38rem 0 var(--plum); }
button:active, .button:active { transform: translate(2px, 2px); box-shadow: .12rem .12rem 0 var(--plum); }
button:disabled { opacity: .65; cursor: wait; }
:focus-visible { outline: 4px solid var(--red); outline-offset: 4px; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed; top: .75rem; left: .75rem; z-index: 100;
  transform: translateY(-180%); padding: .65rem 1rem;
  color: var(--white); background: var(--plum); border: 2px solid var(--white);
}
.skip-link:focus { transform: translateY(0); }
.wrap { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }

.site-header { background: var(--white); border-bottom: var(--line) solid var(--plum); }
.header-row { min-height: 5rem; display: flex; align-items: center; gap: 1.5rem; }
.brand {
  display: inline-flex; align-items: center; gap: .7rem; color: var(--plum);
  font-family: Georgia, 'Times New Roman', serif; font-size: 1.7rem; font-weight: 700; text-decoration: none;
}
.brand-mark { display: grid; width: 2.75rem; height: 2.75rem; grid-template-rows: 1fr 1fr 1fr; gap: .16rem; }
.brand-mark i { display: block; background: var(--green); border: 2px solid var(--plum); }
.brand-mark i:nth-child(2) { width: 75%; background: var(--yellow); }
.brand-mark i:nth-child(3) { width: 50%; background: var(--red); }
.menu-toggle { display: none; margin-left: auto; box-shadow: none; background: var(--white); }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.primary-nav a { min-height: 44px; display: flex; align-items: center; padding: .45rem .65rem; color: var(--plum); font-weight: 700; }
.primary-nav a[aria-current="page"] { background: var(--yellow); text-decoration: none; }
.primary-nav .nav-action { margin-left: .35rem; color: var(--white); background: var(--green); border: 2px solid var(--plum); text-decoration: none; }

.hero { padding: clamp(3rem, 8vw, 7rem) 0 clamp(3.5rem, 9vw, 8rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(22rem, .97fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.eyebrow { margin: 0 0 1rem; color: var(--green); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; color: var(--plum); font-family: Georgia, 'Times New Roman', serif; line-height: 1.08; }
h1 { max-width: 12ch; margin-bottom: 1.35rem; font-size: clamp(2.75rem, 7vw, 6.5rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 4vw, 3.8rem); letter-spacing: -.025em; }
h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); }
.lead { max-width: 52ch; margin: 0 0 1.8rem; font-size: clamp(1.2rem, 1.08rem + .45vw, 1.55rem); line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.button.secondary { background: var(--white); }

.verification-stair { position: relative; min-height: 31rem; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 1rem; }
.step {
  min-height: 8.8rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: -1.1rem; padding: 1.25rem 1.4rem; border: var(--line) solid var(--plum); color: var(--plum);
  box-shadow: .55rem .55rem 0 rgba(47, 24, 56, .15);
}
.step strong { max-width: 11ch; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.55rem, 3vw, 2.6rem); line-height: 1.05; }
.step small { font-weight: 700; }
.step-one { width: 100%; background: var(--yellow); transform: translateX(0); }
.step-two { width: 82%; margin-left: 18%; background: var(--white); transform: translateY(-.15rem); }
.step-three { width: 64%; margin-left: 36%; background: var(--green); color: var(--white); transform: translateY(-.3rem); }
.step-three strong { color: var(--white); }
.source-base { width: 100%; padding: .9rem 1.2rem; color: var(--white); background: var(--plum); font-size: .92rem; }

.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section.white { background: var(--white); }
.section.plum { color: var(--white); background: var(--plum); }
.section.plum h2, .section.plum h3, .section.plum a { color: var(--white); }
.section-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: end; margin-bottom: 2.5rem; }
.section-heading p { max-width: 48ch; margin: 0; }

.bulletin { border-left: var(--line) solid var(--plum); }
.bulletin-row {
  display: grid; grid-template-columns: minmax(8rem, .27fr) minmax(0, .73fr); gap: 1.5rem;
  padding: clamp(1.4rem, 3vw, 2.2rem); border: var(--line) solid var(--plum); border-left: 0; background: var(--white);
}
.bulletin-row + .bulletin-row { border-top: 0; }
.bulletin-row:nth-child(2) { margin-left: clamp(1rem, 4vw, 4rem); }
.bulletin-row:nth-child(3) { margin-left: clamp(2rem, 8vw, 8rem); }
.bulletin-date { align-self: start; padding: .4rem .6rem; background: var(--yellow); border: 2px solid var(--plum); font-weight: 700; text-align: center; }
.bulletin-row.alert .bulletin-date { color: var(--white); background: var(--red); }
.bulletin-row p { margin: .55rem 0 1rem; }
.text-link { font-weight: 700; }

.method-steps { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; align-items: end; }
.method-step { min-height: 18rem; padding: 1.5rem; border: var(--line) solid var(--plum); background: var(--ice); }
.method-step:nth-child(2) { min-height: 22rem; margin-left: calc(var(--line) * -1); background: var(--yellow); }
.method-step:nth-child(3) { min-height: 26rem; margin-left: calc(var(--line) * -1); color: var(--white); background: var(--green); }
.method-step:nth-child(3) h3 { color: var(--white); }
.method-step b { display: block; margin-bottom: 1rem; font-size: 2rem; }

.article-list { display: grid; gap: 1.25rem; }
.article-item {
  display: grid; grid-template-columns: 11rem minmax(0, 1fr) auto; gap: 1.5rem; align-items: center;
  padding: 1.4rem; border: var(--line) solid var(--plum); background: var(--white);
}
.article-item:nth-child(even) { margin-left: clamp(0rem, 6vw, 6rem); }
.article-item time { font-weight: 700; }
.article-item h2, .article-item h3 { margin-bottom: .4rem; }
.article-item p { margin: 0; }

.article-header { padding: clamp(3rem, 7vw, 6rem) 0 2.8rem; background: var(--white); border-bottom: var(--line) solid var(--plum); }
.article-header h1 { max-width: 18ch; font-size: clamp(2.6rem, 6vw, 5.6rem); }
.article-meta { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; font-weight: 700; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(17rem, 22rem); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.article-body { max-width: 48rem; }
.article-body h2 { margin-top: 2.8rem; font-size: clamp(1.7rem, 3vw, 2.55rem); }
.article-body p, .article-body li { max-width: 68ch; }
.article-body table { width: 100%; border-collapse: collapse; background: var(--white); }
.article-body th, .article-body td { padding: .8rem .65rem; border: 2px solid var(--plum); text-align: left; vertical-align: top; }
.article-body th { background: var(--yellow); }
.source-panel { position: sticky; top: 1rem; padding: 1.4rem; color: var(--white); background: var(--plum); border-left: .8rem solid var(--green); }
.source-panel h2, .source-panel a { color: var(--white); }
.source-panel p { margin-bottom: .7rem; }
.note { padding: 1.2rem 1.4rem; border: var(--line) solid var(--plum); background: var(--yellow); }
.warning { padding: 1.2rem 1.4rem; color: var(--white); background: var(--red); border: var(--line) solid var(--plum); }

.form-layout { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.secure-form { padding: clamp(1.3rem, 4vw, 2.3rem); border: var(--line) solid var(--plum); background: var(--white); box-shadow: .8rem .8rem 0 var(--yellow); }
.field { margin-bottom: 1.2rem; }
.field label, .legend { display: block; margin-bottom: .4rem; font-weight: 700; }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem; color: var(--ink); background: var(--white); border: 2px solid var(--plum); border-radius: .2rem;
}
.field textarea { min-height: 11rem; resize: vertical; }
.field small { display: block; margin-top: .35rem; color: var(--muted); }
.check { display: grid; grid-template-columns: 1.5rem 1fr; gap: .7rem; align-items: start; }
.check input { width: 1.35rem; height: 1.35rem; margin-top: .3rem; accent-color: var(--green); }
.field-error { min-height: 1.3rem; margin: .25rem 0 0; color: #8f2033; font-weight: 700; }
[aria-invalid="true"] { outline: 3px solid var(--red); }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-status { min-height: 1.7rem; margin-top: 1rem; font-weight: 700; }
.form-status[data-state="error"] { color: #8f2033; }
.form-success { margin-top: 1.2rem; padding: 1.3rem; border: var(--line) solid var(--plum); background: #d4f3e7; }
.form-success:focus { outline: 4px solid var(--green); }

.cookie-notice { position: relative; z-index: 20; padding: 1rem 0; color: var(--white); background: var(--plum); border-top: var(--line) solid var(--yellow); }
.cookie-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; }
.cookie-row p { margin: 0; }
.cookie-row button { box-shadow: none; }
.cookie-status { min-height: 1px; margin: 0; }
.cookie-settings {
  position: fixed;
  right: max(.75rem, env(safe-area-inset-right));
  bottom: max(.75rem, env(safe-area-inset-bottom));
  z-index: 30;
  min-height: 44px;
  padding: .55rem .75rem;
  color: var(--plum);
  background: var(--yellow);
  box-shadow: .22rem .22rem 0 var(--plum);
}

.site-footer { padding: 3.5rem 0 2rem; color: var(--white); background: var(--plum); }
.footer-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; }
.site-footer h2, .site-footer a { color: var(--white); }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 1rem; }
.footer-links a, .footer-contact a { min-height: 44px; display: inline-flex; align-items: center; }
.footer-bottom { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.35); font-size: .9rem; }

@media (max-width: 64rem) {
  .hero-grid, .section-heading, .article-layout, .form-layout { grid-template-columns: 1fr; }
  .verification-stair { max-width: 40rem; }
  .source-panel { position: static; }
  .article-item { grid-template-columns: 9rem minmax(0, 1fr); }
  .article-item .button { grid-column: 2; justify-self: start; }
}

@media (max-width: 50rem) {
  .header-row { flex-wrap: wrap; padding: .75rem 0; }
  .menu-toggle { display: none; }
  .primary-nav { width: 100%; margin-left: 0; }
  .primary-nav ul { display: flex; align-items: stretch; flex-direction: column; }
  .primary-nav a { padding: .75rem; border-top: 1px solid #d8cedb; }
  .primary-nav .nav-action { margin-left: 0; }
  .method-steps { grid-template-columns: 1fr; align-items: stretch; }
  .method-step, .method-step:nth-child(2), .method-step:nth-child(3) { min-height: 0; margin: calc(var(--line) * -1) 0 0; }
  .bulletin-row, .article-item { grid-template-columns: 1fr; }
  .article-item:nth-child(even), .bulletin-row:nth-child(2), .bulletin-row:nth-child(3) { margin-left: 0; }
  .article-item .button { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 36rem) {
  .wrap { width: min(calc(100% - 1.25rem), var(--max)); }
  .hero { padding-top: 2.5rem; }
  h1 { font-size: clamp(2.5rem, 15vw, 4.3rem); }
  .verification-stair { min-height: 0; gap: .7rem; }
  .step, .step-one, .step-two, .step-three { width: 100%; min-height: 7rem; margin: 0; transform: none; }
  .cookie-row { grid-template-columns: 1fr; }
  .cookie-row button { justify-self: start; }
  .footer-links { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  button:hover, .button:hover, button:active, .button:active { transform: none; }
}

@media print {
  .site-header, .cookie-notice, .site-footer, .actions, .button, .menu-toggle { display: none !important; }
  body { color: #000; background: #fff; font-size: 12pt; }
  .section, .article-header { padding: 1rem 0; }
  .source-panel { color: #000; background: #fff; border: 2px solid #000; }
  .source-panel a, .source-panel h2 { color: #000; }
}
