:root {
  --navy-950: #081523;
  --navy-900: #10233f;
  --navy-800: #193653;
  --navy-700: #244967;
  --ink: #172433;
  --muted: #5d6b78;
  --line: #dce4e8;
  --line-strong: #c7d2d9;
  --paper: #ffffff;
  --canvas: #f4f7f6;
  --mint: #4ee1b3;
  --mint-dark: #087255;
  --lime: #d6ff61;
  --gold: #f3bd42;
  --gold-soft: #fff4d5;
  --purple: #7659c9;
  --purple-soft: #eee9ff;
  --blue: #3f76c6;
  --blue-soft: #e7f0ff;
  --green-soft: #e2f7ef;
  --red: #b94141;
  --shadow-sm: 0 2px 10px rgba(12, 34, 55, 0.07);
  --shadow-lg: 0 18px 55px rgba(8, 21, 35, 0.16);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shell: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.narrow-shell {
  width: min(calc(100% - 40px), 920px);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 8px;
  color: white;
  background: var(--navy-950);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(199, 210, 217, 0.74);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy-950);
  font-size: 1rem;
  font-weight: 820;
  letter-spacing: -0.025em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  overflow: hidden;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: var(--navy-900);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(214, 255, 97, 0.45);
  border-radius: 4px;
}

.brand-mark::before {
  width: 24px;
  height: 40px;
  transform: rotate(28deg);
}

.brand-mark::after {
  width: 14px;
  height: 32px;
  transform: rotate(-22deg);
}

.brand-mark span {
  position: relative;
  z-index: 2;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(214, 255, 97, 0.14);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 9px 12px;
  border-radius: 9px;
  color: #53616e;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--navy-950);
  background: #edf2f4;
}

.site-nav .nav-action {
  margin-left: 4px;
  color: var(--navy-950);
  background: var(--lime);
}

.site-nav .nav-action:hover,
.site-nav .nav-action:focus-visible,
.site-nav .nav-action[aria-current="page"] {
  color: var(--navy-950);
  background: #c8ef55;
}

.hero {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 86% 14%, rgba(78, 225, 179, 0.16), transparent 23rem),
    radial-gradient(circle at 5% 92%, rgba(214, 255, 97, 0.09), transparent 25rem),
    var(--navy-900);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, transparent, black 35%, black);
}

.hero-grid {
  position: relative;
  min-height: 470px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: 76px;
  padding-block: 76px;
}

.hero-copy {
  max-width: 770px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--mint);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}

.eyebrow span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(214, 255, 97, 0.12);
}

.dark-eyebrow {
  color: var(--mint-dark);
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(2.55rem, 5.3vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.058em;
}

.hero-text {
  max-width: 680px;
  margin: 26px 0 0;
  color: #d7e1e9;
  font-size: clamp(1.05rem, 1.8vw, 1.27rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
.site-nav a:focus-visible,
.brand:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.reset-button:focus-visible,
.official-link:focus-visible,
.text-link:focus-visible {
  outline: 3px solid rgba(78, 225, 179, 0.38);
  outline-offset: 2px;
}

.button-primary {
  color: var(--navy-950);
  background: var(--lime);
}

.button-primary:hover {
  background: #c8ef55;
}

.button-secondary {
  border-color: var(--line-strong);
  color: var(--navy-950);
  background: white;
}

.button-secondary:hover {
  border-color: #aebdc6;
  background: #f9fbfb;
}

.button-quiet {
  border-color: rgba(255,255,255,.2);
  color: white;
  background: rgba(255,255,255,.05);
}

.button-quiet:hover {
  background: rgba(255,255,255,.1);
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.09);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
}

.hero-card::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -72px;
  bottom: -86px;
  border: 1px solid rgba(214,255,97,.32);
  border-radius: 50%;
  box-shadow:
    0 0 0 25px rgba(214,255,97,.035),
    0 0 0 52px rgba(214,255,97,.025);
}

.hero-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #dbe6ec;
  font-size: 0.88rem;
  font-weight: 800;
}

.mini-ball,
.empty-ball {
  display: inline-block;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(214,255,97,.1);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 30px 0;
}

.hero-stats div {
  min-width: 0;
}

.hero-stats dt {
  color: white;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  font-weight: 880;
  letter-spacing: -0.04em;
}

.hero-stats dd {
  margin: 3px 0 0;
  color: #aebfca;
  font-size: 0.79rem;
}

