:root {
  --deep: #173a63;
  --blue: #2f65b0;
  --sky: #4b9bc9;
  --teal: #3d9a9d;
  --green: #86b63f;
  --amber: #d6942b;
  --coral: #c8664d;
  --ink: #172332;
  --muted: #637383;
  --line: #dbe7ef;
  --paper: #ffffff;
  --soft: #f4f9fb;
  --soft-green: #eef7ed;
  --footer: #102a42;
  --shadow: 0 20px 50px rgba(23, 58, 99, .12);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.65;
}

body.modal-open,
body.home-modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

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

.section-pad {
  padding: 88px 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: #000;
  background: #fff;
  border: 1px solid #000;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(219, 231, 239, .9);
  backdrop-filter: blur(14px);
}

.top-strip {
  background: linear-gradient(90deg, var(--deep), var(--blue));
  color: #fff;
  font-size: 13px;
}

.strip-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav {
  min-height: 98px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
}

.brand {
  width: 390px;
  min-width: 240px;
}

.brand img {
  width: 100%;
  max-height: 78px;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #29445e;
  font-size: 15px;
}

.nav-links a {
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--blue);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
}

.nav-cta {
  color: #fff;
  background: var(--green);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--deep);
}

/* Homepage hero: three-card academic landing area */
.homepage-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #f7fbf9;
}

.homepage-hero.section-pad {
  padding-top: 12px;
  padding-bottom: 42px;
}

.homepage-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("images/fohgi-establishment-ceremony.jpg");
  background-size: cover;
  background-position: center 48%;
  background-repeat: no-repeat;
  filter: saturate(.55) brightness(1.08) contrast(.9);
  pointer-events: none;
}

.homepage-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(248, 252, 253, .9),
      rgba(248, 252, 253, .84),
      rgba(248, 252, 253, .88)
    );
  pointer-events: none;
}

.homepage-hero .container {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 40px));
}

.homepage-hero-head {
  max-width: 680px;
  margin-bottom: 18px;
}

.homepage-hero .reveal {
  transform: none;
}

.homepage-hero-head h1 {
  margin: 0 0 8px;
  color: var(--deep);
  font-size: 36px;
  line-height: 1.18;
  letter-spacing: 0;
}

.homepage-hero-head p:not(.eyebrow) {
  margin: 0;
  color: #526879;
  font-size: 16px;
}

.homepage-card-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.homepage-card {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid rgba(219, 231, 239, .95);
  border-radius: 18px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 18px 48px rgba(23, 58, 99, .09);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.homepage-card:hover,
.homepage-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(75, 155, 201, .45);
  box-shadow: 0 22px 58px rgba(23, 58, 99, .13);
}

.homepage-card-about {
  background: linear-gradient(180deg, rgba(248, 252, 254, .98), rgba(255, 255, 255, .97));
}

.homepage-card-document {
  background: rgba(255, 255, 255, .97);
}

.homepage-card-notice {
  border-color: rgba(134, 182, 63, .34);
  background: linear-gradient(180deg, rgba(251, 253, 248, .98), rgba(255, 255, 255, .97));
}

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

.homepage-card-kicker span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.homepage-card-kicker em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, .76);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.homepage-card h2 {
  margin: 0 0 8px;
  color: var(--deep);
  font-size: 26px;
  line-height: 1.2;
}

.homepage-card-lead {
  margin: 0 0 14px;
  color: #526879;
  line-height: 1.58;
}

.timeline-list {
  position: relative;
  display: grid;
  gap: 8px;
  margin: 4px 0 14px;
  padding-left: 6px;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 10px;
  align-items: start;
  padding: 8px 0 8px 16px;
  border-left: 1px solid rgba(47, 101, 176, .18);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 16px;
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 1px rgba(134, 182, 63, .4);
}

.timeline-item time {
  color: var(--deep);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 900;
}

.timeline-item p {
  margin: 0;
  color: #526879;
  line-height: 1.58;
}

.one-health-note {
  margin: auto 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(61, 154, 157, .22);
  border-radius: 10px;
  color: var(--deep);
  background: rgba(61, 154, 157, .07);
  font-weight: 700;
  line-height: 1.55;
}

