:root {
  --ink: #0e141b;
  --ink-soft: #2b3744;
  --paper: #f6f3ee;
  --white: #ffffff;
  --muted: #6b7480;
  --line: rgba(18, 25, 34, 0.12);

  --dark: #0a1118;
  --dark-2: #121b24;

  --orange: #ff7a1a;
  --yellow: #ffc542;
  --blue: #1479ff;

  --radius: 28px;
  --shadow: 0 24px 80px rgba(7, 15, 24, 0.18);
}

/* Base */
* {
  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;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

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

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

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;

  width: 100%;
  height: 82px;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto minmax(170px, 1fr);
  align-items: center;
  gap: 28px;

  padding: 0 max(28px, calc((100vw - 1180px) / 2));

  background: rgba(246, 243, 238, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(18, 25, 34, 0.1);
  box-shadow: 0 10px 30px rgba(7, 15, 24, 0.06);
}

.brand {
  display: flex;
  align-items: center;
  width: max-content;
}

.brand img {
  width: 148px;
  height: auto;
}

.nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 34px;

  color: #283542;
  font-size: 14px;
  font-weight: 820;
  letter-spacing: -0.01em;
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 82px;

  opacity: 0.78;
  transition: opacity 0.18s ease, color 0.18s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  height: 3px;
  background: var(--orange);
  border-radius: 999px 999px 0 0;

  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.18s ease;
}

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

.nav a:hover::after {
  transform: scaleX(1);
}

.nav a:focus-visible,
.header-cta:focus-visible {
  outline: 3px solid rgba(255, 122, 26, 0.35);
  outline-offset: 3px;
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 44px;
  padding: 0 18px;

  color: white;
  background: var(--ink);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(10, 17, 24, 0.14);

  font-size: 14px;
  font-weight: 850;

  transition: background 0.18s ease, transform 0.18s ease,
    box-shadow 0.18s ease;
}

.header-cta:hover {
  background: #24303b;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(10, 17, 24, 0.18);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;

  min-height: 900px;
  display: grid;
  align-items: end;

  padding: 170px max(28px, calc((100vw - 1180px) / 2)) 70px;

  color: white;
  background: #05080c;
}

.hero-bg {
  position: absolute;
  inset: 0;

  background: url("assets/hero-construction.jpeg") center / cover no-repeat;
  filter: saturate(0.95);
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.74),
      rgba(0, 0, 0, 0.42) 43%,
      rgba(0, 0, 0, 0.55)
    ),
    linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.72),
      rgba(0, 0, 0, 0.08) 45%,
      rgba(0, 0, 0, 0.28)
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(900px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;

  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 980px;
  margin: 0 0 28px;

  color: #ffffff;
  font-size: clamp(54px, 7.2vw, 104px);
  font-weight: 680;
  line-height: 0.98;
  letter-spacing: -0.038em;
  text-transform: uppercase;

  text-shadow: 0 5px 26px rgba(0, 0, 0, 0.72);
}

.lead {
  max-width: 760px;
  margin: 0 0 34px;

  color: rgba(255, 255, 255, 0.93);
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 520;
  line-height: 1.42;

  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.68);
}

.hero-actions,
.store-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 54px;
  padding: 0 24px;

  border-radius: 999px;
  font-weight: 900;
}

.btn.primary {
  color: #171008;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  box-shadow: 0 16px 42px rgba(255, 122, 26, 0.28);
}

