/* ==========================================================================
   Pennine Marketplace - Home
   ========================================================================== */

:root {
  --black: #000;
  --white: #fff;
  --text: #000;
  --text-muted: #333;
  --heading-dark: #0f1724;
  --primary: #000;
  --primary-alt: #000;
  --dark-hover: #2b2b2b;
  --gray-bg: #f0f0f0;
  --gray-light: #f7f7f7;
  --border: rgba(0, 0, 0, 0.2);
  --star: #fbbf24;

  --font-base: "Libre Franklin", sans-serif;
  --font-accent: "Calistoga", serif;

  --radius-sm: 5px;
  --radius: 10px;
  --radius-lg: 20px;

  /* space between the content and the screen edge */
  --gutter: 15px;
}

/* Base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
:where(div.pm-h) {
  margin: 0 0 8px;
  line-height: 1.2;
}

p {
  margin: 0 0 16px;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.container {
  width: 100%;
  max-width: 1470px;
  padding: 0 var(--gutter);
  margin: 0 auto;
}

/* tablets and phones: a little more breathing room at the sides */
@media (max-width: 991.98px) {
  :root {
    --gutter: 20px;
  }
}

.section-space {
  padding: 80px 0;
}

.bg-gray {
  background-color: var(--gray-bg);
}

.section-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0;
}

.section-title.centered {
  text-align: center;
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-subtitle {
  font-size: 18px;
  line-height: 28px;
  color: var(--text-muted);
  margin: 12px auto 0;
}

.section-subtitle.narrow {
  max-width: 644px;
  color: var(--text);
  line-height: 26px;
}

.tag {
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--black);
  background-color: var(--white);
  border-radius: var(--radius-sm);
}

.tag-dark {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.1);
}

/* Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 10px 40px;
  font-size: 18px;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-group-row {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}

.btn-group-row.is-centered {
  justify-content: center;
}

.btn-block {
  width: 100%;
}

.btn-main {
  font-weight: 600;
  color: var(--primary);
  background-color: var(--white);
  border: 1px solid var(--white);
}

.btn-main:hover,
.btn-main:focus-visible {
  color: var(--white);
  background-color: var(--primary);
  border-color: var(--white);
}

.btn-ghost {
  color: var(--white);
  background-color: transparent;
  border: 1px solid var(--white);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: var(--black);
  background-color: var(--white);
  border-color: var(--white);
}

.btn-dark-solid {
  font-weight: 600;
  color: var(--white);
  background-color: var(--black);
  border: 1px solid var(--black);
}

.btn-dark-solid:hover,
.btn-dark-solid:focus-visible {
  color: var(--white);
  background-color: var(--dark-hover);
  border-color: var(--dark-hover);
}

.btn-outline-dark-thin {
  font-size: 16px;
  font-weight: 500;
  color: var(--black);
  background-color: transparent;
  border: 1px solid var(--black);
}

.btn-outline-dark-thin:hover,
.btn-outline-dark-thin:focus-visible {
  color: var(--white);
  background-color: var(--black);
  border-color: var(--black);
}

.btn-light-solid {
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 500;
  color: var(--black);
  background-color: var(--white);
  border: 1px solid var(--white);
}

.btn-light-solid:hover,
.btn-light-solid:focus-visible {
  color: var(--white);
  background-color: var(--primary);
  border-color: var(--white);
}

/* Offer bar
   ========================================================================== */

.offer-bar {
  padding: 10px 0;
  color: var(--white);
  background-color: var(--black);
}

.offer-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 30px;
}

