:root {
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink: #071427;
  --ink-soft: #17243a;
  --muted: #607086;
  --muted-strong: #43536a;
  --bg: #f5f8fc;
  --bg-deep: #eaf1f8;
  --surface: #ffffff;
  --surface-raised: rgba(255, 255, 255, .9);
  --surface-blue: #edf6ff;
  --line: #d5e0ec;
  --line-strong: #b9c7d8;
  --primary: #0b5cad;
  --primary-dark: #073b79;
  --primary-soft: #dcecff;
  --accent: #07a6c2;
  --accent-soft: #dff8fb;
  --success: #08795b;
  --success-soft: #e4f8f1;
  --warning: #a16207;
  --danger: #b42318;
  --focus: rgba(7, 166, 194, .34);
  --shadow-soft: 0 18px 48px rgba(15, 39, 75, .1);
  --shadow-card: 0 22px 60px rgba(8, 38, 79, .13);
  --shadow-hard: 0 30px 80px rgba(5, 25, 56, .2);
  --radius: 8px;
  --container: 1180px;
  --section: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(7, 166, 194, .13), transparent 30rem),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 36%, #eef5fb 100%);
  font-family: var(--font-sans);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(7, 20, 39, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 20, 39, .035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .5), transparent 72%);
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

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

button {
  color: inherit;
}

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

::selection {
  color: #fff;
  background: var(--primary);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: var(--radius);
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  font-weight: 850;
  text-decoration: none;
  transition: transform .18s ease;
}

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

[hidden] {
  display: none !important;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 76px;
  padding: 14px 30px;
  border-bottom: 1px solid rgba(201, 214, 229, .72);
  background: rgba(248, 252, 255, .86);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 34px rgba(9, 42, 82, .06);
}

.menu-scrim {
  position: fixed;
  inset: 76px 0 0;
  z-index: 40;
  border: 0;
  background: rgba(7, 20, 39, .42);
  cursor: pointer;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.brand span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .52);
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(135deg, var(--primary-dark), var(--primary) 58%, var(--accent));
  box-shadow: 0 14px 28px rgba(11, 92, 173, .24);
  font-size: 12px;
  letter-spacing: 0;
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 2;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(213, 224, 236, .82);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .68);
}

.primary-nav a,
.nav-cta,
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 820;
  text-decoration: none;
  transition:
    transform .18s ease,
    border-color .18s ease,
    background-color .18s ease,
    color .18s ease,
    box-shadow .18s ease;
}

.primary-nav a {
  position: relative;
  padding: 0 12px;
  color: #34465c;
  font-size: 14px;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  border-radius: 999px;
  background: var(--accent);
  transition: transform .18s ease;
}

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

.primary-nav a:hover::after,
.primary-nav a.active::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-cta,
.button {
  border: 1px solid transparent;
  padding: 11px 17px;
  cursor: pointer;
}

.nav-cta,
.button.primary {
  color: #fff;
  background:
    linear-gradient(135deg, var(--primary-dark), var(--primary) 64%, #0988c7);
  box-shadow: 0 15px 32px rgba(11, 92, 173, .25);
}

.nav-cta:hover,
.button.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(11, 92, 173, .3);
}

.button.secondary {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 12px 28px rgba(7, 20, 39, .06);
}

.button.secondary:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: #fff;
  box-shadow: 0 18px 38px rgba(7, 20, 39, .1);
}

.button:active,
.nav-cta:active,
.chip:active,
.reset-filter:active {
  transform: translateY(1px);
}

.text-link {
  width: fit-content;
  color: var(--primary-dark);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-color: rgba(7, 166, 194, .5);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: color .18s ease, text-decoration-color .18s ease;
}

.text-link:hover {
  color: var(--accent);
  text-decoration-color: currentColor;
}

.menu-toggle {
  display: none;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 28px rgba(7, 20, 39, .07);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 21px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--ink);
  transition: transform .18s ease, opacity .18s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(4) {
  transform: translateY(-6px) rotate(-45deg);
}

.section {
  width: min(100% - 48px, var(--container));
  margin: 0 auto;
  padding: var(--section) 0;
  scroll-margin-top: 96px;
}

.section:nth-of-type(even):not(.hero):not(.page-hero) {
  position: relative;
}

