:root {
  --ink: #151716;
  --muted: #626762;
  --paper: #f6f4ee;
  --white: #fffdf8;
  --line: rgba(21, 23, 22, 0.13);
  --dark: #101312;
  --dark-soft: #181d1b;
  --teal: #18a999;
  --amber: #d9922e;
  --coral: #cd604a;
  --sage: #c8d5be;
  --shadow: 0 18px 60px rgba(12, 14, 13, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

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

.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--amber), var(--coral));
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 34px;
  color: var(--white);
  background: rgba(16, 19, 18, 0.32);
  border-bottom: 1px solid rgba(255, 253, 248, 0.12);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 13px;
  background: none;
  box-shadow:
    0 14px 34px rgba(33, 209, 195, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(255, 253, 248, 0.82);
  font-size: 0.94rem;
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  color: var(--white);
  background: var(--dark);
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
}

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

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(12, 14, 13, 0.94) 0%, rgba(12, 14, 13, 0.76) 35%, rgba(12, 14, 13, 0.3) 78%),
    linear-gradient(0deg, rgba(12, 14, 13, 0.76) 0%, rgba(12, 14, 13, 0) 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 790px;
  padding: 158px 34px 180px;
  margin-left: max(0px, calc((100vw - 1180px) / 2));
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow,
.hero h1,
.hero-copy {
  overflow-wrap: anywhere;
}

.hero h1 {
  margin: 0;
  max-width: 740px;
  font-size: 4.1rem;
  line-height: 1.05;
  font-weight: 850;
}

.hero-copy {
  max-width: 670px;
  margin: 28px 0 0;
  color: rgba(255, 253, 248, 0.85);
  font-size: 1.12rem;
  line-height: 1.9;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button.primary {
  color: var(--dark);
  background: var(--white);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 253, 248, 0.3);
  background: rgba(255, 253, 248, 0.08);
}

.hero-metrics {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(820px, calc(100% - 68px));
  transform: translateX(-50%);
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 8px;
  background: rgba(16, 19, 18, 0.72);
  backdrop-filter: blur(18px);
}

.hero-metrics div {
  padding: 20px 24px;
  border-right: 1px solid rgba(255, 253, 248, 0.12);
}

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

.hero-metrics strong {
  display: block;
  color: var(--white);
  font-size: 1.9rem;
  line-height: 1;
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 253, 248, 0.72);
}

.section {
  padding: 96px 34px;
}

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

.section.warm {
  background: var(--paper);
}

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

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 62px;
  align-items: start;
}

.section h2 {
  margin: 0;
  max-width: 740px;
  font-size: 2.55rem;
  line-height: 1.16;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading p:last-child,
.roadmap-layout > div:first-child p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.dark .section-heading p:last-child {
  color: rgba(255, 253, 248, 0.68);
}

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

.brief-grid article,
.feature-grid article,
.roadmap article,
.timeline article,
.arch-node {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.8);
}

.brief-grid article,
.feature-grid article {
  padding: 26px;
}

.brief-grid span {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--coral);
  font-weight: 800;
}

.brief-grid h3,
.feature-grid h3,
.timeline h3,
.roadmap h3,
.arch-node h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.brief-grid p,
.feature-grid p,
.timeline p,
.roadmap p,
.arch-node p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

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

.timeline article {
  position: relative;
  min-height: 258px;
  padding: 26px;
  overflow: hidden;
}

.timeline article::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 78px;
  height: 1px;
  background: var(--line);
}

.step {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 30px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  font-weight: 800;
}

code {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 24px;
  display: block;
  overflow: hidden;
  color: var(--teal);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.architecture-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr) 42px minmax(0, 1fr) 42px minmax(0, 1fr);
  align-items: center;
}

.arch-node {
  min-height: 238px;
  padding: 28px;
  color: var(--white);
  background: var(--dark-soft);
  border-color: rgba(255, 253, 248, 0.12);
}

.arch-node span {
  display: inline-flex;
  margin-bottom: 48px;
  color: var(--teal);
  font-weight: 800;
}

.arch-node.accent span {
  color: var(--sage);
}

.arch-node.warm-node span {
  color: var(--amber);
}

.arch-node p {
  color: rgba(255, 253, 248, 0.68);
}

.arch-rail {
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--amber));
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

.roadmap-layout {
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
}

.roadmap {
  display: grid;
  gap: 14px;
}

.roadmap article {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 20px;
  padding: 24px;
}

.roadmap span {
  color: var(--coral);
  font-weight: 800;
}

.roadmap h3 {
  grid-column: 2;
}

.roadmap p {
  grid-column: 2;
}

.impact {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(24, 169, 153, 0.18), rgba(205, 96, 74, 0.18)),
    var(--dark);
}

.impact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 62px;
  align-items: start;
}

.impact-list {
  display: grid;
  gap: 16px;
}

.impact-list p {
  margin: 0;
  padding: 20px 0;
  color: rgba(255, 253, 248, 0.82);
  border-bottom: 1px solid rgba(255, 253, 248, 0.16);
  font-size: 1.08rem;
  line-height: 1.65;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 34px;
  color: rgba(255, 253, 248, 0.68);
  background: var(--dark);
  border-top: 1px solid rgba(255, 253, 248, 0.12);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    padding: 14px 22px;
  }

  .site-nav {
    gap: 16px;
  }

  .hero {
    min-height: 860px;
  }

  .hero-content {
    padding: 132px 22px 210px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .section {
    padding: 74px 22px;
  }

  .two-column,
  .impact-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

  .architecture-map {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .arch-rail {
    width: 2px;
    height: 32px;
    justify-self: center;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .site-nav {
    width: min(320px, calc(100vw - 72px));
    justify-content: space-between;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 930px;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(12, 14, 13, 0.94) 0%, rgba(12, 14, 13, 0.78) 100%),
      linear-gradient(0deg, rgba(12, 14, 13, 0.8) 0%, rgba(12, 14, 13, 0) 48%);
  }

  .hero-content {
    width: 100vw;
    max-width: 100vw;
    padding-top: 158px;
    margin-left: 0;
  }

  .hero h1 {
    font-size: 2.05rem;
    line-height: 1.12;
  }

  .eyebrow,
  .hero h1,
  .hero-copy,
  .hero-actions {
    max-width: min(320px, calc(100vw - 72px));
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-metrics,
  .brief-grid,
  .timeline,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    left: 22px;
    bottom: 20px;
    width: min(320px, calc(100vw - 72px));
    transform: none;
  }

  .hero-metrics div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 253, 248, 0.12);
  }

  .hero-metrics div:last-child {
    border-bottom: 0;
  }

  .section h2 {
    font-size: 2rem;
  }

  .roadmap article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .roadmap h3,
  .roadmap p {
    grid-column: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .button,
  .reveal {
    transition: none;
  }

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