:root {
  color-scheme: light;
  --canvas: #f4f5f6;
  --paper: #fff;
  --ink: #1b2028;
  --muted: #545d69;
  --line: #dce0e5;
  --red: #b81832;
  --red-dark: #951229;
  --red-soft: #fcecf0;
  --night: #181c24;
  --night-muted: #c7cbd3;
  --night-accent: #ffacba;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  min-width: 280px;
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--canvas);
  color: var(--ink);
}
main { flex: 1 0 auto; }
img { display: block; max-width: 100%; }
svg { flex: 0 0 auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl, dd { margin: 0; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.wrap { width: min(1200px, calc(100% - 56px)); margin-inline: auto; }
.skip-link {
  position: absolute;
  top: 8px;
  left: 12px;
  z-index: 5;
  transform: translateY(-170%);
  padding: 10px 14px;
  background: var(--paper);
}
.skip-link:focus { transform: none; }

.masthead { border-bottom: 1px solid var(--line); background: var(--paper); }
.concept-strip { background: #222630; color: #e5e7ec; font-size: 12px; font-weight: 560; }
.concept-inner { min-height: 31px; display: flex; align-items: center; gap: 9px; padding-block: 4px; }
.concept-tag {
  flex: 0 0 auto;
  padding: 2px 6px;
  border: 1px solid #ffacba70;
  border-radius: 4px;
  color: #ffc0cb;
  font-size: 10px;
  font-weight: 760;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.masthead-inner {
  min-height: 75px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(16px, 3.5vw, 45px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; justify-self: start; font-size: 15px; font-weight: 790; line-height: 1.18; }
.brand-mark { width: 46px; height: auto; flex: 0 0 auto; }
.brand small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; font-weight: 630; }
.primary-nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(11px, 2.7vw, 32px); }
.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 680;
  white-space: nowrap;
}
.primary-nav a:hover, .primary-nav a[aria-current] { color: var(--red); }
.primary-nav a[aria-current]::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; border-radius: 2px; background: currentColor; }
.badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid #edd8c7;
  border-radius: 999px;
  background: #fff5eb;
  color: #723e22;
  font-size: 12px;
  font-weight: 720;
  white-space: nowrap;
}
.badge > span { width: 6px; height: 6px; border-radius: 50%; background: #ad6334; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 790;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: .115em;
}
.red-dash { width: 18px; height: 3px; flex: 0 0 auto; border-radius: 2px; background: var(--red); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  font-weight: 730;
  line-height: 1.2;
}
.button:hover { background: var(--red-dark); }
.button-outline { border-color: #ffffff75; background: #1b202957; }
.button-outline:hover { border-color: #fff; background: #ffffff24; }

.home { padding-top: 24px; }
.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(440px, 48vw, 554px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(33px, 5.8vw, 73px);
  border-radius: 20px;
  background: var(--night);
  color: #fff;
}
.hero-image { position: absolute; inset: 0; z-index: -2; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 53%; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #10151eeb 0%, #10151ed9 30%, #10151e65 58%, #10151e0d 100%);
}
.hero-copy { max-width: 565px; }
.hero .eyebrow, .participation .eyebrow { color: #f5c2cd; }
.hero .red-dash, .participation .red-dash { background: #fa718a; }
.hero h1 { margin-block: 14px 18px; font-size: clamp(46px, 6.7vw, 84px); font-weight: 850; line-height: .98; letter-spacing: -.06em; }
.hero h1 span { display: block; margin-top: 8px; font-size: .53em; line-height: 1.1; letter-spacing: -.027em; }
.hero-copy p { max-width: 46ch; color: #e5e7ed; font-size: clamp(16px, 1.65vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.hero a:focus-visible, .participation a:focus-visible, .site-footer a:focus-visible { outline-color: var(--night-accent); }
.hero-caption { position: absolute; right: 17px; bottom: 31px; padding: 4px 7px; border-radius: 4px; background: #171b24c9; color: #fff; font-size: 11px; font-weight: 620; }

.facts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: -19px clamp(14px, 4vw, 48px) 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 9px 23px #252a3912;
}
.facts a { display: flex; align-items: center; gap: 9px; min-height: 77px; padding: 12px clamp(10px, 1.6vw, 22px); }
.facts a + a { border-left: 1px solid var(--line); }
.facts a:hover strong { color: var(--red); }
.facts small, .facts strong { display: block; }
.facts small { color: var(--muted); font-size: 12px; font-weight: 620; line-height: 1.25; }
.facts strong { margin-top: 3px; font-size: clamp(15px, 1.6vw, 19px); font-weight: 790; line-height: 1.15; overflow-wrap: anywhere; }
.icon-box { width: 43px; height: 43px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 9px; background: var(--red-soft); color: var(--red); }

.directory { padding-block: clamp(38px, 5.8vw, 68px) clamp(34px, 5vw, 58px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 14px 30px; margin-bottom: 19px; }
.section-head h2, .participation h2, .faq h2 {
  margin-top: 7px;
  font-size: clamp(27px, 4.4vw, 48px);
  font-weight: 820;
  line-height: 1.08;
  letter-spacing: -.048em;
}
.section-head p { max-width: 39ch; color: var(--muted); }
.directory-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.directory-card {
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: clamp(17px, 2vw, 24px);
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--paper);
  scroll-margin-top: 14px;
}
.directory-card:target { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.directory-card h3 { margin-top: 13px; font-size: clamp(18px, 2vw, 22px); font-weight: 780; line-height: 1.14; letter-spacing: -.032em; }
.directory-card p { margin: 7px 0 13px; color: var(--muted); font-size: 15px; }
.card-link, .text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  color: var(--red);
  font-size: 14px;
  font-weight: 760;
}
.card-link { margin-top: auto; }
.card-link:hover, .text-link:hover, .guide-steps a:hover { text-decoration: underline; text-underline-offset: 3px; }
.inline-link { color: var(--red); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.participation {
  display: grid;
  grid-template-columns: minmax(0, .81fr) minmax(0, 1.19fr);
  align-items: start;
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(23px, 4.4vw, 55px);
  border-radius: 20px;
  background: radial-gradient(ellipse at top left, #382333 0%, var(--night) 52%);
  color: #fff;
  scroll-margin-top: 14px;
}
.participation-intro p { max-width: 34ch; margin-top: 10px; color: var(--night-muted); }
.guide-steps { margin: 0; padding: 0; list-style: none; }
.guide-steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 12px; padding-block: 13px 6px; border-top: 1px solid #ffffff36; }
.step-number {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border: 1px solid #ffacba65;
  border-radius: 50%;
  background: #ffacba12;
  color: var(--night-accent);
  font-size: 12px;
  font-weight: 760;
  font-variant-numeric: tabular-nums;
}
.guide-steps h3 { margin-top: 1px; font-size: clamp(17px, 2vw, 21px); line-height: 1.23; letter-spacing: -.022em; }
.guide-steps p { margin-top: 4px; color: var(--night-muted); font-size: 14px; }
.guide-steps a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: var(--night-accent); font-size: 14px; font-weight: 700; }

.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 16px clamp(20px, 4vw, 56px); padding-block: clamp(38px, 6.5vw, 74px); }
.faq-list { align-self: start; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); }
.faq-list details + details { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 50px; padding: 11px 17px; cursor: pointer; font-weight: 730; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:focus-visible { outline-offset: -3px; }
.faq-list summary span { position: relative; width: 18px; height: 18px; flex: 0 0 auto; color: var(--red); }
.faq-list summary span::before, .faq-list summary span::after { content: ""; position: absolute; inset: 8px 2px auto; height: 2px; border-radius: 2px; background: currentColor; }
.faq-list summary span::after { transform: rotate(90deg); }
.faq-list details[open] summary span::after { display: none; }
.faq-list details p { padding: 0 17px 15px; color: var(--muted); font-size: 15px; }

.interior { padding-block: 13px 55px; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 0 9px; min-height: 43px; color: var(--muted); font-size: 13px; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 43px; text-decoration: underline; text-underline-offset: 3px; }
.page-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 19px;
  margin-block: 5px 17px;
  padding: clamp(20px, 4.3vw, 48px);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 13px;
  background: var(--paper);
}
.page-intro h1 { margin-block: 8px; font-size: clamp(35px, 6vw, 65px); font-weight: 840; line-height: 1.05; letter-spacing: -.056em; overflow-wrap: anywhere; }
.page-intro p { max-width: 59ch; color: var(--muted); font-size: clamp(16px, 1.9vw, 19px); }
.page-icon { width: clamp(56px, 9vw, 103px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 15px; background: var(--red-soft); color: var(--red); }
.page-icon svg { width: 47%; height: 47%; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.68fr) minmax(0, 1fr); align-items: start; gap: 14px; }
.panel { padding: clamp(18px, 3vw, 29px); border: 1px solid var(--line); border-radius: 13px; background: var(--paper); }
.panel h2 { font-size: clamp(21px, 2.4vw, 27px); font-weight: 780; line-height: 1.2; letter-spacing: -.035em; }
.rule-list { margin-top: 13px; }
.rule-list > div { display: grid; grid-template-columns: minmax(110px, 1fr) minmax(0, 2.2fr); gap: 10px 18px; padding-block: 12px; border-top: 1px solid var(--line); }
.rule-list > div:last-child { padding-bottom: 0; }
.rule-list dt { font-weight: 740; }
.rule-list dd { color: var(--muted); }
.note { padding: 19px; border: 1px solid #edd8c7; border-radius: 13px; background: #fff8f2; }
.note p { margin-top: 8px; color: #513728; }
.interior > .text-link { margin-top: 12px; }
.company-reference { margin-top: 16px; scroll-margin-top: 14px; }
.company-reference .eyebrow { margin-bottom: 7px; }
.company-reference > p { margin-top: 6px; color: var(--muted); }
.company-sources { display: flex; flex-wrap: wrap; column-gap: 16px; margin-top: 8px; }

.site-footer { background: var(--night); color: #fff; }
.footer-inner { padding-top: 22px; }
.footer-main { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 18px; padding-bottom: 13px; }
.footer-identity { display: flex; align-items: center; gap: 10px; }
.footer-identity img { flex: 0 0 auto; }
.footer-identity p { color: var(--night-muted); font-size: 13px; }
.footer-identity strong { color: #fff; font-size: 15px; }
.footer-main nav { display: flex; flex-wrap: wrap; gap: 0 18px; }
.footer-main nav a, .footer-bottom a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--night-muted); font-weight: 660; }
.footer-main nav a { font-size: 14px; }
.footer-main nav a:hover, .footer-main nav a[aria-current], .footer-bottom a:hover { color: var(--night-accent); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 15px; border-top: 1px solid #ffffff28; color: var(--night-muted); font-size: 12px; }
@media (max-width: 950px) {
  .directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts a:nth-child(odd) { border-left: 0; }
  .facts a:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 30px); }
  .concept-inner { gap: 6px; font-size: 11px; }
  .masthead-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 0 9px; padding-top: 10px; }
  .masthead-inner > .badge { justify-self: end; }
  .primary-nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 0 9px; margin-top: 3px; }
  .primary-nav a { font-size: 13px; }
  .brand-mark { width: 41px; }
  .brand { font-size: 14px; }
  .home { padding-top: 12px; }
  .hero { display: block; min-height: 0; padding: 148px 18px 22px; border-radius: 14px; }
  .hero-image { bottom: auto; height: 226px; }
  .hero-image img { object-position: 69% 48%; }
  .hero::after { background: linear-gradient(180deg, #181c2408 32px, #181c2444 82px, var(--night) 149px); }
  .hero h1 { margin-block: 9px 12px; font-size: clamp(39px, 9.3vw, 64px); }
  .hero-copy p { font-size: 15px; }
  .hero-actions { margin-top: 15px; }
  .hero-caption { inset: 9px 10px auto auto; }
  .facts { margin: 10px 0 0; }
  .facts a { min-height: 62px; gap: 8px; padding: 9px 11px; }
  .facts .icon-box { width: 29px; height: 29px; border-radius: 6px; }
  .facts .icon-box svg { width: 17px; height: 17px; }
  .facts small { font-size: 11px; }
  .facts strong { font-size: 14px; }
  .section-head { display: block; margin-bottom: 12px; }
  .section-head p { margin-top: 6px; }
  .participation, .faq, .detail-grid { grid-template-columns: minmax(0, 1fr); }
  .participation { gap: 13px; border-radius: 14px; }
  .guide-steps li { gap: 9px; padding-top: 11px; }
  .step-number { width: 32px; height: 32px; }
  .interior { padding-block: 6px 32px; }
  .rule-list > div { grid-template-columns: minmax(0, 1fr); gap: 3px; }
}

@media (max-width: 520px) {
  .directory-grid { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .directory-card { padding: 14px; }
  .directory-card h3 { margin-top: 9px; }
  .directory-card p { margin-bottom: 3px; }
  .page-icon { display: none; }
  .page-intro { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 410px) {
  .masthead-inner > .badge { display: none; }
  .masthead-inner { grid-template-columns: minmax(0, 1fr); }
  .facts .icon-box { display: none; }
  .hero-actions .button { width: 100%; }
}

@media (max-width: 340px) {
  .hero { padding-top: 120px; }
  .hero-image { height: 190px; }
  .hero::after { background: linear-gradient(180deg, #181c2408 23px, #181c2444 63px, var(--night) 121px); }
  .hero h1 { font-size: 37px; }
}
