:root {
  --ink: #14201f;
  --muted: #536665;
  --line: #d8e2df;
  --surface: #f6f9f7;
  --surface-strong: #e9f1ef;
  --brand: #0f766e;
  --brand-dark: #0a4f4a;
  --accent: #d79a2b;
  --accent-soft: #fff3d6;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(16, 44, 41, 0.16);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.45);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-150%);
  border-radius: 6px;
  background: var(--white);
  color: var(--brand-dark);
  padding: 10px 14px;
  font-weight: 700;
  box-shadow: var(--shadow);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(216, 226, 223, 0.82);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: min(1180px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), #1f9d8e);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.22);
}

.brand-name,
.brand-subtitle {
  display: block;
}

.brand-name {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--brand);
}

.hero {
  position: relative;
  min-height: calc(100dvh - 72px);
  overflow: hidden;
  display: grid;
  align-items: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 63% center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 38%, rgba(255, 255, 255, 0.22) 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1) 72%, #ffffff 100%);
}

.hero-content {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 78px 0 128px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  color: #101817;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1.03;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 630px;
  margin: 26px 0 0;
  color: #2a403e;
  font-size: 20px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 13px 18px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 14px 34px rgba(15, 118, 110, 0.25);
}

.button.secondary {
  border: 1px solid rgba(15, 118, 110, 0.24);
  background: rgba(255, 255, 255, 0.82);
  color: var(--brand-dark);
}

.section {
  padding: 84px 0;
}

.section-grid,
.section-heading,
.capability-grid,
.application-layout,
.company-layout,
.trust-inner,
.contact-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.section h2 {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.75;
}

.surface-band {
  background: var(--surface);
}

.section-heading {
  margin-bottom: 36px;
}

.section-heading h2 {
  max-width: 760px;
}

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

.capability-card {
  min-height: 254px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 26px;
  box-shadow: 0 10px 34px rgba(24, 42, 39, 0.06);
}

.card-icon {
  width: 46px;
  height: 46px;
  position: relative;
  border-radius: 8px;
  border: 1px solid rgba(15, 118, 110, 0.2);
  background: var(--surface-strong);
}

.card-icon span,
.card-icon::before,
.card-icon::after {
  position: absolute;
  content: "";
  background: var(--brand);
}

.card-icon span {
  inset: 12px;
  border: 2px solid var(--brand);
  background: transparent;
  border-radius: 4px;
}

.card-icon::before {
  width: 18px;
  height: 2px;
  left: 23px;
  top: 9px;
  box-shadow: 0 28px 0 var(--brand);
}

.card-icon::after {
  width: 2px;
  height: 18px;
  left: 9px;
  top: 23px;
  box-shadow: 28px 0 0 var(--brand);
}

.card-icon.circuit {
  background: #eef5ff;
}

.card-icon.circuit span {
  border-radius: 50%;
  border-color: #2f6cb8;
}

.card-icon.circuit::before,
.card-icon.circuit::after {
  background: #2f6cb8;
  box-shadow: none;
}

.card-icon.edge {
  background: var(--accent-soft);
}

.card-icon.edge span {
  border-color: var(--accent);
  transform: rotate(45deg);
}

.card-icon.edge::before,
.card-icon.edge::after {
  background: var(--accent);
}

.card-icon.shield {
  background: #edf8f4;
}

.card-icon.shield span {
  border-radius: 6px 6px 14px 14px;
}

.capability-card h3 {
  margin: 22px 0 8px;
  font-size: 19px;
  line-height: 1.25;
}

.capability-card p {
  margin: 0;
  color: var(--muted);
}

.application-section {
  background: var(--white);
}

.application-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.application-panel {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 8px;
  padding: 28px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(18, 32, 31, 0.36), rgba(18, 32, 31, 0.9)),
    linear-gradient(135deg, #1c6c65, #183434);
  overflow: hidden;
}

