:root {
  color-scheme: dark;
  --ink: #061923;
  --ink-soft: #0b2f3d;
  --ink-raised: #103d4c;
  --cyan: #29c8d9;
  --cyan-soft: #a5eef3;
  --paper: #e7f1f3;
  --mist: #b9cdd2;
  --muted: #86a2aa;
  --gold: #d7b77a;
  --line: rgba(165, 238, 243, 0.2);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  --serif: "Noto Serif SC", "Songti SC", STSong, serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--paper);
  font-family: var(--sans);
  background:
    radial-gradient(circle at 82% 4%, rgba(41, 200, 217, 0.13), transparent 31rem),
    linear-gradient(180deg, #071d27 0, var(--ink) 42rem);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(165, 238, 243, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(165, 238, 243, 0.04) 1px, transparent 1px);
  background-size: 46px 46px;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

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

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 50;
  padding: 0.75rem 1rem;
  color: var(--ink);
  background: var(--paper);
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 25, 35, 0.94);
  backdrop-filter: blur(18px);
}

.header-inner,
.page-shell,
.site-footer-inner {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.brand-title {
  display: block;
  font: 650 1.08rem/1.15 var(--serif);
  letter-spacing: 0.08em;
}

.brand-subtitle {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font: 0.64rem/1 var(--mono);
  letter-spacing: 0.14em;
}

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

.site-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0.7rem 0.85rem;
  color: var(--mist);
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--cyan-soft);
  border-color: var(--line);
  background: rgba(41, 200, 217, 0.06);
}

main:focus {
  outline: none;
}

.page-shell {
  padding-block: 4.5rem 6rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(260px, 3fr);
  min-height: 560px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 5.5rem);
  background:
    linear-gradient(135deg, rgba(16, 61, 76, 0.9), rgba(6, 25, 35, 0.95)),
    var(--ink-soft);
}

.hero-copy::after {
  position: absolute;
  right: -9rem;
  bottom: -13rem;
  width: 28rem;
  height: 28rem;
  content: "";
  border: 1px solid rgba(41, 200, 217, 0.23);
  border-radius: 50%;
  box-shadow:
    0 0 0 3rem rgba(41, 200, 217, 0.03),
    0 0 0 6rem rgba(41, 200, 217, 0.02);
}

.eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 1rem;
  color: var(--cyan);
  font: 0.72rem/1.4 var(--mono);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 650;
}

h1 {
  position: relative;
  z-index: 1;
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.7rem, 7vw, 5.7rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-lead {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  margin: 1.6rem 0 0;
  color: var(--mist);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.9;
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.15rem;
  font-weight: 650;
  text-decoration: none;
}

.primary-link {
  color: var(--ink);
  background: var(--cyan);
}

.secondary-link {
  color: var(--cyan-soft);
  border: 1px solid rgba(41, 200, 217, 0.52);
}

.hero-status {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  background: #081f2a;
}

.status-cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 150px;
  padding: 2rem;
  border-bottom: 1px solid var(--line);
}

.status-cell:last-child {
  border-bottom: 0;
}

.status-cell span {
  color: var(--muted);
  font: 0.68rem/1.4 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-cell strong {
  margin-top: 0.7rem;
  color: var(--paper);
  font: 650 1.15rem/1.55 var(--serif);
}

.status-cell strong.safe {
  color: var(--cyan-soft);
}

.review-warning {
  margin: 1rem 0 0;
  padding: 0.8rem 1rem;
  color: #ffe9bd;
  border: 1px solid rgba(215, 183, 122, 0.5);
  background: rgba(215, 183, 122, 0.09);
  font-size: 0.84rem;
  line-height: 1.6;
}

.review-warning:empty {
  display: none;
}

.section {
  margin-top: 7rem;
  scroll-margin-top: 7rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(260px, 2fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.2rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}

.section-heading h2,
.content-header h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.section-heading p,
.content-header .lede {
  margin: 0;
  color: var(--mist);
  line-height: 1.8;
}

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

.capability-card,
.guide-card,
.notice-panel,
.contact-panel {
  border: 1px solid var(--line);
  background: rgba(11, 47, 61, 0.56);
}

.capability-card {
  min-height: 270px;
  padding: 1.7rem;
}

.card-index {
  color: var(--cyan);
  font: 0.75rem/1 var(--mono);
}

.capability-card h3 {
  margin: 3.6rem 0 0.9rem;
  font-size: 1.45rem;
}

.capability-card p {
  margin: 0;
  color: var(--mist);
  line-height: 1.75;
}

.capability-card small {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--gold);
  font: 0.72rem/1.4 var(--mono);
  letter-spacing: 0.06em;
}

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

.work-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #081f2a;
}

.work-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.work-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.6rem;
}

.work-copy .label {
  color: var(--cyan);
  font: 0.7rem/1.4 var(--mono);
  letter-spacing: 0.09em;
}

.work-copy h3 {
  margin: 0.8rem 0;
  font-size: 1.65rem;
}

.work-copy p {
  margin: 0;
  color: var(--mist);
  line-height: 1.75;
}

