:root {
  --sunny: #ffac40;
  --sunny-pressed: #e89128;
  --peach: #ffeacf;
  --espresso: #261b14;
  --charcoal: #564c45;
  --clay: #84624c;
  --taupe: #9e928a;
  --canvas: #ffffff;
  --hairline: #e8dac8;
  --teal: #5bb5b0;
  --teal-plate: #d7efed;
  --overlay: rgba(38, 27, 20, 0.16);
  --radius-card: 16px;
  --radius-nested: 8px;
  --radius-pill: 9999px;
  --pad-x: 20px;
  --container: 72rem;
  --header-h: 4.25rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scrollbar-color: var(--hairline) var(--canvas);
}

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

body {
  margin: 0;
  min-height: 100svh;
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--charcoal);
  background: var(--canvas);
  caret-color: var(--espresso);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--peach);
  color: var(--espresso);
}

:focus-visible {
  outline: 2px solid var(--espresso);
  outline-offset: 3px;
}

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

a {
  color: var(--espresso);
}

.skip {
  position: absolute;
  inset-inline-start: -9999px;
  inset-block-start: 12px;
  z-index: 80;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--espresso);
  color: var(--canvas);
  text-decoration: none;
  white-space: nowrap;
}

.skip:focus-visible {
  inset-inline-start: 12px;
}

.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  border-bottom: 1px solid var(--hairline);
  background: var(--canvas);
}

.site-header.is-open {
  position: sticky;
}

.site-header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.wordmark {
  justify-self: start;
  display: flex;
  align-items: center;
  min-width: 0;
  max-width: 10rem;
}

.wordmark img {
  height: 22px;
  width: auto;
  max-width: 100%;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  min-width: 0;
  justify-self: center;
}

.nav a {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-decoration: none;
  color: var(--clay);
  white-space: nowrap;
}

.nav a[aria-current="page"],
.nav a:hover {
  color: var(--espresso);
}

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

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-inline-end: -10px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-nested);
  background: transparent;
  color: var(--espresso);
  cursor: pointer;
}

.nav-toggle .nav-toggle__menu,
.nav-toggle .nav-toggle__close {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.nav-toggle .nav-toggle__close {
  display: none;
}

.site-header.is-open .nav-toggle .nav-toggle__menu {
  display: none;
}

.site-header.is-open .nav-toggle .nav-toggle__close {
  display: block;
}

.hero__copy,
.section-copy,
.product-copy {
  min-width: 0;
}

.lead {
  overflow-wrap: break-word;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.btn--primary {
  background: var(--sunny);
  color: var(--canvas);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--sunny-pressed);
}

.btn--ghost {
  background: transparent;
  color: var(--espresso);
  box-shadow: inset 0 0 0 1px var(--hairline);
}

.btn--ghost:hover {
  background: var(--peach);
}

.btn--sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

.header-cta {
  flex: 0 0 auto;
  white-space: nowrap;
}

.btn[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.55;
}

.btn,
.nav-toggle,
.product-carousel__arrow,
.product-carousel__label,
.play-badge,
.site-footer__top {
  transition: transform 160ms var(--ease-out);
}

.btn:active,
.nav-toggle:active,
.product-carousel__arrow:active,
.product-carousel__label:active,
.play-badge:active,
.site-footer__top:active {
  transform: scale(0.97);
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .nav-toggle,
  .product-carousel__arrow,
  .product-carousel__label,
  .play-badge,
  .site-footer__top {
    transition-duration: 100ms;
  }

  .btn:active,
  .nav-toggle:active,
  .product-carousel__arrow:active,
  .product-carousel__label:active,
  .play-badge:active,
  .site-footer__top:active {
    transform: scale(0.99);
  }
}

.hero {
  display: grid;
  gap: 32px;
  align-items: center;
  padding-block: 32px 40px;
}

.hero__copy h1,
.section-copy h2,
.product-copy h1 {
  margin: 0;
  font-family: Nunito, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--espresso);
}

.hero__copy h1 {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  line-height: 1.12;
  max-width: 12ch;
}

