@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/figtree/figtree-400.woff2") format("woff2");
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/figtree/figtree-500.woff2") format("woff2");
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/figtree/figtree-600.woff2") format("woff2");
}

:root {
  --header-bg: #ec9976;
  --main-bg: #f1e1c6;
  --footer-bg: #63af62;
  --accent-cyan: #31c4cc;
  --accent-yellow: #fcf95a;
  --nav-link: var(--text-color);
  --text-color: #353535;
  --border-color: rgba(53, 53, 53, 0.14);
  --radius-pill: 999px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --container: min(1160px, calc(100vw - 2.5rem));
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Figtree", sans-serif;
  color: var(--text-color);
  background: var(--main-bg);
  line-height: 1.45;
}

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

a {
  color: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
  background: #fff;
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  z-index: 50;
}

.site-header {
  background: var(--header-bg);
  border-bottom: 1px solid var(--border-color);
}

.site-header__top {
  padding: 0.6rem 0;
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.site-logo img {
  width: 110px;
  height: auto;
}

.mobile-nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.5rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--nav-link);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-nav-toggle:hover {
  opacity: 0.78;
}

.mobile-nav-toggle:focus-visible {
  outline: 2px solid var(--nav-link);
  outline-offset: 3px;
}

.mobile-nav-toggle__icon {
  display: grid;
  gap: 0.32rem;
  width: 1.5rem;
}

.mobile-nav-toggle__icon span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: var(--radius-pill);
  background: currentColor;
  transform-origin: center;
  transition: transform 220ms ease, opacity 220ms ease;
}

.mobile-nav-toggle[aria-expanded="true"] .mobile-nav-toggle__icon span:nth-child(1) {
  transform: translateY(0.4rem) rotate(45deg);
}

.mobile-nav-toggle[aria-expanded="true"] .mobile-nav-toggle__icon span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle[aria-expanded="true"] .mobile-nav-toggle__icon span:nth-child(3) {
  transform: translateY(-0.4rem) rotate(-45deg);
}

.site-nav {
  margin-left: auto;
}

.site-nav ul {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  font-weight: 500;
  color: var(--nav-link);
}

.site-nav a:hover {
  text-decoration: underline;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  appearance: none;
  -webkit-appearance: none;
  border-radius: var(--radius-pill);
  border: 1px solid #111;
  background: #111;
  color: #fff;
  text-decoration: none;
  padding: 0.7rem 1.35rem;
  font: inherit;
  line-height: 1;
  font-weight: 500;
  cursor: pointer;
}

.button:hover {
  opacity: 0.9;
}

.button--outline {
  background: transparent;
  color: #111;
}

.button--buy {
  width: 100%;
  justify-content: center;
}

.button[disabled] {
  cursor: wait;
  opacity: 0.65;
}

.button[hidden] {
  display: none !important;
}

.home-hero {
  position: relative;
  min-height: 62vh;
  overflow: hidden;
}

.home-hero__media {
  position: absolute;
  inset: 0;
}

.home-hero__media video,
.home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero__overlay {
  position: relative;
  z-index: 1;
  min-height: 62vh;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(241, 225, 198, 0.22), rgba(241, 225, 198, 0.74)),
    linear-gradient(90deg, rgba(49, 196, 204, 0.24), rgba(49, 196, 204, 0.62));
}

.home-hero__content {
  display: grid;
  justify-items: end;
  text-align: right;
  gap: 1.2rem;
  padding: 2.2rem 0;
}

.featured-logo {
  max-width: 320px;
}

.hero-blurb {
  max-width: 540px;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-blurb h6,
.hero-blurb p {
  margin: 0;
}

.marquee {
  overflow: hidden;
  white-space: nowrap;
  background: var(--accent-yellow);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.marquee__track {
  display: inline-flex;
  gap: 2.8rem;
  padding: 0.7rem 0;
  min-width: max-content;
  animation: scroll-left 45s linear infinite;
  font-size: 1.05rem;
  font-weight: 600;
}

.marquee__track span {
  display: inline-flex;
}

.marquee__track em {
  font-style: italic;
  font-weight: 400;
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.catalog-preview {
  padding: 3rem 0 4rem;
}

.catalog-card {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 1.1fr;
  gap: 1.4rem;
  align-items: center;
  background: #fff8eb;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
}

.catalog-card h2 {
  margin-top: 0;
  margin-bottom: 0.35rem;
}

.catalog-page {
  padding: 3rem 0 4rem;
}

.catalog-page__intro {
  max-width: 760px;
  margin-bottom: 1.8rem;
}

.catalog-page__eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.catalog-page__intro h1 {
  margin: 0 0 0.7rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.catalog-page__lede p,
.catalog-page__note {
  margin: 0;
  font-size: 1.02rem;
}

.catalog-page__note {
  margin-top: 0.85rem;
  opacity: 0.82;
}

.catalog-grid {
  display: grid;
  gap: 1.35rem;
}

.catalog-product-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.88fr) 1.12fr;
  background: #fff8eb;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.catalog-product-card__media {
  display: grid;
  min-height: 100%;
  align-items: center;
  justify-items: center;
  padding: 1.5rem;
  background:
    radial-gradient(circle at top, rgba(49, 196, 204, 0.4), transparent 58%),
    linear-gradient(145deg, rgba(236, 153, 118, 0.7), rgba(241, 225, 198, 0.95));
}

.catalog-product-card__media img {
  width: 100%;
  max-width: 320px;
  max-height: 320px;
  object-fit: contain;
}

.catalog-product-card__body {
  display: grid;
  align-content: start;
  gap: 0.9rem;
  padding: 1.4rem;
}

.catalog-product-card__kicker {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.72;
}

.catalog-product-card__body h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
}

.catalog-product-card__body h2 a {
  text-decoration: none;
}

.catalog-product-card__summary {
  margin: 0;
  max-width: 54ch;
}

.catalog-product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.catalog-product-card__price {
  font-size: 1.4rem;
  font-weight: 600;
}

.catalog-product-card__delivery {
  opacity: 0.78;
}

.catalog-product-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-start;
}

