:root {
  --page: #f4f8fa;
  --surface: #ffffff;
  --surface-soft: #eaf4f6;
  --surface-blue: #eaf2f8;
  --ink: #102a3b;
  --muted: #536b79;
  --line: #c9d9df;
  --navy: #063f63;
  --navy-deep: #032f4a;
  --blue: #075f9d;
  --teal: #087b83;
  --teal-deep: #07575e;
  --aqua: #8bd2d5;
  --saffron: #e88922;
  --saffron-dark: #b96009;
  --green: #17683a;
  --red: #a4262c;
  --focus: #ffcc33;
  --shadow: 0 18px 48px rgba(3, 47, 74, 0.13);
  --shadow-soft: 0 8px 24px rgba(3, 47, 74, 0.09);
  --radius: 6px;
  --font-scale: 1;
  --content: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: "Noto Sans", "Nirmala UI", "Segoe UI", Arial, sans-serif;
  font-size: calc(16px * var(--font-scale));
  line-height: 1.6;
}

body.contrast {
  --page: #000000;
  --surface: #000000;
  --surface-soft: #111111;
  --surface-blue: #111111;
  --ink: #ffffff;
  --muted: #f2f2f2;
  --line: #ffffff;
  --navy: #000000;
  --navy-deep: #000000;
  --blue: #42d9ff;
  --teal: #42d9ff;
  --teal-deep: #42d9ff;
  --aqua: #42d9ff;
  --saffron: #ffd500;
  --saffron-dark: #ffd500;
  --green: #98ff98;
  --red: #ff9a9f;
  --shadow: none;
  --shadow-soft: none;
}

body.contrast .site-header,
body.contrast .search-dialog,
body.contrast .mobile-dock {
  background: #000000;
}

body.contrast .brand {
  padding: 0.25rem;
  background: #ffffff;
}

body.contrast .fraud-advisory,
body.contrast .alert,
body.contrast .network-status {
  color: #ffffff;
  background: #000000;
  border-color: var(--focus);
}

body.contrast .fraud-advisory a,
body.contrast .alert a {
  color: var(--focus);
}

body.contrast .hero::after {
  background: rgba(0, 0, 0, 0.82);
}

body.menu-lock,
body.dialog-lock {
  overflow: hidden;
}

body.menu-lock::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(3, 31, 47, 0.58);
}

img,
svg {
  display: block;
}

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

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

a {
  color: var(--blue);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--navy-deep);
}

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

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  stroke: currentColor;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 0.75rem 1rem;
  background: var(--focus);
  color: #000000;
  font-weight: 800;
  border-radius: var(--radius);
}

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

.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;
}

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

.utility-bar {
  color: #ffffff;
  background: var(--navy-deep);
  font-size: 0.82rem;
}