.document-preview-button {
  width: 100%;
  flex: 0 0 auto;
  min-height: 300px;
  display: grid;
  place-items: center;
  padding: 12px;
  border: 1px solid #e2ebf1;
  border-radius: 14px;
  background: linear-gradient(180deg, #f7fafc, #ffffff);
  cursor: zoom-in;
}

.document-preview-button img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(23, 58, 99, .12));
}

.document-preview-button:hover,
.document-preview-button:focus-visible {
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(75, 155, 201, .14);
  outline: none;
}

.document-meta,
.notice-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.document-meta {
  margin-top: 8px;
}

.document-meta span,
.notice-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #4f6476;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}

.notice-badges {
  margin-bottom: 14px;
}

.notice-badges span:first-child {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.notice-title-button {
  width: 100%;
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--deep);
  text-align: left;
  font-size: 25px;
  line-height: 1.3;
  font-weight: 900;
  cursor: pointer;
}

.notice-title-button:hover,
.notice-title-button:focus-visible {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 5px;
  outline: none;
}

.notice-action {
  align-self: flex-start;
  margin-top: 8px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(134, 182, 63, .45);
  border-radius: 6px;
  color: var(--deep);
  background: rgba(134, 182, 63, .12);
  font-weight: 900;
  cursor: pointer;
}

.homepage-card-notice .notice-action {
  margin-top: auto;
}

.notice-action:hover,
.notice-action:focus-visible {
  border-color: var(--green);
  background: rgba(134, 182, 63, .2);
  outline: none;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(120deg, rgba(23, 58, 99, .08), rgba(134, 182, 63, .08)),
    linear-gradient(180deg, #f7fbfd, #fff);
}

.hero::before {
  content: "FOHGi";
  position: absolute;
  right: -28px;
  bottom: -64px;
  color: rgba(23, 58, 99, .05);
  font-size: 170px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 62px;
  align-items: center;
}

.eyebrow,
.mini-label {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0 0 22px;
  color: var(--deep);
  font-size: 58px;
  line-height: 1.08;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  margin: 0 0 28px;
  color: #405467;
  font-size: 19px;
}

.hero-actions,
.action-row,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 16px 30px rgba(47, 101, 176, .22);
}

.btn.secondary {
  color: var(--deep);
  background: #fff;
  border-color: var(--line);
}

.btn.small {
  min-height: 36px;
  padding: 0 12px;
  font-size: 14px;
}

.btn:hover,
.btn:focus,
.nav-cta:hover,
.nav-cta:focus {
  transform: translateY(-1px);
}

.hero-highlights,
.contact-tags,
.tag-list,
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.hero-highlights span,
.contact-tags span,
.tag-list span,
.card-meta span,
.state-label {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 255, 255, .82);
  color: #4f6476;
  font-size: 12px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 450px;
  display: grid;
  align-items: center;
  justify-items: center;
}

.hero-logo {
  width: min(420px, 88%);
  padding: 44px;
  border: 1px solid rgba(219, 231, 239, .9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .86);
  box-shadow: var(--shadow);
}

.mission-panel {
  position: absolute;
  right: 8px;
  bottom: 32px;
  width: min(340px, 86%);
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 36px rgba(23, 58, 99, .14);
}

.mission-panel span {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mission-panel p {
  margin: 0;
  color: #405467;
}

.quick-entry {
  background: var(--deep);
  color: #fff;
}

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

.entry-grid a {
  min-height: 132px;
  padding: 24px;
  border-left: 1px solid rgba(255, 255, 255, .14);
}

.entry-grid a:last-child {
  border-right: 1px solid rgba(255, 255, 255, .14);
}

.entry-grid a:hover,
.entry-grid a:focus {
  background: rgba(255, 255, 255, .08);
}

.entry-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 21px;
}

.entry-grid span {
  color: rgba(255, 255, 255, .78);
}

.surveillance-layout,
.contact-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 58px;
  align-items: start;
}

.section-title h2,
.center-title h2,
.contact-copy h2 {
  margin: 0 0 16px;
  color: var(--deep);
  font-size: 42px;
  line-height: 1.16;
  letter-spacing: 0;
}

.section-title p:not(.eyebrow),
.center-title p:not(.eyebrow),
.muted {
  margin: 0;
  color: var(--muted);
}

.metric-grid div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.metric-grid span {
  color: var(--muted);
}