.offer-text,
.offer-deal {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.offer-text strong,
.offer-deal {
  font-weight: 600;
}

.offer-sep {
  margin-right: 6px;
  font-size: 14px;
}

.countdown {
  display: flex;
  gap: 8px;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 37px;
  padding: 5px 8px;
  color: var(--black);
  text-align: center;
  background-color: var(--white);
  border-radius: 4px;
}

.countdown-value {
  min-width: 18px;
  padding-bottom: 1px;
  font-size: 9.5px;
  font-weight: 500;
  line-height: 1.2;
  border-bottom: 0.5px solid var(--black);
}

.countdown-label {
  font-size: 8px;
  font-weight: 300;
  line-height: 1.2;
  text-transform: uppercase;
}

/* Header
   ========================================================================== */

.site-header {
  position: relative;
  z-index: 10;
  background-color: var(--white);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 13px 0;
}

.header-logo img {
  display: block;
  width: 209px;
  height: auto;
}

.header-nav {
  display: flex;
  flex: 1;
  align-items: center;
}

/* only used for the mobile slide animation */
.header-nav-inner {
  display: contents;
}

.main-menu {
  display: flex;
  align-items: center;
  gap: 0 28px;
  padding: 0;
  margin: 0 auto;
  list-style: none;
}

.menu-link {
  display: inline-flex;
  align-items: center;
  height: 50px;
  padding: 0 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  background: none;
  border: 0;
  border-radius: var(--radius);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.menu-link:hover,
.menu-link:focus-visible,
.has-dropdown.is-open .menu-link {
  background-color: var(--gray-bg);
}

/* Active page (and the parent of an active sub page): same look as the Buy Now button */
.main-menu > li.is-current > .menu-link {
  color: var(--white);
  background-color: var(--black);
}

.main-menu > li.is-current > .menu-link:hover,
.main-menu > li.is-current > .menu-link:focus-visible {
  background-color: var(--dark-hover);
}

/* dropdown arrow is a dark icon: flip it to white on the active pill */
.main-menu > li.is-current > .dropdown-toggle::after {
  filter: invert(1);
}

.has-dropdown {
  position: relative;
}

.dropdown-toggle::after {
  width: 15px;
  height: 15px;
  margin-left: 8px;
  content: "";
  background: url("../icons/caret-down.svg") no-repeat center / contain;
  transition: transform 0.2s ease;
}

.has-dropdown.is-open .dropdown-toggle::after {
  transform: rotate(180deg);
}

.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 180px;
  padding: 8px;
  margin-top: 8px;
  list-style: none;
  visibility: hidden;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.08);
  opacity: 0;
  transform: translate(-50%, 6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.has-dropdown.is-open .submenu {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}

.submenu-link {
  display: block;
  padding: 8px 12px;
  font-size: 15px;
  color: var(--black);
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease;
}

.submenu-link:hover,
.submenu-link:focus-visible {
  background-color: var(--gray-bg);
}

.header-btn {
  width: 171px;
  padding: 10px 20px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.menu-toggle span {
  display: block;
  height: 2px;
  background-color: var(--black);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero
   ========================================================================== */

.hero {
  padding: 142px 0;
  color: var(--white);
  background-color: var(--black);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 30px;
  align-items: center;
}

.hero .tag {
  margin-bottom: 20px;
}

.hero-title {
  max-width: 829px;
  margin-bottom: 12px;
  font-size: clamp(38px, 4.2vw, 60px);
  font-weight: 400;
  line-height: 1.17;
}

.hero-title-accent {
  font-family: var(--font-accent);
}

.hero-text {
  max-width: 893px;
  margin-bottom: 30px;
  font-size: 20px;
  line-height: 28px;
}

.hero-media {
  width: 100%;
  max-width: 511px;
  margin-left: auto;
}

/* About
   ========================================================================== */

.about {
  background-image: linear-gradient(128deg, rgba(245, 166, 35, 0.05) 0%, rgba(255, 209, 1, 0.05) 27%, rgba(255, 209, 1, 0.05) 74%, rgba(245, 166, 35, 0.05) 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
}

.about-media {
  position: relative;
  max-width: 710px;
  padding: 0 0 12px 10px;
}

.about-media::before {
  position: absolute;
  top: 18px;
  right: 13px;
  bottom: 0;
  left: 0;
  content: "";
  background-color: var(--primary);
  border-radius: var(--radius-lg);
}

.about-media img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 3px solid var(--primary);
  border-radius: var(--radius-lg);
}

.about-content {
  max-width: 676px;
}

.about-content .section-title {
  max-width: 551px;
  margin-bottom: 40px;
}

.about-content p {
  margin-bottom: 14px;
  font-size: 18px;
  line-height: 1.35;
}

/* Catalog
   ========================================================================== */

.catalog-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}

.catalog-intro {
  flex: 1 1 0;
  min-width: 0;
  max-width: 1000px;
}

.catalog-intro .section-title {
  margin: 20px 0;
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 29px;
}

.filter-list::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 12px;
  height: 50px;
  padding: 11px 21px;
  font-size: 18px;
  line-height: 24px;
  color: var(--black);
  white-space: nowrap;
  background-color: var(--white);
  border: 1px solid var(--black);
  border-radius: var(--radius);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.filter-btn img {
  width: 24px;
  height: 24px;
}

.filter-btn:hover {
  background-color: var(--gray-light);
}

.filter-btn.active {
  color: var(--white);
  background-color: var(--black);
  border-color: var(--primary);
}

/* the "All" icon is exported in white, the rest in black */
.filter-btn[data-filter="all"]:not(.active) img {
  filter: invert(1);
}

.filter-btn.active:not([data-filter="all"]) img {
  filter: invert(1);
}

/* Slider (shared)
   ========================================================================== */

.slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.slider-track {
  display: flex;
  flex: 1;
  gap: 30px;
  min-width: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.slider-track::-webkit-scrollbar {
  display: none;
}

.slider-track > * {
  scroll-snap-align: start;
}

.slider-arrow {
  flex-shrink: 0;
  width: 67px;
  height: 68px;
  padding: 1px 2px;
  background: transparent;
  border: 0;
  border-radius: 11px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.16);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.slider-arrow img {
  display: block;
  width: 63px;
  height: 65px;
}

.slider-arrow-next img {
  transform: scaleX(-1);
}

.slider-arrow:hover:not(:disabled) {
  transform: translateY(-2px);
}

.slider-arrow:disabled {
  cursor: default;
  opacity: 0.4;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.slider-dot {
  cursor: pointer;
  width: 10px;
  height: 10px;
  padding: 0;
  background-color: #d9d9d9;
  border: 0;
  border-radius: 23px;
  transition: width 0.25s ease, background-color 0.25s ease;
}

.slider-dot.active {
  width: 30px;
  background-color: var(--black);
}

/* Product cards
   ========================================================================== */

.product-slider {
  margin-bottom: 40px;
}

.product-card {
  display: flex;
  flex: 0 0 calc((100% - 60px) / 3);
  flex-direction: column;
  min-height: 536px;
  padding: 20px;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.product-thumb {
  overflow: hidden;
  border-radius: var(--radius);
}

.product-thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 363 / 258;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.product-card:hover .product-thumb img {
  transform: scale(1.03);
}

.product-body {
  margin-top: 20px;
}

.product-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.product-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
}

.rating {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 4px;
  font-size: 18px;
  line-height: 20px;
}

.product-text {
  font-size: 18px;
  line-height: 26px;
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
}

.price {
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
}

.btn-buy {
  width: 150px;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 500;
}

.product-card.is-hidden {
  display: none;
}

.catalog-more {
  text-align: center;
}

.empty-note {
  margin: -10px 0 40px;
  font-size: 18px;
  color: var(--text-muted);
  text-align: center;
}

/* Templates
   ========================================================================== */

.templates {
  overflow: hidden;
  color: var(--white);
  background-color: var(--black);
}

.templates-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 30px;
  align-items: center;
}

.templates .section-title {
  max-width: 810px;
  margin-bottom: 40px;
  letter-spacing: -0.24px;
}

.templates-text {
  max-width: 810px;
  margin-bottom: 12px;
  font-size: 19.6px;
  line-height: 1.5;
}

.dot-list {
  padding-left: 26px;
  margin: 0;
  font-size: 17.6px;
  line-height: 27.5px;
}

.dot-list li + li {
  margin-top: 13.7px;
}

.dot-list li::marker {
  font-size: 12px;
}

.templates-media {
  position: relative;
  width: 100%;
  max-width: 602px;
  margin-left: auto;
}

.templates-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 132%;
  max-width: none;
  transform: translate(-50%, -48%);
  pointer-events: none;
}

.templates-img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 602 / 413;
  object-fit: cover;
  object-position: 55% 40%;
}

/* Perks
   ========================================================================== */

.perks .section-head {
  margin-bottom: 40px;
}

.perks-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.perk-card {
  height: 100%;
  padding: 20px;
  text-align: center;
  background-color: var(--gray-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.04);
}

.perk-title {
  margin: 20px 0 12px;
  font-size: 24px;
  font-weight: 700;
  line-height: 28px;
}

.perk-card p {
  font-size: 18px;
  line-height: 28px;
}

/* Videos: see theme.css (YouTube carousel)
   ========================================================================== */

/* Testimonials
   ========================================================================== */

.testimonials .section-title {
  line-height: 48px;
  color: var(--heading-dark);
}

.testimonials .section-head {
  margin-bottom: 40px;
}

.testimonial-wrap {
  padding: 20px;
  background-color: var(--gray-light);
}

.testimonial-card {
  flex: 0 0 calc((100% - 60px) / 3);
  padding: 20px;
  background-color: var(--white);
  border-radius: var(--radius-lg);
}

.testimonial-card .avatar {
  display: block;
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  border-radius: 50%;
}

.testimonial-card .stars {
  display: block;
  margin-bottom: 20px;
}

.testimonial-text {
  margin-bottom: 20px;
  font-size: 18px;
  line-height: 30px;
}

.client-name {
  margin: 0 0 9px;
  font-size: 14px;
  font-weight: 600;
}

.client-role {
  display: block;
  font-size: 10px;
  line-height: 1;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  width: max-content;
  padding: 8px 20px;
  margin: 40px auto 0;
  background-color: var(--white);
  border-radius: var(--radius-sm);
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: var(--radius-sm);
  transition: opacity 0.2s ease;
}

.nav-btn-dark {
  background-color: var(--black);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.12);
}

.nav-btn:disabled {
  cursor: default;
  opacity: 0.35;
}

/* CTA
   ========================================================================== */

.cta {
  color: var(--white);
  background-color: var(--black);
}

.cta .section-title {
  letter-spacing: -0.24px;
}

.cta-inner {
  text-align: center;
}

.cta-text {
  max-width: 1440px;
  margin: 12px auto 30px;
  font-size: 20px;
  line-height: 30px;
}

.cta .btn-group-row {
  gap: 30px;
}

/* FAQ
   ========================================================================== */

.faq .section-title {
  margin-bottom: 40px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background-color: var(--white);
  border: 1px solid var(--primary-alt);
  border-radius: 16px;
  transition: border-color 0.2s ease;
}

.faq-item.is-open {
  border-color: var(--black);
}

.faq-heading {
  margin: 0;
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  min-height: 85px;
  padding: 20px;
  font-size: 22px;
  font-weight: 400;
  line-height: 30px;
  color: var(--black);
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 16px;
}

/* arrow on the right; it turns when the answer opens */
.faq-question::before {
  flex-shrink: 0;
  order: 2;
  width: 20px;
  height: 20px;
  margin-left: auto;
  content: "";
  background: url("../icons/chevron-down.svg") no-repeat center / contain;
  transition: transform 0.25s ease;
}

.faq-question:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.2);
}