.utility-grid {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.official-label,
.utility-actions,
.utility-link,
.text-tools {
  display: flex;
  align-items: center;
}

.official-label {
  margin: 0;
  gap: 0.45rem;
  font-weight: 700;
}

.official-label .icon {
  width: 1rem;
  height: 1rem;
  color: var(--aqua);
}

.utility-actions {
  gap: 0.4rem;
}

.utility-bar a {
  color: #ffffff;
}

.utility-link {
  min-height: 44px;
  gap: 0.4rem;
  text-decoration: none;
}

.utility-link strong {
  color: #ffffff;
}

.language-picker {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #ffffff;
}

.language-picker .icon {
  width: 1rem;
  height: 1rem;
  color: var(--aqua);
}

.language-picker select {
  min-height: 36px;
  padding: 0.25rem 1.7rem 0.25rem 0.45rem;
  color: #ffffff;
  background: var(--navy-deep);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 4px;
  cursor: pointer;
}

.language-picker option {
  color: var(--ink);
  background: var(--surface);
}

.utility-divider {
  width: 1px;
  height: 18px;
  margin-inline: 0.35rem;
  background: rgba(255, 255, 255, 0.35);
}

.text-tools {
  gap: 0.15rem;
}

.tool-button,
.utility-icon-button {
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  font-weight: 800;
}

.tool-button:hover,
.utility-icon-button:hover,
.utility-icon-button[aria-pressed="true"] {
  color: #000000;
  background: var(--focus);
  border-color: var(--focus);
}

.staff-link {
  min-height: 44px;
  padding: 0.35rem 0.55rem;
  display: inline-flex;
  align-items: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(9, 72, 100, 0.14);
  box-shadow: 0 4px 20px rgba(3, 47, 74, 0.06);
}

.header-grid {
  min-height: 84px;
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}

.brand {
  width: min(340px, 100%);
}

.brand img {
  width: 100%;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  height: 84px;
}

.primary-nav a {
  position: relative;
  min-height: 44px;
  padding: 0 0.65rem;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 750;
  white-space: nowrap;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  right: 0.65rem;
  bottom: 0;
  left: 0.65rem;
  height: 3px;
  background: transparent;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--blue);
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
  background: var(--saffron);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.icon-button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: inline-grid;
  place-items: center;
  color: var(--navy);
  background: var(--surface);
  cursor: pointer;
}

.icon-button:hover {
  color: #ffffff;
  background: var(--navy);
  border-color: var(--navy);
}

.menu-button,
.menu-close-icon {
  display: none;
}

.fraud-advisory {
  position: relative;
  z-index: 10;
  color: #412200;
  background: #fff3df;
  border-bottom: 1px solid #eacb99;
}

.advisory-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.88rem;
}

.advisory-inner > .icon {
  color: var(--saffron-dark);
}

.advisory-inner p {
  flex: 1;
  margin: 0;
}

.advisory-inner a {
  color: #613000;
  font-weight: 800;
  white-space: nowrap;
}

.network-status {
  color: #ffffff;
  background: #6b3900;
}

.network-status[hidden],
.pwa-install[hidden] {
  display: none !important;
}

.network-status-inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  font-weight: 700;
}

main {
  min-height: 60vh;
}

.hero {
  position: relative;
  min-height: 590px;
  isolation: isolate;
  overflow: hidden;
  color: #ffffff;
  background: var(--navy-deep);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("assets/hero-reservoir.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
  animation: heroPresence 14s ease-out both;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(3, 38, 58, 0.95) 0%, rgba(3, 47, 74, 0.86) 44%, rgba(3, 47, 74, 0.35) 78%, rgba(3, 47, 74, 0.18) 100%);
}

.hero-inner {
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(260px, 1fr);
  align-items: center;
  gap: 3rem;
  padding-block: 3rem;
}

.hero-copy {
  animation: heroCopyIn 700ms ease-out both;
}

.hero .eyebrow {
  color: #a9e4e5;
}

.hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: 6rem;
  line-height: 0.92;
  font-weight: 850;
}

.hero h1 span {
  max-width: 650px;
  margin-top: 1.1rem;
  display: block;
  color: #ffffff;
  font-size: 2.1rem;
  line-height: 1.16;
  font-weight: 650;
}

.hero-lead {
  max-width: 650px;
  margin: 1rem 0 1.35rem;
  color: #ecf7f8;
  font-size: 1.12rem;
}

.hero-search {
  max-width: 680px;
}

.hero-search label {
  margin-bottom: 0.45rem;
  display: block;
  color: #ffffff;
  font-weight: 800;
}

