:root {
  --ink: #101820;
  --ink-soft: #26323d;
  --paper: #f3efe8;
  --paper-deep: #e7dfd2;
  --card: rgba(255, 252, 246, 0.78);
  --dark: #0f1b24;
  --muted: #65717d;
  --line: rgba(16, 24, 32, 0.12);
  --line-dark: rgba(255, 255, 255, 0.12);
  --green: #1e7f68;
  --green-bright: #40c6a4;
  --amber: #d49a3a;
  --blue: #315a78;
  --radius: 8px;
  --shadow: 0 28px 80px rgba(16, 24, 32, 0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 4%, rgba(64, 198, 164, 0.17), transparent 28%),
    radial-gradient(circle at 8% 24%, rgba(212, 154, 58, 0.14), transparent 26%),
    linear-gradient(180deg, #f7f2e9 0%, #eee5d7 52%, #e8dfd2 100%);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.68;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(16, 24, 32, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 24, 32, 0.025) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.38), transparent 72%);
}

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

.noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.65'/%3E%3C/svg%3E");
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 15;
  border-bottom: 1px solid rgba(16, 24, 32, 0.08);
  background: rgba(247, 242, 233, 0.78);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  width: 42px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(16, 24, 32, 0.18);
  border-radius: var(--radius);
  background: var(--ink);
  color: #f7f2e9;
  font-size: 12px;
  letter-spacing: 0.04em;
  box-shadow: 5px 5px 0 rgba(30, 127, 104, 0.22);
}

.brand-text {
  font-size: 18px;
  letter-spacing: 0;
}

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

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

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

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius);
  font-weight: 750;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-cta {
  padding: 0 16px;
  border: 1px solid rgba(16, 24, 32, 0.18);
  background: rgba(255, 255, 255, 0.42);
}

.button {
  padding: 0 20px;
}

.button.primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 14px 30px rgba(16, 24, 32, 0.18);
}

.button.ghost {
  border: 1px solid rgba(16, 24, 32, 0.16);
  background: rgba(255, 255, 255, 0.36);
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(16, 24, 32, 0.16);
}

.hero {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  min-height: calc(100vh - 74px);
  padding: 72px 0 74px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.78fr);
  gap: 72px;
  align-items: center;
}

.eyebrow,
.section-label {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.eyebrow {
  width: fit-content;
  margin-bottom: 22px;
  padding: 7px 10px;
  border: 1px solid rgba(30, 127, 104, 0.2);
  border-radius: 999px;
  background: rgba(30, 127, 104, 0.07);
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 620px;
  margin-bottom: 24px;
  font-size: clamp(44px, 5.3vw, 68px);
  line-height: 1.05;
}

.hero-intro {
  max-width: 590px;
  color: var(--ink-soft);
  font-size: 18px;
}

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

.hero-points {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 760px;
  color: var(--ink);
}

.hero-points p {
  min-height: 118px;
  padding: 22px 24px;
  border: 1px solid rgba(16, 24, 32, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 252, 246, 0.48);
  box-shadow: 0 14px 34px rgba(16, 24, 32, 0.065);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.hero-points p:hover {
  transform: translateY(-3px);
  border-color: rgba(30, 127, 104, 0.25);
  background: rgba(255, 252, 246, 0.72);
}

.hero-points strong {
  display: block;
  margin-bottom: 8px;
  font-size: 26px;
  line-height: 1.1;
  font-weight: 900;
}

.hero-points span {
  display: block;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

.hero-board {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border: 1px solid rgba(16, 24, 32, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 252, 246, 0.68);
  box-shadow: 0 24px 70px rgba(16, 24, 32, 0.12);
}

.hero-board::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  top: -64px;
  right: -54px;
  border-radius: 50%;
  background: rgba(64, 198, 164, 0.28);
  filter: blur(8px);
  animation: floatBlob 7s ease-in-out infinite;
}

.board-header,
.task-card,
.status-list {
  position: relative;
}

.board-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-weight: 800;
}

.live-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 rgba(64, 198, 164, 0.45);
  animation: pulse 1.8s ease-out infinite;
}

.task-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--dark);
  color: #f8f1e5;
  box-shadow: 0 18px 40px rgba(16, 24, 32, 0.2);
}

