@font-face {
  font-family: "Smooch Sans";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("/assets/fonts/landing/smooch-sans-latin-300-500.woff2") format("woff2");
}

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/landing/geist-latin-400.woff2") format("woff2");
}

:root {
  --template-bg: #050c0e;
  --template-surface: #12252a;
  --template-text: #f4f7f6;
  --template-muted: #8ba4a8;
  --template-accent: #ebea52;
  --template-card-width: 210px;
  --template-card-gap: 40px;
  --template-page-gutter: 80px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--template-bg);
}

body.templateShowcasePage {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--template-bg);
  color: var(--template-text);
  font-family: "Geist", ui-sans-serif, system-ui, sans-serif;
}

.templateShowcasePage a {
  color: inherit;
}

.templateShowcaseMain {
  width: 100%;
  overflow: hidden;
}

.templateHero {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 120px var(--template-page-gutter) 80px;
  text-align: center;
}

.templateHero h1 {
  display: flex;
  flex-direction: column;
  margin: 0;
  color: var(--template-text);
  font-family: "Smooch Sans", ui-sans-serif, sans-serif;
  font-size: 80px;
  font-weight: 300;
  line-height: 1.05;
}

.templateHero p {
  width: min(800px, 100%);
  margin: 0;
  color: var(--template-muted);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.9px;
  line-height: 1.5;
}

.templateThemes {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 0 var(--template-page-gutter) 64px;
}

.templateThemesHeader {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.templateThemesHeader h2 {
  margin: 0;
  color: var(--template-text);
  font-family: "Smooch Sans", ui-sans-serif, sans-serif;
  font-size: 40px;
  font-weight: 500;
  line-height: normal;
}

.templateThemesHeader p {
  margin: 0;
  color: var(--template-muted);
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
}

.templateSwatches {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 10px 40px;
  margin: 0;
  padding: 16px 0;
  list-style: none;
}

.templateSwatches li {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.templateSwatches img,
.templateCustomSwatch {
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
}

.templateSwatches img {
  object-fit: cover;
}

.templateSwatches li > span:last-child {
  color: var(--template-muted);
  font-size: 11px;
  font-weight: 400;
  line-height: normal;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.templateCustomSwatch {
  display: grid;
  place-items: center;
  border: 1px solid #4e4e4e;
  border-radius: 50%;
  background: #000;
  color: var(--template-muted);
  box-shadow: 0 4px 8px rgb(0 0 0 / 2%);
}

.templateMarqueeSection {
  width: 100%;
  padding: 24px 0 64px;
  overflow: hidden;
}

.templateMarquee {
  width: 100%;
  overflow: hidden;
  padding-inline: var(--template-page-gutter);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.templateMarquee:focus-visible {
  outline: 1px solid var(--template-accent);
  outline-offset: -1px;
}

.templateMarquee.is-dragging {
  cursor: grabbing;
}

.templateMarqueeTrack,
.templateMarqueeSet {
  display: flex;
  width: max-content;
  flex: 0 0 auto;
  align-items: flex-start;
  gap: var(--template-card-gap);
}

.templateMarqueeTrack {
  will-change: transform;
}

.templateCard {
  width: var(--template-card-width);
  height: 450px;
  flex: 0 0 var(--template-card-width);
  margin: 0;
  overflow: hidden;
}

.templateCardImage {
  display: block;
  width: 210px;
  height: 450px;
  max-width: none;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.templateCardImageContain {
  object-fit: contain;
}

.templateCardImageCover {
  object-fit: cover;
}

.templateClosing {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 64px;
  padding: 80px var(--template-page-gutter) 40px;
}

.templateCta {
  display: flex;
  width: 100%;
  min-height: 578px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 120px 80px;
  border-radius: 8px;
  background: var(--template-surface);
  text-align: center;
}

.templateCtaCopy {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.templateCta h2 {
  margin: 0;
  color: var(--template-text);
  font-family: "Smooch Sans", ui-sans-serif, sans-serif;
  font-size: 80px;
  font-weight: 400;
  line-height: 0.95;
}

.templateCtaCopy p {
  width: min(720px, 100%);
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1.65;
}

.templateCtaAction {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.templateCtaAction a {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px 16px;
  border-radius: 4px;
  color: var(--template-accent);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.96px;
  line-height: normal;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.templateCtaAction a span {
  font-size: 24px;
  text-decoration: none;
}

.templateCtaAction > p {
  width: 240px;
  margin: 0;
  color: var(--template-muted);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.6px;
  line-height: normal;
  text-align: center;
}

@media (max-width: 900px) {
  :root {
    --template-page-gutter: 32px;
  }

  .templateHero {
    padding-top: 88px;
  }

  .templateHero h1,
  .templateCta h2 {
    font-size: clamp(54px, 9vw, 72px);
  }

  .templateCta {
    min-height: 500px;
    padding: 92px 44px;
  }
}

@media (max-width: 620px) {
  :root {
    --template-card-gap: 24px;
    --template-card-width: 150px;
    --template-page-gutter: 20px;
  }

  .templateHero {
    gap: 20px;
    padding-top: 72px;
    padding-bottom: 56px;
  }

  .templateHero h1 {
    font-size: clamp(44px, 14vw, 58px);
  }

  .templateHero p {
    font-size: 14px;
    letter-spacing: 0.45px;
  }

  .templateHero p br {
    display: none;
  }

  .templateThemes {
    gap: 26px;
    padding-bottom: 44px;
  }

  .templateThemesHeader h2 {
    font-size: 34px;
  }

  .templateThemesHeader p {
    max-width: 310px;
    font-size: 14px;
    line-height: 1.5;
  }

  .templateSwatches {
    gap: 18px 22px;
  }

  .templateSwatches img,
  .templateCustomSwatch {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .templateMarqueeSection {
    padding: 18px 0 44px;
  }

  .templateCard {
    width: var(--template-card-width);
    height: 321.43px;
    flex-basis: var(--template-card-width);
  }

  .templateCardImage {
    width: var(--template-card-width);
    height: 321.43px;
  }

  .templateClosing {
    gap: 40px;
    padding-top: 52px;
    padding-bottom: 28px;
  }

  .templateCta {
    min-height: 440px;
    gap: 38px;
    padding: 68px 24px;
  }

  .templateCta h2 {
    font-size: clamp(46px, 14vw, 58px);
  }

  .templateCtaCopy p {
    font-size: 15px;
    letter-spacing: 0.5px;
    line-height: 1.55;
  }

  .templateCtaAction a {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .templateMarqueeTrack {
    will-change: auto;
  }
}