.muted-band {
  background: linear-gradient(180deg, var(--soft), #fff);
}

.resources-band {
  background: linear-gradient(180deg, #f2f8f6, #fff);
}

.title-with-status {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.title-with-status h2 {
  margin-bottom: 0;
}

.resource-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 12px;
  border: 1px solid rgba(61, 154, 157, .24);
  border-radius: 999px;
  color: var(--deep);
  background: rgba(61, 154, 157, .09);
  font-size: 13px;
  font-weight: 900;
}

.resource-status-note {
  margin: 10px 0 0;
  color: #65788a;
  font-size: 15px;
}

.center-title {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.framework-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.framework-card,
.paper-card,
.resource-card,
.news-card,
.dashboard,
.contact-form,
.submission-summary {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(23, 58, 99, .08);
}

.framework-card,
.paper-card,
.resource-card,
.news-card {
  min-height: 280px;
  padding: 24px;
}

.framework-card {
  border-top: 4px solid var(--blue);
}

.framework-card:nth-child(2) {
  border-top-color: var(--green);
}

.framework-card:nth-child(3) {
  border-top-color: var(--teal);
}

.card-index {
  display: block;
  margin-bottom: 18px;
  color: var(--green);
  font-weight: 900;
}

.framework-card h3,
.paper-card h3,
.resource-card h3,
.news-card h3,
.dashboard h3 {
  margin: 0 0 12px;
  color: var(--deep);
  font-size: 23px;
  line-height: 1.3;
}

.framework-card p,
.framework-card li,
.paper-card p,
.resource-card p,
.news-card p {
  color: #536678;
}

.framework-card ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.framework-card li {
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.dashboard {
  padding: 24px;
}

.dashboard-top,
.split-head,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.dashboard-top,
.split-head {
  align-items: flex-end;
  margin-bottom: 24px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.metric-grid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--deep);
}

.tabs,
.segmented {
  display: flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.tab,
.segmented button {
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #536678;
  font-weight: 700;
  cursor: pointer;
}

.tab.active,
.segmented button.active {
  color: var(--blue);
  background: #fff;
  box-shadow: 0 8px 16px rgba(23, 58, 99, .08);
}

.tab-panel {
  display: none;
  padding-top: 18px;
}

.tab-panel.active {
  display: block;
}

.bar-row {
  display: grid;
  grid-template-columns: 110px 1fr 82px;
  gap: 14px;
  align-items: center;
  margin: 15px 0;
  color: #405467;
}

.bar-row i {
  height: 14px;
  border-radius: 4px;
  background: #e7f1f5;
  overflow: hidden;
  position: relative;
}

.bar-row i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--bar);
  border-radius: 4px;
  background: linear-gradient(90deg, var(--sky), var(--green));
}

.bar-row em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.network-map {
  position: relative;
  height: 230px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(23, 58, 99, .06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(23, 58, 99, .06) 1px, transparent 1px),
    linear-gradient(135deg, #f6fbfe, #eef8ee);
  background-size: 40px 40px, 40px 40px, auto;
}

.network-map::before {
  content: "";
  position: absolute;
  left: 18%;
  top: 22%;
  width: 65%;
  height: 48%;
  border: 1px dashed rgba(47, 101, 176, .38);
  transform: rotate(-7deg);
}

.node {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 8px 18px rgba(47, 101, 176, .2);
}

.node-a { left: 20%; top: 28%; }
.node-b { left: 48%; top: 18%; background: var(--green); }
.node-c { left: 72%; top: 56%; background: var(--teal); }
.node-d { left: 34%; top: 68%; background: var(--amber); }
.node-e { left: 54%; top: 48%; background: var(--coral); }

.map-caption {
  margin: 14px 0 0;
  color: var(--muted);
}

.toolbar {
  display: grid;
  grid-template-columns: 160px 250px;
  gap: 12px;
  align-items: end;
}

.toolbar label,
.contact-form label {
  display: block;
  color: var(--deep);
  font-weight: 800;
}

.toolbar span {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
}

.toolbar input,
.toolbar select,
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 42px;
  margin-top: 7px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.toolbar input:focus,
.toolbar select:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(75, 155, 201, .15);
}

.toolbar-disabled {
  opacity: .78;
}

.toolbar input:disabled,
.toolbar select:disabled {
  color: #6c7f90;
  background: #f4f8fa;
  cursor: not-allowed;
}

.toolbar input:disabled::placeholder {
  color: #8a9aa8;
}

.paper-card,
.resource-card {
  display: flex;
  flex-direction: column;
}

.paper-card p,
.resource-card p {
  margin: 0 0 16px;
}

.tag-list {
  margin-top: auto;
  padding-top: 12px;
}

.card-meta {
  margin-bottom: 14px;
}

.card-meta span:first-child {
  color: var(--blue);
  background: #eef6fb;
}

.card-link,
.text-button {
  margin-top: 18px;
  color: var(--blue);
  font-weight: 900;
}

.text-button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.resource-action {
  align-self: flex-start;
  margin-top: 18px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(99, 115, 131, .24);
  border-radius: 6px;
  color: #5f7183;
  background: #f3f7f9;
  font-weight: 900;
}

.resource-action:disabled {
  cursor: not-allowed;
  opacity: .78;
}

.resource-card--closed {
  cursor: default;
}

.resource-card dl {
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
}

.resource-card dt {
  color: var(--muted);
  font-size: 13px;
}

.resource-card dd {
  margin: 0;
  color: var(--ink);
}

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

.news-card:first-child {
  color: #fff;
  background: linear-gradient(135deg, var(--deep), var(--blue));
}

.news-card:first-child h3,
.news-card:first-child p,
.news-card:first-child .text-button {
  color: #fff;
}

.news-card:first-child .card-meta span {
  color: #fff;
  border-color: rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .12);
}

.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: #fff;
}