.updated-line {
  position: relative;
  z-index: 2;
  margin: 0;
  padding-top: 19px;
  border-top: 1px solid rgba(255,255,255,.14);
  color: #c3d0d8;
  font-size: 0.84rem;
}

.directory {
  padding-block: 76px 92px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-heading h2,
.content-section h2,
.form-section h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-heading .section-kicker,
.form-intro .section-kicker,
.report-panel .section-kicker,
.method-panel .section-kicker {
  color: var(--mint-dark);
  margin-bottom: 8px;
}

.results-count {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.directory-updated {
  display: none;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 700;
}

.filters {
  display: grid;
  grid-template-columns: minmax(260px, 1.6fr) repeat(3, minmax(145px, .72fr)) auto auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.filter-field,
.form-field {
  min-width: 0;
}

.filter-field label,
.form-field label {
  display: block;
  margin-bottom: 7px;
  color: #42515d;
  font-size: 0.77rem;
  font-weight: 820;
  letter-spacing: 0.02em;
}

.search-control {
  position: relative;
}

.search-control svg {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 13px;
  transform: translateY(-50%);
  fill: none;
  stroke: #75838d;
  stroke-linecap: round;
  stroke-width: 1.8;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--ink);
  background: white;
  transition: border-color .15s ease, box-shadow .15s ease;
}

input,
select {
  min-height: 44px;
  padding: 9px 12px;
}

.search-control input {
  padding-left: 42px;
}

textarea {
  padding: 12px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #66737d;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--mint-dark);
  box-shadow: 0 0 0 3px rgba(78, 225, 179, 0.15);
}

.past-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #42515d;
  background: #f7f9f9;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 800;
  white-space: nowrap;
}

.past-toggle input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  accent-color: var(--mint-dark);
}

.past-toggle:focus-within {
  border-color: var(--mint-dark);
  box-shadow: 0 0 0 3px rgba(78, 225, 179, 0.15);
}

.reset-button {
  min-height: 44px;
  padding: 9px 13px;
  border: 0;
  border-radius: 10px;
  color: #5b6873;
  background: #eef2f3;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 800;
}

.reset-button:hover {
  color: var(--navy-950);
  background: #e2e8ea;
}

.notice {
  margin-block: 18px;
  padding: 14px 16px;
  border: 1px solid #f0d89d;
  border-radius: 10px;
  color: #745415;
  background: #fff9e9;
}

.table-shell {
  overflow-x: auto;
  overflow-y: visible;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: white;
  box-shadow: var(--shadow-sm);
}

.tournament-table {
  width: 100%;
  min-width: 1400px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.81rem;
}

.tournament-table th,
.tournament-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #e8edef;
  vertical-align: middle;
  text-align: left;
}