.catalog-product-card__actions > .button,
.catalog-product-card__actions .checkout-widget:not(.is-expanded) {
  flex: 0 0 15rem;
}

.catalog-product-card__actions > .button,
.catalog-product-card__actions .checkout-widget:not(.is-expanded) > .button {
  width: 100%;
  justify-content: center;
}

.catalog-product-card__actions.checkout-is-active > .button {
  display: none;
}

.product-hero {
  height: min(56vh, 574px);
  min-height: 245px;
  background: #0f0f0f;
}

.product-hero video,
.product-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-main {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 2rem;
  padding: 2.4rem 0;
}

.product-main__purchase {
  position: sticky;
  top: 1rem;
  align-self: start;
  background: #fff8eb;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
}

.product-main__purchase h1 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
}

.product-price {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.6rem;
  font-weight: 600;
}

.checkout-widget {
  display: grid;
  gap: 0.55rem;
}

.checkout-widget--product {
  margin-bottom: 1rem;
}

.catalog-product-card__actions .checkout-widget {
  flex: 0 0 auto;
  min-width: 0;
}

.catalog-product-card__actions.checkout-is-active .checkout-widget.is-expanded {
  flex: 1 1 100%;
  min-width: 100%;
}

.checkout-gate {
  display: grid;
  gap: 0.45rem;
}

.checkout-gate[hidden] {
  display: none !important;
}

.checkout-widget > .button {
  justify-self: start;
}

.checkout-gate__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: center;
}

.checkout-widget--product .checkout-gate__row {
  grid-template-columns: 1fr;
}

.checkout-gate__input {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font: inherit;
  padding: 0.68rem 0.78rem;
  background: #fffdf7;
}

.checkout-gate__submit {
  padding-inline: 1rem;
  white-space: nowrap;
}

.checkout-widget--product .checkout-gate__submit {
  width: 100%;
}

.checkout-gate__status {
  margin: 0;
  font-size: 0.88rem;
}

.checkout-gate__status {
  font-weight: 500;
}

.checkout-gate__status:empty {
  display: none;
}

.checkout-gate__status.is-error {
  color: #a12626;
}

.buy-note {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

.product-main__description p:first-child {
  margin-top: 0;
}

.product-embed {
  padding: 0 0 2.3rem;
}

.split-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: clip;
  border: 1px solid var(--border-color);
  background: #fff8eb;
}

.split-card__block {
  min-height: 360px;
}

.split-card__block--image {
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
}

.split-card__block--image img {
  max-width: 88%;
}

.split-card__block--text {
  padding: 1.5rem;
}

.feature-item + .feature-item {
  margin-top: 1rem;
}

.feature-item h3 {
  margin: 0 0 0.2rem;
}

.feature-item p {
  margin: 0;
}

.product-videos {
  padding: 2.4rem 0;
  display: grid;
  gap: 1rem;
}

.product-videos__grid {
  display: grid;
  gap: 1rem;
}

.product-videos__grid--one {
  grid-template-columns: 1fr;
}

