:root {
  color-scheme: dark;
  --ink: #f5f4ed;
  --muted: #aebbb6;
  --bg: #09100e;
  --bg-soft: #0d1714;
  --panel: #111d19;
  --line: rgba(229, 255, 239, 0.14);
  --green: #55eea1;
  --green-bright: #b8ffcf;
  --yellow: #e9ff70;
  --shell: min(1160px, calc(100vw - 48px));
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui,
    -apple-system, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    var(--bg);
  background-size: 56px 56px;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #06100c;
  background: var(--green);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 16, 14, 0.82);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #06100c;
  background: var(--green);
  border-radius: 3px 14px 3px 3px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  letter-spacing: 0.03em;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.18em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: #c8d1cd;
  font-size: 14px;
}

.nav a {
  transition:
    color 160ms ease,
    border-color 160ms ease;
}

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

.nav-contact {
  padding: 11px 16px;
  border: 1px solid rgba(184, 255, 207, 0.36);
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-glow {
  position: absolute;
  top: -180px;
  left: 62%;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: rgba(85, 238, 161, 0.12);
  filter: blur(110px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  align-items: center;
  gap: 76px;
  padding-top: 76px;
  padding-bottom: 76px;
}

.eyebrow,
.section-index {
  margin: 0 0 24px;
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--green);
}

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

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(54px, 7vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

h1 em {
  color: var(--green);
  font-style: normal;
}

.hero-lead {
  max-width: 690px;
  margin-bottom: 38px;
  color: #b7c2bd;
  font-size: 17px;
  line-height: 1.9;
}

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

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 750;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #06100c;
  background: var(--green);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--green-bright);
}

.button-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(184, 255, 207, 0.42);
}

.delivery-panel {
  position: relative;
  border: 1px solid rgba(184, 255, 207, 0.28);
  background: linear-gradient(145deg, rgba(21, 38, 31, 0.94), rgba(10, 20, 16, 0.98));
  box-shadow: 30px 36px 90px rgba(0, 0, 0, 0.34);
}

.delivery-panel::after {
  content: "";
  position: absolute;
  right: -9px;
  bottom: -9px;
  width: 72px;
  height: 72px;
  border-right: 1px solid var(--green);
  border-bottom: 1px solid var(--green);
}

.panel-top {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  color: #87948e;
  border-bottom: 1px solid var(--line);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.signal {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green-bright);
}

.signal::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(85, 238, 161, 0.09);
}

.panel-body {
  padding: 30px;
}

.panel-body > p {
  margin-bottom: 24px;
  color: var(--green-bright);
  font-size: 13px;
  font-weight: 700;
}

.panel-body ol,
.service-card ul,
.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.panel-body li {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.panel-body li > span {
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
}

.panel-body strong,
.panel-body small {
  display: block;
}

.panel-body strong {
  margin-bottom: 6px;
  font-size: 15px;
}

.panel-body small {
  color: #89968f;
  font-size: 12px;
}

.section {
  padding: 132px 0;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr 0.85fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 62px;
}

.section-heading h2,
.process-copy h2,
.contact-card h2 {
  margin-bottom: 0;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.section-heading > p:last-child,
.process-copy > p:last-child,
.contact-card > div > p:last-child {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

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

.service-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  background: rgba(13, 23, 20, 0.82);
}

.service-card.featured {
  border-color: rgba(85, 238, 161, 0.4);
  background: linear-gradient(150deg, rgba(28, 56, 43, 0.82), rgba(13, 23, 20, 0.96));
}

.card-number {
  margin-bottom: 68px;
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
}

.service-card h3 {
  margin-bottom: 18px;
  font-size: 23px;
  letter-spacing: -0.03em;
}

.service-card > p {
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.service-card ul {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.service-card li {
  position: relative;
  margin-top: 10px;
  padding-left: 17px;
  color: #cbd4d0;
  font-size: 13px;
}

.service-card li::before {
  content: "";
  position: absolute;
  top: 0.52em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--green);
}

.process-section {
  background: linear-gradient(180deg, rgba(11, 24, 19, 0.74), rgba(9, 16, 14, 0.86));
}

.process-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 100px;
  align-items: start;
}

.process-copy {
  position: sticky;
  top: 48px;
}

.process-copy h2 {
  margin-bottom: 28px;
}

.process-list {
  counter-reset: process;
}

.process-list li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.process-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.process-list span {
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
}

.process-list h3 {
  margin-bottom: 9px;
  font-size: 21px;
}

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

.contact-section {
  padding: 104px 0;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 70px;
  align-items: end;
  padding: 64px;
  border: 1px solid rgba(85, 238, 161, 0.36);
  background:
    radial-gradient(circle at 15% 10%, rgba(85, 238, 161, 0.12), transparent 32%),
    var(--panel);
}

.contact-card h2 {
  margin-bottom: 24px;
}

.mail-link {
  position: relative;
  display: block;
  padding: 26px 54px 26px 26px;
  color: #06100c;
  background: var(--green);
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.mail-link:hover,
.mail-link:focus-visible {
  background: var(--green-bright);
  transform: translateY(-2px);
}

.mail-link span,
.mail-link strong {
  display: block;
}

.mail-link span {
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.mail-link strong {
  overflow-wrap: anywhere;
  font-size: clamp(16px, 2vw, 22px);
}

.mail-link i {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 24px;
  font-style: normal;
}

.site-footer {
  padding: 34px 0;
  color: #84918b;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  margin-bottom: 0;
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  text-align: right;
}

.footer-record {
  color: #b6c5bf;
  border-bottom: 1px solid rgba(184, 255, 207, 0.28);
  transition:
    color 160ms ease,
    border-color 160ms ease;
}

.footer-record:hover,
.footer-record:focus-visible {
  color: var(--green-bright);
  border-color: var(--green);
}

@media (max-width: 900px) {
  :root {
    --shell: min(100% - 36px, 720px);
  }

  .hero-grid,
  .section-heading,
  .process-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    gap: 54px;
  }

  .section-heading {
    gap: 18px;
  }

  .section-heading > p:last-child {
    max-width: 600px;
  }

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

  .service-card {
    min-height: 330px;
  }

  .card-number {
    margin-bottom: 44px;
  }

  .process-grid {
    gap: 60px;
  }

  .process-copy {
    position: static;
  }

  .contact-card {
    padding: 42px;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: calc(100% - 28px);
  }

  .header-inner {
    min-height: 74px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .nav a:not(.nav-contact) {
    display: none;
  }

  .nav {
    gap: 0;
  }

  .nav-contact {
    padding: 9px 11px;
    font-size: 12px;
  }

  .hero-grid {
    padding-top: 70px;
    padding-bottom: 64px;
  }

  h1 {
    font-size: clamp(48px, 15vw, 66px);
  }

  .hero-lead {
    font-size: 15px;
    line-height: 1.82;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .delivery-panel {
    margin-right: 8px;
  }

  .panel-body {
    padding: 24px;
  }

  .section {
    padding: 86px 0;
  }

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

  .service-card {
    min-height: auto;
    padding: 26px;
  }

  .card-number {
    margin-bottom: 34px;
  }

  .process-list li {
    grid-template-columns: 42px 1fr;
    gap: 12px;
  }

  .contact-section {
    padding: 70px 0;
  }

  .contact-card {
    gap: 38px;
    padding: 30px 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 9px;
  }

  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    text-align: left;
  }
}

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

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