.btn.secondary {
  color: white;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.store-row {
  margin-top: 38px;
}

.store-row img {
  width: auto;
  height: 46px;
  border-radius: 8px;
}

.hero-card {
  position: absolute;
  right: max(28px, calc((100vw - 1180px) / 2));
  bottom: 76px;
  z-index: 2;

  width: 330px;
  display: grid;
  gap: 8px;
  padding: 24px;

  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-card strong {
  font-size: 22px;
}

.hero-card span {
  color: rgba(255, 255, 255, 0.78);
}

/* Sections */
.section {
  padding: 110px max(28px, calc((100vw - 1180px) / 2));
}

.section h2 {
  max-width: 900px;
  margin: 0 0 22px;

  color: var(--ink);
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 680;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.section p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 20px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* Problem */
.problem-grid {
  display: grid;
  gap: 16px;
}

.problem-grid div {
  padding: 24px;

  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(15, 23, 34, 0.05);

  font-size: 20px;
  font-weight: 750;
}

.problem-grid span {
  display: block;
  margin-bottom: 10px;

  color: var(--orange);
  font-size: 14px;
  letter-spacing: 0.16em;
}

/* Dark sections */
.dark {
  color: white;
  background: var(--dark);
}

.dark p {
  color: rgba(255, 255, 255, 0.72);
}

.solution h2 {
  color: #ffffff;
  font-weight: 660;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.35);
}

.product-layout h2 {
  color: #ffffff;
  font-weight: 660;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.35);
}

/* Solution */
.solution {
  position: relative;
  overflow: hidden;
}

.solution::after {
  content: "";
  position: absolute;
  top: -160px;
  right: -140px;

  width: 460px;
  height: 460px;

  background: radial-gradient(circle, var(--orange), rgba(255, 122, 26, 0) 65%);
  border-radius: 50%;
  opacity: 0.35;
}

.solution-head {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
}

.metrics {
  position: relative;
  z-index: 1;

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

.metrics div {
  padding: 30px;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
}

.metrics strong {
  display: block;

  color: var(--yellow);
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.metrics span {
  display: block;
  margin-top: 10px;

  color: rgba(255, 255, 255, 0.77);
  font-weight: 700;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-top: 38px;
}

.feature-card {
  grid-column: span 2;

  min-height: 265px;
  padding: 30px;

  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 55px rgba(12, 18, 28, 0.06);
}

.feature-card.large {
  position: relative;
  overflow: hidden;
  grid-column: span 3;

  color: white;
  background: #111a23;
}

.feature-card.orange {
  background: linear-gradient(135deg, #1a1110, #2a180d);
}

.feature-card img {
  float: right;
  width: 142px;
  margin: -18px -16px 0 18px;
}

.feature-card h3 {
  margin: 0 0 12px;

  color: var(--ink);
  font-size: 26px;
  font-weight: 680;
  letter-spacing: -0.035em;
}

.feature-card.large h3,
.feature-card.orange h3 {
  color: #ffffff;
}

.feature-card p {
  color: var(--ink-soft);
  font-size: 18px;
  opacity: 1;
}

.feature-card.large p,
.feature-card.orange p {
  color: rgba(255, 255, 255, 0.78);
}

/* Safety */
.safety {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 70px;
  align-items: center;

  background: #fff;
}

.visual-card {
  overflow: hidden;

  min-height: 420px;
  display: grid;
  place-items: center;

  background: linear-gradient(145deg, #fff6e9, #ffe2bd);
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.visual-card img {
  width: min(360px, 86%);
}

.check-list {
  display: grid;
  gap: 12px;

  margin: 30px 0 0;
  padding: 0;

  list-style: none;
}

.check-list li {
  font-size: 19px;
  font-weight: 800;
}

.check-list li::before {
  content: "✓";

  display: inline-grid;
  place-items: center;

  width: 26px;
  height: 26px;
  margin-right: 10px;

  color: white;
  background: var(--orange);
  border-radius: 50%;
}

/* Product */
.product-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 70px;
  align-items: center;
}

.mini-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.mini-tabs span {
  padding: 10px 14px;

  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;

  font-weight: 800;
}

.screens {
  position: relative;
  min-height: 470px;
}

.screens .desktop {
  position: absolute;
  top: 36px;
  right: 0;

  width: 88%;

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.36);
}

.screens .phone {
  position: absolute;
  left: 0;
  bottom: 0;

  width: 210px;

  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

/* Warehouse */
.warehouse-head {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 30px;
  align-items: center;
}

.warehouse-head img {
  justify-self: end;
  max-width: 250px;
}

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

.warehouse-grid article {
  padding: 26px;

  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
}

.warehouse-grid h3 {
  margin: 0 0 10px;

  color: var(--ink);
  font-size: 23px;
  font-weight: 680;
  letter-spacing: -0.025em;
}

.warehouse-grid p {
  font-size: 17px;
}

/* Custom */
.custom {
  text-align: center;
  background: linear-gradient(135deg, #fff, #f8eee1);
}

.custom h2,
.custom p {
  margin-left: auto;
  margin-right: auto;
}

.custom p {
  max-width: 820px;
}

/* CTA */
.cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;

  margin: 0 max(28px, calc((100vw - 1180px) / 2)) 70px;
  padding: 54px;

  color: white;
  background: linear-gradient(135deg, #101820, #24303b);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.cta h2 {
  margin: 0;

  color: #ffffff;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 660;
  line-height: 1.04;
  letter-spacing: -0.045em;

  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.35);
}

/* Footer */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  padding: 36px max(28px, calc((100vw - 1180px) / 2));

  color: var(--muted);
  font-weight: 750;
}

.footer img {
  width: 135px;
}

.footer a {
  color: var(--ink);
}

/* Responsive */
@media (max-width: 900px) {
  .site-header {
    height: auto;
    grid-template-columns: 1fr auto;
    align-items: center;

    padding: 12px 12px 12px 16px;

    border-radius: 26px;
  }

  .nav {
    display: none;
  }

  .header-cta {
    min-height: 46px;
    padding: 0 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 130px;
  }

  .hero {
    min-height: 820px;
    padding-top: 150px;
  }

  .hero-card {
    position: relative;
    right: auto;
    bottom: auto;

    width: min(100%, 360px);
    margin-top: 30px;
  }

  .split,
  .solution-head,
  .safety,
  .product-layout,
  .warehouse-head,
  .cta {
    grid-template-columns: 1fr;
  }

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

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

  .feature-card,
  .feature-card.large {
    grid-column: auto;
  }

  .screens {
    min-height: 390px;
  }

  .screens .desktop {
    width: 100%;
  }

  .screens .phone {
    width: 150px;
  }

  .warehouse-head img {
    justify-self: start;
  }

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

  .section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}