.faq-item.is-open .faq-question {
  gap: 10px;
  min-height: 0;
  padding-bottom: 0;
  font-weight: 700;
}

.faq-item.is-open .faq-question::before {
  transform: rotate(180deg);
}

/* grid-rows trick lets the panel animate to its natural height */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.3s ease, visibility 0.3s;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
  visibility: visible;
}

.faq-answer-inner {
  min-height: 0;
  overflow: hidden;
}

.faq-answer-inner p {
  padding: 20px;
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
  color: var(--text-muted);
}

/* Footer
   ========================================================================== */

.site-footer {
  padding: 80px 0 55px;
  color: var(--white);
  background-color: var(--black);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  gap: 30px clamp(40px, 5vw, 90px);
}

.footer-columns {
  display: grid;
  grid-template-columns: max-content 185px minmax(0, 1fr);
  gap: 30px;
}

.footer-cta {
  justify-self: end;
  width: 100%;
  max-width: 331px;
}

/* link columns at their natural width + the trial box; spare room is shared evenly between columns */
.footer-columns.menus-2,
.footer-columns.menus-3 {
  justify-content: space-between;
  column-gap: 40px;
}

.footer-columns.menus-2 {
  grid-template-columns: max-content max-content minmax(260px, 331px);
}

.footer-columns.menus-3 {
  grid-template-columns: max-content max-content max-content minmax(240px, 331px);
}

