:root {
  color: #17251e;
  background: #f3f1e9;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.page {
  max-width: 1200px;
  margin: auto;
  padding-inline: 32px;
}

.button {
  color: inherit;
  text-decoration: none;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.85fr);
  align-items: start;
  gap: 64px;
  min-height: 100vh;
  padding: 56px 0;
}

.number {
  color: #557261;
  font-size: 1rem;
  font-weight: 750;
}

.eyebrow {
  color: #557261;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 12px;
  font-size: clamp(4rem, 7vw, 7rem);
  letter-spacing: -0.075em;
  line-height: 0.92;
}

.hero-subtitle {
  max-width: 620px;
  margin-bottom: 28px;
  color: #2b4234;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.lead {
  max-width: 620px;
  color: #476051;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.button {
  display: inline-block;
  margin-top: 18px;
  padding: 14px 20px;
  border-radius: 8px;
  background: #17251e;
  color: #fff;
  font-weight: 700;
}

.secondary-button {
  display: inline-block;
  margin: 18px 0 0 10px;
  padding: 12px 18px;
  border: 1px solid #257044;
  border-radius: 8px;
  background: #eaf5ed;
  color: #1d5a35;
  font-weight: 700;
  text-decoration: none;
}

.steps {
  max-width: 760px;
  padding: 36px 42px;
  border: 1px solid #dfe2dc;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 50px rgb(23 37 30 / 6%);
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr;
  column-gap: 22px;
  padding-bottom: 32px;
}

.step:last-child {
  padding-bottom: 0;
}

.step:not(:last-child)::after {
  position: absolute;
  top: 54px;
  bottom: 6px;
  left: 28px;
  width: 2px;
  background: #dfe2dc;
  content: "";
}

.number {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0;
  border: 2px solid #c6ddcf;
  border-radius: 50%;
  background: #eaf5ed;
  color: #257044;
}

h2 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.step > div > p {
  color: #557261;
  line-height: 1.5;
}

.device-notifications {
  display: flex;
  align-items: flex-end;
  flex-wrap: nowrap;
  gap: 14px;
  margin-top: 20px;
  margin-left: -14px;
}

.device-reference {
  position: relative;
  width: 164px;
  aspect-ratio: 361 / 593;
  margin: 0;
  overflow: hidden;
  border-radius: 27px;
  background: #fff;
}

.device-reference img {
  position: relative;
  width: 284%;
  max-width: none;
  transform: translate(-33.5%, -8.33%);
}

.device-reference::before {
  position: absolute;
  z-index: 1;
  inset: 0 0 auto;
  height: 52%;
  background: linear-gradient(to bottom, #fff 0%, rgb(255 255 255 / 0%) 100%);
  content: "";
}

.notification-panel {
  position: absolute;
  z-index: 2;
  top: 50.5%;
  left: 15%;
  display: grid;
  width: 70%;
  height: 20.2%;
  grid-template-rows: 59% 1fr auto;
  padding: 4px 6px 32px;
  background: #050505;
  color: #fff;
  font-family: Arial, sans-serif;
}

.notification-panel span {
  margin: -4px -6px 2px;
  padding: 4px 6px;
  background: #00d60c;
  color: #111;
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
}

.notification-panel strong {
  align-self: end;
  font-size: 0.82rem;
  line-height: 1.05;
}

.notification-panel em {
  font-size: 0.72rem;
  font-style: normal;
}

.watch-reference {
  position: relative;
  width: 145px;
  aspect-ratio: 387 / 606;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
}

.watch-reference img {
  position: relative;
  width: 291%;
  max-width: none;
  transform: translate(-33.8%, -10.4%);
}

.watch-reference::before {
  position: absolute;
  z-index: 1;
  top: 25%;
  left: 9.8%;
  width: 75.8%;
  height: 49%;
  border-radius: 5px;
  background: #050505;
  content: "";
}

.watch-alert {
  position: absolute;
  z-index: 2;
  top: 50.5%;
  left: 10.5%;
  display: grid;
  width: 74.5%;
  height: 21.8%;
  grid-template-rows: 29% 1fr auto;
  padding: 4px 8px 5px;
  border-radius: 4px;
  background: #15171a;
  color: #fff;
  font-family: Arial, sans-serif;
}

.watch-alert span {
  margin: -4px -8px 2px;
  padding: 4px 8px;
  border-radius: 4px 4px 0 0;
  background: #4d5359;
  color: #fff;
  font-size: 0.48rem;
  font-weight: 700;
  text-transform: uppercase;
}

.watch-alert strong {
  align-self: end;
  font-size: 0.72rem;
  line-height: 1;
}

.watch-alert em {
  font-size: 0.59rem;
  font-style: normal;
}

@media (max-width: 700px) {
  .page {
    padding-inline: 20px;
  }

  .hero {
    padding: 0;
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 48px;
    min-height: auto;
    padding: 48px 0;
  }

  .steps {
    padding: 28px 20px;
  }

  .step {
    grid-template-columns: 48px 1fr;
    column-gap: 16px;
  }

  .number {
    width: 48px;
    height: 48px;
  }

  .step:not(:last-child)::after {
    top: 48px;
    left: 23px;
  }

  .device-reference {
    width: min(164px, calc(50vw - 68px));
  }

  .watch-reference {
    width: min(145px, calc(50vw - 77px));
  }

}