.hero-search-control,
.search-control {
  position: relative;
  display: flex;
  align-items: stretch;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-search-control > .icon,
.search-control > .icon {
  position: absolute;
  top: 50%;
  left: 1rem;
  z-index: 1;
  color: var(--teal);
  transform: translateY(-50%);
}

.hero-search-control input,
.search-control input {
  min-width: 0;
  min-height: 58px;
  flex: 1;
  padding: 0.85rem 1rem 0.85rem 3rem;
  color: var(--ink);
  background: #ffffff;
  border: 0;
}

.hero-search-control .search-submit,
.search-control .search-submit {
  min-width: 118px;
  border: 0;
  color: #1e1507;
  background: var(--saffron);
  font-weight: 850;
  cursor: pointer;
}

.hero-search-control .search-submit:hover,
.search-control .search-submit:hover {
  background: #f3aa4d;
}

.voice-search {
  width: 56px;
  min-width: 56px;
  min-height: 56px;
  padding: 0;
  display: grid;
  place-items: center;
  color: var(--teal-deep);
  background: #ffffff;
  border: 0;
  border-left: 1px solid var(--line);
  cursor: pointer;
}

.voice-search:hover {
  color: var(--navy);
  background: var(--surface-soft);
}

.voice-search:disabled {
  color: #71838b;
  background: #edf1f3;
  cursor: not-allowed;
}

.voice-search.listening {
  color: #ffffff;
  background: var(--red);
  animation: listeningPulse 1.1s ease-in-out infinite;
}

.popular-links {
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.popular-links span {
  color: #b8d7df;
}

.popular-links a {
  color: #ffffff;
  font-weight: 750;
}

.hero-status {
  align-self: end;
  justify-self: end;
  max-width: 300px;
  margin-bottom: 2rem;
  padding-left: 1rem;
  border-left: 3px solid var(--saffron);
  color: #f2fbfb;
  animation: heroCopyIn 700ms 150ms ease-out both;
}

.hero-status .icon {
  margin-bottom: 0.55rem;
  color: var(--aqua);
}

.hero-status strong,
.hero-status span {
  display: block;
}

.hero-status strong {
  font-size: 1.1rem;
}

.hero-status span {
  color: #c9dce2;
  font-size: 0.9rem;
}

.service-launchpad {
  position: relative;
  z-index: 2;
  color: var(--ink);
  background: var(--surface);
}

.launchpad-inner {
  padding-block: 2.2rem 2.5rem;
}

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

.section-heading h2,
.section-heading p {
  margin-bottom: 0;
}

.section-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--teal-deep);
  font-weight: 800;
  text-decoration: none;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-tile {
  position: relative;
  min-height: 182px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink);
  background: var(--surface);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  overflow: hidden;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.service-tile::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--service-accent, var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.service-tile:hover,
.service-tile:focus-visible {
  z-index: 1;
  color: var(--navy);
  background: var(--surface-soft);
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}

.service-tile:hover::before,
.service-tile:focus-visible::before {
  transform: scaleX(1);
}

.service-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--service-accent, var(--teal));
  background: var(--surface-soft);
  border-radius: var(--radius);
}

.service-icon .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.service-tile strong,
.service-tile span {
  display: block;
}

.service-tile strong {
  margin-top: 0.75rem;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.3;
}