.contact-section {
  color: #fff;
  background: linear-gradient(120deg, var(--deep), #265e92);
}

.contact-copy h2 {
  color: #fff;
}

.contact-copy p {
  max-width: 620px;
  color: rgba(255, 255, 255, .82);
  font-size: 18px;
}

.contact-tags span {
  color: #fff;
  border-color: rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .08);
}

.contact-form {
  padding: 24px;
  color: var(--ink);
}

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

.contact-form label {
  margin-bottom: 14px;
}

.submission-summary {
  margin-top: 18px;
  padding: 18px;
  box-shadow: none;
}

.submission-summary pre {
  white-space: pre-wrap;
  word-break: break-word;
  margin: 12px 0;
  color: #405467;
  font-family: "Microsoft YaHei", Arial, sans-serif;
}

.site-footer {
  padding: 48px 0 24px;
  color: #d9e7ef;
  background: var(--footer);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1.15fr;
  gap: 42px;
}

.footer-grid img {
  width: 260px;
  margin-bottom: 14px;
  padding: 8px;
  border-radius: 6px;
  background: #fff;
}

.footer-grid h3 {
  margin: 0 0 12px;
  color: #fff;
}

.footer-grid a {
  display: block;
  margin: 6px 0;
  color: #d9e7ef;
}

.footer-grid p {
  margin: 0;
  color: #b6c8d6;
}

.footer-bottom {
  align-items: center;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #b6c8d6;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 26, 42, .6);
}

.modal-panel {
  position: relative;
  width: min(720px, 100%);
  max-height: min(720px, calc(100vh - 40px));
  overflow: auto;
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--deep);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.modal-panel h2 {
  margin: 0 0 16px;
  color: var(--deep);
  font-size: 30px;
  line-height: 1.25;
}

.modal-panel p {
  color: #405467;
}

.modal-summary {
  font-weight: 700;
}

.home-modal[hidden] {
  display: none;
}

.home-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 24px;
}

.home-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 26, 42, .58);
}

.home-modal-panel {
  position: relative;
  width: min(920px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  padding: 30px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .3);
  outline: none;
}

.fohgi-floating-notice {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 80;
  width: min(340px, calc(100vw - 32px));
  display: grid;
  gap: 6px;
  padding: 17px 18px 16px;
  border: 1px solid rgba(219, 231, 239, .96);
  border-left: 4px solid var(--green);
  border-radius: 14px;
  color: var(--deep);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 46px rgba(23, 58, 99, .16);
  text-align: left;
  cursor: pointer;
  will-change: transform;
  backdrop-filter: blur(10px);
}

.fohgi-floating-notice:hover,
.fohgi-floating-notice:focus-visible {
  border-color: rgba(75, 155, 201, .66);
  box-shadow: 0 20px 56px rgba(23, 58, 99, .22);
  outline: none;
}

