:root {
  --navy: #061742;
  --navy-soft: #0a315c;
  --turquoise: #08b8bc;
  --orange: #ff4b0a;
  --orange-dark: #f04400;
  --line: #dbe1e8;
  --page-width: 1276px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 45%, rgba(255, 91, 42, 0.08), transparent 30rem),
    radial-gradient(circle at 78% 35%, rgba(27, 196, 199, 0.07), transparent 32rem),
    #fff;
  color: var(--navy);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.45;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 260px 1fr 330px;
  align-items: center;
  width: calc(100% - 202px);
  max-width: 1360px;
  height: 92px;
  margin: 23px auto 0;
  padding: 0 31px 0 37px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #dfe3e8;
  border-radius: 25px;
  box-shadow: 0 5px 16px rgba(4, 23, 55, 0.11);
}

.brand {
  display: flex;
  align-items: center;
  width: 215px;
  height: 58px;
  overflow: hidden;
}

.brand img {
  width: 215px;
  height: 58px;
  object-fit: cover;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 51px;
  padding: 0;
  margin: 0 0 0 28px;
  color: #071438;
  font-size: 18px;
  list-style: none;
}

.main-nav a {
  transition: color 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--orange);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #fff;
  border: 1px solid #dce2e9;
  border-radius: 50%;
  color: var(--navy);
}

.icon-button svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  min-height: 54px;
  padding: 0 27px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.primary-button {
  background: linear-gradient(105deg, #ff4908 0%, #ff5a08 100%);
  color: #fff;
  box-shadow: 0 9px 22px rgba(255, 70, 0, 0.18);
}

.primary-button:hover,
.secondary-button:hover,
.primary-button:focus-visible,
.secondary-button:focus-visible {
  transform: translateY(-1px);
}

.account-button {
  min-width: 183px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 24px;
  font-size: 16px;
}

.home-main {
  padding-top: 0;
}

.hero {
  position: relative;
  isolation: isolate;
  width: calc(100% - 152px);
  max-width: 1380px;
  min-height: 620px;
  margin: 0 auto;
  padding: 51px 54px 0;
  background: radial-gradient(circle at 6% 55%, rgba(255, 92, 48, 0.08), transparent 28rem);
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: -2px;
  background: url("../images/hero-background-v2.png") center top / 100% 620px no-repeat;
  content: "";
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at center, #000 76%, rgba(0, 0, 0, 0.94) 84%, transparent 100%);
  mask-image: radial-gradient(ellipse 100% 100% at center, #000 76%, rgba(0, 0, 0, 0.94) 84%, transparent 100%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 660px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 17px;
  color: #07375f;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.eyebrow img {
  width: 25px;
  height: 25px;
  object-fit: cover;
}

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

h1 {
  width: 620px;
  margin-bottom: 17px;
  color: var(--navy);
  font-size: 68px;
  font-weight: 800;
  letter-spacing: -0.043em;
  line-height: 1.055;
}

.lead {
  width: 510px;
  margin-bottom: 29px;
  color: #101d43;
  font-size: 21px;
  line-height: 1.42;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 45px;
}

.hero-actions .primary-button {
  min-width: 247px;
}

.hero-actions .secondary-button {
  min-width: 207px;
  background: #fff;
  border-color: var(--navy);
  color: var(--navy);
  box-shadow: 0 3px 7px rgba(7, 24, 58, 0.08);
}

.play {
  margin-left: 2px;
  font-size: 12px;
}

.benefits {
  display: grid;
  grid-template-columns: 215px 232px 180px;
  gap: 16px;
  width: 659px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.benefits li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
}

.benefit-icon {
  width: 64px;
  height: 64px;
  object-fit: cover;
}

.benefits strong,
.benefits small {
  display: block;
}

.benefits strong {
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.25;
}

.benefits small {
  color: #20345c;
  font-size: 11.5px;
  line-height: 1.45;
}

.benefits li:last-child small {
  max-width: 125px;
}

.workflow {
  width: calc(100% - 152px);
  max-width: 1384px;
  min-height: 294px;
  margin: 22px auto 40px;
  padding: 26px 47px 20px;
  background: rgba(255, 255, 255, 0.83);
  border: 1px solid #d7dde5;
  border-radius: 24px 24px 0 0;
}

.workflow h2 {
  margin: 0;
  text-align: center;
  color: var(--navy);
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.workflow-accent {
  display: block;
  width: 82px;
  height: 3px;
  margin: 15px auto 31px;
  background: var(--turquoise);
  border-radius: 3px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  position: relative;
  display: grid;
  grid-template-columns: 53px 1fr;
  gap: 8px;
  min-width: 0;
}

.steps li:not(:last-child)::after {
  position: absolute;
  top: 22px;
  left: 181px;
  width: 115px;
  border-top: 1px dashed #a7b7cf;
  content: "";
}

.step-top {
  display: contents;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  border: 1.5px solid var(--turquoise);
  border-radius: 50%;
  color: var(--turquoise);
  font-size: 24px;
  line-height: 1;
}

.step-top img {
  width: 68px;
  height: 64px;
  margin-left: 2px;
  object-fit: contain;
}

.step-copy {
  grid-column: 2;
  margin-top: 7px;
}

.step-copy h3 {
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

.step-copy p {
  max-width: 190px;
  margin-bottom: 0;
  color: #1d3158;
  font-size: 12px;
  line-height: 1.45;
}

.content-shell,
.woocommerce-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 60px auto;
}

.content-card {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.admin-bar .site-header {
  margin-top: 55px;
}

@media (max-width: 1180px) {
  .site-header {
    width: calc(100% - 48px);
    grid-template-columns: 220px 1fr auto;
  }

  .main-nav {
    gap: 28px;
    margin-left: 0;
  }

  .hero {
    width: calc(100% - 48px);
    padding-right: 20px;
    padding-left: 20px;
    background-position: center top;
  }

  .workflow {
    width: calc(100% - 48px);
  }

  .steps li:not(:last-child)::after {
    width: 70px;
  }
}

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

  .main-nav {
    display: none;
  }

  .hero {
    width: calc(100% - 48px);
    min-height: 1080px;
    padding-top: 42px;
    background: radial-gradient(circle at 6% 26%, rgba(255, 92, 48, 0.08), transparent 25rem);
  }

  .hero::before {
    background: url("../images/hero-monitoring.png") center bottom / min(712px, 110vw) auto no-repeat;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%);
  }

  .hero-copy {
    width: 100%;
  }

  h1,
  .lead,
  .benefits {
    width: auto;
  }

  .benefits {
    grid-template-columns: repeat(3, 1fr);
  }

  .workflow {
    margin-top: 20px;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 32px;
  }

  .steps li:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: calc(100% - 24px);
    height: 74px;
    margin-top: 12px;
    padding: 0 16px;
    border-radius: 19px;
  }

  .brand,
  .brand img {
    width: 168px;
    height: auto;
  }

  .header-actions .icon-button {
    display: none;
  }

  .account-button {
    min-width: 0;
    min-height: 42px;
    padding: 0 15px;
    font-size: 13px;
  }

  .hero {
    width: calc(100% - 32px);
    min-height: 1170px;
    padding-top: 34px;
    padding-right: 0;
    padding-left: 0;
  }

  .eyebrow {
    font-size: 12px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 58px);
    line-height: 1.03;
  }

  .lead {
    font-size: 18px;
  }

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

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

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

  .workflow {
    width: calc(100% - 24px);
    padding: 24px 20px 30px;
    border-radius: 20px;
  }

  .workflow h2 {
    font-size: 25px;
  }

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