.tournament-table thead th {
  position: sticky;
  z-index: 3;
  top: 0;
  color: #5e6b76;
  background: #f7f9f9;
  font-size: 0.71rem;
  font-weight: 860;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tournament-table abbr {
  text-decoration: none;
}

.tournament-table tbody tr:last-child td,
.tournament-table tbody tr:last-child th {
  border-bottom: 0;
}

.tournament-table tbody tr:hover td,
.tournament-table tbody tr:hover th {
  background: #fafcfc;
}

.tournament-table td:nth-child(1),
.tournament-table td:nth-child(2),
.tournament-table td:nth-child(4) {
  white-space: nowrap;
  color: #4c5a65;
  font-variant-numeric: tabular-nums;
}

.tournament-table tbody th {
  min-width: 220px;
  font-weight: inherit;
}

.tournament-table td:nth-child(6) {
  min-width: 145px;
}

.tournament-table td:nth-child(9) {
  min-width: 165px;
}

.tournament-table td:nth-child(3) {
  min-width: 170px;
}

.tournament-name {
  color: var(--navy-950);
  font-weight: 820;
  line-height: 1.32;
}

.muted-value {
  color: #66737d;
}

.date-status {
  display: inline-flex;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  color: #674900;
  background: var(--gold-soft);
  font-size: 0.67rem;
  font-weight: 850;
  line-height: 1.35;
  vertical-align: middle;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 830;
  line-height: 1.2;
}

.badge-platinum {
  color: #543fa0;
  background: var(--purple-soft);
}

.badge-gold {
  color: #805a05;
  background: var(--gold-soft);
}

.badge-jct {
  color: #087055;
  background: var(--green-soft);
}

.badge-championship {
  color: #275b99;
  background: var(--blue-soft);
}

.badge-default {
  color: #4e5d68;
  background: #edf1f3;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 830;
  line-height: 1.25;
}

.status-block {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.status-detail {
  color: #5f6d78;
  font-size: .72rem;
  font-weight: 720;
  line-height: 1.3;
}

.status-past {
  color: #4e5d68;
  background: #edf1f3;
}

.status-open {
  color: #087055;
  background: var(--green-soft);
}

.status-closed {
  color: #8f2f2f;
  background: #fde9e9;
}

.status-not-open {
  color: #275b99;
  background: var(--blue-soft);
}

.status-unpublished {
  color: #674900;
  background: #fff4d5;
}

.region-label {
  color: #66737d;
  font-size: 0.82rem;
  font-weight: 760;
}

.official-cell {
  min-width: 112px;
}

.official-link,
.text-link {
  color: #0b7259;
  font-weight: 800;
  text-decoration: none;
}

.official-link:hover,
.text-link:hover {
  text-decoration: underline;
}

.report-link {
  display: block;
  width: max-content;
  margin-top: 6px;
  color: #5d6b78;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
}

.report-link:hover {
  color: var(--navy-950);
  text-decoration: underline;
}

.mobile-cards {
  display: none;
}

.tournament-card {
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: white;
  box-shadow: var(--shadow-sm);
}

.tournament-card + .tournament-card {
  margin-top: 12px;
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.card-date {
  color: #5f6d78;
  font-size: 0.8rem;
  font-weight: 820;
}

.tournament-card h3 {
  margin: 0;
  color: var(--navy-950);
  font-size: 1.12rem;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.card-location {
  margin: 7px 0 0;
  color: #5e6c77;
  font-size: 0.91rem;
}

.card-status {
  margin-top: 12px;
}

.card-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px 16px;
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid #e7ecee;
}

.card-details div {
  min-width: 0;
}

.card-details dt {
  color: #66737d;
  font-size: 0.68rem;
  font-weight: 840;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.card-details dd {
  margin: 3px 0 0;
  color: #34434f;
  font-size: .86rem;
}

.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
}

.empty-state {
  padding: 64px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  text-align: center;
  background: white;
}

.empty-state .empty-ball {
  width: 18px;
  height: 18px;
  margin-bottom: 15px;
  background: var(--mint-dark);
  box-shadow: 0 0 0 7px rgba(78,225,179,.12);
}

.empty-state h3 {
  margin: 0;
  color: var(--navy-950);
  font-size: 1.25rem;
}

.empty-state p {
  margin: 6px 0 22px;
  color: var(--muted);
}

.directory-note {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-top: 18px;
  padding: 0 4px;
  color: #66747e;
  font-size: .83rem;
}

.directory-note p {
  max-width: 820px;
  margin: 0;
}

.directory-note a {
  flex: 0 0 auto;
  color: var(--mint-dark);
  font-weight: 800;
  text-decoration: none;
}

.directory-note a:hover {
  text-decoration: underline;
}

/* Secondary pages */
.page-hero {
  padding-block: 86px 66px;
  color: var(--navy-950);
  background:
    radial-gradient(circle at 78% 10%, rgba(78,225,179,.18), transparent 18rem),
    #eaf3ef;
}

.page-hero h1 {
  max-width: 840px;
  font-size: clamp(2.45rem, 5vw, 4.65rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 24px 0 0;
  color: #52636f;
  font-size: 1.12rem;
}

.compact-page-hero {
  padding-block: 70px 54px;
}

.content-section,
.form-section {
  padding-block: 70px 92px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.info-card {
  position: relative;
  min-height: 255px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-sm);
}

.info-card h2 {
  margin-top: 50px;
  font-size: 1.45rem;
}

.info-card p {
  margin: 13px 0 0;
  color: #5d6b76;
}

.card-number {
  position: absolute;
  top: 25px;
  left: 29px;
  color: var(--mint-dark);
  font-size: 0.75rem;
  font-weight: 860;
  letter-spacing: .12em;
}

.featured-card {
  color: white;
  border-color: var(--navy-900);
  background: var(--navy-900);
}

.featured-card h2 {
  color: white;
}

.featured-card p {
  color: #c8d5dd;
}

.featured-card .card-number {
  color: var(--lime);
}

.method-panel {
  display: grid;
  grid-template-columns: .76fr 1.24fr;
  gap: 54px;
  margin-top: 22px;
  padding: 36px;
  border-radius: var(--radius-lg);
  color: white;
  background: var(--navy-900);
}

.method-panel h2 {
  color: white;
}

.check-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 29px;
  color: #d1dce3;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  top: -1px;
  left: 0;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy-950);
  background: var(--lime);
  font-size: .72rem;
  font-weight: 900;
}

.content-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 22px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-sm);
}