.fohgi-floating-notice.is-menu-paused {
  z-index: 40;
  pointer-events: none;
  opacity: .36;
}

.fohgi-floating-notice.is-dialog-paused {
  opacity: .5;
}

.fohgi-floating-notice__label {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.fohgi-floating-notice__title {
  color: var(--deep);
  font-size: 16px;
  line-height: 1.38;
  font-weight: 900;
}

.fohgi-floating-notice__hint {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.home-modal-panel.image-modal {
  width: min(980px, 100%);
}

.home-modal-close {
  position: sticky;
  top: 0;
  float: right;
  width: 40px;
  height: 40px;
  margin: -10px -10px 10px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--deep);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  z-index: 1;
}

.home-modal-close:hover,
.home-modal-close:focus-visible {
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(75, 155, 201, .14);
  outline: none;
}

.home-modal-content h2 {
  margin: 0 0 18px;
  color: var(--deep);
  font-size: 30px;
  line-height: 1.25;
}

.letter-modal-figure {
  margin: 0;
}

.letter-modal-figure img {
  width: 100%;
  max-height: calc(100vh - 190px);
  object-fit: contain;
  background: #f7fafc;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.letter-modal-figure figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.notice-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.notice-modal-meta span {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #4f6476;
  background: #f7fafc;
  font-size: 13px;
  font-weight: 800;
}

.notice-section {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.notice-section h3 {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin: 0 0 8px;
  color: var(--deep);
  font-size: 20px;
}

.notice-section h3 span {
  color: var(--green);
  font-size: 17px;
}

.notice-section p {
  margin: 0;
  color: #405467;
}

.contact-lines {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.contact-lines a {
  color: var(--blue);
  word-break: keep-all;
  white-space: nowrap;
}

.notice-alert {
  margin-top: 4px;
  padding: 16px 18px;
  border: 1px solid rgba(134, 182, 63, .42);
  border-left: 4px solid var(--green);
  border-radius: 10px;
  color: var(--deep);
  background: rgba(134, 182, 63, .1);
  font-weight: 800;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 100;
  max-width: min(560px, calc(100% - 32px));
  padding: 12px 16px;
  border-radius: 6px;
  background: var(--deep);
  color: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity .2s ease, transform .2s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

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

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

.delay-1 {
  transition-delay: .08s;
}

.delay-2 {
  transition-delay: .16s;
}

.js.intro-pending .homepage-hero [data-intro-heading],
.js.intro-running .homepage-hero [data-intro-heading] {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 1.1s ease,
    transform 1.1s cubic-bezier(.22, .61, .36, 1);
}

.js.intro-pending .homepage-hero [data-intro-card],
.js.intro-running .homepage-hero [data-intro-card] {
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px);
  transition:
    opacity 1.1s ease,
    transform 1.1s cubic-bezier(.22, .61, .36, 1);
  transition-delay: 0s;
}

.js.intro-running.intro-title-visible .homepage-hero [data-intro-heading],
.js.intro-running.intro-card-1-visible .homepage-hero [data-intro-order="1"],
.js.intro-running.intro-card-2-visible .homepage-hero [data-intro-order="2"],
.js.intro-running.intro-card-3-visible .homepage-hero [data-intro-order="3"],
.js.intro-fallback-visible .homepage-hero .reveal {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 767px) {
  .js.intro-pending .homepage-hero [data-intro-heading],
  .js.intro-running .homepage-hero [data-intro-heading] {
    transform: translateY(8px);
    transition-duration: .9s;
  }

  .js.intro-pending .homepage-hero [data-intro-card],
  .js.intro-running .homepage-hero [data-intro-card] {
    transform: translateY(16px);
    transition-duration: .9s;
  }
}

@media (max-width: 1040px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    min-height: 86px;
  }

  .brand {
    width: 285px;
    min-width: 0;
  }

  .brand img {
    max-height: 62px;
  }

  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 120px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
  }

  .nav-cta {
    justify-content: center;
  }

  .hero-grid,
  .surveillance-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-visual {
    min-height: 390px;
  }

  .homepage-hero.section-pad {
    padding-top: 10px;
    padding-bottom: 42px;
  }

  .homepage-hero::before {
    background-position: center center;
    filter: saturate(.46) brightness(1.12) contrast(.88);
  }

  .homepage-hero::after {
    background:
      linear-gradient(
        90deg,
        rgba(248, 252, 253, .92),
        rgba(248, 252, 253, .88),
        rgba(248, 252, 253, .91)
      );
  }

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

  .homepage-card-notice {
    grid-column: 1 / -1;
    min-height: 0;
  }

  .entry-grid,
  .framework-grid,
  .card-grid,
  .news-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .news-card:first-child {
    grid-column: 1 / -1;
  }

  .split-head,
  .dashboard-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .toolbar {
    width: 100%;
    grid-template-columns: 1fr 1.3fr;
  }
}

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

  .section-pad {
    padding: 62px 0;
  }

  .strip-inner {
    justify-content: center;
  }

  .strip-inner span:last-child {
    display: none;
  }

  .nav {
    min-height: 78px;
  }

  .brand {
    width: 212px;
  }

  .brand img {
    max-height: 50px;
  }

  .nav-links {
    top: 112px;
    left: 14px;
    right: 14px;
  }

  .homepage-hero.section-pad {
    padding-top: 8px;
    padding-bottom: 40px;
  }

  .homepage-hero::before {
    background-position: center center;
    filter: saturate(.34) brightness(1.15) contrast(.86);
  }

  .homepage-hero::after {
    background: rgba(250, 253, 253, .94);
  }

  .hero h1 {
    font-size: 36px;
  }

  .lead,
  .contact-copy p {
    font-size: 16px;
  }

  .hero-logo {
    width: 92%;
    padding: 28px;
  }

  .mission-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: 94%;
    margin-top: -36px;
  }

  .entry-grid,
  .homepage-card-grid,
  .framework-grid,
  .card-grid,
  .news-grid,
  .footer-grid,
  .metric-grid,
  .form-grid,
  .toolbar {
    grid-template-columns: 1fr;
  }

  .entry-grid a,
  .entry-grid a:last-child {
    border-right: 1px solid rgba(255, 255, 255, .14);
  }

  .section-title h2,
  .center-title h2,
  .contact-copy h2 {
    font-size: 32px;
  }

  .homepage-hero .container {
    width: min(100% - 28px, 1280px);
  }

  .homepage-hero-head h1 {
    font-size: 29px;
  }

  .homepage-card {
    height: auto;
    min-height: auto;
    padding: 20px;
    border-radius: 14px;
  }

  .homepage-card-notice .notice-action {
    margin-top: 8px;
  }

  .timeline-item {
    grid-template-columns: 62px 1fr;
    gap: 10px;
  }

  .document-preview-button {
    min-height: 280px;
    padding: 12px;
  }

  .document-preview-button img {
    max-height: 330px;
  }

  .notice-title-button {
    font-size: 23px;
  }

  .fohgi-floating-notice {
    width: min(270px, calc(100vw - 28px));
    padding: 14px 15px 13px;
    border-radius: 12px;
  }

  .fohgi-floating-notice__title {
    font-size: 14px;
    line-height: 1.42;
  }

  .fohgi-floating-notice__hint {
    font-size: 12px;
  }

  .home-modal {
    padding: 14px;
  }

  .home-modal-panel {
    width: 100%;
    max-height: calc(100vh - 28px);
    padding: 22px;
    border-radius: 14px;
  }

  .home-modal-content h2 {
    padding-right: 34px;
    font-size: 24px;
  }

  .letter-modal-figure img {
    max-height: calc(100vh - 180px);
  }

  .tabs,
  .segmented {
    overflow-x: auto;
  }

  .tab,
  .segmented button {
    flex: 0 0 auto;
  }

  .bar-row {
    grid-template-columns: 92px 1fr;
  }

  .bar-row em {
    grid-column: 2;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .homepage-card:hover,
  .homepage-card:focus-within,
  .btn:hover,
  .btn:focus,
  .nav-cta:hover,
  .nav-cta:focus {
    transform: none;
  }

  .fohgi-floating-notice {
    transform: none !important;
    will-change: auto;
  }

  .js.intro-pending .homepage-hero [data-intro-heading],
  .js.intro-running .homepage-hero [data-intro-heading],
  .js.intro-pending .homepage-hero [data-intro-card],
  .js.intro-running .homepage-hero [data-intro-card],
  .js.intro-fallback-visible .homepage-hero .reveal {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    transition: none !important;
  }
}
