:root {
  --ink: #12202b;
  --muted: #5f6d77;
  --navy: #07182b;
  --navy-2: #102a43;
  --blue: #2563eb;
  --teal: #0f9f8f;
  --green: #23875c;
  --coral: #e06a4d;
  --paper: #ffffff;
  --soft: #f4f7f8;
  --line: #dce4e8;
  --max-width: 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", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  background: #ffffff;
  color: var(--navy);
  border-radius: 4px;
  transform: translateY(-150%);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: #ffffff;
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.compact-header {
  background: rgba(7, 24, 43, 0.98);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
}

.header-inner {
  width: min(calc(100% - 48px), var(--max-width));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand strong {
  font-size: 18px;
}

.brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
}

.site-nav,
.legal-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a,
.legal-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.legal-nav a:hover,
.legal-nav a:focus-visible {
  color: #ffffff;
}

.admin-link {
  min-height: 38px;
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: transparent;
  border: 0;
}

.menu-line {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: #ffffff;
}

.hero {
  position: relative;
  height: 82vh;
  min-height: 660px;
  max-height: 820px;
  overflow: hidden;
  background: var(--navy);
  color: #ffffff;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(2, 12, 24, 0.16);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  padding-top: 158px;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #b7e8df;
  font-size: 14px;
  font-weight: 700;
}

.hero-brand img {
  width: 54px;
  height: 54px;
  border-radius: 8px;
}

.hero h1 {
  max-width: 560px;
  margin: 26px 0 0;
  font-size: 58px;
  line-height: 1.08;
}

.hero-lead {
  max-width: 560px;
  margin: 18px 0 0;
  font-size: 25px;
  font-weight: 700;
}

.hero-copy {
  max-width: 560px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.primary-button,
.secondary-button,
.outline-button {
  min-height: 46px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

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

.secondary-button {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(7, 24, 43, 0.4);
}

.outline-button {
  color: var(--navy);
  border-color: #9dafb9;
  background: transparent;
}

.primary-button:hover,
.primary-button:focus-visible {
  background: #dff8f2;
}

.secondary-button:hover,
.secondary-button:focus-visible {
  border-color: #ffffff;
  background: rgba(7, 24, 43, 0.7);
}

.hero-summary {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 104px;
  padding: 0 max(24px, calc((100% - var(--max-width)) / 2));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  background: rgba(7, 24, 43, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-summary div {
  min-width: 0;
  padding: 18px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-summary div:first-child {
  padding-left: 0;
}

.hero-summary div:last-child {
  border-right: 0;
}

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

.hero-summary strong {
  font-size: 16px;
}

.hero-summary span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
}

.section {
  padding: 92px 0;
}

.section-inner {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.section-heading h2,
.contact-strip h2,
.security-copy h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.28;
}

.intro-section {
  background: #ffffff;
}

.intro-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 88px;
  align-items: start;
}

.intro-copy {
  color: var(--muted);
  font-size: 17px;
}

.intro-copy p {
  margin: 0 0 18px;
}

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

.horizontal-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
}

.horizontal-heading > p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.service-card {
  position: relative;
  min-height: 330px;
  padding: 34px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--blue);
}

.service-card.accent-green::before {
  background: var(--green);
}

.service-card.accent-coral::before {
  background: var(--coral);
}

.service-card.accent-ink::before {
  background: var(--navy-2);
}

.service-number {
  color: #8ba0ad;
  font-size: 13px;
  font-weight: 800;
}

.service-card h3 {
  margin: 22px 0 10px;
  font-size: 23px;
}

.service-card p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.service-card ul {
  margin: 24px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 16px;
  color: #344955;
  font-size: 14px;
}

.service-card li + li {
  margin-top: 7px;
}

.service-card li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

.process-section {
  background: #ffffff;
}

.process-heading {
  max-width: 680px;
}

.process-heading > p {
  margin: 18px 0 0;
  color: var(--muted);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 50px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-list li {
  min-height: 230px;
  padding: 30px 26px;
  border-right: 1px solid var(--line);
}

.process-list li:last-child {
  border-right: 0;
}

.step-index {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border: 1px solid #aabac2;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.process-list h3 {
  margin: 24px 0 8px;
  font-size: 18px;
}

.process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

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

.security-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: center;
}

.light-eyebrow {
  color: #6fe0cc;
}

.security-copy p {
  max-width: 510px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.text-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 26px;
  font-weight: 700;
}

.light-link {
  color: #91ebd9;
}

.security-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.security-points div {
  min-height: 150px;
  padding: 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.security-points strong,
.security-points span {
  display: block;
}

.security-points strong {
  font-size: 17px;
}

.security-points span {
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.scope-section {
  background: #ffffff;
}

.scope-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.scope-table {
  border-top: 2px solid var(--navy);
}

.scope-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 20px 8px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.scope-row strong {
  color: var(--ink);
}

.scope-head {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.contact-strip {
  padding: 74px 0;
  background: #eaf4f1;
  border-top: 1px solid #cfe3dd;
}

.contact-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.contact-strip p {
  margin: 14px 0 0;
  color: var(--muted);
}

.contact-actions {
  display: flex;
  gap: 12px;
  flex: none;
}

.contact-strip .primary-button {
  background: var(--navy);
  color: #ffffff;
}

.site-footer {
  padding: 44px 0 28px;
  background: #08131f;
  color: #ffffff;
}

.footer-inner {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 28px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.copyright {
  margin: 28px 0 0;
  padding-top: 20px;
  color: rgba(255, 255, 255, 0.42);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
}

.legal-page {
  background: var(--soft);
}

.compact-header {
  position: static;
}

.legal-main,
.contact-main {
  width: min(calc(100% - 48px), 920px);
  margin: 0 auto;
  padding: 64px 0 92px;
}

.legal-article {
  padding: 54px 62px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-title {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.legal-title h1,
.contact-hero h1 {
  margin: 0;
  font-size: 42px;
  line-height: 1.2;
}

.legal-title p,
.contact-hero p {
  margin: 14px 0 0;
  color: var(--muted);
}

.legal-article section {
  padding-top: 34px;
}

.legal-article h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

.legal-article p,
.legal-article li {
  color: #4d5d67;
}

.legal-article a,
.contact-item a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-footer {
  padding-top: 26px;
}

.legal-footer .copyright {
  margin-top: 0;
}

.contact-main {
  width: min(calc(100% - 48px), var(--max-width));
}

.contact-hero {
  max-width: 740px;
  padding: 30px 0 46px;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--navy);
  border-left: 1px solid var(--line);
}

.contact-item {
  min-height: 230px;
  padding: 30px;
  background: #ffffff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-item > span,
.contact-item strong {
  display: block;
}

.contact-item > span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
}

.contact-item strong {
  margin-top: 20px;
  font-size: 18px;
  word-break: break-word;
}

.contact-item p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-notice {
  margin-top: 24px;
  padding: 36px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-notice h2 {
  margin: 0;
  font-size: 22px;
}

.contact-notice ul {
  margin: 18px 0 28px;
  padding-left: 20px;
  color: var(--muted);
}

.contact-notice .primary-button {
  background: var(--navy);
  color: #ffffff;
}

@media (max-width: 980px) {
  .site-nav {
    gap: 18px;
  }

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

  .intro-layout,
  .security-layout,
  .scope-layout {
    gap: 46px;
  }

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

  .process-list li:nth-child(2) {
    border-right: 0;
  }

  .process-list li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 860px) {
  .header-inner {
    min-height: 68px;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    right: 18px;
    left: 18px;
    display: none;
    padding: 12px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(7, 24, 43, 0.18);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    min-height: 44px;
    padding: 10px 12px;
    color: var(--ink);
  }

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

  .admin-link {
    border-color: var(--line);
  }

  .intro-layout,
  .security-layout,
  .scope-layout {
    grid-template-columns: 1fr;
  }

  .horizontal-heading,
  .contact-strip-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-actions {
    flex-wrap: wrap;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }

  .contact-item {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .header-inner,
  .section-inner,
  .footer-inner,
  .legal-main,
  .contact-main {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .brand strong {
    font-size: 16px;
  }

  .legal-nav {
    gap: 12px;
  }

  .legal-nav a:not(:first-child) {
    display: none;
  }

  .hero {
    height: 78vh;
    min-height: 650px;
    max-height: 760px;
  }

  .hero-image {
    object-position: 59% center;
    opacity: 0.46;
  }

  .hero-shade {
    background: rgba(2, 12, 24, 0.42);
  }

  .hero-content {
    width: min(calc(100% - 32px), var(--max-width));
    padding-top: 116px;
  }

  .hero-brand img {
    width: 46px;
    height: 46px;
  }

  .hero h1 {
    margin-top: 22px;
    font-size: 40px;
  }

  .hero-lead {
    font-size: 21px;
  }

  .hero-copy {
    font-size: 14px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 280px;
  }

  .hero-summary {
    min-height: 96px;
    padding: 0 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-summary div {
    padding: 14px 10px;
    text-align: center;
  }

  .hero-summary div:first-child {
    padding-left: 10px;
  }

  .hero-summary strong {
    font-size: 13px;
  }

  .hero-summary span {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading h2,
  .contact-strip h2,
  .security-copy h2 {
    font-size: 29px;
  }

  .intro-copy {
    font-size: 15px;
  }

  .service-grid,
  .security-points {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
    padding: 28px 24px;
  }

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

  .process-list li,
  .process-list li:nth-child(2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-list li:last-child {
    border-bottom: 0;
  }

  .security-points div {
    min-height: 120px;
  }

  .scope-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .contact-actions {
    width: 100%;
  }

  .contact-actions a {
    width: 100%;
  }

  .legal-main,
  .contact-main {
    padding: 32px 0 64px;
  }

  .legal-article {
    padding: 32px 22px;
  }

  .legal-title h1,
  .contact-hero h1 {
    font-size: 34px;
  }

  .contact-item,
  .contact-notice {
    padding: 26px 22px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
