:root {
  color-scheme: light;
  --bg: #f6f8f5;
  --surface: #ffffff;
  --ink: #111513;
  --muted: #59635e;
  --line: #dce3de;
  --accent: #146b4a;
  --accent-strong: #0d4f36;
  --accent-soft: #dff2e7;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(31, 62, 48, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(120deg, rgba(20, 107, 74, 0.1), transparent 42%),
    var(--bg);
  color: var(--ink);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 16px clamp(20px, 5vw, 64px);
  background: rgba(246, 248, 245, 0.86);
  border-bottom: 1px solid rgba(220, 227, 222, 0.72);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.logo-strip,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
}

.nav-links {
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a,
.site-footer a {
  transition: color 160ms ease;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--accent);
}

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

.nav-cta {
  padding: 0 18px;
  color: var(--accent-strong);
  background: var(--accent-soft);
}

.button {
  padding: 0 22px;
}

.button:active,
.nav-cta:active {
  transform: translateY(1px);
}

.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 16px 34px rgba(20, 107, 74, 0.22);
}

.primary:hover {
  background: var(--accent-strong);
}

.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  color: var(--accent-strong);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: clamp(32px, 6vw, 92px);
  align-items: center;
  min-height: calc(100dvh - 76px);
  max-width: 1220px;
  margin: 0 auto;
  padding: clamp(54px, 8vw, 94px) clamp(20px, 5vw, 48px) 44px;
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 8.6vw, 7.4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.hero-text {
  max-width: 650px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.26rem);
  line-height: 1.68;
}

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

.hero-visual {
  position: relative;
  display: grid;
  gap: 18px;
  min-height: 500px;
  align-content: end;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: calc(var(--radius) + 10px);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.82), rgba(223, 242, 231, 0.68)),
    url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1200&q=80");
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.hero-visual::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(246, 248, 245, 0.28), rgba(246, 248, 245, 0.9));
}

.browser-bar,
.deploy-card,
.deploy-grid {
  position: relative;
  z-index: 1;
}

.browser-bar {
  display: flex;
  gap: 8px;
  align-self: start;
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(17, 21, 19, 0.34);
}

.deploy-card,
.deploy-grid > div,
.service-layout article,
.stack-list > div,
.timeline li,
.cta-section {
  border: 1px solid rgba(220, 227, 222, 0.88);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
}

.deploy-card {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px;
  backdrop-filter: blur(10px);
}

.deploy-card p,
.deploy-grid span,
.service-layout p,
.stack-list p,
.timeline p,
.cta-section p {
  color: var(--muted);
}

.deploy-card p {
  margin: 4px 0 0;
  font-size: 0.95rem;
}

.status {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #2fbf78;
  box-shadow: 0 0 0 8px rgba(47, 191, 120, 0.16);
}

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

.deploy-grid > div {
  padding: 18px;
  backdrop-filter: blur(10px);
}

.deploy-grid span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.86rem;
}

.deploy-grid strong {
  font-size: 1.3rem;
}

.logo-strip {
  justify-content: center;
  gap: clamp(18px, 5vw, 54px);
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 20px 78px;
  color: #718078;
  font-weight: 800;
  flex-wrap: wrap;
}

.section {
  max-width: 1220px;
  margin: 0 auto;
  padding: 82px clamp(20px, 5vw, 48px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
  margin-bottom: 34px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.service-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 18px;
}

.service-layout article {
  min-height: 260px;
  padding: clamp(24px, 4vw, 34px);
}

.service-main {
  background:
    linear-gradient(145deg, rgba(20, 107, 74, 0.12), rgba(255, 255, 255, 0.92)),
    var(--surface);
}

.number {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--accent);
  font-weight: 900;
}

.service-layout p,
.stack-list p,
.timeline p {
  line-height: 1.65;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
  gap: clamp(32px, 7vw, 90px);
  align-items: start;
}

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

.stack-list > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 22px;
}

.stack-list p {
  margin: 0;
}

.process {
  max-width: 980px;
}

.timeline {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 22px;
}

.timeline span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 900;
}

.timeline p {
  margin-bottom: 0;
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  max-width: 1120px;
  margin: 40px auto 88px;
  padding: clamp(28px, 5vw, 54px);
  background:
    linear-gradient(135deg, rgba(223, 242, 231, 0.9), rgba(255, 255, 255, 0.92)),
    var(--surface);
  box-shadow: var(--shadow);
}

.cta-section h2 {
  margin-bottom: 12px;
}

.cta-section p {
  margin-bottom: 0;
  line-height: 1.7;
}

.site-footer {
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .hero-visual,
  .service-layout article,
  .stack-list > div,
  .timeline li {
    animation: rise-in 620ms ease both;
  }

  .hero-visual {
    animation-delay: 100ms;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .section-heading,
  .service-layout,
  .split,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 420px;
  }

  .service-layout article {
    min-height: auto;
  }

  .cta-section {
    justify-items: start;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 68px;
  }

  .brand span:last-child {
    display: none;
  }

  .nav-cta {
    padding: 0 14px;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: clamp(2.7rem, 16vw, 4.2rem);
  }

  .deploy-grid,
  .stack-list > div,
  .timeline li {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 360px;
    padding: 16px;
  }

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