.section:nth-of-type(even):not(.hero):not(.page-hero)::before {
  content: "";
  position: absolute;
  inset: 24px -32px;
  z-index: -1;
  border: 1px solid rgba(213, 224, 236, .56);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .36);
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, .82fr);
  align-items: center;
  gap: 58px;
  padding-top: 58px;
  padding-bottom: 64px;
}

.hero-copy {
  position: relative;
}

.hero-copy::before {
  content: "";
  display: block;
  width: 74px;
  height: 4px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.page-hero {
  max-width: 980px;
  padding-top: 72px;
  padding-bottom: 38px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 960px;
  margin-bottom: 24px;
  color: var(--ink);
  font-size: 64px;
  line-height: .98;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 36px;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.22;
}

.card h2,
.agent-card h2,
.case-card h2,
.process-board h2,
.control-list h2 {
  font-size: 23px;
  line-height: 1.2;
}

.lead,
.section-copy {
  max-width: 760px;
  color: var(--muted-strong);
  font-size: 20px;
  line-height: 1.7;
}

.section-copy {
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

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

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

.section-heading.stacked {
  display: block;
  margin-bottom: 0;
}

.section-heading.stacked .text-link,
.section-heading.stacked .button {
  margin-top: 16px;
}

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

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.split.reverse {
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
}

.command-panel,
.card,
.agent-card,
.case-card,
.status-card,
.filter-panel,
.faq-item,
.process-board article,
.control-list article,
.department-list article,
form[data-contact-form] {
  border: 1px solid rgba(213, 224, 236, .92);
  border-radius: var(--radius);
  background: var(--surface-raised);
  box-shadow: var(--shadow-soft);
}

.command-panel {
  position: relative;
  overflow: hidden;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(239, 247, 255, .88));
  box-shadow: var(--shadow-hard);
}

.command-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--accent));
}

.panel-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 10px;
  border: 1px solid rgba(8, 121, 91, .18);
  border-radius: var(--radius);
  color: var(--success);
  background: var(--success-soft);
  font-size: 13px;
  font-weight: 850;
}

.panel-status span,
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
}

.panel-status span {
  box-shadow: 0 0 0 5px rgba(8, 121, 91, .12);
}

.system-visual {
  display: block;
  width: min(100%, 520px);
  margin: 0 auto 20px;
  filter: drop-shadow(0 18px 28px rgba(7, 20, 39, .12));
}

.command-panel dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 20px 0 0;
}

.command-panel dl div {
  padding: 14px;
  border: 1px solid rgba(213, 224, 236, .86);
  border-radius: var(--radius);
  background: #fff;
}

.command-panel dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.command-panel dd {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 21px;
  font-weight: 900;
}

.system-grid,
.card-grid,
.agent-grid,
.case-grid,
.agent-preview,
.case-stack,
.control-list,
.department-list,
.ownership-panel,
.ownership-chain,
.ownership-summary,
.service-intel {
  display: grid;
  gap: 18px;
}

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

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

.card-grid.three,
.case-grid,
.agent-grid,
.service-intel {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.agent-card,
.case-card,
.status-card,
.control-list article {
  padding: 24px;
}

.card,
.agent-card,
.case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    border-color .2s ease,
    background-color .2s ease;
}

.card::before,
.agent-card::before,
.case-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  transform: scaleX(.22);
  transform-origin: left;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: transform .2s ease;
}

.card .text-link,
.agent-card .text-link,
.case-card .text-link {
  margin-top: auto;
}

.status-card {
  position: relative;
  box-shadow: none;
  background: linear-gradient(180deg, #fff, rgba(243, 248, 253, .9));
}

.status-card .status-dot {
  display: block;
  margin-bottom: 17px;
  color: var(--accent);
  box-shadow: 0 0 0 7px rgba(7, 166, 194, .1);
}

.card p,
.agent-card p,
.case-card p,
.status-card p,
.process-board p,
.control-list p,
.department-list p,
.ops-band p,
.service-intel p,
.contact-note p,
.step-meta dd {
  color: var(--muted);
}

.card-tag,
.agent-card-top span,
.control-list span,
.department-list span,
.service-intel span,
.contact-note span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 6px 10px;
  border: 1px solid rgba(11, 92, 173, .14);
  border-radius: var(--radius);
  color: var(--primary-dark);
  background: var(--primary-soft);
  font-size: 12px;
  font-weight: 850;
}

