:root {
  color-scheme: light;
  --ink: #121417;
  --muted: #59616b;
  --paper: #fbfaf5;
  --panel: #ffffff;
  --line: #d8d6cc;
  --brand: #0f8f63;
  --brand-strong: #0a6b4a;
  --gold: #d69a22;
  --ruby: #b3384a;
  --night: #181b1e;
  --night-soft: #24282d;
  --focus: #2f80ed;
  --shadow: 0 18px 42px rgba(18, 20, 23, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 250, 245, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(1120px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  flex: 0 0 auto;
}

.brand-logo {
  gap: 0;
}

.brand-logo img {
  width: 120px;
  height: 30px;
  object-fit: contain;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border: 2px solid var(--gold);
  border-radius: 8px;
  font-weight: 900;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  align-items: center;
  justify-content: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 19px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.nav-toggle span::before {
  transform: translateY(-6px);
}

.nav-toggle span::after {
  transform: translateY(4px);
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  min-height: 42px;
  padding: 11px 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 750;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: #ece7d8;
}

.header-cta,
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.header-cta,
.button.primary {
  color: #fff;
  background: var(--brand);
}

.header-cta:hover,
.button.primary:hover {
  background: var(--brand-strong);
}

.button.secondary {
  color: var(--ink);
  background: var(--panel);
  border-color: var(--line);
}

.button.secondary:hover {
  border-color: var(--gold);
}

.button.ghost {
  color: var(--brand-strong);
  background: transparent;
  border-color: #a8d8c5;
}

.hero,
.page-hero {
  background: var(--night);
  color: #fff;
}

.hero-inner,
.section-inner,
.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(300px, 0.82fr);
  gap: 36px;
  align-items: center;
  padding: 46px 0 34px;
}

.page-hero .section-inner {
  padding: 40px 0 30px;
}

.kicker {
  margin: 0 0 12px;
  color: #ffd57a;
  font-size: 0.86rem;
  font-weight: 850;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.12;
  margin: 0;
}

h1 {
  max-width: 820px;
  font-size: 2.7rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.17rem;
}

.hero-copy p,
.page-hero p,
.section-lead {
  max-width: 720px;
  color: #d9ded9;
  margin: 16px 0 0;
  font-size: 1.08rem;
}

.section-lead {
  color: var(--muted);
}

.hero-actions,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.quick-answer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 22px;
  margin-bottom: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(18, 20, 23, 0.06);
}

.quick-answer h2 {
  font-size: 1.6rem;
}

.quick-answer .section-lead {
  margin-top: 10px;
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.intent-table {
  margin-top: 18px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.trust-strip span {
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  background: var(--night-soft);
  border: 1px solid #3a3f44;
  border-radius: 8px;
  color: #f3efe0;
  font-weight: 750;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  min-height: 330px;
  object-fit: contain;
}

.section {
  padding: 48px 0;
}

.section.alt {
  background: #efeadc;
}

.section.dark {
  color: #fff;
  background: var(--night);
}

.section.dark .section-lead,
.section.dark .muted,
.section.dark p {
  color: #d9ded9;
}

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

.grid {
  display: grid;
  gap: 16px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.step,
.notice,
.table-wrap {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(18, 20, 23, 0.06);
}

.card,
.step,
.notice {
  padding: 20px;
}

.card h3,
.step h3 {
  margin-bottom: 8px;
}

.card p,
.step p,
.notice p {
  margin: 0;
  color: var(--muted);
}

.card .eyebrow,
.step .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 12px;
  padding: 4px 9px;
  color: var(--brand-strong);
  background: #e3f3ec;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 850;
}

.metric {
  color: var(--gold);
  font-size: 2rem;
  font-weight: 900;
}

.route-list {
  display: grid;
  gap: 12px;
}

.route {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.route strong {
  color: var(--brand-strong);
}

.route p {
  margin: 0;
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
}

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

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

th {
  color: var(--ink);
  background: #f3f0e7;
  font-size: 0.9rem;
}

td {
  color: var(--muted);
}

.check-list,
.plain-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  padding-left: 28px;
  margin: 10px 0;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--brand);
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 850;
}

.faq-list p {
  margin: 10px 0 0;
  color: var(--muted);
}

.update-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.update-item time {
  color: var(--brand-strong);
  font-weight: 850;
}

.update-item h3 {
  margin-bottom: 6px;
}

.update-item p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  background: var(--night);
  color: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  padding: 36px 0 92px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.footer-links a {
  color: #e7e2d4;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.fineprint {
  margin-top: 12px;
  color: #c8ccca;
  font-size: 0.9rem;
}

.mobile-action {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 12;
  display: none;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(251, 250, 245, 0.98);
  border-top: 1px solid var(--line);
}

.mobile-action .button {
  flex: 1 1 0;
}

.muted {
  color: var(--muted);
}

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

.search-form {
  width: min(720px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 24px;
}

.search-input {
  min-height: 46px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--panel);
  font: inherit;
}

.search-input::placeholder {
  color: var(--muted);
}

.search-results .card[hidden] {
  display: none;
}

.accent {
  color: var(--gold);
}

.warning {
  border-left: 4px solid var(--ruby);
}

@media (max-width: 920px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

  .hero-visual img {
    min-height: 240px;
  }

  .grid.three,
  .grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head {
    display: block;
  }
}

@media (max-width: 760px) {
  .header-inner {
    width: min(100% - 24px, 1120px);
  }

  .brand-text small,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    min-height: 46px;
    padding: 12px;
  }

  .hero-inner,
  .section-inner,
  .footer-inner {
    width: min(100% - 24px, 1120px);
  }

  .hero-inner {
    padding-bottom: 24px;
  }

  .hero-actions,
  .page-actions,
  .quick-actions,
  .search-form {
    flex-direction: column;
  }

  .hero-actions .button,
  .page-actions .button,
  .quick-actions .button,
  .search-form .button {
    width: 100%;
  }

  .search-form {
    display: flex;
  }

  .trust-strip,
  .grid.two,
  .grid.three,
  .grid.four {
    grid-template-columns: 1fr;
  }

  .route,
  .quick-answer,
  .update-item,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 38px 0;
  }

  .mobile-action {
    display: flex;
  }
}

@media (max-width: 430px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 1.85rem;
  }

  h2 {
    font-size: 1.45rem;
  }

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