.work-copy footer {
  margin-top: 2rem;
  padding-top: 1rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  line-height: 1.6;
}

.notice-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.6rem, 4vw, 3rem);
  border-left: 4px solid var(--gold);
}

.notice-panel h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
}

.notice-panel p {
  max-width: 48rem;
  margin: 1rem 0 0;
  color: var(--mist);
  line-height: 1.8;
}

.closed-mark {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 0.8rem 1rem;
  color: var(--gold);
  border: 1px solid rgba(215, 183, 122, 0.45);
  font: 0.72rem/1.4 var(--mono);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.guide-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.guide-card,
.contact-panel {
  padding: clamp(1.5rem, 4vw, 2.7rem);
}

.guide-card h3,
.contact-panel h2 {
  margin: 0;
  font-size: 1.7rem;
}

.guide-card p,
.contact-panel p {
  color: var(--mist);
  line-height: 1.8;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--cyan-soft);
  font-weight: 650;
}

.contact-value {
  display: block;
  margin-top: 1rem;
  color: var(--paper);
  font: 650 1.05rem/1.6 var(--serif);
}

.contact-note {
  color: var(--gold);
  font-size: 0.82rem;
}

.content-header {
  max-width: 900px;
  padding: 2rem 0 3rem;
  border-bottom: 1px solid var(--line);
}

.content-header .lede {
  max-width: 760px;
  margin-top: 1.2rem;
  font-size: 1.05rem;
}

.prose {
  max-width: 860px;
  margin-top: 3.5rem;
}

.prose section {
  margin-top: 3rem;
  scroll-margin-top: 7rem;
}

.prose h2 {
  margin: 0 0 1rem;
  font-size: 1.75rem;
}

.prose h3 {
  margin: 1.8rem 0 0.7rem;
  font-size: 1.2rem;
}

.prose p,
.prose li {
  color: var(--mist);
  line-height: 1.9;
}

.prose ul,
.prose ol {
  padding-left: 1.4rem;
}

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

.scope-table {
  width: 100%;
  margin-top: 1.5rem;
  border-collapse: collapse;
}

.scope-table th,
.scope-table td {
  padding: 1rem;
  color: var(--mist);
  text-align: left;
  vertical-align: top;
  border: 1px solid var(--line);
  line-height: 1.65;
}

.scope-table th {
  color: var(--paper);
  background: rgba(11, 47, 61, 0.7);
}

.error-shell {
  display: grid;
  min-height: 64vh;
  place-items: center;
  text-align: center;
}

.error-shell .eyebrow {
  margin-bottom: 1.2rem;
}

.error-shell h1 {
  max-width: none;
  font-size: clamp(3rem, 10vw, 7rem);
}

.error-shell p {
  max-width: 34rem;
  margin: 1.2rem auto 2rem;
  color: var(--mist);
  line-height: 1.8;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #04151d;
}

.site-footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.4rem 3rem;
  align-items: end;
  padding-block: 2.5rem;
}

.footer-brand {
  margin: 0;
  font: 650 1.05rem/1.5 var(--serif);
}

.footer-copy,
.filing-line {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem 1.2rem;
}

.footer-links a,
.filing-line a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.public-security-filing:empty {
  display: none;
}

@media (max-width: 960px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.7rem;
    padding-block: 0.75rem;
  }

  .site-nav {
    width: 100%;
    margin-left: 0;
    overflow-x: auto;
  }

  .site-nav a {
    flex: 0 0 auto;
  }

  .hero,
  .section-heading,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .hero-status {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: none;
  }

  .status-cell {
    min-height: 130px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .status-cell:last-child {
    border-right: 0;
  }

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

  .capability-card {
    min-height: 0;
  }

  .capability-card h3 {
    margin-top: 2rem;
  }

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

  .work-card img {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
}

@media (max-width: 700px) {
  .header-inner,
  .page-shell,
  .site-footer-inner {
    width: min(100% - 28px, 1180px);
  }

  .page-shell {
    padding-block: 2rem 4rem;
  }

  .hero {
    min-height: 0;
  }

  .hero-copy {
    padding: 2rem 1.3rem 3rem;
  }

  h1 {
    font-size: clamp(2.55rem, 17vw, 4.5rem);
  }

  .hero-status,
  .work-grid,
  .notice-panel,
  .site-footer-inner {
    grid-template-columns: 1fr;
  }

  .status-cell {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    margin-top: 4.8rem;
  }

  .section-heading {
    gap: 1rem;
  }

  .work-grid {
    gap: 1rem;
  }

  .notice-panel {
    gap: 1.4rem;
  }

  .closed-mark {
    white-space: normal;
  }

  .scope-table,
  .scope-table tbody,
  .scope-table tr,
  .scope-table th,
  .scope-table td {
    display: block;
    width: 100%;
  }

  .scope-table tr + tr {
    margin-top: 1rem;
  }

  .scope-table th,
  .scope-table td {
    border-bottom: 0;
  }

  .scope-table tr > :last-child {
    border-bottom: 1px solid var(--line);
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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