:root {
  --ink: #172238;
  --muted: #58667a;
  --paper: #ffffff;
  --soft: #f4f7f8;
  --line: #dce4e7;
  --brand: #186b67;
  --brand-dark: #0e504d;
  --accent: #d6a34a;
  --accent-soft: #fff8e9;
  --danger-soft: #fff3f1;
  --danger: #973c30;
  --success: #166534;
  --radius: 18px;
  --shadow: 0 18px 45px rgba(23, 34, 56, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Tahoma, Arial, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.85;
  text-rendering: optimizeLegibility;
}

body.admin-bar .site-header {
  top: 32px;
}

a {
  color: var(--brand-dark);
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--brand);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex="0"]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.4;
  text-wrap: balance;
}

h1 {
  font-size: clamp(1.95rem, 6.4vw, 4.35rem);
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 1.15rem;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.container {
  width: min(1160px, calc(100% - 2rem));
  margin-inline: auto;
}

.content-narrow {
  max-width: 820px;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.7rem 1rem;
  color: #fff;
  background: var(--ink);
  border-radius: 10px;
  transform: translateY(-180%);
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(220, 228, 231, 0.9);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem 0.75rem;
  align-items: center;
  min-height: 64px;
  padding-block: 0.45rem;
}

.site-name {
  display: inline-flex;
  min-width: 0;
  gap: 0.55rem;
  align-items: center;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
}

.site-name span:last-child {
  min-width: 0;
}

.site-mark {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 11px;
  font-size: 1.1rem;
}

.nav-toggle {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  padding: 0.45rem 0.65rem;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 0.86rem;
  cursor: pointer;
}

.primary-navigation {
  display: none;
  grid-column: 1 / -1;
  gap: 0.2rem;
  padding: 0.35rem 0;
}

.primary-navigation.is-open {
  display: grid;
}

.primary-navigation a {
  padding: 0.55rem 0.7rem;
  color: var(--ink);
  border-radius: 8px;
  font-size: 0.94rem;
  text-decoration: none;
}

.primary-navigation a:hover {
  background: var(--soft);
}

.independent-badge {
  display: none;
  padding: 0.35rem 0.7rem;
  color: var(--brand-dark);
  background: #e8f5f3;
  border: 1px solid #c4e4df;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.hero {
  overflow: hidden;
  padding: clamp(2.75rem, 6vw, 5.25rem) 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(214, 163, 74, 0.2), transparent 30%),
    linear-gradient(145deg, #f8fbfb 0%, #eef7f6 55%, #fff 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.eyebrow,
.section-number,
.summary-label {
  margin-bottom: 0.65rem;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero h1 {
  max-width: 980px;
  margin-bottom: 1rem;
}

.hero-intro {
  max-width: 900px;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
}

.independence-alert {
  max-width: 900px;
  margin-bottom: 1.15rem;
  padding: 0.7rem 0.9rem;
  background: var(--accent-soft);
  border: 1px solid #ecd59f;
  border-right: 4px solid var(--accent);
  border-radius: 10px;
  font-size: 0.94rem;
  font-weight: 700;
}

.independence-alert p,
.safety-card p:last-child,
.info-card p:last-child,
.status-grid p:last-child,
.faq-list p:last-child,
.site-footer p:last-child {
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0.7rem 1.2rem;
  color: #fff;
  background: var(--brand-dark);
  border: 0;
  border-radius: 11px;
  box-shadow: 0 10px 24px rgba(24, 107, 103, 0.18);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
  cursor: pointer;
}

.button:hover {
  color: #fff;
  background: #093e3c;
  transform: translateY(-1px);
}

.button:focus-visible {
  outline-color: #b87912;
  outline-offset: 4px;
}

.button-secondary {
  color: var(--brand-dark);
  background: #fff;
  border: 2px solid var(--brand-dark);
  box-shadow: none;
}

.button-secondary:hover {
  color: #fff;
  background: var(--brand-dark);
}

.hero-summary {
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(220, 228, 231, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-summary .summary-label {
  margin-bottom: 0.55rem;
}

.hero-summary ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-summary li {
  display: flex;
  min-width: 0;
  gap: 0.55rem;
  align-items: center;
  font-size: 0.93rem;
  line-height: 1.55;
}

.hero-summary li span {
  display: grid;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 50%;
  font-size: 0.76rem;
  font-weight: 800;
}

.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section-muted {
  background: var(--soft);
  border-block: 1px solid var(--line);
}

.section-accent {
  background: var(--accent-soft);
  border-block: 1px solid #f0dfb9;
}

.section-lead {
  max-width: 760px;
  margin-bottom: 2rem;
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
  margin-top: 2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

th,
td {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  text-align: right;
  vertical-align: top;
}

thead th {
  color: #fff;
  background: var(--ink);
  font-size: 0.92rem;
}

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

.steps-list {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.steps-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 15px;
}

.steps-list > li > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 50%;
  font-weight: 800;
}

.steps-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.cards-grid,
.status-grid,
.faq-list {
  display: grid;
  gap: 1rem;
}

.follow-sources {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.follow-sources > h3 {
  font-size: 1.4rem;
}

.follow-sources > p {
  max-width: 760px;
  color: var(--muted);
}

.info-card,
.status-grid article,
.faq-list article {
  padding: 1.35rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
}

.info-card {
  border-top: 4px solid var(--brand);
}

.info-card p,
.status-grid p,
.faq-list p {
  color: var(--muted);
}

.two-columns {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.two-columns > * {
  min-width: 0;
}

.check-list {
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 0.55rem 2rem 0.55rem 0;
  border-bottom: 1px solid var(--line);
}

.check-list li::before {
  position: absolute;
  right: 0;
  color: var(--brand);
  content: "✓";
  font-weight: 900;
}

.safety-card {
  padding: 1.4rem;
  background: var(--danger-soft);
  border: 1px solid #f0cbc5;
  border-radius: var(--radius);
}

.safety-card h3 {
  color: var(--danger);
}

.managed-contact-details {
  margin-block: 1rem;
}

.status-grid article {
  position: relative;
  padding-top: 1.7rem;
}

.status-grid article::before {
  position: absolute;
  top: 0;
  right: 1.35rem;
  width: 42px;
  height: 4px;
  background: var(--accent);
  border-radius: 0 0 5px 5px;
  content: "";
}

.numbered-tips {
  margin: 1.75rem 0 0;
  padding-right: 1.4rem;
}

.numbered-tips li + li {
  margin-top: 0.7rem;
}

.official-links {
  display: grid;
  gap: 0.8rem;
}

.official-links a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.2rem;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 13px;
  text-decoration: none;
}

.official-links a:hover {
  background: var(--soft);
  border-color: #b5cac8;
}

.official-links strong,
.official-links small {
  display: block;
}

.official-links small {
  color: var(--muted);
  direction: ltr;
  text-align: right;
}

.faq-list article {
  box-shadow: 0 6px 20px rgba(23, 34, 56, 0.04);
}

.update-box {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
}

.update-box h2,
.update-box .section-number {
  color: #fff;
}

.update-box dl {
  margin: 0;
}

.update-box dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.update-box dd {
  margin: 0;
  font-weight: 700;
}

.update-box a {
  color: #fff;
}

.final-disclaimer {
  padding-top: 0;
}

.final-disclaimer .content-narrow {
  padding: 1.25rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.final-disclaimer h2 {
  font-size: 1.2rem;
}

.final-disclaimer p:last-child {
  margin-bottom: 0;
}

.page-main {
  min-height: 60vh;
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.page-shell {
  max-width: 900px;
}

.page-hero {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin-bottom: 0;
  font-size: clamp(2rem, 6vw, 3.7rem);
}

.prose,
.contact-section {
  padding-top: 2rem;
}

.prose h2,
.contact-section h2 {
  margin-top: 2.2rem;
  font-size: 1.65rem;
}

.prose li + li {
  margin-top: 0.45rem;
}

.contact-section {
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.contact-form {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.75rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid #bfcbd0;
  border-radius: 9px;
  font: inherit;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.form-help {
  color: var(--muted);
  font-size: 0.9rem;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
}

.form-message {
  padding: 0.8rem 1rem;
  border-radius: 10px;
  font-weight: 700;
}

.form-message-success {
  color: var(--success);
  background: #ecfdf3;
  border: 1px solid #bbefcc;
}

.form-message-error {
  color: var(--danger);
  background: var(--danger-soft);
  border: 1px solid #f0cbc5;
}

.not-found-page {
  display: grid;
  min-height: 66vh;
  place-items: center;
  padding: 3rem 0;
  text-align: center;
}

.not-found-box {
  max-width: 650px;
}

.error-code {
  margin-bottom: -1.2rem;
  color: #dcebea;
  font-size: clamp(7rem, 26vw, 14rem);
  font-weight: 900;
  line-height: 0.9;
}

.site-footer {
  padding: 3rem 0 1.25rem;
  color: #dfe8ec;
  background: #101a2b;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-title {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
}

.site-footer nav {
  display: grid;
  gap: 0.45rem;
}

.site-footer a {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.86rem;
}

@media (min-width: 700px) {
  .cards-grid,
  .status-grid,
  .faq-list,
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .official-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-summary ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.5fr);
  }

  .update-box {
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  }

  .update-box .text-link {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .two-columns {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
}

@media (min-width: 1120px) {
  .header-inner {
    grid-template-columns: minmax(240px, 1fr) auto auto;
  }

  .nav-toggle {
    display: none;
  }

  .primary-navigation,
  .primary-navigation.is-open {
    display: flex;
    grid-column: auto;
    align-items: center;
  }

  .independent-badge {
    display: inline-flex;
  }
}

@media (max-width: 699px) {
  .hero h1 {
    font-size: clamp(1.9rem, 8.2vw, 2.2rem);
    line-height: 1.3;
  }

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

  .section {
    padding-block: 3.4rem;
  }
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