.content-cta h2 {
  font-size: 1.55rem;
}

.content-cta p {
  margin: 7px 0 0;
  color: var(--muted);
}

/* Form */
.form-shell {
  width: min(calc(100% - 40px), 880px);
}

.correction-form,
.report-panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-sm);
}

.form-intro {
  margin-bottom: 28px;
}

.submission-notice {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 19px;
}

.full-width {
  grid-column: 1 / -1;
}

.optional-label {
  color: #66737d;
  font-size: .72rem;
  font-weight: 650;
}

.form-submit {
  margin-top: 26px;
}

.report-panel {
  margin-top: 20px;
  border-color: #b9dfd1;
  background: #f4fbf8;
}

.report-panel > p:not(.section-kicker):not(.copy-status) {
  color: #5d6b76;
}

.report-panel textarea {
  margin-top: 11px;
  min-height: 260px;
  border-color: #bfd9d0;
  background: white;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .83rem;
}

.report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 14px;
}

.copy-status {
  min-height: 1.4em;
  margin: 11px 0 0;
  color: var(--mint-dark);
  font-size: .84rem;
  font-weight: 780;
}

/* Footer */
.site-footer {
  padding-block: 44px;
  color: #bfccd4;
  background: var(--navy-950);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand {
  color: white;
}

.footer-inner p {
  max-width: 550px;
  margin: 14px 0 0;
  font-size: .86rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 20px;
}

.footer-links a {
  color: #c3d0d8;
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  color: white;
}

/* Responsive */
@media (max-width: 1080px) {
  .filters {
    grid-template-columns: 1.35fr repeat(2, .8fr);
  }

  .filter-field:nth-of-type(4) {
    grid-column: 1 / 2;
  }

  .reset-button {
    grid-column: 3;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 42px;
    padding-block: 64px;
  }

  .hero-card {
    max-width: 620px;
  }

  .desktop-table {
    display: none;
  }

  .mobile-cards {
    display: block;
  }

  .filters {
    grid-template-columns: 1fr 1fr;
  }

  .filter-search {
    grid-column: 1 / -1;
  }

  .filter-field:nth-of-type(4),
  .reset-button {
    grid-column: auto;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .info-card {
    min-height: 0;
  }

  .method-panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 700px) {
  .shell,
  .narrow-shell,
  .form-shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .header-inner {
    min-height: 64px;
    gap: 12px;
  }

  .brand {
    font-size: .92rem;
  }

  .brand-mark {
    width: 31px;
    height: 31px;
  }

  .site-nav {
    gap: 2px;
  }

  .site-nav a {
    padding: 8px 9px;
    font-size: .78rem;
  }

  .site-nav .nav-action {
    display: none;
  }

  .hero-grid {
    padding-block: 42px;
    gap: 28px;
  }

  .hero-card {
    display: none;
  }

  .hero-text {
    margin-top: 18px;
    font-size: 1rem;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero h1,
  .page-hero h1 {
    line-height: 1.02;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-card {
    padding: 23px;
  }

  .hero-stats {
    gap: 8px;
  }

  .directory {
    padding-block: 54px 70px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .directory-updated {
    display: block;
  }

  .filters {
    grid-template-columns: 1fr;
    padding: 15px;
  }

  .filter-search,
  .filter-field:nth-of-type(4),
  .past-toggle,
  .reset-button {
    grid-column: auto;
  }

  .directory-note {
    flex-direction: column;
  }

  .page-hero {
    padding-block: 58px 46px;
  }

  .content-section,
  .form-section {
    padding-block: 48px 70px;
  }

  .info-card,
  .method-panel,
  .content-cta,
  .correction-form,
  .report-panel {
    padding: 23px;
    border-radius: 18px;
  }

  .content-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .content-cta .hero-actions {
    width: 100%;
    margin-top: 0;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .full-width {
    grid-column: auto;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 430px) {
  .brand > span:last-child {
    display: none;
  }

  .site-nav a {
    display: block;
    padding-inline: 7px;
    font-size: .72rem;
  }

  .site-nav .nav-action {
    display: none;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stats div:last-child {
    grid-column: 1 / -1;
  }

  .card-details {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
