:root {
  --ink: #0b2144;
  --paper: #f8f7f2;
  --white: #ffffff;
  --cyan: #33c2d8;
  --yellow: #f3c94b;
  --coral: #ff7168;
  --line: rgba(11, 33, 68, 0.18);
  --display: "Bodoni 72", Didot, Georgia, serif;
  --sans: "Avenir Next", Avenir, "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.5;
}

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

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 0 4vw;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  font-family: var(--display);
  font-size: 23px;
  font-style: italic;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.88rem;
  font-weight: 700;
}

nav a {
  padding: 10px 0;
}

.nav-order {
  padding-inline: 18px;
  color: var(--white);
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  min-height: calc(100svh - 78px);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 8vw, 120px) 7vw;
}

.eyebrow {
  margin: 0 0 20px;
  color: #266c7d;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 700px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.3rem, 7vw, 8rem);
  font-weight: 500;
  line-height: 0.88;
}

h1 em {
  color: var(--coral);
  font-weight: 500;
}

.hero-intro {
  max-width: 600px;
  margin: 34px 0 40px;
  color: #3d4960;
  font-size: 1.08rem;
}

.purchase {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px 28px;
  align-items: end;
  max-width: 620px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.price-block {
  display: flex;
  flex-direction: column;
}

.price-label,
.order-controls label {
  margin-bottom: 4px;
  color: #647086;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.price {
  font-family: var(--display);
  font-size: 2.8rem;
  line-height: 1;
}

.price sup {
  font-family: var(--sans);
  font-size: 1rem;
}

.price small {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 800;
}

.order-controls {
  display: flex;
  flex-direction: column;
}

.quantity-control {
  display: grid;
  grid-template-columns: 38px 46px 38px;
  height: 42px;
  border: 1px solid var(--ink);
}

.quantity-control button,
.quantity-control input {
  width: 100%;
  min-width: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: center;
}

.quantity-control button {
  cursor: pointer;
  font-size: 1.2rem;
}

.quantity-control input {
  border-inline: 1px solid var(--ink);
  appearance: textfield;
}

.quantity-control input::-webkit-inner-spin-button,
.quantity-control input::-webkit-outer-spin-button {
  appearance: none;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  min-height: 56px;
  padding: 0 20px;
  color: var(--white);
  background: var(--ink);
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease;
}

.purchase .primary-button {
  grid-column: 1 / -1;
}

.primary-button:hover {
  background: #173d72;
  transform: translateY(-2px);
}

.primary-button:focus-visible,
nav a:focus-visible,
.quantity-control button:focus-visible,
.quantity-control input:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.order-note {
  max-width: 620px;
  margin: 12px 0 0;
  color: #687387;
  font-size: 0.8rem;
}

.product-stage {
  position: relative;
  display: grid;
  min-height: 620px;
  place-items: center;
  overflow: hidden;
  background: var(--yellow);
  isolation: isolate;
}

.product-stage::before,
.product-stage::after {
  position: absolute;
  z-index: -1;
  width: 22%;
  height: 100%;
  content: "";
  transform: skewX(-12deg);
}

.product-stage::before {
  left: 8%;
  background: var(--cyan);
}

.product-stage::after {
  right: 4%;
  background: var(--coral);
}

.product-stage img {
  display: block;
  width: min(82%, 720px);
  height: auto;
  filter: drop-shadow(0 26px 24px rgba(11, 33, 68, 0.18));
  animation: reveal-product 700ms ease-out both;
}

.stage-label {
  position: absolute;
  z-index: 2;
  padding: 10px 14px;
  border: 1px solid var(--ink);
  background: var(--paper);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.stage-label-top {
  top: 6%;
  right: 5%;
}

.stage-label-bottom {
  bottom: 6%;
  left: 5%;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.feature-strip article {
  min-height: 240px;
  padding: 46px 4vw;
  border-right: 1px solid var(--line);
}

.feature-strip article:last-child {
  border-right: 0;
}

.feature-number {
  color: var(--coral);
  font-family: var(--display);
  font-size: 1.1rem;
  font-style: italic;
}

.feature-strip h2 {
  margin: 42px 0 8px;
  font-size: 1.22rem;
}

.feature-strip p {
  max-width: 330px;
  margin: 0;
  color: #606b7d;
}

.details {
  padding: clamp(76px, 10vw, 140px) 7vw;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: end;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.section-heading .eyebrow {
  margin: 0;
}

.section-heading h2,
.safety h2,
.closing h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 5.8vw, 6.4rem);
  font-weight: 500;
  line-height: 0.95;
}

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

.steps li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 18px;
}

.steps li > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
}

.steps h3 {
  margin: 2px 0 8px;
  font-size: 1rem;
}

.steps p {
  margin: 0;
  color: #606b7d;
}

.specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ink);
}

.specs div {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  color: var(--white);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.specs div:last-child {
  border-right: 0;
}

.specs span {
  color: #a8c2d8;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.specs strong {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 500;
}

.safety {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9vw;
  padding: clamp(76px, 10vw, 140px) 7vw;
  color: var(--white);
  background: var(--ink);
}

.safety .eyebrow {
  color: var(--yellow);
}

.safety ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.safety li {
  padding: 20px 0 20px 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(var(--yellow), var(--yellow)) left 26px / 10px 2px no-repeat;
}

.closing {
  display: flex;
  min-height: 530px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 7vw;
  text-align: center;
}

.closing h2 {
  color: var(--coral);
}

.closing > p:not(.eyebrow) {
  margin: 24px 0;
  font-weight: 800;
}

.closing .primary-button {
  width: min(100%, 360px);
}

footer {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 38px;
  align-items: start;
  padding: 54px 4vw 28px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

footer > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

footer > a {
  text-align: right;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.fine-print {
  grid-column: 1 / -1;
  margin: 22px 0 0;
  padding-top: 22px;
  color: #687387;
  border-top: 1px solid var(--line);
}

@keyframes reveal-product {
  from {
    opacity: 0;
    transform: translateY(28px) rotate(2deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .product-stage img,
  .primary-button {
    animation: none;
    transition: none;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .product-stage {
    min-height: auto;
    aspect-ratio: 1 / 1;
    grid-row: 1;
  }

  .hero-copy {
    padding: 64px 7vw 76px;
  }

  .section-heading,
  .safety {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 24px;
  }

  .steps {
    gap: 28px;
  }

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

  .specs div:nth-child(2) {
    border-right: 0;
  }

  .specs div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 66px;
  }

  nav a:not(.nav-order) {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .product-stage {
    min-height: 440px;
    aspect-ratio: auto;
  }

  .product-stage img {
    width: 92%;
  }

  .stage-label-top {
    top: 4%;
  }

  .stage-label-bottom {
    bottom: 4%;
  }

  h1 {
    font-size: clamp(4.1rem, 20vw, 6rem);
  }

  .purchase {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .purchase .primary-button {
    grid-column: auto;
  }

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

  .feature-strip article {
    min-height: 190px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-strip article:last-child {
    border-bottom: 0;
  }

  .feature-strip h2 {
    margin-top: 28px;
  }

  .steps {
    padding-bottom: 56px;
  }

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

  .specs div,
  .specs div:nth-child(2) {
    min-height: 112px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .safety {
    gap: 46px;
  }

  footer {
    grid-template-columns: 1fr;
  }

  footer > a {
    text-align: left;
  }
}