/* not enough room for one row: links stay together, trial box on the next row */
@media (min-width: 992px) and (max-width: 1279.98px) {
  .footer-columns.menus-3 {
    grid-template-columns: repeat(3, max-content);
    justify-content: start;
    column-gap: 56px;
  }

  .footer-columns.menus-3 .footer-cta {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

/* tablets: brand stacks on top, the three link columns share one row, trial box below */
@media (min-width: 768px) and (max-width: 991.98px) {
  .site-footer .footer-columns.menus-2,
  .site-footer .footer-columns.menus-3 {
    grid-template-columns: repeat(3, max-content);
    justify-content: start;
    column-gap: 56px;
  }

  .site-footer .footer-columns .footer-cta {
    grid-column: 1 / -1;
    justify-self: stretch;
    max-width: 420px;
  }
}

.footer-logo {
  display: inline-block;
  margin-bottom: 20px;
}

.footer-logo img {
  display: block;
  width: 150px;
  height: auto;
}

.footer-about {
  max-width: 400px;
  margin-bottom: 40px;
  font-size: 20px;
  line-height: 30px;
  color: rgba(255, 255, 255, 0.8);
}

.social-list {
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--white);
  border-radius: 50%;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-link-full {
  background-color: transparent;
}

.social-link:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.footer-title {
  margin: 0 0 30px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
}

.footer-links {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 12px;
}

.footer-links a,
.footer-text {
  font-size: 18px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-text {
  margin-bottom: 30px;
}

.footer-bottom {
  margin-top: 40px;
  font-size: 18px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.5);
}

.disclaimer strong {
  font-weight: 500;
  color: var(--white);
}

.disclaimer {
  margin: 0;
}

.copyright {
  margin-top: 40px;
  text-align: center;
}

/* Responsive
   ========================================================================== */

@media (max-width: 1399.98px) {
  .main-menu {
    gap: 0 4px;
  }

  .footer-columns {
    grid-template-columns: max-content max-content minmax(0, 1fr);
  }

  .product-text,
  .testimonial-text {
    font-size: 16px;
  }
}

@media (max-width: 1199.98px) {
  .hero {
    padding: 100px 0;
  }

  .product-card,
  .testimonial-card {
    flex-basis: calc((100% - 30px) / 2);
  }
}

@media (max-width: 991.98px) {
  .section-space {
    padding: 64px 0;
  }

  /* mobile navigation */
  .header-inner {
    flex-wrap: wrap;
    gap: 0;
  }

  .menu-toggle {
    display: flex;
  }

  /* Mobile menu: slides open to its natural height */
  .header-nav {
    display: grid;
    flex-basis: 100%;
    grid-template-rows: 0fr;
    visibility: hidden;
    transition: grid-template-rows 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.3s;
  }

  .header-nav.is-open {
    grid-template-rows: 1fr;
    visibility: visible;
    transition: grid-template-rows 0.42s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s;
  }

  .header-nav-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    overflow: hidden;
  }

  .main-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 16px 0;
  }

  .header-nav-inner > :last-child {
    margin-bottom: 10px;
  }

  /* links drift in one after another, and leave together (quicker) */
  .main-menu > li,
  .header-nav .header-btn {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.15s ease, transform 0.2s ease;
  }

  .header-nav.is-open .main-menu > li,
  .header-nav.is-open .header-btn {
    opacity: 1;
    transform: none;
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .header-nav.is-open .main-menu > li:nth-child(1) { transition-delay: 0.06s; }
  .header-nav.is-open .main-menu > li:nth-child(2) { transition-delay: 0.1s; }
  .header-nav.is-open .main-menu > li:nth-child(3) { transition-delay: 0.14s; }
  .header-nav.is-open .main-menu > li:nth-child(4) { transition-delay: 0.18s; }
  .header-nav.is-open .main-menu > li:nth-child(5) { transition-delay: 0.22s; }
  .header-nav.is-open .main-menu > li:nth-child(6) { transition-delay: 0.26s; }
  .header-nav.is-open .main-menu > li:nth-child(n + 7) { transition-delay: 0.3s; }
  .header-nav.is-open .header-btn { transition-delay: 0.3s; }

  /* soft shadow under the header while the menu is open */
  .site-header {
    transition: box-shadow 0.3s ease;
  }

  .site-header:has(.header-nav.is-open) {
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.08);
  }

  .menu-link {
    width: 100%;
  }

  /* Support dropdown slides open (works for any number of items) */
  .submenu {
    position: static;
    display: block;
    min-width: 0;
    max-height: 0;
    padding: 0 0 0 12px;
    margin: 0;
    overflow: hidden;
    visibility: hidden;
    border: 0;
    box-shadow: none;
    opacity: 0;
    transform: none;
    transition: max-height 0.25s ease, opacity 0.2s ease, padding 0.25s ease, visibility 0s linear 0.25s;
  }

  .has-dropdown.is-open .submenu {
    max-height: 480px; /* taller than any submenu */
    padding-bottom: 8px;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: max-height 0.35s ease, opacity 0.25s ease 0.05s, padding 0.3s ease, visibility 0s;
  }

  .header-btn {
    width: 100%;
  }

  .hero-grid,
  .about-grid,
  .templates-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .perks-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .hero {
    padding: 72px 0;
  }

  .hero-media,
  .templates-media {
    margin: 0 auto;
  }

  .about-content .section-title {
    margin-bottom: 24px;
  }

  .templates .section-title {
    margin-bottom: 24px;
  }
}