.card:hover,
.agent-card:hover,
.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(7, 166, 194, .38);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.card:hover::before,
.agent-card:hover::before,
.case-card:hover::before {
  transform: scaleX(1);
}

.card:focus-within,
.agent-card:focus-within,
.case-card:focus-within {
  border-color: rgba(7, 166, 194, .48);
  box-shadow: 0 0 0 4px rgba(7, 166, 194, .1), var(--shadow-card);
}

.agent-row,
.agent-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.agent-row {
  min-height: 78px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 12px 32px rgba(7, 20, 39, .06);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.agent-row:hover {
  transform: translateX(4px);
  border-color: rgba(7, 166, 194, .34);
  box-shadow: var(--shadow-soft);
}

.agent-row h3,
.agent-row p {
  margin-bottom: 0;
}

.avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(135deg, var(--primary-dark), var(--primary) 60%, var(--accent));
  box-shadow: 0 13px 24px rgba(11, 92, 173, .22);
  font-weight: 900;
}

.agent-card-top {
  justify-content: space-between;
  margin-bottom: 16px;
}

.agent-role {
  color: var(--primary-dark);
  font-weight: 850;
}

.agent-specialism {
  margin-bottom: 10px;
  color: var(--ink);
  font-weight: 800;
}

.timeline.mini {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.timeline.mini article {
  position: relative;
  padding: 22px 14px 0;
  border-top: 3px solid var(--primary);
}

.timeline.mini article::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  width: 13px;
  height: 13px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 18px rgba(7, 166, 194, .26);
}

.process-board {
  display: grid;
  gap: 14px;
}

.process-board article {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
  box-shadow: none;
  transition: border-color .18s ease, background-color .18s ease;
}

.process-board article:hover {
  border-color: rgba(11, 92, 173, .34);
  background: #fff;
}

.process-board article > span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--ink), var(--primary-dark));
  font-weight: 900;
}

.ops-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
  gap: 28px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ops-list {
  display: grid;
  gap: 10px;
}

.ops-list span {
  display: block;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #34465c;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 10px 24px rgba(7, 20, 39, .05);
  font-weight: 800;
}

