:root {
  --ink: #14383a;
  --deep: #16464a;
  --teal: #5baeb0;
  --aqua: #b1d8d6;
  --foam: #eef8f6;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.92), transparent 32rem),
    linear-gradient(135deg, #79c0c1 0%, #b2dcd8 58%, #91cccc 100%);
  font-family: Arial, Helvetica, sans-serif;
}

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

.brand-header {
  display: flex;
  justify-content: center;
  padding: 28px 24px 12px;
}

.brand {
  display: block;
  width: fit-content;
}

.brand img {
  width: clamp(200px, 20vw, 250px);
  height: auto;
  display: block;
}

.hero {
  max-width: 980px;
  margin: 0 auto;
  padding: 36px 24px 46px;
  text-align: center;
  text-shadow: 0 3px 12px rgba(20, 56, 58, 0.16);
}

.eyebrow {
  margin: 0 0 14px;
  color: rgba(20, 56, 58, 0.78);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--white);
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: clamp(30px, 8.5vw, 58px);
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow:
    0 5px 12px rgba(20, 56, 58, 0.62),
    1px 1px 4px rgba(0, 0, 0, 0.78);
}

.subheadline {
  margin: 24px 0 14px;
  color: var(--ink);
  font-size: clamp(20px, 2.5vw, 26px);
  line-height: 1.25;
  font-weight: 900;
}

.intro-copy {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(20, 56, 58, 0.92);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.55;
  text-shadow: none;
  margin-bottom: 24px;
}

.video-section {
  max-width: 760px;
  margin: 24px auto;
}

.video-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: var(--deep);
  box-shadow: 0 10px 24px rgba(20, 56, 58, 0.2);
}

.video-poster img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
}

.video-poster:focus-visible,
.video-close:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}

.play-icon {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  place-items: center;
  width: clamp(68px, 10vw, 96px);
  aspect-ratio: 1;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: rgba(20, 56, 58, 0.85);
  transform: translate(-50%, -50%);
}

.play-icon svg {
  width: 58%;
  fill: var(--white);
}

.video-dialog {
  width: 100%;
  max-width: none;
  max-height: 100dvh;
  padding: 16px;
  border: 0;
  color: var(--white);
  background: var(--deep);
}

.video-dialog::backdrop {
  background: rgba(0, 0, 0, 0.8);
}

@supports (transition-behavior: allow-discrete) {
  .video-dialog,
  .video-dialog::backdrop {
    opacity: 0;
    transition:
      opacity 240ms ease,
      display 240ms allow-discrete,
      overlay 240ms allow-discrete;
  }

  .video-dialog[open],
  .video-dialog[open]::backdrop {
    opacity: 1;
  }
}

.video-close {
  display: block;
  margin: 0 0 12px auto;
  padding: 0;
  width: 44px;
  height: 44px;
  border: 1px solid var(--white);
  border-radius: 50%;
  color: var(--white);
  background: transparent;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.video-dialog video {
  width: 100%;
  max-height: calc(100dvh - 88px);
  aspect-ratio: 16 / 9;
  display: block;
  background: #111;
  object-fit: contain;
}

.product-cta {
  display: flex;
  justify-content: center;
  padding: 58px 24px;
  background: var(--foam);
}

.product-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 58px;
  padding: 12px 26px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: white;
  background: var(--ink);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 10px 24px rgba(20, 56, 58, 0.14);
  transition: 180ms ease;
}

.product-cta a:hover,
.product-cta a:focus-visible {
  background: #1f6264;
  border-color: #1f6264;
  transform: translateY(-2px);
}

footer {
  min-height: 110px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px clamp(24px, 8vw, 120px);
  color: white;
  background: var(--ink);
}

footer p {
  margin: 0;
  font-size: 13px;
}

.brand--footer img {
  width: 140px;
}

@media (max-width: 640px) {
  .brand-header {
    padding-top: 20px;
  }

  .brand img {
    width: 150px;
  }

  .hero {
    padding: 30px 18px 38px;
  }

  .eyebrow {
    font-size: 11px;
  }

  .hero h1 {
    font-size: clamp(48px, 15vw, 72px);
  }

  .subheadline {
    margin-top: 20px;
  }

  .intro-copy {
    font-size: 16px;
  }

  .product-cta {
    padding: 42px 18px;
  }

  .product-cta a {
    width: 100%;
  }

  footer {
    min-height: 96px;
    padding: 20px 18px;
  }

  .brand--footer img {
    width: 120px;
  }
}

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

  .product-cta a,
  .video-dialog,
  .video-dialog::backdrop {
    transition: none;
  }
}
