:root {
  --ink: #111318;
  --paper: #f4f1ea;
  --orange: #ff5c35;
  --lime: #b9d85b;
  --muted: #686b70;
  --line: rgba(17, 19, 24, 0.13);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

.ambient {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.12;
  pointer-events: none;
  z-index: -1;
}

.ambient-one {
  top: -180px;
  right: 5%;
  background: var(--orange);
}

.ambient-two {
  bottom: -220px;
  left: -100px;
  background: var(--lime);
}

.shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 32px 28px;
}

.nav {
  height: 58px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 650;
}

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

.live-status {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.live-status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #57a83d;
  box-shadow: 0 0 0 4px rgba(87, 168, 61, 0.12);
}

.hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 58px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.eyebrow span {
  display: inline-grid;
  width: 27px;
  height: 27px;
  margin-right: 8px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  letter-spacing: 0;
}

.hero h1 {
  max-width: 660px;
  font-size: clamp(3.8rem, 7vw, 6.5rem);
  line-height: 0.86;
  letter-spacing: -0.075em;
  margin-bottom: 28px;
}

.hero h1 em {
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.subtitle {
  max-width: 530px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 750;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 4px 4px 0 var(--ink);
}

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

.button.primary:hover {
  box-shadow: 4px 4px 0 var(--ink);
}

.deployment-card {
  overflow: hidden;
  border: 1px solid rgba(17, 19, 24, 0.18);
  border-radius: 8px;
  background: #17191d;
  box-shadow: 18px 18px 0 rgba(17, 19, 24, 0.07);
  transform: rotate(1deg);
}

.card-toolbar {
  height: 46px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #aeb1b6;
  font: 600 0.68rem ui-monospace, SFMono-Regular, Menlo, monospace;
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #555860;
}

.window-dots i:first-child {
  background: var(--orange);
}

.online {
  justify-self: end;
  color: var(--lime);
  font-size: 0.62rem;
}

.terminal {
  min-height: 330px;
  padding: 32px;
  color: #e9eae7;
  font: 500 0.82rem/2 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.terminal p {
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
}

.prompt {
  color: var(--orange);
  margin-right: 8px;
}

.muted {
  color: #777b82;
}

.success {
  color: var(--lime);
  margin-right: 8px;
}

.deploy-result {
  display: flex;
  justify-content: space-between;
  margin-top: 22px;
  padding: 10px 12px;
  border: 1px solid rgba(185, 216, 91, 0.24);
  background: rgba(185, 216, 91, 0.07);
  color: var(--lime);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.deploy-result strong {
  color: #f4f6ef;
}

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

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 34px;
}

.section-heading .eyebrow {
  margin: 0;
}

.section-heading h2,
.infrastructure h2 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  letter-spacing: -0.055em;
}

.pipeline {
  display: grid;
  grid-template-columns: 1fr 44px 1fr 44px 1fr;
  align-items: stretch;
}

.stage {
  position: relative;
  min-height: 300px;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.32);
}

.stage-number {
  color: var(--muted);
  font: 700 0.68rem ui-monospace, SFMono-Regular, Menlo, monospace;
}

.stage-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin: 32px 0 26px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.25rem;
}

.stage h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.stage p {
  min-height: 68px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.stage-tag {
  position: absolute;
  bottom: 20px;
  left: 24px;
  color: var(--orange);
  font: 750 0.66rem ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stage-arrow {
  display: grid;
  place-items: center;
  color: var(--muted);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.infrastructure {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: end;
  gap: 30px;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}

.infrastructure .eyebrow {
  margin-bottom: 10px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.metric {
  padding: 18px 14px 4px;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric span,
.metric strong {
  display: block;
}

.metric span {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.metric strong {
  font-size: 1.05rem;
}

footer {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  color: var(--muted);
  font: 700 0.66rem ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 72px 0;
  }

  .deployment-card {
    max-width: 620px;
  }

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

  .stage-arrow {
    height: 36px;
    border: 0;
  }

  .stage-arrow {
    transform: rotate(90deg);
  }

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

@media (max-width: 620px) {
  .shell {
    padding: 16px 18px 24px;
  }

  .nav {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 62px 0;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 16vw, 4.6rem);
  }

  .subtitle {
    font-size: 1rem;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .deployment-card {
    transform: none;
  }

  .terminal {
    min-height: 300px;
    padding: 22px;
    font-size: 0.72rem;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    margin-top: 14px;
  }

  .pipeline-section {
    padding: 64px 0;
  }

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

  .metric {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  footer {
    gap: 20px;
  }

  footer span:last-child {
    text-align: right;
  }
}