@media (max-width: 767.98px) {
  .offer-text,
  .offer-deal {
    font-size: 15px;
    text-align: center;
  }

  .offer-sep {
    display: none;
  }

  .hero-text {
    font-size: 18px;
  }

  .btn {
    padding: 10px 28px;
    font-size: 16px;
  }

  .btn-group-row {
    gap: 16px;
  }

  .catalog-head {
    margin-bottom: 28px;
  }

  .catalog-intro {
    flex-basis: 100%;
  }

  /* on phones the chips become a swipeable row */
  .filter-list {
    flex-wrap: nowrap;
    gap: 12px;
    margin-right: calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 4px 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .slider-arrow {
    display: none;
  }

  .product-card,
  .testimonial-card {
    flex-basis: 86%;
  }

  .product-card {
    min-height: 0;
  }

  .testimonial-wrap {
    padding: 12px;
  }

  .perks-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-question {
    gap: 14px;
    min-height: 64px;
    font-size: 18px;
    line-height: 26px;
  }

  .faq-answer-inner p {
    font-size: 16px;
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 20px;
  }

  .footer-cta {
    grid-column: 1 / -1;
    justify-self: stretch;
    max-width: none;
  }

  /* phones: two link columns per row, the third wraps underneath */
  .footer-columns.menus-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
  }

  .footer-columns.menus-3 .footer-cta {
    justify-self: stretch;
  }

  .site-footer {
    padding-top: 64px;
  }

  .footer-about {
    font-size: 18px;
  }

  .footer-title {
    margin-bottom: 18px;
  }

  .footer-bottom {
    font-size: 15px;
  }
}

/* Visitors who prefer less motion: menu opens and closes instantly */
@media (prefers-reduced-motion: reduce) {
  .header-nav,
  .header-nav.is-open,
  .main-menu > li,
  .header-nav .header-btn,
  .submenu,
  .has-dropdown.is-open .submenu,
  .menu-toggle span,
  .faq-question::before {
    transition: none !important;
  }
}