.task-kicker {
  display: block;
  margin-bottom: 16px;
  color: var(--green-bright);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.task-card strong {
  display: block;
  margin-bottom: 8px;
  max-width: 360px;
  font-size: 25px;
  line-height: 1.2;
}

.task-card p {
  color: rgba(248, 241, 229, 0.72);
}

.progress {
  overflow: hidden;
  height: 8px;
  margin-top: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.progress span {
  display: block;
  width: 86%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green-bright), var(--amber));
  animation: progressGlow 2.4s ease-in-out infinite;
}

.status-list {
  list-style: none;
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.status-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid rgba(16, 24, 32, 0.09);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.42);
  color: var(--ink-soft);
  font-size: 14px;
}

.status-list span {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
}

.strip {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading h2,
.detail-copy h2,
.contact-panel h2 {
  margin-top: 10px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
}

.service-list {
  display: grid;
  gap: 14px;
}

.service-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  padding: 26px;
  border: 1px solid rgba(16, 24, 32, 0.11);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 16px 46px rgba(16, 24, 32, 0.07);
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.service-item:hover {
  transform: translateX(8px);
  border-color: rgba(30, 127, 104, 0.32);
  background: rgba(255, 252, 246, 0.94);
}

.service-num {
  color: var(--green);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-weight: 800;
}

.service-item h3,
.timeline-step h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.service-item p,
.detail-copy p,
.timeline-step p,
.contact-panel p {
  color: var(--muted);
}

.detail-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

.detail-copy {
  position: sticky;
  top: 110px;
}

.detail-copy p:last-child {
  margin-top: 18px;
  font-size: 17px;
}

.detail-stack {
  display: grid;
  gap: 14px;
}

.detail-card {
  padding: 28px;
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  background: rgba(16, 24, 32, 0.92);
  color: var(--paper);
  box-shadow: 0 18px 46px rgba(16, 24, 32, 0.16);
}

.detail-card:nth-child(2) {
  border-left-color: var(--amber);
  transform: translateX(28px);
}

.detail-card:nth-child(3) {
  border-left-color: var(--blue);
}

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

.detail-card span {
  color: rgba(247, 242, 233, 0.72);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.timeline-step {
  min-height: 260px;
  padding: 24px;
  border: 1px solid rgba(16, 24, 32, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 252, 246, 0.66);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.timeline-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(16, 24, 32, 0.1);
}

.timeline-step span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
}

.contact-panel {
  width: min(1120px, calc(100% - 40px));
  margin: 28px auto 0;
  padding: 46px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(16, 24, 32, 0.92), rgba(21, 43, 54, 0.96)),
    var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow);
}

.contact-panel p:not(.section-label) {
  max-width: 680px;
  margin-top: 12px;
  color: rgba(247, 242, 233, 0.72);
}

.contact-panel .section-label {
  color: var(--green-bright);
}

.contact-panel .button.primary {
  background: var(--paper);
  color: var(--ink);
}

.footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 42px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.72, 0.22, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 120ms;
}

.delay-2 {
  transition-delay: 220ms;
}

.delay-3 {
  transition-delay: 320ms;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(64, 198, 164, 0.42);
  }
  70% {
    box-shadow: 0 0 0 13px rgba(64, 198, 164, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(64, 198, 164, 0);
  }
}

@keyframes progressGlow {
  0%, 100% {
    filter: saturate(1);
    transform: translateX(-4px);
  }
  50% {
    filter: saturate(1.35);
    transform: translateX(8px);
  }
}

@keyframes floatBlob {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-18px, 18px, 0) scale(1.08);
  }
}

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }

  .hero,
  .detail-section,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .detail-copy {
    position: static;
  }

  .detail-card:nth-child(2) {
    transform: none;
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .strip {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .nav,
  .hero,
  .strip,
  .section,
  .contact-panel,
  .footer {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    min-height: 66px;
  }

  .brand-text {
    display: none;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 14px;
  }

  .hero {
    padding: 42px 0 46px;
    gap: 34px;
  }

  h1 {
    font-size: clamp(38px, 13vw, 56px);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-points {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-points p {
    min-height: auto;
    padding: 18px;
  }

  .hero-points strong {
    font-size: 23px;
  }

  .hero-board {
    padding: 14px;
  }

  .task-card {
    padding: 22px;
  }

  .service-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px;
  }

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

  .timeline-step {
    min-height: auto;
  }

  .contact-panel {
    padding: 30px 22px;
  }
}

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

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