:root {
  --ink: #111314;
  --paper: #F7F8F5;
  --muted: #606869;
  --line: #D8DDD6;
  --amber: #D97706;
  --amber-dark: #A85C00;
  --green: #168263;
  --blue: #2563EB;
  --red: #C24132;
  --charcoal: #171A1C;
  --white: #FFFFFF;
  --shadow: 0 18px 50px rgba(17, 19, 20, 0.16);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
}

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

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(18px, 5vw, 70px);
  color: var(--white);
}

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

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background:
    linear-gradient(90deg, transparent 42%, rgba(255,255,255,0.72) 42% 58%, transparent 58%),
    linear-gradient(var(--amber), var(--amber));
  box-shadow: inset 0 -5px 0 rgba(0,0,0,0.14);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  font-size: 0.9rem;
  font-weight: 600;
}

.site-nav a {
  color: rgba(255,255,255,0.78);
}

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

.hero {
  position: relative;
  min-height: min(760px, 84vh);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  padding: 112px clamp(18px, 5vw, 70px) 96px;
}

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

.hero-image {
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(13, 14, 14, 0.9) 0%, rgba(13, 14, 14, 0.7) 34%, rgba(13, 14, 14, 0.25) 70%, rgba(13, 14, 14, 0.12) 100%),
    linear-gradient(180deg, rgba(13, 14, 14, 0.22) 0%, rgba(13, 14, 14, 0.52) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 670px;
}

.eyebrow {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(3.8rem, 9vw, 7.9rem);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 24px;
}

.hero-copy {
  max-width: 590px;
  color: rgba(255,255,255,0.82);
  font-size: clamp(1.02rem, 2vw, 1.24rem);
  line-height: 1.68;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.94rem;
  border: 1px solid transparent;
  transition: transform 0.18s, background 0.18s, border-color 0.18s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--amber);
  color: #15110B;
  box-shadow: 0 14px 28px rgba(217, 119, 6, 0.24);
}

.btn-primary:hover {
  background: #F2A113;
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.08);
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.13);
}

.btn-dark {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.btn-dark:hover {
  border-color: #B9C1B7;
  background: #F2F4F0;
}

.hero-metrics {
  position: absolute;
  z-index: 3;
  right: clamp(18px, 5vw, 70px);
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  gap: 1px;
  max-width: 560px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(17, 19, 20, 0.42);
  backdrop-filter: blur(16px);
}

.hero-metrics div {
  padding: 16px 18px;
  background: rgba(255,255,255,0.06);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  font-size: 1rem;
  margin-bottom: 4px;
}

.hero-metrics span {
  color: rgba(255,255,255,0.66);
  font-size: 0.78rem;
}

.overview-band,
.features-band,
.workflow-band,
.cta-band {
  padding: clamp(56px, 8vw, 94px) clamp(18px, 5vw, 70px);
}

.overview-band {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  background: var(--paper);
}

.section-copy {
  max-width: 620px;
}

.section-copy h2,
.section-heading h2,
.cta-band h2 {
  font-size: clamp(2rem, 4.6vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 800;
}

.section-copy p:not(.eyebrow) {
  margin-top: 20px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.product-preview {
  border-radius: 8px;
  border: 1px solid #CED5CD;
  background: #FFFFFF;
  box-shadow: var(--shadow);
  padding: 18px;
}

.preview-top {
  display: flex;
  gap: 7px;
  padding-bottom: 18px;
  border-bottom: 1px solid #E4E8E2;
}

.preview-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #D1D7D0;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.preview-stat {
  border: 1px solid #E2E7E1;
  border-top: 4px solid var(--amber);
  border-radius: 8px;
  padding: 14px;
}

.preview-stat.green {
  border-top-color: var(--green);
}

.preview-stat.blue {
  border-top-color: var(--blue);
}

.preview-stat span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-bottom: 8px;
}

.preview-stat strong {
  font-size: 1.8rem;
}

.preview-chart {
  height: 210px;
  display: flex;
  align-items: end;
  gap: 13px;
  border: 1px solid #E2E7E1;
  border-radius: 8px;
  margin: 14px 0;
  padding: 18px;
  background:
    linear-gradient(#EEF1EC 1px, transparent 1px) 0 0 / 100% 25%;
}

.preview-chart span {
  flex: 1;
  border-radius: 7px 7px 0 0;
  background: linear-gradient(180deg, #F0A11A, #B96000);
}

.preview-chart span:nth-child(even) {
  background: linear-gradient(180deg, #249C77, #146B53);
}

.preview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #E2E7E1;
  border-radius: 8px;
  padding: 13px 14px;
  margin-top: 8px;
  color: var(--muted);
}

.preview-row strong {
  color: var(--ink);
}

.features-band {
  background: var(--charcoal);
  color: var(--white);
}

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

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

.feature-card {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255,255,255,0.055);
  min-height: 224px;
}

.feature-icon {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  margin-bottom: 26px;
  background: var(--amber);
  box-shadow: inset 0 -7px 0 rgba(0,0,0,0.16);
}

.feature-icon.green {
  background: var(--green);
}

.feature-icon.blue {
  background: var(--blue);
}

.feature-icon.red {
  background: var(--red);
}

.feature-card h3,
.workflow-step h3 {
  font-size: 1.04rem;
  margin-bottom: 10px;
}

.feature-card p,
.workflow-step p {
  color: rgba(255,255,255,0.66);
  line-height: 1.64;
  font-size: 0.93rem;
}

.workflow-band {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1fr);
  gap: clamp(26px, 6vw, 76px);
  align-items: start;
  background: #ECEFEB;
}

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

.workflow-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  column-gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 0 0 22px;
}

.workflow-step + .workflow-step {
  padding-top: 10px;
}

.workflow-step span {
  color: var(--amber-dark);
  font-weight: 800;
  font-size: 1.2rem;
}

.workflow-step h3 {
  color: var(--ink);
}

.workflow-step p {
  color: var(--muted);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: #FFFFFF;
  border-top: 1px solid var(--line);
}

.cta-band h2 {
  max-width: 760px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 1020px) {
  .overview-band,
  .workflow-band {
    grid-template-columns: 1fr;
  }

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

  .hero-metrics {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 44px;
    max-width: 100%;
  }
}

@media (max-width: 700px) {
  .site-header {
    position: absolute;
    align-items: center;
    gap: 18px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 118px;
    padding-bottom: 42px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(13, 14, 14, 0.88), rgba(13, 14, 14, 0.56)),
      linear-gradient(180deg, rgba(13, 14, 14, 0.14), rgba(13, 14, 14, 0.76));
  }

  .hero h1 {
    font-size: clamp(3.2rem, 18vw, 4.4rem);
  }

  .hero-content,
  .hero-copy {
    width: 100%;
  }

  .hero-content {
    max-width: 360px;
  }

  .hero-copy {
    max-width: 34ch;
  }

  .hero-actions,
  .hero-metrics {
    width: 100%;
    max-width: 342px;
  }

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

  .overview-band,
  .features-band,
  .workflow-band,
  .cta-band {
    padding: 48px 18px;
  }

  .product-preview {
    padding: 14px;
  }

  .preview-chart {
    height: 170px;
  }

  .workflow-step {
    grid-template-columns: 48px 1fr;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-actions {
    width: 100%;
  }

  .btn {
    width: 100%;
  }
}