.lead {
  margin: 16px 0 0;
  max-width: min(38rem, 100%);
  font-size: 16px;
  line-height: 1.5;
  color: var(--charcoal);
  overflow-wrap: anywhere;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.overlap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(4.5rem, 0.7fr);
  grid-template-rows: auto auto;
  align-items: start;
  gap: 0;
  min-height: 0;
}

.overlap .plate--back {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  width: 100%;
  max-width: none;
}

.overlap .plate--front {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  position: relative;
  width: 100%;
  max-width: none;
  margin-top: -28%;
  right: auto;
  top: auto;
}

.plate {
  aspect-ratio: 1;
  border-radius: var(--radius-card);
  border: 1px solid var(--hairline);
  background: var(--peach);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--espresso);
}

.plate--teal {
  background: var(--teal-plate);
}

.plate--sm {
  width: 28px;
  height: 28px;
  min-width: 28px;
  aspect-ratio: auto;
  padding: 0;
  font-size: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .overlap .plate--front {
    animation: plate-settle 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}

@keyframes plate-settle {
  from {
    transform: translate(10px, 14px);
  }
  to {
    transform: none;
  }
}

.band {
  padding-block: 72px 24px;
}

.band h2,
.product-copy h1,
.section-copy h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.25;
}

.section-copy p,
.product-copy .lead {
  margin-top: 12px;
}

.jobs {
  display: grid;
  gap: 28px;
  align-items: center;
}

.jobs__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.split {
  display: grid;
  gap: 28px;
  align-items: center;
}

.cluster {
  margin-top: 24px;
}

.four {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.three {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.four .plate,
.three .plate {
  min-height: 0;
}

.tag-teaser {
  display: grid;
  gap: 24px;
  align-items: center;
}

.price {
  margin: 12px 0 0;
  font-family: Nunito, system-ui, sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
  color: var(--espresso);
}

.price span {
  display: block;
  margin-top: 4px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--clay);
}

.proof .four .plate {
  min-height: 7.5rem;
}

.claim-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--espresso);
  text-underline-offset: 3px;
}

.close {
  margin-top: 48px;
  padding: 36px 24px;
  border-radius: var(--radius-card);
  background: var(--peach);
  text-align: center;
}

.close h2 {
  margin: 0 0 8px;
  font-family: Nunito, system-ui, sans-serif;
  font-size: 24px;
  line-height: 1.33;
  color: var(--espresso);
}

.close p {
  margin: 0 0 20px;
  color: var(--espresso);
}

.close a {
  color: var(--espresso);
  font-weight: 600;
  text-underline-offset: 3px;
}

.site-footer--dark {
  margin-top: 0;
  padding-block: 18px;
  border-top: 0;
  background: var(--espresso);
  color: #f5f0ea;
}

.site-footer__bar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px 20px;
}

.site-footer__copy {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #d8cfc6;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  justify-content: end;
}

.site-footer--dark .site-footer__legal a {
  color: #f5f0ea;
  font-size: 13px;
  text-decoration: none;
  text-underline-offset: 3px;
}

.site-footer--dark .site-footer__legal a:not(:last-child)::after {
  content: ",";
  margin-right: 0.35em;
}

.site-footer--dark .site-footer__legal a:hover {
  text-decoration: underline;
}

.site-footer__top {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #3a2d24;
  color: #f5f0ea;
  cursor: pointer;
}

.site-footer__top svg {
  width: 18px;
  height: 18px;
}

.site-footer__top:hover {
  background: #4a3b31;
}

@media (max-width: 719px) {
  .site-footer__bar {
    grid-template-columns: 1fr auto;
  }

  .site-footer__legal {
    grid-column: 1 / 2;
    justify-content: start;
  }

  .site-footer__top {
    grid-column: 2;
    grid-row: 1 / 3;
  }
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.why-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.why-list p {
  margin: 0;
  font-size: 16px;
  color: var(--espresso);
}

.product-hero {
  display: grid;
  gap: 28px;
  align-items: start;
  padding-block: 24px 20px;
}

.product-hero > * {
  min-width: 0;
}

.product-hero__art {
  width: min(26rem, 100%);
  max-width: 100%;
  justify-self: center;
}

.product-hero__art img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.product-carousel {
  position: relative;
  width: 100%;
}

.product-carousel__viewport {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--peach);
}

