:root {
  --paper: #f7fafb;
  --teal: #146477;
  --night: #182637;
  --quiet: #4f6074;
}

::selection {
  background: var(--cyan);
  color: var(--night);
}

.button-arrow {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 3px;
  border-block-start: 1.5px solid currentColor;
  border-inline-end: 1.5px solid currentColor;
  transform: rotate(45deg);
}

button.button .button-arrow,
.button-small .button-arrow {
  width: 7px;
  height: 7px;
}

.site-nav .button:hover {
  color: #fff;
}

.footer-note a {
  text-underline-offset: .19em;
}

.visit-hero {
  overflow: hidden;
  background: var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .89fr) minmax(0, 1.11fr);
  align-items: center;
  gap: 32px;
}

.hero-copy {
  padding-block: clamp(50px, 8vw, 120px);
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  font-size: clamp(43px, 5vw, 68px);
  font-weight: 700;
  letter-spacing: -.04em;
  text-wrap: initial;
}

.hero-promise {
  margin-top: 22px;
  color: var(--teal);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.2;
}

.hero-summary,
.section-intro > p,
.athena-copy > p {
  color: var(--quiet);
  max-width: 42ch;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
}

.hero-summary {
  margin-top: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  margin-top: 31px;
}

.hero-actions .text-link {
  min-height: 44px;
  font-size: 16px;
}

.hero-scene {
  align-self: stretch;
  position: relative;
  margin-right: min(-48px, (1200px - 100vw) / 2);
  min-height: 580px;
}

.hero-scene img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: 52% center;
}

.hero-scene figcaption {
  position: absolute;
  inset: auto 18px 16px auto;
  padding: 5px 10px;
  color: var(--night);
  background: #f7fafbef;
}

.hero-scene figcaption,
.workflow-scene figcaption,
.review-scene figcaption,
.kit-display figcaption {
  font-size: 13px;
  line-height: 1.4;
}

.section-intro {
  display: grid;
  grid-template-columns: 1.5fr .9fr;
  gap: 22px 52px;
  align-items: end;
  margin-bottom: clamp(35px, 5vw, 68px);
}

.section-intro h2,
.athena-copy h2,
.invitation-grid h2 {
  text-wrap: initial;
  font-size: clamp(38px, 4.65vw, 66px);
  letter-spacing: -.04em;
}

.workflow-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 5vw, 76px);
  align-items: center;
}

.workflow-steps {
  margin: 0;
  padding-left: 0;
  list-style: none;
  counter-reset: workflow;
}

.workflow-steps li {
  counter-increment: workflow;
  position: relative;
  border-top: 1px solid var(--line);
  padding: 22px 0 24px 49px;
}

.workflow-steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.workflow-steps li::before {
  position: absolute;
  left: 0;
  content: counter(workflow, decimal-leading-zero);
  color: var(--teal);
  font-weight: 600;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.workflow-steps h3 {
  font-size: clamp(23px, 2.2vw, 30px);
  text-wrap: initial;
  line-height: 1.17;
}

.workflow-steps p {
  margin-top: 8px;
  color: var(--quiet);
  line-height: 1.46;
  max-width: 38ch;
}

.workflow-scene img,
.review-scene img {
  display: block;
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
  object-position: center 44%;
}

.workflow-scene figcaption,
.review-scene figcaption {
  margin-top: 9px;
  color: var(--quiet);
}

.kit-showcase {
  background: var(--night);
  color: white;
  padding-block: clamp(50px, 7.5vw, 104px);
  overflow: clip;
}

.kit-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: 18px;
  align-items: center;
}

.kit-copy h2 {
  font-size: clamp(46px, 5.4vw, 76px);
  letter-spacing: -.04em;
  text-wrap: initial;
}

.kit-copy .kit-statement {
  color: var(--cyan);
  font-size: clamp(24px, 2.7vw, 36px);
  line-height: 1.13;
  max-width: 16ch;
  margin-top: 14px;
  letter-spacing: -.025em;
}

.kit-copy p + p {
  color: #cfdfed;
  max-width: 36ch;
  line-height: 1.5;
}

.kit-copy .text-link {
  color: var(--cyan);
  font-size: 16px;
  margin-top: 20px;
}

.kit-devices {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1.42;
}

.kit-devices::before {
  content: "";
  position: absolute;
  inset: 2% 3% -8%;
  background: radial-gradient(ellipse at 52% 58%, #3b5468 0%, transparent 69%);
  z-index: -1;
}

.kit-ipad,
.kit-monitor,
.kit-scale {
  position: absolute;
  filter: drop-shadow(0 19px 14px #111a2780);
}

.kit-ipad {
  width: 37%;
  left: 34%;
  top: 2%;
  transform: rotate(-7deg);
}

.kit-ipad img {
  display: block;
  position: relative;
}

.kit-ipad::before {
  content: "";
  position: absolute;
  inset: 3%;
  background: #e7f1f4 url("../logo/wynk.svg") center / 51% auto no-repeat;
}

.kit-monitor {
  width: 45%;
  left: 0;
  bottom: 3%;
  transform: rotate(-8deg);
}

.kit-scale {
  width: 49%;
  right: -2%;
  bottom: 2%;
  transform: rotate(7deg);
}

.kit-display figcaption {
  position: relative;
  margin: 6px 0 0 auto;
  text-align: right;
  color: #cfdfed;
}

.athena-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(0, .93fr);
  gap: clamp(30px, 6vw, 92px);
  align-items: center;
}

.athena-copy h2 {
  font-size: clamp(37px, 4.1vw, 61px);
}

.athena-copy > p {
  margin-top: 18px;
}

.athena-copy .button {
  margin-top: 26px;
}

.practice-invitation {
  color: white;
  background: var(--night);
  padding-block: clamp(50px, 7vw, 96px);
}

.invitation-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) auto;
  align-items: center;
  gap: 24px 58px;
}

.invitation-grid h2 {
  font-size: clamp(36px, 4.8vw, 66px);
  max-width: 16ch;
}

.invitation-grid p {
  color: #cfdfed;
  margin-top: 14px;
  max-width: 49ch;
}

@media (max-width: 1000px) {
  .hero-scene {
    margin-right: -32px;
    min-height: 510px;
  }

  .section-intro {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .hero-grid,
  .workflow-grid,
  .kit-showcase-grid,
  .athena-grid,
  .invitation-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-copy {
    padding-block: 46px 0;
  }

  .hero-scene {
    margin-inline: -32px;
    aspect-ratio: 1.45;
    min-height: 0;
  }

  .hero-scene img {
    object-position: 50% 44%;
  }

  .workflow-steps p {
    max-width: 52ch;
  }

  .kit-showcase-grid {
    gap: 28px;
  }

  .kit-display {
    max-width: 600px;
  }

  .kit-display figcaption {
    text-align: left;
    margin-left: 0;
  }

  .athena-copy {
    grid-row: 1;
  }

  .invitation-grid .button {
    justify-self: start;
  }
}

@media (max-width: 600px) {
  .hero-grid {
    gap: 25px;
  }

  .hero-copy h1 {
    font-size: clamp(36px, 10vw, 54px);
  }

  .hero-promise {
    margin-top: 15px;
  }

  .hero-summary {
    margin-top: 11px;
  }

  .hero-actions {
    margin-top: 20px;
    gap: 6px 16px;
  }

  .hero-scene {
    margin-inline: -20px;
    aspect-ratio: 1.2;
  }

  .hero-scene figcaption {
    right: 10px;
    bottom: 10px;
  }

  .workflow-steps li {
    padding-left: 37px;
  }
}
