:root {
  --ink: #172026;
  --muted: #5c6972;
  --line: #d8dee2;
  --paper: #f7f8f5;
  --white: #ffffff;
  --steel: #2f4757;
  --green: #2f9fe8;
  --amber: #d59b2b;
  --red: #b94a3c;
  --deep: #0d1519;
  --shadow: 0 22px 70px rgba(22, 32, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  padding: 16px 0;
  color: var(--white);
  transform: translateX(-50%);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 50%;
  z-index: -1;
  width: 100vw;
  background: transparent;
  transform: translateX(-50%);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled::before,
.site-header.is-open::before {
  background: rgba(247, 248, 245, 0.94);
  box-shadow: 0 12px 36px rgba(23, 32, 38, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

.site-header.is-scrolled .brand,
.site-header.is-open .brand {
  border-color: rgba(23, 32, 38, 0.12);
  background: var(--white);
}

.brand-image {
  width: 124px;
  height: auto;
  max-height: 34px;
  object-fit: contain;
}

.nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  font-size: 14px;
  font-weight: 650;
}

.nav a {
  opacity: 0.86;
}

.nav a:hover {
  opacity: 1;
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  font-weight: 760;
  line-height: 1;
  white-space: nowrap;
}

.header-action {
  padding: 0 18px;
  border: 1px solid currentColor;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 62% center;
  z-index: -2;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 14, 17, 0.88) 0%, rgba(8, 14, 17, 0.72) 36%, rgba(8, 14, 17, 0.18) 74%),
    linear-gradient(180deg, rgba(8, 14, 17, 0.45), rgba(8, 14, 17, 0.16) 58%, rgba(247, 248, 245, 0.92) 100%);
}

.hero-content {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 62px;
  padding-bottom: 84px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(66px, 11vw, 142px);
  line-height: 0.86;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 650px;
  margin: 26px 0 0;
  font-size: clamp(21px, 3vw, 34px);
  line-height: 1.12;
  font-weight: 680;
}

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

.button {
  border: 0;
  padding: 0 22px;
  cursor: pointer;
}

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

.button-primary:hover {
  background: #238bd0;
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 560px;
  margin: 44px 0 0;
}

.hero-stats div {
  min-width: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-stats dt {
  font-size: 42px;
  line-height: 1;
  font-weight: 850;
}

.hero-stats dd {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

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

.section-tight {
  padding-top: 64px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 38px;
}

.section h2,
.contact-section h2 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 0.98;
  letter-spacing: 0;
}

.section p,
.contact-section p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.58;
}

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

.feature-card {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(23, 32, 38, 0.06);
}

.feature-icon {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
}

.feature-card h3,
.step h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.12;
}

.feature-card p,
.step p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: stretch;
}

.panel-dark {
  min-height: 520px;
  padding: clamp(30px, 5vw, 52px);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(13, 21, 25, 0.94), rgba(47, 71, 87, 0.9)),
    url("assets/parkws-hero.png") center / cover;
  box-shadow: var(--shadow);
}

.panel-dark p {
  color: rgba(255, 255, 255, 0.75);
}

.steps {
  display: grid;
  gap: 12px;
}

.step {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.step span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  color: var(--white);
  background: var(--steel);
  font-weight: 850;
}

.module-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 40px rgba(23, 32, 38, 0.08);
}

.module-table > div {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 24px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}

.module-table > div:last-child {
  border-bottom: 0;
}

.module-table strong {
  font-size: 18px;
}

.module-table span {
  color: var(--muted);
  line-height: 1.55;
}

.deploy {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.deploy-list {
  display: grid;
  gap: 12px;
}

.deploy-list span {
  padding: 18px 20px;
  border-left: 5px solid var(--green);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(23, 32, 38, 0.06);
  font-weight: 720;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 70px;
  padding: clamp(32px, 5vw, 56px);
  border-radius: 8px;
  color: var(--white);
  background: var(--deep);
}

.contact-section p {
  color: rgba(255, 255, 255, 0.75);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 720;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 15px 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.footer {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0;
  color: var(--muted);
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  border-top: 1px solid var(--line);
  background: var(--paper);
  transform: translateX(-50%);
}

.footer span:first-child {
  color: var(--ink);
  font-weight: 850;
}

@media (max-width: 920px) {
  .site-header {
    left: 0;
    grid-template-columns: auto auto;
    justify-content: space-between;
    width: 100%;
    transform: none;
    padding: 16px clamp(18px, 4vw, 54px);
  }

  .nav,
  .header-action {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .site-header.is-open .nav {
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .nav a {
    padding: 16px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-stats,
  .feature-grid,
  .split-section,
  .deploy,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .panel-dark {
    min-height: 360px;
  }

  .module-table > div {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

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

  .hero {
    min-height: 90vh;
    align-items: flex-end;
  }

  .hero-image {
    object-position: 67% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 14, 17, 0.82), rgba(8, 14, 17, 0.38)),
      linear-gradient(180deg, rgba(8, 14, 17, 0.28), rgba(8, 14, 17, 0.7) 58%, rgba(247, 248, 245, 0.96));
  }

  .hero-content {
    width: calc(100% - 32px);
    padding-bottom: 56px;
  }

  .hero h1 {
    font-size: clamp(62px, 21vw, 92px);
  }

  .hero-lead {
    font-size: 23px;
  }

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

  .hero-stats {
    gap: 10px;
  }

  .hero-stats dt {
    font-size: 30px;
  }

  .hero-stats dd {
    font-size: 12px;
  }

  .section {
    width: calc(100% - 32px);
    padding: 66px 0;
  }

  .section h2,
  .contact-section h2 {
    font-size: 36px;
  }

  .section p,
  .contact-section p {
    font-size: 16px;
  }

  .step {
    grid-template-columns: 42px 1fr;
    padding: 18px;
  }

  .step span {
    width: 38px;
    height: 38px;
  }

  .contact-section {
    width: calc(100% - 32px);
    padding: 28px 20px;
  }

  .footer {
    display: grid;
  }
}