.product-videos__grid--two,
.product-videos__grid--tiled {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.product-videos__frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.section-heading h2 {
  margin-bottom: 0.2rem;
}

.section-heading p {
  margin-top: 0;
}

.tech-specs {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 3rem;
}

.tech-specs__media {
  min-height: 100%;
}

.tech-specs__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tech-specs__content {
  order: -1;
  background: #ec9976;
  color: #f2ede5;
  padding: 1.5rem;
}

.tech-specs__content h2 {
  margin-top: 0;
}

.spec-row + .spec-row {
  margin-top: 0.9rem;
}

.spec-row h3 {
  margin: 0 0 0.15rem;
  font-size: 0.95rem;
}

.spec-row p {
  margin: 0;
}

.generic-page {
  padding: 3rem 0 4rem;
}

.generic-page article {
  max-width: 760px;
  margin: 0 auto;
  background: #fff8eb;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.account-app {
  display: grid;
  gap: 1.1rem;
}

.account-status {
  margin: 0;
  font-weight: 500;
}

.account-status.is-error {
  color: #a12626;
}

.account-auth,
.account-library,
.account-purchase {
  background: #fffdf7;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.account-auth h2,
.account-library h2 {
  margin-top: 0;
}

.account-form {
  display: grid;
  gap: 0.65rem;
  max-width: 440px;
}

.account-form input {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font: inherit;
  padding: 0.6rem 0.7rem;
}

.account-purchase + .account-purchase {
  margin-top: 0.75rem;
}

.account-purchase h3 {
  margin-top: 0;
  margin-bottom: 0.35rem;
  font-size: 1.02rem;
}

.account-purchase__meta {
  margin-top: 0;
  margin-bottom: 0.7rem;
  opacity: 0.85;
  font-size: 0.95rem;
}

.account-items {
  display: grid;
  gap: 0.55rem;
}

.account-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
  border-top: 1px solid var(--border-color);
  padding-top: 0.6rem;
}

.account-item__details {
  display: grid;
  gap: 0.18rem;
}

.account-item__limit {
  opacity: 0.72;
  font-size: 0.84rem;
}

.account-item .button {
  padding: 0.42rem 0.82rem;
}

.account-item .button[disabled] {
  opacity: 0.58;
  cursor: not-allowed;
}

.site-footer {
  margin-top: 2rem;
  background: var(--footer-bg);
  border-top: 1px solid var(--border-color);
}

.site-footer--flush {
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem 0;
}

.footer-block h2 {
  margin-top: 0;
  font-size: 1rem;
}

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

.footer-block li + li {
  margin-top: 0.3rem;
}

.newsletter-row {
  display: flex;
  background: #f4e7d2;
  border-radius: var(--radius-pill);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.newsletter-row input {
  flex: 1;
  border: 0;
  background: transparent;
  font: inherit;
  padding: 0.65rem 0.9rem;
}

.newsletter-row button {
  border: 0;
  background: #111;
  color: #fff;
  padding: 0.65rem 1rem;
  cursor: pointer;
}

.footer-bottom {
  padding: 0 0 1rem;
  border-top: 1px solid var(--border-color);
}

.footer-bottom__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.footer-bottom p {
  margin: 0.8rem 0 0;
  font-size: 0.9rem;
}

.footer-preferences-link {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  padding: 0.8rem 0 0;
  text-decoration: underline;
  cursor: pointer;
}

.consent-banner {
  position: fixed;
  inset: auto 1rem 1rem 1rem;
  z-index: 40;
  display: grid;
  justify-items: center;
}

.consent-banner__card {
  width: min(760px, 100%);
  display: grid;
  gap: 1rem;
  background: rgba(17, 17, 17, 0.96);
  color: #f7f0e2;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
  padding: 1.1rem 1.15rem;
}

.consent-banner__copy h2,
.consent-banner__copy p {
  margin: 0;
}

.consent-banner__eyebrow {
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.72;
}

.consent-banner__copy {
  display: grid;
  gap: 0.55rem;
}

.consent-banner__privacy-link a {
  color: #f7f0e2;
}

.consent-banner__actions,
.consent-preferences__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.consent-banner__actions .button--outline {
  border-color: rgba(247, 240, 226, 0.48);
  color: #f7f0e2;
}

.consent-banner__manage {
  border: 0;
  background: transparent;
  color: #f7f0e2;
  font: inherit;
  padding: 0;
  text-decoration: underline;
  cursor: pointer;
}

.consent-preferences {
  display: grid;
  gap: 0.8rem;
  padding-top: 0.2rem;
}

.consent-preferences__option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
}

.consent-preferences__option input {
  margin-top: 0.18rem;
}

.consent-preferences__option span {
  display: grid;
  gap: 0.18rem;
}

.consent-preferences__option small {
  opacity: 0.76;
}

@media (max-width: 900px) {
  .site-header__top {
    flex-wrap: wrap;
    padding: 0.6rem 0;
    column-gap: 1.4rem;
    row-gap: 0;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    margin-left: auto;
    flex: 0 0 auto;
  }

  .site-nav {
    width: 100%;
    order: 3;
    max-height: 0;
    overflow: hidden;
    transition: max-height 220ms ease;
    padding: 0;
  }

  .site-nav.is-open {
    max-height: 220px;
    margin-top: 0.65rem;
    padding: 0 0 0.3rem;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-end;
    gap: 0.8rem;
  }

  .home-hero,
  .home-hero__overlay {
    min-height: 48vh;
  }

  .home-hero__content {
    justify-items: end;
    text-align: right;
  }

  .catalog-card,
  .catalog-product-card,
  .product-main,
  .split-card,
  .product-videos__grid,
  .tech-specs,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .catalog-product-card__media {
    min-height: 260px;
  }

  .product-main__purchase {
    position: static;
  }

  .tech-specs__content {
    order: 0;
  }

  .footer-bottom__row {
    align-items: flex-start;
  }

  .consent-banner {
    inset: auto 0.75rem 0.75rem 0.75rem;
  }
}