.product-carousel__track {
  display: grid;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-carousel__slide {
  grid-area: 1 / 1;
  margin: 0;
  min-width: 0;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transform: translateX(12%);
  transition:
    opacity 250ms var(--ease-out),
    transform 250ms var(--ease-out);
}

.product-carousel[data-dir="prev"] .product-carousel__slide {
  transform: translateX(-12%);
}

.product-carousel[data-dir] .product-carousel__slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.product-carousel[data-dir="next"] .product-carousel__slide.is-leaving {
  transform: translateX(-12%);
  opacity: 0;
}

.product-carousel[data-dir="prev"] .product-carousel__slide.is-leaving {
  transform: translateX(12%);
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .product-carousel__slide,
  .product-carousel[data-dir="prev"] .product-carousel__slide,
  .product-carousel[data-dir="next"] .product-carousel__slide.is-leaving,
  .product-carousel[data-dir="prev"] .product-carousel__slide.is-leaving {
    transform: none;
    transition: opacity 160ms var(--ease-out);
  }
}

.product-carousel__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  image-orientation: none;
  transform: none;
}

.product-carousel__slide[data-slide="1"] img {
  object-position: center 40%;
}

.product-carousel__labels {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.product-carousel__label {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  background: var(--canvas);
  color: var(--clay);
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.product-carousel__label.is-active {
  border-color: var(--espresso);
  background: var(--espresso);
  color: var(--canvas);
}

.product-carousel__nav {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 8px;
  pointer-events: none;
}

.product-carousel__arrow {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.92);
  color: var(--espresso);
  box-shadow: 0 4px 14px rgb(38 27 20 / 0.14);
  cursor: pointer;
  pointer-events: auto;
}

.product-carousel__arrow svg {
  width: 18px;
  height: 18px;
}

.product-carousel__arrow:hover {
  background: var(--canvas);
}

.shop-note {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--clay);
}

.shop-note[hidden] {
  display: none;
}

@media (max-width: 719px) {
  .site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .wordmark {
    max-width: 7.25rem;
  }

  .nav {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    z-index: 1;
    grid-column: 1 / -1;
    justify-self: stretch;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    padding: 8px var(--pad-x) 16px;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 220ms var(--ease-out),
      transform 220ms var(--ease-out),
      visibility 0s linear 220ms;
  }

  .site-header.is-open .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition:
      opacity 220ms var(--ease-out),
      transform 220ms var(--ease-out),
      visibility 0s linear 0s;
  }

  .nav a:not(.btn) {
    width: 100%;
    padding: 12px 0;
  }

  .header-cta {
    display: none;
  }

  .nav-app-cta {
    display: inline-flex;
    margin-top: 8px;
  }

  @media (prefers-reduced-motion: reduce) {
    .nav {
      transform: none;
      transition:
        opacity 150ms var(--ease-out),
        visibility 0s linear 150ms;
    }

    .site-header.is-open .nav {
      transform: none;
      transition:
        opacity 150ms var(--ease-out),
        visibility 0s linear 0s;
    }
  }
}

@media (min-width: 720px) {
  .nav-toggle,
  .nav-app-cta {
    display: none;
  }

  .hero,
  .jobs,
  .split,
  .tag-teaser,
  .product-hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
  }

  .product-hero {
    padding-block: 36px 28px;
  }

  .product-carousel__viewport {
    aspect-ratio: 4 / 5;
  }

  .jobs--flip,
  .tag-teaser {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .four {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .hero {
    padding-block: 40px 64px;
  }

  .hero__copy h1 {
    max-width: 11ch;
  }
}

@media (min-width: 1024px) {
  .btn--hero {
    min-height: 56px;
  }
}