.service-tile .service-summary {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.tile-action {
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
  color: var(--teal-deep);
  font-size: 0.9rem;
  font-weight: 850;
}

.tile-action .icon {
  width: 1rem;
  height: 1rem;
  transition: transform 180ms ease;
}

.service-tile:hover .tile-action .icon {
  transform: translateX(3px);
}

.section {
  padding-block: 3.8rem;
}

.section-band {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-dark {
  color: #ffffff;
  background: var(--navy);
}

.section-dark h2,
.section-dark h3,
.section-dark a {
  color: #ffffff;
}

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

.section-dark .hint,
.section-dark .muted {
  color: #c4d9e2;
}

.eyebrow {
  margin: 0 0 0.45rem;
  color: var(--teal-deep);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: 0;
}

h1 {
  margin: 0 0 1rem;
  font-size: 3.2rem;
}

h2 {
  margin-top: 0;
  font-size: 1.75rem;
}

h3 {
  font-size: 1.12rem;
}

.lead {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.08rem;
}

.page-hero {
  padding-block: 2.1rem 2.6rem;
  color: #ffffff;
  background: var(--navy);
  border-bottom: 5px solid var(--saffron);
}

.page-hero .breadcrumb {
  margin: 0 0 1.25rem;
  color: #c9dce3;
}

.page-hero .breadcrumb a {
  color: #ffffff;
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 0.65rem;
  color: #ffffff;
}

.page-hero-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  color: #c9dce3;
  font-size: 0.9rem;
}

.page-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.page-content {
  padding-block: 2.5rem 4rem;
}

.breadcrumb {
  color: var(--muted);
  font-size: 0.88rem;
}

.breadcrumb ol {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  list-style: none;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.55rem;
  opacity: 0.7;
}

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

.metric {
  min-height: 146px;
  padding: 1.4rem;
  border-left: 1px solid var(--line);
}

.metric:first-child {
  border-left: 0;
}

.metric strong,
.metric span {
  display: block;
}

.metric strong {
  color: var(--navy);
  font-size: 2.5rem;
  line-height: 1;
}

.metric span {
  margin-top: 0.55rem;
  color: #d6e6eb;
}

.metric small {
  color: var(--teal-deep);
}

.section-dark .metric {
  border-left-color: rgba(255, 255, 255, 0.2);
}

.section-dark .metric strong {
  color: #ffffff;
}

.section-dark .metric small {
  color: var(--aqua);
}

.dashboard-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.dashboard-metrics .metric {
  min-height: 110px;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 2.5rem;
}

.three-col {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.split-heading {
  max-width: 500px;
}

.journey-list,
.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey-list {
  counter-reset: journey;
  border-top: 1px solid var(--line);
}

.journey-list li {
  counter-increment: journey;
  min-height: 92px;
  padding: 1.1rem 0;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}

.journey-list li::before {
  content: "0" counter(journey);
  color: var(--saffron-dark);
  font-size: 1rem;
  font-weight: 850;
}

.journey-list strong,
.journey-list span {
  display: block;
}

.journey-list span {
  color: var(--muted);
}

.journey-list .icon {
  color: var(--teal);
}

.notice-list {
  border-top: 1px solid var(--line);
}

.document-item {
  position: relative;
  padding: 1.1rem 3rem 1.1rem 0;
  background: transparent;
  border-bottom: 1px solid var(--line);
}

.document-item h2,
.document-item h3 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
}

.document-item h2 a,
.document-item h3 a {
  color: var(--ink);
  text-decoration: none;
}

.document-item h2 a:hover,
.document-item h3 a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.document-item > .document-arrow {
  position: absolute;
  top: 1.25rem;
  right: 0;
  color: var(--teal);
}

.meta-list {
  display: flex;
  gap: 0.45rem 0.8rem;
  flex-wrap: wrap;
}

.badge {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 750;
}

.badge::before {
  content: "";
  width: 4px;
  height: 4px;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: var(--teal);
}

.badge.good {
  color: var(--green);
}

.badge.warn {
  color: var(--saffron-dark);
}

.stack {
  display: grid;
  gap: 1rem;
}

.form-panel,
.info-panel,
.status-panel,
.policy-block,
.office-row {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.form-panel,
.info-panel,
.status-panel,
.policy-block {
  padding: 1.4rem;
}

.info-panel h2,
.status-panel h2,
.policy-block h2,
.info-panel h3,
.policy-block h3 {
  margin-top: 0;
}

.info-panel > .icon {
  width: 1.8rem;
  height: 1.8rem;
  margin-bottom: 1rem;
  color: var(--teal);
}

.alert {
  padding: 1.2rem;
  color: #4d2700;
  background: #fff3df;
  border-left: 5px solid var(--saffron);
  border-radius: var(--radius);
}

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

.form-panel {
  box-shadow: var(--shadow-soft);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field.full,
.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--ink);
  font-weight: 800;
}

.field small,
.hint,
.muted {
  color: var(--muted);
}

.field input,
.field select,
.field textarea,
.filter-row input,
.filter-row select {
  width: 100%;
  min-height: 48px;
  padding: 0.72rem 0.8rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid #9fb5bf;
  border-radius: var(--radius);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border: 2px solid var(--red);
}

.button-row,
.filter-row {
  display: flex;
  align-items: end;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.button-row {
  margin-top: 1.25rem;
}

.button,
.ghost-button,
.link-button {
  min-height: 46px;
  padding: 0.65rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  cursor: pointer;
  font-weight: 850;
  text-decoration: none;
}

.button {
  color: #ffffff;
  background: var(--teal-deep);
  border-color: var(--teal-deep);
}

.button:hover {
  color: #ffffff;
  background: var(--navy);
  border-color: var(--navy);
}

.ghost-button,
.link-button {
  color: var(--teal-deep);
  background: var(--surface);
  border-color: var(--line);
}

.ghost-button:hover,
.link-button:hover {
  color: var(--navy);
  border-color: var(--teal);
}

.error-summary,
.result-box {
  display: none;
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
}

.error-summary {
  color: #5f0f14;
  background: #fff0f1;
  border: 2px solid var(--red);
}

.result-box {
  color: #103c24;
  background: #edf8f1;
  border: 2px solid var(--green);
}

.error-summary.active,
.result-box.active {
  display: block;
}

.error-summary h2,
.result-box h2 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

body.contrast .error-summary,
body.contrast .result-box {
  color: #ffffff;
  background: #000000;
}

.tabs {
  margin-bottom: 1rem;
  display: flex;
  gap: 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
}

.tab-button {
  min-height: 48px;
  padding: 0.65rem 0.9rem;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-weight: 800;
  white-space: nowrap;
}

.tab-button[aria-selected="true"] {
  color: var(--navy);
  border-bottom-color: var(--saffron);
}

.timeline {
  display: grid;
  gap: 0;
}

.timeline li {
  position: relative;
  min-height: 64px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 0.8rem;
}

.timeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 30px;
  bottom: 0;
  left: 14px;
  width: 1px;
  background: var(--line);
}

.timeline .dot {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--teal);
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 850;
}