.case-result {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.case-result span,
.result-status,
.privacy-note,
.privacy-under-cta,
.field-help {
  color: var(--muted);
  font-size: 14px;
}

.case-result strong {
  display: block;
  margin-top: 4px;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(230px, 320px) minmax(0, 1fr) max-content;
  gap: 14px;
  align-items: end;
  margin-bottom: 18px;
  padding: 18px;
  box-shadow: none;
  background: rgba(255, 255, 255, .82);
}

.filter-search {
  display: grid;
  gap: 7px;
}

.filter-search input {
  margin-top: 7px;
}

.filter-search label,
.field label {
  color: #34465c;
  font-weight: 850;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.chip,
.reset-filter {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 12px;
  color: #34465c;
  background: #fff;
  font-weight: 780;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.chip:hover,
.reset-filter:hover {
  border-color: var(--line-strong);
  box-shadow: 0 10px 22px rgba(7, 20, 39, .07);
}

.reset-filter {
  justify-self: end;
  white-space: nowrap;
}

.chip.active {
  color: #fff;
  border-color: var(--primary-dark);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  box-shadow: inset 0 -3px 0 rgba(255, 255, 255, .18), 0 10px 22px rgba(11, 92, 173, .18);
}

.result-status {
  margin: 0 0 14px;
  font-weight: 800;
}

.empty-state {
  padding: 28px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  text-align: center;
  background: rgba(255, 255, 255, .82);
}

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

.faq-item {
  overflow: hidden;
  box-shadow: none;
  background: rgba(255, 255, 255, .84);
}

.faq-question {
  width: 100%;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  padding: 17px 18px;
  color: var(--ink);
  background: transparent;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.faq-question:hover {
  background: var(--surface-blue);
}

.faq-question span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--primary-dark);
  background: #fff;
}

.faq-question[aria-expanded="true"] span {
  color: #fff;
  border-color: var(--primary);
  background: var(--primary);
  font-size: 0;
}

.faq-question[aria-expanded="true"] span::before {
  content: "-";
  font-size: 16px;
}

.faq-answer {
  padding: 0 18px 18px;
}

.contact {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 36px;
  align-items: start;
}

.contact-intro {
  position: sticky;
  top: 102px;
}

.check-list {
  padding-left: 18px;
  color: var(--muted);
}

.check-list li + li {
  margin-top: 8px;
}

form[data-contact-form] {
  display: grid;
  gap: 16px;
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(246, 250, 254, .92));
  box-shadow: var(--shadow-card);
}

.field {
  display: grid;
  gap: 7px;
}

.field label span {
  color: var(--muted);
  font-weight: 650;
}

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

.consent-field {
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
}

.consent-field input {
  width: 20px;
  min-height: 20px;
  margin-top: 2px;
}

.consent-field .field-help,
.consent-field .field-error {
  grid-column: 2;
}

input,
textarea,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #c5d2e2;
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(7, 20, 39, .03);
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

textarea {
  min-height: 152px;
  resize: vertical;
}

input:hover,
textarea:hover,
select:hover {
  border-color: var(--line-strong);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(7, 166, 194, .14);
  outline: none;
}

[aria-invalid="true"] {
  border-color: var(--danger);
}

.form-status:empty {
  display: none;
}

.notice {
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-weight: 800;
}

.notice.success {
  color: #03543f;
  border: 1px solid #abefc6;
  background: #ecfdf3;
}

.notice.idle {
  color: #34465c;
  border: 1px solid var(--line);
  background: #f7fbff;
}

.notice.loading {
  color: #075985;
  border: 1px solid #bae6fd;
  background: #f0f9ff;
}

.notice.error,
.field-error {
  color: var(--danger);
  border: 1px solid #fecdca;
  background: #fff1f0;
}

form[data-contact-form][data-state="success"] {
  border-color: #abefc6;
  background: linear-gradient(180deg, #ffffff 0%, #f4fdf7 100%);
}

form[data-contact-form][data-state="invalid"],
form[data-contact-form][data-state="error"] {
  border-color: #fda29b;
}

form[data-contact-form][data-state="loading"] {
  border-color: #7dd3fc;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.field-error {
  margin: 0;
  padding: 8px 10px;
  border-radius: var(--radius);
  font-size: 14px;
}

form[data-contact-form][data-state="loading"] {
  cursor: progress;
}

button[disabled],
form[data-contact-form][data-state="loading"] button[type="submit"] {
  opacity: .68;
  cursor: wait;
}

.privacy-under-cta {
  margin: -4px 0 0;
}

.final-cta {
  display: grid;
  justify-items: start;
  border-top: 1px solid var(--line);
}

.final-cta p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.site-footer {
  width: min(100% - 48px, var(--container));
  display: grid;
  grid-template-columns: 1fr auto 280px;
  gap: 30px;
  margin: 20px auto 0;
  padding: 36px 0 50px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-brand {
  margin-bottom: 8px;
}

.footer-nav {
  display: grid;
  gap: 8px;
}

.footer-nav a {
  color: #475a70;
  font-weight: 750;
  text-decoration: none;
  transition: color .18s ease;
}

.footer-nav a:hover {
  color: var(--primary);
}

.footer-cta p {
  margin-bottom: 10px;
  color: var(--ink);
  font-weight: 850;
}

.department-list article {
  display: grid;
  gap: 5px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.department-list small {
  color: var(--muted);
  font-weight: 700;
}

.ownership-panel {
  gap: 22px;
}

.ownership-chain {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ownership;
}

.ownership-chain li {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 14px 34px rgba(7, 20, 39, .07);
}

.ownership-chain li + li::before {
  content: "";
  position: absolute;
  left: 48px;
  top: -18px;
  width: 2px;
  height: 18px;
  background: var(--line-strong);
}

.ownership-number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  font-weight: 900;
}

.ownership-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  padding: 5px 9px;
  border: 1px solid rgba(7, 166, 194, .2);
  border-radius: var(--radius);
  color: var(--primary-dark);
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 900;
}

.ownership-chain h3,
.ownership-chain p {
  margin-bottom: 8px;
}

.ownership-chain p,
.ownership-summary p {
  color: var(--muted);
}

.ownership-chain strong {
  color: var(--ink);
  font-size: 14px;
}

.ownership-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ownership-summary article {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid rgba(213, 224, 236, .9);
  border-radius: var(--radius);
  background: rgba(240, 247, 255, .72);
}

.ownership-summary span {
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ownership-summary strong {
  line-height: 1.35;
}

.ownership-summary p {
  margin-bottom: 0;
  font-size: 14px;
}

.service-intel article,
.contact-note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 21px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 14px 36px rgba(7, 20, 39, .07);
}

.service-intel h2 {
  font-size: 22px;
}

.contact-note {
  margin-top: 22px;
}

.contact-note p {
  margin-bottom: 0;
}

.step-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 0;
}

.step-meta div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: #fff;
}