.application-panel:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(18, 32, 31, 0.3), rgba(18, 32, 31, 0.88)),
    linear-gradient(135deg, #2f6cb8, #21364a);
}

.application-panel:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(18, 32, 31, 0.28), rgba(18, 32, 31, 0.9)),
    linear-gradient(135deg, #9b6b24, #273332);
}

.panel-index {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: auto;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  font-weight: 900;
}

.application-panel h3 {
  margin: 58px 0 10px;
  font-size: 24px;
  line-height: 1.2;
}

.application-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.process-section {
  background: var(--surface);
}

.timeline {
  border-left: 2px solid rgba(15, 118, 110, 0.22);
  padding-left: 24px;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 0 0 28px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--white);
  color: var(--brand-dark);
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(24, 42, 39, 0.08);
}

.timeline-item h3 {
  margin: 0;
  font-size: 20px;
}

.timeline-item p {
  margin: 8px 0 0;
  color: var(--muted);
}

.trust-section {
  padding: 58px 0;
  background: #12201f;
  color: var(--white);
}

.trust-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: start;
}

.trust-inner h2 {
  color: var(--white);
  font-size: clamp(28px, 3vw, 42px);
}

.trust-points {
  display: grid;
  gap: 14px;
}

.trust-points p {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 18px;
  color: rgba(255, 255, 255, 0.82);
}

.company-section {
  background: var(--white);
}

.company-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.35fr);
  gap: 28px;
  align-items: start;
}

.identity-panel {
  border-left: 4px solid var(--brand);
  background: var(--surface);
  border-radius: 8px;
  padding: 28px;
}

.identity-panel h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.22;
}

.identity-panel p {
  margin: 18px 0 0;
  color: var(--muted);
}

.identity-panel .cn-name {
  color: var(--ink);
  font-weight: 800;
}

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

.info-list div {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 22px;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.info-list dt {
  color: var(--muted);
  font-weight: 800;
}

.info-list dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 650;
}

.contact-band {
  background: #12201f;
  color: var(--white);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
}

.contact-inner h2 {
  color: var(--white);
}

.contact-inner p {
  max-width: 700px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.mail-link {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--white);
  color: var(--brand-dark);
  padding: 14px 18px;
  font-weight: 900;
  text-decoration: none;
}

.site-footer {
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer a {
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 980px) {
  .nav-shell {
    min-height: 68px;
  }

  .nav-links {
    gap: 16px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.86) 58%, rgba(255, 255, 255, 0.26) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0) 72%, #ffffff 100%);
  }

  .hero-media img {
    object-position: 66% center;
  }

  .two-column,
  .company-layout,
  .trust-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .nav-shell,
  .section-grid,
  .section-heading,
  .capability-grid,
  .application-layout,
  .company-layout,
  .trust-inner,
  .contact-inner,
  .site-footer,
  .hero-content {
    width: min(1180px, calc(100% - 28px));
  }

  .nav-shell {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 12px 0;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, max-content);
    justify-content: start;
    column-gap: 24px;
    row-gap: 8px;
  }

  .hero {
    min-height: 820px;
    align-items: start;
  }

  .hero-content {
    padding: 54px 0 240px;
  }

  .hero h1 {
    max-width: 10.5em;
    font-size: 34px;
    line-height: 1.14;
  }

  .hero-copy,
  .section-lead {
    font-size: 17px;
  }

  .hero-copy {
    max-width: 330px;
  }

  .section {
    padding: 62px 0;
  }

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

  .capability-card,
  .application-panel {
    min-height: auto;
  }

  .application-panel h3 {
    margin-top: 42px;
  }

  .timeline {
    padding-left: 14px;
  }

  .timeline-item {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
  }

  .timeline-item span {
    width: 38px;
    height: 38px;
  }

  .info-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .mail-link {
    width: 100%;
    overflow-wrap: anywhere;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 0;
  }
}

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