.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

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

th {
  color: var(--navy);
  background: var(--surface-blue);
}

.office-row {
  padding: 1rem 1.1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}

.empty {
  padding: 2rem;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.empty h2 {
  margin-top: 0;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  min-height: 60px;
  padding: 1rem 3rem 1rem 0;
  display: flex;
  align-items: center;
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  margin-left: auto;
  color: var(--teal);
  font-size: 1.4rem;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details p {
  max-width: 780px;
  margin: 0;
  padding: 0 3rem 1.2rem 0;
  color: var(--muted);
}

.search-dialog {
  width: min(760px, calc(100% - 32px));
  padding: 1.5rem;
  color: var(--ink);
  background: var(--surface);
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.35);
}

.search-dialog::backdrop {
  background: rgba(3, 31, 47, 0.76);
  backdrop-filter: blur(4px);
}

.dialog-head {
  margin-bottom: 1.25rem;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.dialog-head h2 {
  margin-bottom: 0;
}

.site-search label {
  margin-bottom: 0.45rem;
  display: block;
  font-weight: 800;
}

.popular-searches {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.popular-searches span {
  color: var(--muted);
}

.popular-searches a {
  font-weight: 750;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 100;
  max-width: 360px;
  padding: 0.9rem 1rem;
  color: #ffffff;
  background: var(--navy-deep);
  border-left: 4px solid var(--aqua);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.active {
  opacity: 1;
  transform: translateY(0);
}

.mobile-dock {
  display: none;
}

.site-footer {
  color: #dbe8ed;
  background: var(--navy-deep);
}

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

.footer-intro {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-kicker {
  margin: 0 0 0.3rem;
  color: var(--aqua);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.footer-intro h2 {
  margin: 0;
  color: #ffffff;
  font-size: 2rem;
}

.footer-call {
  min-height: 52px;
  padding: 0.7rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #1e1507 !important;
  background: var(--saffron);
  border-radius: var(--radius);
  font-size: 1.05rem;
  font-weight: 850;
  text-decoration: none;
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-install {
  min-height: 52px;
  padding: 0.7rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 850;
}

.footer-install:hover {
  color: var(--navy-deep);
  background: #ffffff;
}

.footer-grid {
  padding-block: 2.4rem;
  display: grid;
  grid-template-columns: 1.45fr repeat(3, 1fr);
  gap: 2rem;
}

.footer-grid h2 {
  margin: 0 0 0.8rem;
  color: #ffffff;
  font-size: 1rem;
}

.footer-grid p {
  margin: 0 0 0.55rem;
}

.footer-grid nav {
  display: grid;
  align-content: start;
  gap: 0.5rem;
}

.footer-grid nav a {
  text-decoration: none;
}

.footer-grid nav a:hover {
  text-decoration: underline;
}

.footer-bottom {
  padding-block: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #b9ced7;
  font-size: 0.86rem;
}

.footer-bottom p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroPresence {
  from { transform: scale(1.08); }
  to { transform: scale(1.02); }
}

@keyframes heroCopyIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes listeningPulse {
  0%, 100% { box-shadow: inset 0 0 0 0 rgba(255, 255, 255, 0.25); }
  50% { box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.25); }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1180px) {
  .header-grid {
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr) auto;
  }

  .primary-nav a {
    padding-inline: 0.45rem;
    font-size: 0.82rem;
  }

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

@media (max-width: 980px) {
  .shell {
    width: min(var(--content), calc(100% - 32px));
  }

  .utility-grid {
    padding-block: 0.25rem;
  }

  .official-label {
    display: none;
  }

  .utility-actions {
    width: 100%;
    justify-content: space-between;
  }

  .header-grid {
    min-height: 74px;
    grid-template-columns: minmax(220px, 320px) 1fr auto;
  }

  .primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    width: min(390px, 90vw);
    height: 100vh;
    padding: 5.5rem 1.25rem 2rem;
    display: flex;
    align-items: stretch;
    justify-content: start;
    flex-direction: column;
    gap: 0;
    background: var(--surface);
    box-shadow: -20px 0 60px rgba(3, 47, 74, 0.24);
    transform: translateX(110%);
    visibility: hidden;
    transition: transform 220ms ease, visibility 220ms ease;
  }

  .primary-nav.open {
    transform: translateX(0);
    visibility: visible;
  }

  .primary-nav a {
    min-height: 52px;
    padding-inline: 0.4rem;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .primary-nav a::after {
    right: auto;
    left: 0;
    bottom: 0;
    width: 3px;
    height: 100%;
  }

  .menu-button {
    position: relative;
    z-index: 90;
    display: inline-grid;
  }

  .menu-button[aria-expanded="true"] .menu-open-icon {
    display: none;
  }

  .menu-button[aria-expanded="true"] .menu-close-icon {
    display: block;
  }

  .hero,
  .hero-inner {
    min-height: 560px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero h1 {
    font-size: 4.7rem;
  }

  .hero h1 span {
    font-size: 1.8rem;
  }

  .hero-status {
    display: none;
  }

  .two-col,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .metric:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .metric:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
}

@media (max-width: 700px) {
  body {
    padding-bottom: 66px;
  }

  .shell {
    width: min(var(--content), calc(100% - 24px));
  }

  .utility-link span,
  .utility-divider,
  .staff-link {
    display: none;
  }

  .tool-button[data-font="base"],
  .utility-icon-button[href="#/help"] {
    display: none;
  }

  .language-picker select {
    width: 78px;
    padding-right: 1.2rem;
    font-size: 0.78rem;
  }

  .utility-actions {
    justify-content: end;
  }

  .utility-link {
    margin-right: auto;
  }

  .header-grid {
    min-height: 66px;
    grid-template-columns: minmax(180px, 260px) 1fr auto;
    gap: 0.5rem;
  }

  .search-open {
    display: none;
  }

  .brand {
    width: min(250px, 100%);
  }

  .fraud-advisory {
    border-left: 4px solid var(--saffron);
  }

  .advisory-inner {
    min-height: 48px;
    padding-block: 0.45rem;
    align-items: start;
  }

  .advisory-inner > a {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: 500px;
  }

  .hero::after {
    background: rgba(3, 47, 74, 0.82);
  }

  .hero-inner {
    padding-block: 1.6rem;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .hero h1 span {
    margin-top: 0.6rem;
    font-size: 1.38rem;
  }

  .hero-lead {
    margin-block: 0.7rem 0.9rem;
    font-size: 1rem;
  }

  .hero-search-control,
  .search-control {
    display: grid;
    grid-template-columns: 1fr;
    box-shadow: none;
    overflow: visible;
    background: transparent;
  }

  .hero-search-control > .icon,
  .search-control > .icon {
    top: 29px;
  }

  .hero-search-control input,
  .search-control input {
    border-radius: var(--radius);
  }

  .hero-search-control .search-submit,
  .search-control .search-submit {
    grid-column: 1 / -1;
    min-height: 48px;
    margin-top: 0.55rem;
    border-radius: var(--radius);
  }

  .hero-search-control,
  .search-control {
    grid-template-columns: minmax(0, 1fr) 52px;
  }

  .hero-search-control input,
  .search-control input {
    grid-column: 1;
    grid-row: 1;
    border-radius: var(--radius) 0 0 var(--radius);
  }

  .hero-search-control .voice-search,
  .search-control .voice-search {
    grid-column: 2;
    grid-row: 1;
    width: 52px;
    min-width: 52px;
    min-height: 58px;
    border-radius: 0 var(--radius) var(--radius) 0;
  }

  .popular-links {
    gap: 0.5rem 0.8rem;
  }

  .launchpad-inner {
    padding-block: 0.85rem 2rem;
  }

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

  .service-tile {
    min-height: 168px;
    padding: 1rem;
  }

  .service-summary {
    display: none !important;
  }

  .section {
    padding-block: 2.6rem;
  }

  .section-heading,
  .footer-intro,
  .footer-bottom {
    align-items: start;
    flex-direction: column;
  }

  .section-heading {
    gap: 0.6rem;
  }

  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .page-hero {
    padding-block: 1.5rem 1.8rem;
  }

  .two-col,
  .three-col,
  .footer-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .footer-intro {
    padding-block: 1.5rem;
    gap: 1rem;
  }

  .footer-intro h2 {
    font-size: 1.6rem;
  }

  .footer-grid {
    gap: 1.5rem;
  }

  .journey-list li {
    grid-template-columns: 42px minmax(0, 1fr) auto;
  }

  .office-row {
    grid-template-columns: 1fr;
  }

  .mobile-dock {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 70;
    height: 66px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--surface);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(3, 47, 74, 0.12);
  }

  .mobile-dock a {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.15rem;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.73rem;
    font-weight: 750;
  }

  .mobile-dock a:hover,
  .mobile-dock a[aria-current="page"] {
    color: var(--teal-deep);
    background: var(--surface-soft);
  }

  .mobile-dock .icon {
    width: 1.25rem;
    height: 1.25rem;
  }

  .toast {
    right: 0.75rem;
    bottom: 76px;
    left: 0.75rem;
    max-width: none;
  }
}

@media (max-width: 420px) {
  .header-grid {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .header-actions {
    grid-column: 2;
  }

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

  .service-tile {
    min-height: 154px;
  }

  .service-tile strong {
    font-size: 0.98rem;
  }

  .tile-action {
    font-size: 0.82rem;
  }

  .hero .popular-links {
    display: none;
  }
}