.step-meta dt,
.step-meta dd {
  margin: 0;
}

.step-meta dt {
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.step-meta dd {
  margin-top: 3px;
  font-weight: 800;
}

.filter-panel:focus-within,
form[data-contact-form]:focus-within {
  border-color: rgba(7, 166, 194, .48);
  box-shadow: 0 0 0 4px rgba(7, 166, 194, .1), var(--shadow-card);
}

@media (max-width: 1100px) {
  :root {
    --section: 66px;
  }

  .site-header {
    min-height: 68px;
    padding-inline: 18px;
  }

  .section:nth-of-type(even):not(.hero):not(.page-hero)::before {
    inset: 18px -14px;
  }

  .menu-toggle {
    display: block;
  }

  .menu-scrim {
    inset: 68px 0 0;
  }

  .nav-shell {
    position: fixed;
    inset: 68px 0 0;
    z-index: 60;
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    padding: 18px 16px 28px;
    border-top: 1px solid var(--line);
    background: rgba(248, 252, 255, .98);
    box-shadow: 0 32px 80px rgba(7, 20, 39, .18);
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .2s ease, transform .2s ease;
  }

  .nav-shell.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu-scrim:not([hidden]) {
    display: block;
  }

  .primary-nav {
    display: grid;
    gap: 6px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .primary-nav a,
  .nav-cta {
    width: 100%;
    min-height: 52px;
    justify-content: flex-start;
    padding-inline: 14px;
  }

  .primary-nav a::after {
    left: 14px;
    right: auto;
    width: 42px;
  }

  .hero,
  .split,
  .split.reverse,
  .contact,
  .ops-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  h1 {
    font-size: 50px;
    line-height: 1.03;
  }

  .contact-intro {
    position: static;
  }

  .system-grid,
  .card-grid.three,
  .case-grid,
  .agent-grid,
  .timeline.mini,
  .service-intel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-panel {
    grid-template-columns: minmax(0, 1fr) max-content;
    align-items: stretch;
  }

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

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  :root {
    --section: 54px;
  }

  .site-header {
    min-height: 66px;
    padding: 10px 16px;
  }

  .menu-scrim {
    inset: 66px 0 0;
  }

  .nav-shell {
    inset: 66px 0 0;
  }

  .section {
    width: min(100% - 32px, var(--container));
    scroll-margin-top: 82px;
  }

  .section:nth-of-type(even):not(.hero):not(.page-hero)::before {
    inset: 14px -12px;
  }

  .hero {
    padding-top: 42px;
    gap: 34px;
  }

  .page-hero {
    padding-top: 52px;
  }

  h1 {
    font-size: 40px;
    line-height: 1.06;
  }

  h2 {
    font-size: 28px;
  }

  .lead {
    font-size: 18px;
  }

  .section-heading {
    display: block;
  }

  .system-grid,
  .card-grid,
  .card-grid.three,
  .case-grid,
  .agent-grid,
  .timeline.mini,
  .two-column,
  .command-panel dl,
  .service-intel,
  .ownership-summary,
  .step-meta {
    grid-template-columns: 1fr;
  }

  .process-board article {
    grid-template-columns: 1fr;
  }

  .actions {
    display: grid;
  }

  .button,
  .reset-filter {
    width: 100%;
  }

  .filter-chips {
    display: flex;
    flex-wrap: wrap;
  }

  .chip {
    flex: 1 1 auto;
    min-width: min(100%, 128px);
  }

  .filter-panel {
    grid-template-columns: 1fr;
  }

  .reset-filter {
    justify-self: stretch;
  }

  .ops-list span,
  .department-list article,
  .ownership-chain li,
  .ownership-summary article {
    padding: 13px;
  }

  .site-footer {
    width: min(100% - 32px, var(--container));
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 26px;
  }

  .brand span:last-child {
    max-width: 178px;
  }

  .card,
  .agent-card,
  .case-card,
  .status-card,
  form[data-contact-form] {
    padding: 19px;
  }
}

@media (max-width: 360px) {
  .brand span:last-child {
    max-width: 142px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .section {
    transform: none;
  }
}
