:root {
  --primary: #2f8738;
  --primary-dark: #1e6428;
  --primary-soft: #eaf6ec;
  --secondary: #f47a20;
  --secondary-dark: #d95f0b;
  --secondary-soft: #fff0e5;
  --accent: #fec55e;
  --accent-text: #d95f0b;
  --ink: #242321;
  --text: #5f5b55;
  --muted: #8a857d;
  --surface: #ffffff;
  --surface-soft: #f8f8f6;
  --surface-tint: #f5faf6;
  --border: #e8e3dc;
  --danger: #eb5757;
  --shadow-sm: 0 8px 24px rgba(36, 35, 33, 0.07);
  --shadow-md: 0 18px 55px rgba(36, 35, 33, 0.12);
  --shadow-lg: 0 30px 90px rgba(36, 35, 33, 0.18);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --container: 1216px;
  --header-height: 82px;
}

/* Blog archive and article pages */
.blog-archive__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.blog-archive__grid .blog-card { grid-column: auto; }
.blog-archive__grid .blog-card__image { min-height: 220px; }
.blog-category-filter { display: flex; flex-wrap: wrap; gap: .65rem; margin: 0 0 2rem; }
.blog-category-filter a { padding: .7rem 1.15rem; border: 1px solid var(--border, #e2e8f0); border-radius: 999px; color: var(--text, #172033); background: #fff; transition: .2s ease; }
.blog-category-filter a:hover, .blog-category-filter a.active { color: #fff; background: var(--primary, #156f5b); border-color: var(--primary, #156f5b); }
.redesign-pagination { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2.5rem; }
.redesign-pagination a, .redesign-pagination span, .redesign-pagination strong { padding: .7rem 1rem; border-radius: 12px; background: #fff; }
.redesign-pagination span { opacity: .45; }
.blog-single { padding: 5rem 0; background: #f8faf9; }
.blog-single__header { max-width: 920px; text-align: center; }
.blog-single__header .category-breadcrumb { justify-content: center; }
.blog-single__header h1 { max-width: 850px; margin: 1rem auto; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.45; color: #132a25; }
.blog-single__header > p { max-width: 720px; margin: 0 auto; color: #64748b; font-size: 1.05rem; line-height: 2; }
.blog-single__tags { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.blog-single__tags span { padding: .45rem .8rem; border-radius: 999px; background: #e7f4ef; color: #156f5b; font-size: .85rem; }
.blog-single__meta { display: flex; justify-content: center; gap: 1.5rem; margin-top: 1.4rem; color: #64748b; }
.blog-single__layout { max-width: 980px; margin-top: 3rem; }
.blog-single__main { padding: clamp(1rem, 3vw, 2.5rem); border: 1px solid #e5ece9; border-radius: 28px; background: #fff; box-shadow: 0 20px 55px rgba(18, 58, 48, .08); }
.blog-single__cover { display: block; width: 100%; max-height: 520px; object-fit: cover; border-radius: 20px; margin-bottom: 2rem; }
.blog-single__content { color: #334155; font-size: 1.05rem; line-height: 2.15; }
.blog-single__content h2, .blog-single__content h3 { margin: 2rem 0 .8rem; color: #173f35; }
.blog-single__content img { max-width: 100%; height: auto; border-radius: 16px; }
.blog-single__content a { color: #156f5b; text-decoration: underline; }
.achiever-card__content h3 { margin: 0 0 .45rem; color: #173f35; font-size: 1rem; }
.testimonial-user > img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: 0 0 46px; }

@media (max-width: 900px) {
  .blog-archive__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .blog-archive__grid { grid-template-columns: 1fr; }
  .blog-single { padding-top: 3rem; }
  .blog-single__meta { flex-direction: column; gap: .25rem; }
}

/* Dedicated product-category pages */
.category-page {
  background: var(--surface);
}

.category-page html,
.category-page {
  scroll-padding-top: calc(var(--header-height) + 18px);
}

.category-header-back {
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 800;
}

.category-hero {
  position: relative;
  overflow: hidden;
  padding: 65px 0 72px;
  background:
    radial-gradient(circle at 85% 12%, rgba(47, 135, 56, .16), transparent 29%),
    radial-gradient(circle at 8% 90%, rgba(244, 122, 32, .11), transparent 25%),
    linear-gradient(180deg, var(--surface-tint), #fff);
}

.category-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(35px, 7vw, 90px);
}

.category-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 27px;
  color: var(--muted);
  font-size: 10px;
}

.category-breadcrumb a {
  color: var(--primary-dark);
}

.category-hero__eyebrow {
  display: inline-flex;
  padding: 6px 11px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 900;
}

.category-hero__content h1 {
  margin: 12px 0 11px;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.35;
}

.category-hero__content > p {
  max-width: 620px;
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 2.05;
}

.category-hero__content ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 21px 0 27px;
  padding: 0;
  list-style: none;
}

.category-hero__content li {
  padding: 7px 11px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.category-hero__content li::before {
  content: "✓";
  margin-left: 6px;
  color: var(--primary);
}

.category-hero__visual {
  position: relative;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 45px;
  color: #fff;
  background:
    radial-gradient(circle at 15% 100%, rgba(254, 197, 94, .35), transparent 35%),
    linear-gradient(145deg, var(--primary-dark), var(--primary));
  border-radius: 38px 90px 38px 38px;
  box-shadow: var(--shadow-lg);
}

.category-hero__visual::before,
.category-hero__visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
}

.category-hero__visual::before { width: 190px; height: 190px; top: -55px; left: -45px; }
.category-hero__visual::after { width: 100px; height: 100px; right: 28px; bottom: 22px; }
.category-hero__visual > span { color: var(--accent); font-size: 11px; font-weight: 800; }
.category-hero__visual > strong { max-width: 390px; margin-top: 8px; font-size: clamp(28px, 4vw, 46px); line-height: 1.45; }
.category-hero__visual > div { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.category-hero__visual i { padding: 7px 10px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.16); border-radius: 9px; font-size: 9px; font-style: normal; }

.category-introduction {
  background: #fff;
}

.category-introduction__heading {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: end;
  gap: clamp(30px, 7vw, 90px);
}

.category-introduction__heading span {
  color: var(--primary-dark);
  font-size: 10px;
  font-weight: 900;
}

.category-introduction__heading h2 {
  max-width: 570px;
  margin: 6px 0 0;
  color: var(--ink);
  font-size: clamp(25px, 3vw, 39px);
  line-height: 1.55;
}

.category-introduction__heading > p {
  margin: 0;
  padding-right: 22px;
  color: var(--text);
  border-right: 3px solid var(--secondary);
  font-size: 13px;
  line-height: 2.1;
}

.category-introduction__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 38px;
}

.category-introduction__cards article {
  position: relative;
  min-height: 185px;
  padding: 24px;
  overflow: hidden;
  background: var(--surface-tint);
  border: 1px solid rgba(47, 135, 56, .14);
  border-radius: 22px;
}

.category-introduction__cards article:nth-child(2) {
  background: var(--secondary-soft);
  border-color: rgba(244, 122, 32, .16);
}

.category-introduction__cards i {
  position: absolute;
  left: 17px;
  top: 8px;
  color: rgba(47, 135, 56, .09);
  font-size: 56px;
  font-style: normal;
  font-weight: 950;
}

.category-introduction__cards strong {
  position: relative;
  display: block;
  margin-top: 42px;
  color: var(--ink);
  font-size: 17px;
}

.category-introduction__cards p {
  position: relative;
  margin: 8px 0 0;
  color: var(--text);
  font-size: 10px;
  line-height: 1.9;
}

.category-journey {
  display: grid;
  grid-template-columns: .8fr 2fr auto;
  align-items: center;
  gap: 28px;
  margin-top: 18px;
  padding: 23px 25px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: 22px;
  box-shadow: 0 15px 40px rgba(30, 100, 40, .17);
}

.category-journey__title {
  display: flex;
  flex-direction: column;
}

.category-journey__title span {
  color: var(--accent);
  font-size: 9px;
  font-weight: 800;
}

.category-journey__title strong {
  margin-top: 3px;
  font-size: 16px;
}

.category-journey ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: journey;
}

.category-journey li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  line-height: 1.7;
  counter-increment: journey;
}

.category-journey li::before {
  content: counter(journey);
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--primary-dark);
  background: #fff;
  border-radius: 8px;
  font-weight: 900;
}

.category-journey > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  color: var(--primary-dark);
  background: var(--accent);
  border-radius: 10px;
  font-size: 9px;
  font-weight: 900;
  white-space: nowrap;
}

.category-products {
  scroll-margin-top: calc(var(--header-height) + 14px);
  background: var(--surface-soft);
}

.category-products__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.category-products__head span { color: var(--primary-dark); font-size: 10px; font-weight: 900; }
.category-products__head h2 { margin: 4px 0 0; color: var(--ink); font-size: clamp(24px, 3vw, 36px); }
.category-products__head > strong { padding: 7px 12px; color: var(--primary-dark); background: var(--primary-soft); border-radius: 100px; font-size: 10px; }

.category-filters {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin: 25px 0;
  padding: 15px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.category-filters label {
  min-width: 190px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.category-filters label span { color: var(--muted); font-size: 9px; font-weight: 700; }
.category-filters select {
  height: 42px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 11px;
  font: inherit;
  font-size: 11px;
  outline: 0;
}
.category-filters select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(47,135,56,.1); }
.category-filters button { height: 42px; margin-right: auto; padding: 0 15px; color: var(--secondary-dark); background: var(--secondary-soft); border: 0; border-radius: 11px; font: inherit; font-size: 10px; font-weight: 800; cursor: pointer; }

.category-products__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.category-product {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 19px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.category-product:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.category-product__media { position: relative; display: block; aspect-ratio: 1374 / 2048; overflow: hidden; background: var(--surface-soft); }
.category-product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.category-product:hover img { transform: scale(1.025); }
.category-product__media > span { position: absolute; top: 10px; left: 10px; padding: 6px 8px; color: #fff; background: var(--secondary-dark); border-radius: 9px; font-size: 9px; font-weight: 900; }
.category-product__body { padding: 14px; }
.category-product__tags { display: flex; flex-wrap: wrap; gap: 5px; }
.category-product__tags small { padding: 4px 7px; color: var(--primary-dark); background: var(--primary-soft); border-radius: 7px; font-size: 8px; font-weight: 800; }
.category-product h2 { min-height: 48px; margin: 9px 0 13px; font-size: 12px; line-height: 1.75; }
.category-product__footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding-top: 11px; border-top: 1px solid var(--border); }
.category-product__footer > div { display: flex; flex-direction: column; }
.category-product__footer del { color: var(--muted); font-size: 8px; }
.category-product__footer strong { color: var(--ink); font-size: 11px; }
.category-product__footer > a { width: 31px; height: 31px; display: grid; place-items: center; color: #fff; background: var(--primary); border-radius: 9px; font-weight: 900; }
.category-empty { padding: 40px; color: var(--muted); background: #fff; border: 1px dashed var(--border); border-radius: 18px; text-align: center; }

.category-others { background: #fff; }
.category-others__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.category-other-card { position: relative; min-height: 215px; display: flex; flex-direction: column; align-items: flex-start; padding: 24px; overflow: hidden; background: var(--surface-tint); border: 1px solid rgba(47,135,56,.15); border-radius: 22px; transition: .25s; }
.category-other-card:nth-child(2) { background: var(--secondary-soft); border-color: rgba(244,122,32,.16); }
.category-other-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.category-other-card > span { color: var(--primary-dark); font-size: 9px; font-weight: 900; }
.category-other-card > strong { margin-top: 5px; color: var(--ink); font-size: 20px; }
.category-other-card p { display: -webkit-box; overflow: hidden; margin: 10px 0; color: var(--text); font-size: 10px; line-height: 1.9; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.category-other-card b { margin-top: auto; color: var(--primary-dark); font-size: 10px; }

@media (max-width: 900px) {
  .category-hero__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .category-hero__visual { min-height: 300px; padding: 30px; }
  .category-products__grid { grid-template-columns: repeat(3, 1fr); }
  .category-journey { grid-template-columns: 1fr; gap: 16px; }
  .category-journey > a { justify-self: start; }
}

@media (max-width: 700px) {
  .category-page .desktop-nav, .category-page .header-login { display: none; }
  .category-header-back { font-size: 9px; }
  .category-hero { padding: 35px 0 45px; }
  .category-hero__grid { grid-template-columns: 1fr; }
  .category-hero__visual { min-height: 235px; border-radius: 27px 55px 27px 27px; }
  .category-introduction__heading { grid-template-columns: 1fr; gap: 17px; }
  .category-introduction__heading > p { padding: 0 13px 0 0; font-size: 11px; }
  .category-introduction__cards { grid-template-columns: 1fr; gap: 9px; margin-top: 25px; }
  .category-introduction__cards article { min-height: 130px; padding: 18px; }
  .category-introduction__cards i { font-size: 44px; }
  .category-introduction__cards strong { margin-top: 31px; font-size: 15px; }
  .category-journey { padding: 19px 16px; }
  .category-journey ol { grid-template-columns: 1fr; gap: 10px; }
  .category-products__head { align-items: center; }
  .category-filters { display: grid; grid-template-columns: 1fr 1fr; padding: 12px; }
  .category-filters label { min-width: 0; }
  .category-filters button { width: 100%; grid-column: 1 / -1; margin: 0; }
  .category-products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .category-product__body { padding: 10px; }
  .category-product h2 { min-height: 55px; font-size: 10px; }
  .category-others__grid { grid-template-columns: 1fr; }
  .category-other-card { min-height: 175px; }
}

/* Product showcase: portrait covers with six visible cards on desktop */
.products-slider {
  position: relative;
}

.expandable-description {
  max-width: 720px;
}

.expandable-description p {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.expandable-description.expanded p {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.expandable-description button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 7px;
  padding: 0;
  color: var(--primary);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.expandable-description button[hidden] {
  display: none;
}

.expandable-description button b {
  font-size: 14px;
  transition: transform 0.25s;
}

.expandable-description.expanded button b {
  transform: rotate(180deg);
}

.products .products-grid {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: none;
  grid-auto-columns: calc((100% - 64px) / 5);
  gap: 16px;
  overflow-x: auto;
  padding: 4px 2px 14px 24px;
  scroll-padding-inline: 2px 24px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.products .products-grid::-webkit-scrollbar {
  display: none;
}

.products .product-card {
  border-radius: 18px;
  scroll-snap-align: start;
}

.products .product-card:hover {
  transform: translateY(-4px);
}

.products .product-card__media {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1374 / 2048;
}

.products .product-card__tag {
  position: static;
  align-self: flex-start;
  padding: 4px 9px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-radius: 100px;
  font-size: 9px;
  font-weight: 800;
  backdrop-filter: none;
}

.products .product-card__discount {
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  padding: 6px 9px;
  border-radius: 9px;
  box-shadow: 0 5px 14px rgba(244, 122, 32, 0.28);
  font-size: 9px;
  white-space: nowrap;
}

.products .product-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 13px;
}

.products .product-card h3 {
  min-height: 40px;
  font-size: 12px;
  line-height: 1.65;
}

.products .product-card__footer {
  gap: 6px;
  margin-top: 0;
  padding-top: 7px;
}

.products .product-price del {
  font-size: 8px;
}

.products .product-price strong {
  font-size: 13px;
}

.products .product-price small {
  font-size: 8px;
}

.products .product-card__link {
  width: auto;
  height: auto;
  min-height: 0;
  flex: 0 0 auto;
  padding: clamp(3px, .3vw, 4px) clamp(7px, .65vw, 9px);
  color: #fff;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: clamp(5px, .5vw, 7px);
  box-shadow: 0 3px 7px rgba(30, 100, 40, 0.16);
  font-size: 12px !important;
  line-height: 1.35;
  font-weight: 800;
  white-space: nowrap;
  transition: transform .22s, box-shadow .22s, background .22s;
}

.products .product-card__link:hover {
  color: #fff;
  box-shadow: 0 5px 11px rgba(30, 100, 40, 0.24);
  transform: translateY(-1px);
}

.products-slider__controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

.products-slider__controls button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 11px;
  font: inherit;
  font-size: 17px;
  cursor: pointer;
  box-shadow: 0 7px 18px rgba(30, 100, 40, .18);
  transition: color .2s, background .2s, border-color .2s, opacity .2s, transform .2s;
}

.products-slider__controls button:not(:disabled):hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

.products-slider__controls button:disabled {
  color: var(--muted);
  background: var(--surface-soft);
  border-color: var(--border);
  box-shadow: none;
  cursor: default;
  opacity: .5;
}

@media (max-width: 900px) {
  .products .products-grid {
    grid-template-columns: none;
    grid-auto-columns: calc((100% - 32px) / 3);
  }
}

@media (max-width: 600px) {
  .products .products-grid {
    grid-template-columns: none;
    grid-auto-columns: minmax(175px, 68vw);
    gap: 13px;
  }
}

.products button.product-card__media,
.products .product-card h3 button,
.products button.product-card__link {
  font: inherit;
  cursor: pointer;
}

.products button.product-card__media {
  padding: 0;
  border: 0;
}

.products .product-card h3 button {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  text-align: right;
}

.products button.product-card__link {
  border: 0;
}

.product-modal {
  position: fixed;
  z-index: 1400;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s, visibility 0.25s;
}

.product-modal.open {
  visibility: visible;
  opacity: 1;
}

.product-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(36, 35, 33, 0.62);
  backdrop-filter: blur(6px);
}

.product-modal__box {
  position: relative;
  width: min(820px, 100%);
  max-height: min(680px, calc(100vh - 48px));
  display: grid;
  grid-template-columns: minmax(230px, 0.75fr) 1.25fr;
  overflow: auto;
  background: #fff;
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s;
}

.product-modal.open .product-modal__box {
  transform: translateY(0) scale(1);
}

.product-modal__close {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: 50%;
  font: inherit;
  font-size: 22px;
  cursor: pointer;
}

.product-modal__cover {
  position: relative;
  min-height: 450px;
  overflow: hidden;
  background: var(--surface-soft);
}

.product-modal__cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.product-modal__cover span {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 7px 11px;
  color: #fff;
  background: var(--secondary-dark);
  border-radius: 10px;
  font-size: 11px;
  font-weight: 900;
}

.product-modal__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 48px 42px;
}

.product-modal__eyebrow {
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.product-modal__content h2 {
  margin: 10px 0 14px;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.65;
}

.product-modal__description {
  margin: 0 0 22px;
  color: var(--text);
  font-size: 13px;
  line-height: 2;
  white-space: pre-line;
  max-height: 190px;
  overflow: auto;
  scrollbar-width: thin;
}

.product-modal__description p {
  margin: 0 0 10px;
  color: inherit;
}

.product-modal__description p:last-child {
  margin-bottom: 0;
}

.product-modal__description ul,
.product-modal__description ol {
  margin: 8px 0;
  padding-right: 22px;
}

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

.product-modal__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.product-modal__tags span {
  padding: 6px 11px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
}

.product-modal__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: -10px 0 24px;
  padding: 15px 17px;
  background: var(--surface-tint);
  border: 1px solid var(--primary-soft);
  border-radius: 16px;
}

.product-modal__price del {
  color: var(--muted);
  font-size: 12px;
}

.product-modal__price strong {
  color: var(--primary-dark);
  font-size: 21px;
}

.product-modal__price small {
  margin-right: 4px;
  color: var(--text);
  font-size: 10px;
  font-weight: 600;
}

.product-modal__actions {
  width: 100%;
  display: flex;
  gap: 10px;
}

.product-modal__actions .btn {
  flex: 1;
}

@media (max-width: 700px) {
  .product-modal {
    padding: 14px;
  }

  .product-modal__box {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 28px);
    border-radius: 20px;
  }

  .product-modal__cover {
    min-height: 0;
    height: min(52vh, 390px);
  }

  .product-modal__content {
    padding: 26px 20px 22px;
  }

  .product-modal__content h2 {
    font-size: 20px;
  }

  .product-modal__actions {
    flex-direction: column;
  }

  .achiever-card {
    min-height: 250px;
    grid-template-columns: 1.12fr 0.88fr;
    border-radius: 22px;
  }

  .achiever-card__content {
    padding: 22px 16px 20px 9px;
  }

  .achiever-card h3 {
    margin-block: 8px 5px;
    font-size: 14px;
  }

  .achiever-card strong.achiever-card__rank {
    font-size: 18px;
  }

  .achiever-card__medal {
    left: 8px;
    bottom: 10px;
    width: 38px;
    height: 38px;
  }

  .achievers-more {
    align-items: stretch;
    flex-direction: column;
    margin: 20px 0 0;
  }

  .achievers-more .btn {
    width: 100%;
  }

  .achiever-card {
    min-height: 0;
    display: block;
    padding: 10px 10px 0;
  }

  .achiever-card__content {
    flex-direction: column;
    gap: 10px;
    min-height: 125px;
    padding: 25px 12px 15px;
  }

  .achiever-card strong.achiever-card__rank {
    font-size: 19px;
  }

  .partners-slider {
    padding-inline: 0;
  }

  .partners .partners-grid {
    grid-template-columns: none;
    grid-auto-columns: minmax(155px, 58vw);
    gap: 12px;
  }

  .partners-slider > button {
    top: auto;
    bottom: -44px;
  }

  .partners-slider > button:first-child {
    right: calc(50% - 43px);
  }

  .partners-slider > button:last-child {
    left: calc(50% - 43px);
  }

  .partner-cta {
    margin-top: 72px;
  }
}

/* Accessible color roles: green primary actions, orange emphasis, warm neutral surfaces */
.expandable-description button,
.products-slider__controls button,
.product-modal__eyebrow,
.desktop-nav a:hover,
.desktop-nav a.active,
.btn--outline,
.btn--soft,
.eyebrow,
.avatars span:nth-child(4),
.hero-card__badge,
.progress-card strong,
.mock-icon--purple,
.floating-card--bottom strong,
.hero-stats strong,
.section-heading span,
.section-kicker,
.text-link,
.quick-card__icon,
.product-card__link,
.feature-list article > span,
.analytics-card__top > span,
.subject-scores b,
.about__badge strong,
.rating strong,
.partner-logo:hover,
.partner-cta span,
.faq-item button span:last-child,
.mobile-menu nav a:hover {
  color: var(--primary-dark);
}

@media (max-width: 600px) {
  .hero__visual {
    min-height: 470px;
  }

  .hero-slides {
    height: 440px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    grid-template-rows: auto 185px;
    gap: 0;
    padding: 28px 20px 55px;
    border-radius: 26px;
    text-align: center;
  }

  .hero-slide__copy > span {
    justify-content: center;
  }

  .hero-slide__copy h2 {
    margin-block: 10px 6px;
    font-size: 25px;
  }

  .hero-slide__copy p {
    font-size: 11px;
    line-height: 1.9;
  }

  .hero-slide__copy a {
    margin-top: 12px;
  }

  .hero-slide__art {
    height: 205px;
    transform: scale(0.72);
  }

  .hero-slider__nav {
    bottom: 14px;
  }
}

/* Compact product catalog: one grade-filtered section per product type */
.products-catalog {
  padding-block: 72px;
}

.products-catalog__intro {
  margin-bottom: 26px;
}

.product-group {
  scroll-margin-top: calc(var(--header-height) + 1px);
  margin-top: 18px;
  overflow: hidden;
  --product-card-size: clamp(148px, calc((100svh - 300px) * .55), 250px);
  --group-tint: #edf7ef;
  --group-accent: #26753a;
  --group-deep: #174d2b;
  background: var(--group-tint);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}

.product-group + .product-group {
  margin-top: 18px;
}

.product-group__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  min-height: 0;
}

.product-group__intro {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 30px;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(circle at 90% 10%, rgba(255, 255, 255, .8), transparent 65%);
  border-left: 1px solid rgba(47, 135, 56, .1);
}

.product-group__intro::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -45px;
  left: -45px;
  width: 150px;
  height: 150px;
  border: 30px solid rgba(47, 135, 56, .06);
  border-radius: 50%;
}

.product-group--banks {
  --group-tint: #fff2e5;
  --group-accent: #a85320;
  --group-deep: #743915;
}

.product-group--courses {
  --group-tint: #edf3fa;
  --group-accent: #36649a;
  --group-deep: #23466f;
}

.product-group--books {
  --group-tint: #f7f2e5;
  --group-accent: #876b27;
  --group-deep: #63501e;
}

.product-group--bundles {
  --group-tint: #f0edff;
  --group-accent: #7254c7;
  --group-deep: #432c87;
  background:
    radial-gradient(circle at 5% 10%, rgba(255, 255, 255, .8), transparent 28%),
    linear-gradient(135deg, #f4f1ff 0%, #e9e3ff 100%);
  border-color: rgba(114, 84, 199, .24);
  box-shadow: 0 18px 42px rgba(72, 47, 143, .13);
}

.product-group--bundles .product-group__intro {
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 255, 255, .92), transparent 55%),
    linear-gradient(145deg, rgba(114, 84, 199, .13), transparent 70%);
  border-left-color: rgba(114, 84, 199, .18);
}

.product-group--bundles .product-group__eyebrow::before {
  background: var(--group-accent);
}

.product-group__benefits--winner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
}

.product-group__benefits--winner li {
  align-items: flex-start;
  font-size: 10px;
  line-height: 1.65;
}

.product-group--bundles .product-card {
  border-color: rgba(114, 84, 199, .2);
  box-shadow: 0 13px 30px rgba(72, 47, 143, .11);
}

.product-group__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  color: var(--primary-dark);
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(47, 135, 56, .13);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 800;
}

.product-group__eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--secondary);
  border-radius: 50%;
}

.product-group__intro h3 {
  max-width: 100%;
  margin: 12px 0 10px;
  font-size: clamp(24px, 2.3vw, 32px);
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--group-deep);
  line-height: 1.45;
}

.product-group__description {
  margin-top: 4px;
}

.product-group__description p {
  display: block;
  overflow: visible;
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.95;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.product-group__description.expanded p {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.product-group__description button {
  margin-top: 5px;
  font-size: 10px;
}

.product-group__benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  width: 100%;
  margin: 16px 0 20px;
  padding: 0;
  list-style: none;
}

.product-group__benefits li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  width: 100%;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
}

.product-group__benefits li::before {
  content: "✓";
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: var(--group-accent);
  border-radius: 7px;
  font-size: 10px;
}

@media (max-width: 600px) {
  .product-group__benefits {
    grid-template-columns: 1fr;
  }
}

.product-group__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: auto;
  min-width: 210px;
  margin-top: 0;
  padding: 10px 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--group-deep), var(--group-accent));
  border-radius: 12px;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 9px 22px rgba(30, 100, 40, .17);
}

.product-group__cta b {
  font-size: 15px;
  transition: transform .2s;
}

.product-group__cta:hover b {
  transform: translateX(-3px);
}

.product-group__catalog {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 18px 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .38));
}

.product-group__toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  width: min(100%, 360px);
}

.product-group__toolbar div {
  display: flex;
  flex-direction: column;
}

.product-group__toolbar span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.product-group__toolbar strong {
  margin-top: 2px;
  color: var(--ink);
  font-size: 15px;
}

.product-group__toolbar > a {
  flex: 0 0 auto;
  margin-inline-start: auto;
  color: var(--primary-dark);
  font-size: 10px;
  font-weight: 900;
}

.product-group .product-tabs {
  width: min(100%, 360px);
  margin: 8px 0 10px;
  padding: 4px;
  border-radius: 12px;
}

.product-group .product-tabs button {
  min-width: 0;
  flex: 1;
  padding: 5px 6px;
  border-radius: 9px;
  font-size: 11px;
}

.product-group .product-tabs button:nth-child(2) {
  flex: 1.8;
  white-space: nowrap;
}

.product-group .products-grid {
  gap: 12px;
  padding-bottom: 5px;
  grid-auto-columns: 78%;
  padding-inline: 0;
  scroll-padding-inline: 0;
}

.product-group .product-card {
  border-radius: 22px;
  box-shadow: 0 6px 18px rgba(36, 35, 33, 0.06);
}

.product-group .product-card__body {
  padding: 9px 12px;
}

.product-group .products-slider__controls {
  gap: 6px;
  margin-top: 7px;
}

.product-group .products-slider__controls button {
  background: var(--group-accent);
  border-color: var(--group-accent);
  width: 32px;
  height: 32px;
  color: #fff;
  border-radius: 9px;
  font-size: 14px;
}

.product-group .products-slider__controls button:disabled {
  color: var(--muted);
  background: rgba(255, 255, 255, .55);
  border-color: var(--border);
}

.product-group .products-slider__controls button:not(:disabled):hover {
  background: var(--group-deep);
  border-color: var(--group-deep);
}

.products-empty {
  width: 100%;
  min-height: 120px;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 20px;
  color: var(--muted);
  background: var(--surface-soft);
  border: 1px dashed var(--border);
  border-radius: 14px;
  font-size: 11px;
}

.products-empty[hidden],
.product-group .product-card[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .products-catalog {
    padding-block: 52px;
  }

  .product-group__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .product-group__intro {
    padding: 24px 20px;
  }

  .product-group__catalog {
    padding-inline: 18px;
  }

  .product-group .products-grid {
    grid-auto-columns: 78%;
  }
}

@media (max-width: 600px) {
  .products-catalog {
    padding-block: 40px;
  }

  .products-catalog__intro {
    margin-bottom: 18px;
  }

  .product-group,
  .product-group + .product-group {
    margin-top: 16px;
  }

  .product-group {
    border-radius: 19px;
  }

  .product-group__layout {
    display: block;
  }

  .product-group__intro {
    min-height: 0;
    padding: 15px 18px;
    border-bottom: 1px solid rgba(47, 135, 56, .12);
    border-left: 0;
  }

  .product-group__intro h3 {
    margin-top: 9px;
    font-size: 23px;
  }

  .product-group__description p {
    font-size: 13px;
    line-height: 1.85;
    -webkit-line-clamp: unset;
    line-clamp: unset;
  }

  .product-group__benefits {
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    margin: 13px 0;
  }

  .product-group__benefits li {
    flex-direction: row;
    align-items: center;
    gap: 5px;
    padding: 5px 7px;
    background: rgba(255, 255, 255, .68);
    border: 1px solid rgba(47, 135, 56, .1);
    border-radius: 10px;
    font-size: 10px;
    line-height: 1.6;
  }

  .product-group__benefits li::before {
    width: 18px;
    height: 18px;
  }

  .product-group__cta {
    width: auto;
    padding: 9px 12px;
  }

  .product-group__catalog {
    padding: 15px 12px 12px;
  }

  .product-group__toolbar {
    align-items: center;
  }

  .product-group__toolbar strong {
    font-size: 14px;
  }

  .product-group .product-tabs {
    width: min(100%, 360px);
    gap: 4px;
    margin: 7px 0 11px;
    overflow: visible;
  }

  .product-group .product-tabs button {
    min-width: 0;
    flex: 1;
    padding: 7px 5px;
    font-size: 10px;
  }

  .product-group .product-tabs button:nth-child(2) {
    flex: 1.75;
    white-space: nowrap;
  }

  .product-group__description {
    margin-top: 4px;
  }

  .product-group .products-grid {
    grid-auto-columns: 78%;
    gap: 10px;
  }
}

/* Square media and readable product details in every home category. */
.product-group .product-card__media {
  height: auto;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, .6);
}

.product-group .product-card__media img {
  object-fit: contain;
}

.product-group .product-card h3 {
  font-size: 12px;
  min-height: 40px;
}

.product-group .product-price strong {
  font-size: 14px;
  color: var(--group-accent);
}

.product-group .product-tabs {
  background: rgba(255, 255, 255, .55);
}

.product-group .product-tabs button.active {
  color: var(--group-deep);
  background: #fff;
}

.product-group .product-group__eyebrow,
.product-group .product-group__toolbar > a {
  color: var(--group-deep);
}

.product-group .products-slider {
  width: min(100%, calc(var(--product-card-size) / .78));
}

@media (max-width: 600px) {
  .product-group {
    --product-card-size: clamp(148px, 24svh, 190px);
  }

  .product-group__intro h3 {
    margin-bottom: 6px;
  }

  .product-group__benefits {
    gap: 5px;
    margin: 10px 0 12px;
  }

  .product-group__cta {
    min-width: 0;
    padding: 7px 11px;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--surface);
  font-family: "Vazirmatn", Tahoma, sans-serif;
  line-height: 1.8;
  overflow-x: hidden;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 110px 0;
}

.section--tinted {
  background: var(--surface-tint);
}

.section--soft {
  background: var(--surface-soft);
}

.skip-link {
  position: fixed;
  top: -100px;
  right: 20px;
  z-index: 9999;
  padding: 10px 18px;
  color: var(--ink);
  background: var(--primary);
  border-radius: 10px;
}

.skip-link:focus {
  top: 10px;
}

.topbar {
  color: #fff;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  font-size: 16.25px;
}

.topbar__inner {
  height: 45px;
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.topbar p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.topbar__dot {
  width: 8.75px;
  height: 8.75px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 6.25px rgba(254, 197, 94, 0.18);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 10px 35px rgba(36, 35, 33, 0.07);
}

.header__inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.brand__text strong {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.brand__text span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 7px;
}

.desktop-nav a {
  position: relative;
  padding: 11px 13px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  transition: 0.2s;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--primary);
  background: var(--primary-soft);
}

.redesign-site-menu,
.redesign-submenu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.redesign-site-menu--desktop {
  display: flex;
  align-items: center;
  gap: 7px;
}

.redesign-menu-item {
  position: relative;
}

.redesign-menu-item > a {
  display: flex;
  align-items: center;
  gap: 6px;
}

.redesign-menu-chevron {
  width: 7px;
  height: 7px;
  margin: -3px 3px 0 1px;
  border-left: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  border-radius: 1px;
  opacity: .72;
  transform: rotate(-45deg);
  transform-origin: center;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), opacity .2s;
}

.redesign-submenu {
  position: absolute;
  z-index: 1010;
  top: calc(100% + 7px);
  right: 0;
  width: max-content;
  min-width: 190px;
  padding: 8px;
  visibility: hidden;
  opacity: 0;
  background: rgba(255, 255, 255, .98);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(36, 35, 33, .13);
  transform: translateY(8px);
  transition: opacity .2s, visibility .2s, transform .2s;
}

.redesign-submenu .redesign-submenu {
  top: 0;
  right: calc(100% + 7px);
}

.redesign-menu-item:hover > .redesign-submenu,
.redesign-menu-item:focus-within > .redesign-submenu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.redesign-menu-item:hover > a .redesign-menu-chevron,
.redesign-menu-item:focus-within > a .redesign-menu-chevron {
  opacity: 1;
  transform: rotate(135deg) translate(-1px, -1px);
}

.desktop-nav .redesign-submenu a {
  width: 100%;
  padding: 9px 11px;
  white-space: nowrap;
  font-size: 12px;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-btn,
.menu-btn {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  padding: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 13px;
  cursor: pointer;
}

.search-btn svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.menu-btn {
  display: none;
  color: var(--primary-dark);
  background: linear-gradient(145deg, #fff, var(--primary-soft));
  border-color: rgba(47, 135, 56, .2);
  box-shadow: 0 7px 18px rgba(30, 100, 40, .11), inset 0 1px 0 rgba(255,255,255,.8);
  transition: color .2s, background .2s, border-color .2s, transform .2s, box-shadow .2s;
}

.menu-btn svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s ease;
}

.menu-btn:hover,
.menu-btn:focus-visible {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 10px 24px rgba(30, 100, 40, .22);
  transform: translateY(-1px);
}

.menu-btn:active {
  transform: scale(.95);
}

.menu-btn[aria-expanded="true"] svg {
  transform: rotate(90deg);
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 800;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.22s, box-shadow 0.22s, background 0.22s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  box-shadow: 0 12px 25px rgba(30, 100, 40, 0.24);
}

.btn--primary:hover {
  box-shadow: 0 16px 35px rgba(30, 100, 40, 0.3);
}

.btn--outline {
  color: var(--primary);
  background: #fff;
  border-color: rgba(47, 135, 56, 0.28);
}

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

.btn--light {
  color: var(--primary-dark);
  background: #fff;
}

.btn--ghost-light {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--large {
  min-height: 54px;
  padding-inline: 27px;
  border-radius: 16px;
}

.btn--block {
  width: 100%;
}

.mobile-menu,
.mobile-menu-backdrop {
  display: none;
}

.hero {
  position: relative;
  padding: 80px 0 0;
  background:
    radial-gradient(circle at 88% 15%, rgba(47, 135, 56, 0.14), transparent 27%),
    radial-gradient(circle at 15% 65%, rgba(244, 122, 32, 0.08), transparent 28%),
    linear-gradient(180deg, var(--surface-tint) 0%, #fff 82%);
  overflow: hidden;
}

.hero__shape {
  position: absolute;
  border: 1px solid rgba(47, 135, 56, 0.16);
  border-radius: 50%;
}

.hero__shape--one {
  width: 480px;
  height: 480px;
  left: -260px;
  top: 70px;
}

.hero__shape--two {
  width: 220px;
  height: 220px;
  right: -95px;
  bottom: 180px;
}

.hero__grid {
  min-height: 590px;
  display: grid;
  grid-template-columns: 0.93fr 1.07fr;
  align-items: center;
  gap: 70px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

.eyebrow {
  padding: 7px 12px;
  background: var(--primary-soft);
  border: 1px solid rgba(47, 135, 56, 0.16);
  border-radius: 100px;
}

.hero h1 {
  max-width: 680px;
  margin: 20px 0 20px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.35;
  letter-spacing: -2.5px;
}

.hero h1 span {
  color: var(--accent-text);
  position: relative;
  white-space: nowrap;
}

.hero h1 span::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  width: 100%;
  height: 11px;
  opacity: 0.25;
  background: var(--accent);
  border-radius: 50%;
  transform: rotate(-1.5deg);
}

.hero__content > p {
  max-width: 610px;
  margin: 0;
  color: var(--text);
  font-size: 17px;
  line-height: 2;
}

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

.hero__trust {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 32px;
}

.avatars {
  display: flex;
  direction: ltr;
}

.avatars span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-left: -9px;
  color: var(--ink);
  background: var(--primary);
  border: 3px solid #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.avatars span:nth-child(2) { background: var(--secondary); }
.avatars span:nth-child(3) { background: var(--primary); }
.avatars span:nth-child(4) { color: var(--primary); background: var(--primary-soft); }

.hero__trust div:last-child {
  display: flex;
  flex-direction: column;
}

.hero__trust strong {
  font-size: 13px;
}

.hero__trust span {
  color: var(--muted);
  font-size: 11px;
}

.hero__visual {
  position: relative;
  min-height: 550px;
  display: grid;
  place-items: center;
}

.hero-slides {
  position: relative;
  width: min(100%, 560px);
  height: 470px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  padding: 42px 34px;
  visibility: hidden;
  opacity: 0;
  background: #fff;
  border: 1px solid rgba(47, 135, 56, 0.15);
  border-radius: 36px;
  box-shadow: var(--shadow-lg);
  transform: translateX(-22px) scale(0.97);
  transition: opacity 0.45s, transform 0.45s, visibility 0.45s;
}

.hero-slide::before,
.hero-slide::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-slide::before {
  width: 290px;
  height: 290px;
  left: -120px;
  top: -135px;
  background: rgba(254, 197, 94, 0.22);
}

.hero-slide::after {
  width: 210px;
  height: 210px;
  right: -110px;
  bottom: -105px;
  background: rgba(47, 135, 56, 0.1);
}

.hero-slide.active {
  z-index: 1;
  visibility: visible;
  opacity: 1;
  transform: translateX(0) scale(1);
}

.hero-slide__copy {
  position: relative;
  z-index: 2;
}

.hero-slide__copy > span {
  display: inline-flex;
  padding: 6px 10px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 800;
}

.hero-slide__copy h2 {
  margin: 14px 0 10px;
  color: var(--ink);
  font-size: 31px;
  line-height: 1.45;
}

.hero-slide__copy p {
  margin: 0;
  color: var(--text);
  font-size: 12px;
  line-height: 2;
}

.hero-slide__copy a {
  display: inline-flex;
  margin-top: 20px;
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 900;
}

.hero-slide__art {
  position: relative;
  z-index: 2;
  height: 280px;
  display: grid;
  place-items: center;
}

.exam-sheet {
  width: 170px;
  min-height: 215px;
  padding: 28px 23px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 18px 20px 0 var(--primary-soft), var(--shadow-md);
  transform: rotate(-4deg);
}

.exam-sheet b {
  display: block;
  margin-bottom: 25px;
  color: var(--secondary);
  font-size: 38px;
  text-align: center;
}

.exam-sheet i {
  height: 9px;
  display: block;
  margin-top: 13px;
  background: #eeeae4;
  border-radius: 10px;
}

.exam-sheet i:nth-child(3) {
  width: 75%;
}

.art-badge {
  position: absolute;
  right: 8px;
  top: 20px;
  width: 61px;
  height: 61px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--primary);
  border: 5px solid #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  font-size: 19px;
  font-weight: 950;
  transform: rotate(8deg);
}

.question-stack {
  width: 190px;
  padding: 25px 20px;
  background: var(--secondary-dark);
  border-radius: 26px;
  box-shadow: 16px 17px 0 var(--secondary-soft), var(--shadow-md);
  transform: rotate(3deg);
}

.question-stack b {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  color: var(--secondary-dark);
  background: #fff;
  border-radius: 18px;
  font-size: 33px;
}

.question-stack span {
  display: block;
  margin-top: 8px;
  padding: 7px;
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  font-size: 10px;
  text-align: center;
}

.search-lens {
  position: absolute;
  left: 2px;
  bottom: 17px;
  width: 58px;
  height: 58px;
  border: 10px solid var(--accent);
  border-radius: 50%;
  transform: rotate(-25deg);
}

.search-lens::after {
  content: "";
  position: absolute;
  right: -27px;
  bottom: -17px;
  width: 36px;
  height: 10px;
  background: var(--accent);
  border-radius: 10px;
}

.video-frame {
  width: 210px;
  height: 155px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--secondary-dark), var(--secondary));
  border: 8px solid #fff;
  border-radius: 25px;
  box-shadow: 15px 17px 0 var(--primary-soft), var(--shadow-md);
  transform: rotate(-2deg);
}

.video-frame span {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  padding-right: 4px;
  color: var(--primary-dark);
  background: var(--accent);
  border-radius: 50%;
  font-size: 22px;
}

.video-frame b {
  font-size: 11px;
}

.live-dot {
  position: absolute;
  top: 40px;
  left: 4px;
  padding: 6px 9px;
  color: #fff;
  background: #d94732;
  border: 4px solid #fff;
  border-radius: 9px;
  box-shadow: var(--shadow-sm);
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}

.book-stack {
  position: relative;
  width: 190px;
  height: 210px;
}

.book-stack i {
  position: absolute;
  width: 145px;
  height: 190px;
  border-radius: 12px 22px 22px 12px;
  box-shadow: var(--shadow-md);
}

.book-stack i:nth-child(1) {
  right: 0;
  top: 0;
  background: var(--primary);
  transform: rotate(8deg);
}

.book-stack i:nth-child(2) {
  right: 22px;
  top: 6px;
  background: var(--secondary);
  transform: rotate(-3deg);
}

.book-stack i:nth-child(3) {
  right: 35px;
  top: 12px;
  background: #fff;
  border: 1px solid var(--border);
}

.book-stack b {
  position: absolute;
  z-index: 2;
  top: 80px;
  right: 68px;
  color: var(--primary-dark);
  font-size: 17px;
}

.digital-chip {
  position: absolute;
  left: 0;
  bottom: 18px;
  padding: 10px 13px;
  color: #fff;
  background: var(--primary-dark);
  border: 5px solid #fff;
  border-radius: 13px;
  box-shadow: var(--shadow-md);
  font-size: 11px;
  font-weight: 900;
}

.book-product-image {
  position: relative;
  width: 175px;
  height: 255px;
  display: grid;
  place-items: center;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 16px 18px 0 var(--primary-soft), var(--shadow-md);
  transform: rotate(2deg);
}

.book-product-image img {
  position: static;
  width: 100%;
  max-width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.hero-slider__nav {
  position: absolute;
  z-index: 4;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 11px;
  direction: ltr;
}

.hero-slider__nav > button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--primary-dark);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  font: inherit;
  font-size: 19px;
  cursor: pointer;
}

.hero-slider__dots {
  display: flex;
  gap: 6px;
  padding: 7px 9px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
  border-radius: 100px;
  backdrop-filter: blur(8px);
}

.hero-slider__dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  background: #d8d3cb;
  border: 0;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.25s;
}

.hero-slider__dots button.active {
  width: 24px;
  background: var(--primary);
}

.hero-card {
  width: min(100%, 530px);
  padding: 16px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 34px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(15px);
  transform: perspective(1000px) rotateY(-3deg) rotateX(2deg);
}

.hero-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 6px 13px;
}

.hero-card__badge,
.hero-card__status {
  font-size: 11px;
  font-weight: 700;
}

.hero-card__badge {
  color: var(--primary);
}

.hero-card__status {
  color: var(--secondary-dark);
}

.dashboard-mockup {
  padding: 22px;
  background: var(--surface-tint);
  border: 1px solid rgba(47, 135, 56, 0.16);
  border-radius: 24px;
}

.dashboard-mockup__welcome {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dashboard-mockup__welcome div {
  display: flex;
  flex-direction: column;
}

.dashboard-mockup__welcome small {
  color: var(--muted);
}

.dashboard-mockup__welcome strong {
  margin-top: 2px;
  font-size: 17px;
}

.mini-avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 15px;
  font-weight: 900;
}

.progress-card {
  margin-top: 19px;
  padding: 15px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 17px;
}

.progress-card > div:first-child {
  display: flex;
  justify-content: space-between;
  margin-bottom: 9px;
  font-size: 12px;
}

.progress-card strong {
  color: var(--primary);
}

.progress {
  height: 7px;
  overflow: hidden;
  background: var(--primary-soft);
  border-radius: 20px;
}

.progress span {
  height: 100%;
  display: block;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  border-radius: inherit;
}

.dashboard-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 13px;
}

.dashboard-actions > div {
  min-width: 0;
  padding: 13px 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
}

.dashboard-actions strong,
.dashboard-actions small {
  display: block;
}

.dashboard-actions strong {
  margin-top: 9px;
  font-size: 11px;
}

.dashboard-actions small {
  color: var(--muted);
  font-size: 9px;
}

.mock-icon {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 900;
}

.mock-icon--purple { color: var(--primary); background: var(--primary-soft); }
.mock-icon--green { color: var(--secondary-dark); background: var(--secondary-soft); }
.mock-icon--orange { color: var(--primary-dark); background: var(--primary-soft); }

.chart-card {
  margin-top: 13px;
  padding: 15px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 17px;
}

.chart-card__head {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
}

.chart-card__head span {
  color: var(--muted);
  font-size: 9px;
}

.chart-bars {
  height: 95px;
  display: flex;
  align-items: flex-end;
  gap: 9px;
  margin-top: 15px;
  padding-top: 10px;
  border-bottom: 1px solid var(--border);
}

.chart-bars span {
  flex: 1;
  min-width: 12px;
  background: linear-gradient(180deg, var(--accent), var(--primary));
  border-radius: 7px 7px 2px 2px;
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.floating-card--top {
  top: 60px;
  right: -20px;
}

.floating-card--bottom {
  left: -10px;
  bottom: 70px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.floating-card__icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--secondary-dark);
  border-radius: 10px;
  font-weight: 900;
}

.floating-card div {
  display: flex;
  flex-direction: column;
}

.floating-card strong {
  font-size: 12px;
}

.floating-card small,
.floating-card span {
  color: var(--muted);
  font-size: 9px;
}

.floating-card--bottom strong {
  color: var(--primary);
  font-size: 19px;
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 60px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 26px 26px 0 0;
  box-shadow: 0 -10px 50px rgba(36, 35, 33, 0.07);
}

.hero-stats article {
  position: relative;
  padding: 27px 22px;
  text-align: center;
}

.hero-stats article:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0;
  top: 27%;
  width: 1px;
  height: 46%;
  background: var(--border);
}

.hero-stats strong {
  display: block;
  color: var(--primary);
  font-size: 28px;
  line-height: 1.3;
}

.hero-stats span {
  color: var(--muted);
  font-size: 12px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 42px;
}

.section-heading--center {
  max-width: 730px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 48px;
  display: block;
  text-align: center;
}

.section-heading span,
.section-kicker {
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

.section-heading h2,
.about__content h2,
.testimonials__intro h2,
.faq__intro h2 {
  margin: 8px 0 10px;
  font-size: clamp(29px, 3vw, 42px);
  line-height: 1.5;
  letter-spacing: -1px;
}

.section-heading p,
.testimonials__intro p,
.faq__intro p {
  max-width: 680px;
  margin: 0;
  color: var(--text);
}

.text-link {
  flex-shrink: 0;
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
}

.text-link b {
  margin-right: 5px;
  font-size: 18px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.quick-card {
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 19px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: 0.25s;
}

.quick-card:hover {
  transform: translateY(-5px);
  border-color: rgba(47, 135, 56, 0.28);
  box-shadow: var(--shadow-md);
}

.quick-card__icon {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 15px;
  font-size: 16px;
  font-weight: 900;
}

.quick-card__icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quick-card:nth-child(2) .quick-card__icon { color: var(--secondary-dark); background: var(--secondary-soft); }
.quick-card:nth-child(3) .quick-card__icon { color: var(--primary-dark); background: var(--primary-soft); }
.quick-card:nth-child(4) .quick-card__icon { color: var(--secondary-dark); background: var(--secondary-soft); }

.quick-card div {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.quick-card strong {
  font-size: 14px;
}

.quick-card small {
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.quick-card__arrow {
  color: var(--muted);
  font-size: 18px;
}

.product-tabs {
  width: fit-content;
  display: flex;
  gap: 5px;
  margin-bottom: 27px;
  padding: 5px;
  background: #f2eee9;
  border-radius: 15px;
}

.product-tabs button {
  padding: 9px 18px;
  color: var(--text);
  background: transparent;
  border: 0;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.product-tabs button.active {
  color: var(--primary-dark);
  background: #fff;
  box-shadow: 0 5px 13px rgba(100, 65, 10, 0.09);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 21px;
}

.product-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  transition: 0.25s;
}

.product-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
}

.product-card__media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #f4f1ed;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
}

.product-card:hover .product-card__media img {
  transform: scale(1.04);
}

.product-card__tag {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 10px;
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.product-card__discount {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--secondary-dark);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
}

.product-card__body {
  padding: 20px;
}

.product-card__meta {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.product-card__meta span {
  padding: 3px 8px;
  color: var(--muted);
  background: var(--surface-soft);
  border-radius: 7px;
  font-size: 9px;
}

.product-card h3 {
  min-height: 55px;
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
}

.product-card__features {
  min-height: 64px;
  margin: 12px 0;
  padding: 0;
  list-style: none;
}

.product-card__features li {
  position: relative;
  padding-right: 17px;
  color: var(--text);
  font-size: 11px;
}

.product-card__features li::before {
  content: "✓";
  position: absolute;
  right: 0;
  color: var(--secondary);
  font-weight: 900;
}

.product-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.product-price {
  display: flex;
  flex-direction: column;
}

.product-price del {
  color: var(--muted);
  font-size: 10px;
}

.product-price strong {
  color: var(--primary-dark);
  font-size: 17px;
}

.product-price small {
  margin-right: 3px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
}

.product-card__link {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 12px;
  font-size: 19px;
}

.products-mobile-action {
  display: none;
  margin-top: 22px;
}

.why__grid,
.about__grid,
.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.feature-list {
  display: grid;
  gap: 13px;
}

.feature-list article {
  display: flex;
  gap: 15px;
  padding: 16px;
  border: 1px solid transparent;
  border-radius: 18px;
  transition: 0.2s;
}

.feature-list article:hover {
  background: var(--surface-soft);
  border-color: var(--border);
}

.feature-list article > span {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 13px;
  font-size: 13px;
  font-weight: 900;
}

.feature-list strong {
  display: block;
  margin-bottom: 3px;
  font-size: 14px;
}

.feature-list p {
  margin: 0;
  color: var(--text);
  font-size: 12px;
}

.why__visual {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
}

.analytics-card {
  position: relative;
  z-index: 2;
  width: min(100%, 500px);
  padding: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

.analytics-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.analytics-card__top div {
  display: flex;
  flex-direction: column;
}

.analytics-card__top small {
  color: var(--muted);
}

.analytics-card__top > span {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 900;
}

.subject-scores {
  display: grid;
  gap: 15px;
  margin: 24px 0;
}

.subject-scores > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 15px;
  font-size: 12px;
}

.subject-scores b {
  color: var(--primary);
}

.subject-scores i {
  height: 7px;
  grid-column: 1 / -1;
  overflow: hidden;
  background: var(--primary-soft);
  border-radius: 10px;
}

.subject-scores em {
  height: 100%;
  display: block;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  border-radius: inherit;
}

.analytics-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.analytics-summary div {
  padding: 12px;
  text-align: center;
  background: var(--surface-soft);
  border-radius: 14px;
}

.analytics-summary strong,
.analytics-summary span {
  display: block;
}

.analytics-summary strong {
  color: var(--primary-dark);
  font-size: 17px;
}

.analytics-summary span {
  color: var(--muted);
  font-size: 9px;
}

.decor-dot {
  position: absolute;
  border-radius: 50%;
}

.decor-dot--one {
  width: 300px;
  height: 300px;
  background: var(--primary-soft);
}

.decor-dot--two {
  width: 160px;
  height: 160px;
  left: 0;
  bottom: 10px;
  background: var(--secondary-soft);
}

.section--dark {
  color: #fff;
  background:
    radial-gradient(circle at 20% 20%, rgba(254, 197, 94, 0.2), transparent 25%),
    linear-gradient(135deg, #102d12, #194c19 70%, #0d240f);
}

.about__media {
  position: relative;
}

.about__image {
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
}

.about__image img {
  width: 100%;
  height: 510px;
  object-fit: cover;
}

.about__badge {
  position: absolute;
  left: -25px;
  bottom: 30px;
  min-width: 190px;
  padding: 17px 20px;
  color: var(--ink);
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}

.about__badge strong,
.about__badge span {
  display: block;
}

.about__badge strong {
  color: var(--primary);
  font-size: 18px;
}

.about__badge span {
  color: var(--text);
  font-size: 10px;
}

.about__content p {
  color: rgba(255, 255, 255, 0.7);
}

.about__content .section-kicker {
  color: var(--accent);
}

.about__values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 28px;
}

.about__values span {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  font-size: 11px;
}

.about .about-stats {
  margin-top: 72px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(4, 22, 7, 0.22);
  backdrop-filter: blur(12px);
}

.about .about-stats article {
  padding-block: 30px;
}

.about .about-stats article:not(:last-child)::after {
  background: rgba(255, 255, 255, 0.16);
}

.about .about-stats strong {
  color: var(--accent);
  font-size: 32px;
}

.about .about-stats span {
  color: rgba(255, 255, 255, 0.76);
}

.achievers-slider {
  position: relative;
  padding: 0 52px;
}

.achievers-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 36px) / 3);
  gap: 18px;
  overflow: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.achiever-card {
  position: relative;
  padding: 14px 14px 0;
  background:
    linear-gradient(90deg, rgba(47, 135, 56, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(47, 135, 56, 0.05) 1px, transparent 1px),
    #fff;
  background-size: 32px 32px;
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: 0 14px 36px rgba(44, 74, 28, 0.09);
  scroll-snap-align: start;
  transition: transform 0.25s, box-shadow 0.25s;
}

.achiever-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 48px rgba(44, 74, 28, 0.16);
}

.achiever-card__image {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 500 / 206;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 20px;
  box-shadow: none;
}

.achiever-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 14px 15px rgba(31, 50, 27, 0.18));
  transition: transform 0.45s;
}

.achiever-card:hover .achiever-card__image img {
  transform: scale(1.035);
}

.achiever-card__content {
  position: relative;
  margin-top: -10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 112px;
  padding: 27px 16px 17px;
  background: #fff;
  border-radius: 0 0 20px 20px;
}

.achiever-card strong.achiever-card__rank {
  position: relative;
  padding-right: 13px;
  color: var(--accent-text);
  font-size: 21px;
  font-weight: 950;
  line-height: 1.4;
  white-space: nowrap;
}

.achiever-card strong.achiever-card__rank::before {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  width: 5px;
  height: 60%;
  background: var(--primary);
  border-radius: 10px;
}

.achiever-card__exam {
  display: inline-flex;
  align-items: center;
  gap: 0;
  overflow: hidden;
  flex: 0 0 auto;
  margin-top: 0;
  background: #fff;
  border: 1px solid rgba(47, 135, 56, 0.18);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(41, 98, 26, 0.09);
}

.achiever-card__exam span,
.achiever-card__exam b {
  padding: 8px 11px;
  font-size: 10px;
  white-space: nowrap;
}

.achiever-card__exam span {
  color: #fff;
  background: var(--secondary-dark);
  font-weight: 800;
}

.achiever-card__exam b {
  color: var(--ink);
  background: var(--primary);
}

.slider-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  color: var(--secondary);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  font-size: 24px;
  cursor: pointer;
}

.slider-btn--prev { right: 0; }
.slider-btn--next { left: 0; }

.achievers-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 28px 52px 0;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

.achievers-more p {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0;
}

.achievers-more strong {
  color: var(--ink);
  font-size: 14px;
}

.achievers-more span {
  color: var(--muted);
  font-size: 10px;
}

.achievers-more .btn {
  flex: 0 0 auto;
}


.testimonials__grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: center;
  gap: 65px;
}

.rating {
  width: fit-content;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 0 10px;
  margin-top: 25px;
}

.rating strong {
  color: var(--primary);
  font-size: 32px;
}

.rating span {
  color: var(--accent);
  letter-spacing: 2px;
}

.rating small {
  grid-column: 1 / -1;
  color: var(--muted);
}

.testimonial-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.testimonial-cards article {
  position: relative;
  padding: 25px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.quote-mark {
  height: 40px;
  color: var(--primary-soft);
  font-family: Georgia, serif;
  font-size: 68px;
  line-height: 1;
}

.testimonial-cards p {
  min-height: 108px;
  margin: 6px 0 22px;
  color: var(--text);
  font-size: 13px;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 11px;
}

.testimonial-user > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--primary);
  border-radius: 14px;
  font-weight: 900;
}

.testimonial-user div {
  display: flex;
  flex-direction: column;
}

.testimonial-user strong {
  font-size: 12px;
}

.testimonial-user small {
  color: var(--muted);
  font-size: 9px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 13px;
}

.partners-slider {
  position: relative;
  padding-inline: 50px;
}

.partners .partners-grid {
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 65px) / 6);
  overflow-x: auto;
  padding: 4px 2px 12px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.partners .partners-grid::-webkit-scrollbar {
  display: none;
}

.partners .partner-logo {
  scroll-snap-align: start;
}

.partners-slider > button {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  color: var(--secondary);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 11px;
  box-shadow: var(--shadow-sm);
  font: inherit;
  font-size: 23px;
  cursor: pointer;
}

.partners-slider > button:first-child {
  right: 0;
}

.partners-slider > button:last-child {
  left: 0;
}

.partner-logo {
  min-height: 145px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 12px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  transition: 0.22s;
}

.partner-logo:hover {
  color: var(--primary);
  border-color: rgba(47, 135, 56, 0.3);
  transform: translateY(-3px);
}

.partner-logo__mark {
  width: 68px;
  height: 62px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 15px;
  transition: 0.22s;
}

.partner-logo:hover .partner-logo__mark {
  background: var(--primary-soft);
  border-color: rgba(47, 135, 56, 0.5);
}

.partner-logo__mark img {
  width: 100%;
  height: 100%;
  padding: 8px;
  object-fit: contain;
}

.partner-logo__mark b {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--primary-dark);
  background: rgba(47, 135, 56, 0.1);
  border-radius: 12px;
  font-size: 19px;
}

.partner-logo > strong {
  color: var(--text);
  font-size: 11px;
  line-height: 1.7;
  transition: color 0.22s;
}

.partner-logo:hover > strong {
  color: var(--primary-dark);
}

.partner-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 30px;
  padding: 28px 32px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 24px;
}

.partner-cta span {
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
}

.partner-cta h3 {
  max-width: 700px;
  margin: 4px 0 0;
  font-size: 19px;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
  gap: 20px;
}

.blog-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.blog-card__image {
  position: relative;
  height: 190px;
  display: block;
  overflow: hidden;
}

.blog-card--featured .blog-card__image {
  height: 270px;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.35s;
}

.blog-card:hover img {
  transform: scale(1.04);
}

.blog-card__image span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 5px 9px;
  color: #fff;
  background: rgba(36, 35, 33, 0.8);
  border-radius: 8px;
  font-size: 9px;
  font-weight: 700;
  backdrop-filter: blur(5px);
}

.blog-card__body {
  padding: 19px;
}

.blog-card__body small {
  color: var(--muted);
  font-size: 9px;
}

.blog-card h3 {
  margin: 7px 0 0;
  font-size: 15px;
  line-height: 1.8;
}

.blog-card--featured h3 {
  font-size: 20px;
}

.blog-card p {
  margin: 8px 0 0;
  color: var(--text);
  font-size: 11px;
}

.faq__grid {
  align-items: start;
}

.faq__intro {
  position: sticky;
  top: 120px;
}

.faq__intro .btn {
  margin-top: 22px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 17px;
}

.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  text-align: right;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 700;
}

.faq-item button span:last-child {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 9px;
  font-size: 18px;
  transition: 0.25s;
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item__answer p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--text);
  font-size: 12px;
}

.faq-item.open button span:last-child {
  transform: rotate(45deg);
}

.final-cta {
  padding: 30px 0 100px;
}

.final-cta__box {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 55px 60px;
  color: #fff;
  background:
    radial-gradient(circle at 10% 110%, rgba(255,255,255,.18), transparent 30%),
    linear-gradient(135deg, var(--primary-dark), var(--primary) 62%, #4d9d4f);
  border-radius: 34px;
  box-shadow: var(--shadow-lg);
}

.final-cta__box::after {
  content: "";
  position: absolute;
  left: -70px;
  top: -90px;
  width: 260px;
  height: 260px;
  border: 35px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.final-cta__content {
  position: relative;
  z-index: 1;
}

.final-cta__content span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.final-cta h2 {
  margin: 4px 0 6px;
  font-size: 35px;
}

.final-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.final-cta__actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.footer {
  padding: 70px 0 20px;
  color: rgba(255, 255, 255, 0.75);
  background: #20231f;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.7fr);
  gap: 55px;
}

.brand--light .brand__text strong {
  color: #fff;
}

.brand--light .brand__text span {
  color: rgba(255, 255, 255, 0.5);
}

.footer__brand p {
  max-width: 330px;
  font-size: 12px;
}

.footer h3 {
  margin: 0 0 17px;
  color: #fff;
  font-size: 14px;
}

.footer__grid > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer a,
.footer p {
  margin: 0;
  font-size: 11px;
}

.footer a:hover {
  color: #fff;
}

.socials {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.socials a {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 11px;
  font-weight: 800;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 55px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer__bottom div {
  display: flex;
  gap: 20px;
}

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  visibility: hidden;
  opacity: 0;
  transition: 0.25s;
}

.search-modal.open {
  visibility: visible;
  opacity: 1;
}

.search-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(36, 35, 33, 0.72);
  backdrop-filter: blur(7px);
}

.search-modal__box {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 35px), 700px);
  margin: 13vh auto 0;
  padding: 34px;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.search-modal__box > button {
  position: absolute;
  top: 14px;
  left: 16px;
  background: transparent;
  border: 0;
  font-size: 26px;
  cursor: pointer;
}

.search-modal__box > span {
  display: block;
  margin-bottom: 14px;
  font-weight: 800;
}

.search-modal form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px;
}

.search-modal input {
  min-width: 0;
  height: 49px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 13px;
  outline: none;
}

.search-modal input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}

.back-to-top {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 500;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  color: var(--ink);
  background: var(--primary);
  border: 0;
  border-radius: 13px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: 0.25s;
}

.back-to-top.show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .desktop-nav {
    gap: 0;
  }

  .desktop-nav a {
    padding-inline: 9px;
    font-size: 12px;
  }

  .hero__grid {
    gap: 35px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .achievers-track {
    grid-auto-columns: calc((100% - 32px) / 3);
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 70px;
  }

  .topbar {
    display: none;
  }

  .desktop-nav,
  .header-login {
    display: none;
  }

  .menu-btn {
    display: grid;
  }

  .mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1190;
    display: block;
    visibility: hidden;
    opacity: 0;
    background: rgba(36, 35, 33, 0.65);
    transition: 0.25s;
  }

  .mobile-menu {
    position: fixed;
    z-index: 1200;
    top: 0;
    right: 0;
    width: min(88vw, 380px);
    height: 100dvh;
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: #fff;
    transform: translateX(105%);
    transition: 0.3s ease;
  }

  .mobile-menu.open {
    transform: translateX(0);
  }

  .mobile-menu-backdrop.open {
    visibility: visible;
    opacity: 1;
  }

  .mobile-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
  }

  .mobile-menu__head > button {
    width: 38px;
    height: 38px;
    background: var(--surface-soft);
    border: 0;
    border-radius: 12px;
    font-size: 24px;
  }

  .mobile-menu nav {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
    padding: 20px 0;
  }

  .mobile-menu nav a {
    padding: 12px 13px;
    border-radius: 11px;
    font-weight: 700;
  }

  .mobile-menu nav a:hover {
    color: var(--primary);
    background: var(--primary-soft);
  }

  .redesign-site-menu--mobile {
    width: 100%;
    overflow-y: auto;
  }

  .redesign-site-menu--mobile .redesign-menu-item > a {
    width: 100%;
  }

  .redesign-site-menu--mobile .redesign-menu-item > a b {
    margin-right: auto;
  }

  .redesign-site-menu--mobile .redesign-submenu {
    position: static;
    width: auto;
    min-width: 0;
    margin: 1px 14px 5px 0;
    padding: 2px 8px 2px 0;
    visibility: visible;
    opacity: 1;
    background: transparent;
    border: 0;
    border-right: 2px solid var(--primary-soft);
    border-radius: 0;
    box-shadow: none;
    transform: none;
  }

  .redesign-site-menu--mobile .redesign-submenu a {
    padding-block: 9px;
    color: var(--muted);
    font-size: 12px;
  }

  .hero {
    padding-top: 55px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__content > p {
    margin-inline: auto;
  }

  .hero__actions,
  .hero__trust {
    justify-content: center;
  }

  .hero__visual {
    min-height: 500px;
  }

  .hero-card {
    transform: none;
  }

  .hero-stats {
    margin-top: 40px;
  }

  .why__grid,
  .about__grid,
  .faq__grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .why__visual {
    order: -1;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .faq__intro {
    position: static;
  }

  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }

  .blog-card--featured {
    grid-column: 1 / -1;
  }

  .footer__grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .footer__grid > div:last-child {
    grid-column: 2 / -1;
  }

  .final-cta__box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 75px 0;
  }

  .brand img {
    width: 39px;
    height: 39px;
  }

  .brand__text strong {
    font-size: 18px;
  }

  .hero {
    padding-top: 42px;
  }

  .hero h1 {
    margin-top: 15px;
    font-size: 38px;
    line-height: 1.5;
    letter-spacing: -1.4px;
  }

  .hero h1 span {
    white-space: normal;
  }

  .hero__content > p {
    font-size: 14px;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__trust {
    align-items: flex-start;
    text-align: right;
  }

  .hero__visual {
    min-height: 410px;
    margin-top: 5px;
  }

  .hero-card {
    padding: 8px;
    border-radius: 23px;
  }

  .dashboard-mockup {
    padding: 15px;
    border-radius: 18px;
  }

  .dashboard-actions {
    gap: 6px;
  }

  .dashboard-actions > div {
    padding: 10px 7px;
  }

  .floating-card--top {
    top: 0;
    right: -5px;
  }

  .floating-card--bottom {
    left: -4px;
    bottom: 5px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    border-radius: 22px 22px 0 0;
  }

  .hero-stats article {
    padding: 19px 10px;
  }

  .hero-stats article:nth-child(2)::after {
    display: none;
  }

  .hero-stats article:nth-child(-n+2) {
    border-bottom: 1px solid var(--border);
  }

  .hero-stats strong {
    font-size: 23px;
  }

  .about .about-stats {
    margin-top: 48px;
    border-radius: 20px;
  }

  .about .about-stats article {
    padding-block: 22px;
  }

  .about .about-stats article:nth-child(-n+2) {
    border-bottom-color: rgba(255, 255, 255, 0.14);
  }

  .section-heading,
  .section-heading--center {
    margin-bottom: 30px;
  }

  .section-heading {
    align-items: flex-start;
  }

  .section-heading > .text-link {
    display: none;
  }

  .section-heading h2,
  .about__content h2,
  .testimonials__intro h2,
  .faq__intro h2 {
    font-size: 27px;
  }

  .quick-grid,
  .products-grid,
  .testimonial-cards,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .quick-card {
    min-height: 98px;
  }

  .product-tabs {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 5px;
    background: transparent;
    border-radius: 0;
    scrollbar-width: none;
  }

  .product-tabs button {
    flex: 0 0 auto;
    background: #f2eee9;
  }

  .product-tabs button.active {
    color: var(--ink);
    background: var(--primary);
  }

  .product-card__media {
    height: 205px;
  }

  .products-mobile-action {
    display: block;
  }

  .analytics-card {
    padding: 20px;
  }

  .analytics-summary {
    gap: 6px;
  }

  .about__image img {
    height: 350px;
  }

  .about__badge {
    left: 15px;
    bottom: 15px;
  }

  .achievers-slider {
    padding: 0;
  }

  .achievers-track {
    grid-auto-columns: 78%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .achiever-card {
    scroll-snap-align: start;
  }

  .slider-btn {
    display: none;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 23px;
  }

  .blog-card--featured {
    grid-column: auto;
  }

  .blog-card--featured .blog-card__image {
    height: 220px;
  }

  .faq-item button {
    padding: 15px;
    font-size: 12px;
  }

  .final-cta {
    padding-bottom: 75px;
  }

  .final-cta__box {
    padding: 35px 24px;
    border-radius: 25px;
  }

  .final-cta h2 {
    font-size: 29px;
  }

  .final-cta__actions {
    width: 100%;
    flex-direction: column;
  }

  .final-cta__actions .btn {
    width: 100%;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px 25px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__grid > div:last-child {
    grid-column: auto;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .search-modal__box {
    padding: 27px 18px 20px;
  }

  .search-modal form {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 700px) {
  .achiever-card {
    min-height: 250px;
    grid-template-columns: 1.12fr 0.88fr;
    border-radius: 22px;
  }

  .achiever-card__content {
    padding: 22px 16px 20px 9px;
  }

  .achiever-card h3 {
    margin-block: 8px 5px;
    font-size: 14px;
  }

  .achiever-card strong.achiever-card__rank {
    font-size: 18px;
  }

  .achiever-card__medal {
    left: 8px;
    bottom: 10px;
    width: 38px;
    height: 38px;
  }

  .achievers-more {
    align-items: stretch;
    flex-direction: column;
    margin: 20px 0 0;
  }

  .achievers-more .btn {
    width: 100%;
  }

  .achiever-card {
    min-height: 0;
    display: block;
    padding: 10px 10px 0;
  }

  .achiever-card__content {
    flex-direction: column;
    gap: 10px;
    min-height: 125px;
    padding: 25px 12px 15px;
  }

  .achiever-card strong.achiever-card__rank {
    font-size: 19px;
  }
}

@media (max-width: 700px) {
  .partners-slider {
    padding-inline: 0;
  }

  .partners .partners-grid {
    grid-template-columns: none;
    grid-auto-columns: minmax(155px, 58vw);
    gap: 12px;
  }

  .partners-slider > button {
    top: auto;
    bottom: -44px;
  }

  .partners-slider > button:first-child {
    right: calc(50% - 43px);
  }

  .partners-slider > button:last-child {
    left: calc(50% - 43px);
  }

  .partner-cta {
    margin-top: 72px;
  }
}

@media (max-width: 600px) {
  .hero__visual {
    min-height: 470px;
  }

  .hero-slides {
    height: 440px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    grid-template-rows: auto 185px;
    gap: 0;
    padding: 28px 20px 55px;
    border-radius: 26px;
    text-align: center;
  }

  .hero-slide__copy > span {
    justify-content: center;
  }

  .hero-slide__copy h2 {
    margin-block: 10px 6px;
    font-size: 25px;
  }

  .hero-slide__copy p {
    font-size: 11px;
    line-height: 1.9;
  }

  .hero-slide__copy a {
    margin-top: 12px;
  }

  .hero-slide__art {
    height: 205px;
    transform: scale(0.72);
  }

  .hero-slider__nav {
    bottom: 14px;
  }
}

/* Preserve each product artwork's original proportions. */
.products .product-group .product-card__media {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  overflow: hidden;
  background: #f7f5f2;
}

.products .product-group .product-card__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.product-modal__cover {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 190, 61, .16), transparent 34%),
    linear-gradient(145deg, #faf8f5, #f1ede7);
}

.product-modal__cover img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(590px, calc(100vh - 104px));
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(49, 42, 33, .12);
}

@media (max-width: 700px) {
  .product-modal__cover {
    padding: 18px;
  }

  .product-modal__cover img {
    max-height: min(46vh, 350px);
  }
}

/* Category product cards use the same natural image ratio as home sliders. */
.category-page .category-product__media {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  overflow: hidden;
  background: #f7f5f2;
}

.category-page .category-product__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

/* Bundle artwork matches the square cards used in the home slider. */
.category-page[data-category="bundles"] .category-product__media {
  display: grid;
  place-items: center;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, .72);
}

.category-page[data-category="bundles"] .category-product__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

/* Featured achievers and partners, aligned with the home visual language. */
.achievers {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(254, 197, 94, .22), transparent 24%),
    radial-gradient(circle at 92% 82%, rgba(47, 135, 56, .12), transparent 27%),
    linear-gradient(180deg, #f4faf4 0%, #fbfdf9 100%);
  border-bottom: 1px solid rgba(47, 135, 56, .1);
}

.achievers::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  top: -170px;
  right: -90px;
  border: 55px solid rgba(47, 135, 56, .06);
  border-radius: 50%;
}

.achievers > .container,
.partners > .container {
  position: relative;
  z-index: 1;
}

.achievers .section-heading > div > span,
.achievers .section-heading > span {
  display: inline-flex;
  padding: 6px 12px;
  background: rgba(47, 135, 56, .1);
  border: 1px solid rgba(47, 135, 56, .13);
  border-radius: 999px;
}

.achievers .achiever-card {
  border-color: rgba(47, 135, 56, .16);
  box-shadow: 0 16px 38px rgba(30, 100, 40, .1);
}

.achievers .achiever-card:hover {
  border-color: rgba(47, 135, 56, .3);
  box-shadow: 0 22px 48px rgba(30, 100, 40, .16);
}

@media (min-width: 701px) {
  .achievers .section-heading {
    position: relative;
    display: block;
  }

  .achievers .section-heading > div {
    max-width: 680px;
    margin-inline: auto;
    text-align: center;
  }

  .achievers .section-heading > .text-link {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }
}

.achievers .achievers-more {
  background: rgba(255, 255, 255, .78);
  border-color: rgba(47, 135, 56, .14);
  box-shadow: 0 14px 34px rgba(30, 100, 40, .08);
  backdrop-filter: blur(10px);
}

.partners {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 15%, rgba(244, 122, 32, .11), transparent 23%),
    linear-gradient(180deg, #fff 0%, #fffaf4 100%);
  border-bottom: 1px solid rgba(244, 122, 32, .1);
}

.partners .section-heading > div > span,
.partners .section-heading > span {
  display: inline-flex;
  padding: 6px 12px;
  color: var(--secondary-dark);
  background: var(--secondary-soft);
  border: 1px solid rgba(244, 122, 32, .14);
  border-radius: 999px;
}

.partners .partner-logo {
  position: relative;
  overflow: hidden;
  border-color: rgba(244, 122, 32, .13);
  box-shadow: 0 12px 30px rgba(95, 66, 34, .07);
}

.partners .partner-logo::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
  opacity: .8;
}

.partners .partner-logo:hover {
  border-color: rgba(47, 135, 56, .24);
  box-shadow: 0 18px 38px rgba(47, 85, 38, .12);
}

.partners .partners-slider > button {
  color: var(--primary-dark);
  border-color: rgba(47, 135, 56, .16);
}

.partners .partner-cta {
  color: #fff;
  background:
    radial-gradient(circle at 15% 20%, rgba(254, 197, 94, .18), transparent 25%),
    linear-gradient(135deg, var(--primary-dark), #174a20);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: 0 18px 42px rgba(30, 100, 40, .2);
}

.partners .partner-cta span {
  color: var(--accent);
}

.partners .partner-cta .btn {
  color: var(--primary-dark);
  background: #fff;
  box-shadow: 0 10px 24px rgba(4, 25, 8, .18);
}

/* Introductory labels are 1.25x larger throughout the home page. */
.hero .eyebrow,
.section .section-heading > div:first-child > span:first-child,
.section .section-heading > span:first-child,
.section .section-kicker {
  font-size: 16.25px;
}

.section .product-group__eyebrow {
  font-size: 12.5px;
}

.final-cta__content > span:first-child {
  font-size: 15px;
}

/* Winner subscription */
.winner-subscription {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #f6faf5 100%);
}

.winner-subscription__box {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 54px;
  overflow: hidden;
  padding: clamp(32px, 5vw, 68px);
  color: #fff;
  background:
    radial-gradient(circle at 8% 5%, rgba(254, 197, 94, .2), transparent 25%),
    radial-gradient(circle at 90% 95%, rgba(83, 174, 91, .25), transparent 30%),
    linear-gradient(135deg, #102d12, #1d5e27 62%, #123b19);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 36px;
  box-shadow: 0 30px 75px rgba(22, 72, 29, .22);
}

.winner-subscription__box::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  top: -240px;
  left: 32%;
  border: 70px solid rgba(255, 255, 255, .035);
  border-radius: 50%;
}

.winner-subscription__content,
.winner-subscription__visual {
  position: relative;
  z-index: 1;
}

.winner-subscription__eyebrow {
  display: inline-flex;
  padding: 7px 13px;
  color: var(--accent);
  background: rgba(254, 197, 94, .1);
  border: 1px solid rgba(254, 197, 94, .22);
  border-radius: 999px;
  font-size: 16.25px;
  font-weight: 900;
}

.winner-subscription h2 {
  margin: 16px 0 13px;
  color: #fff;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.45;
}

.winner-subscription__content > p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  line-height: 2.15;
}

.winner-subscription__description {
  max-height: 280px;
  margin-top: 22px;
  padding-left: 8px;
  overflow: auto;
  color: rgba(255, 255, 255, .84);
  font-size: 12px;
  line-height: 2;
  scrollbar-width: thin;
  scrollbar-color: rgba(254, 197, 94, .45) transparent;
}

.winner-subscription__description p {
  margin: 0 0 12px;
  color: inherit;
}

.winner-subscription__description h1,
.winner-subscription__description h2,
.winner-subscription__description h3,
.winner-subscription__description h4 {
  margin: 18px 0 10px;
  color: var(--accent);
  font-size: 15px;
}

.winner-subscription__description ul,
.winner-subscription__description ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 10px 0;
  padding: 0;
  list-style: none;
}

.winner-subscription__description li {
  position: relative;
  padding-right: 27px;
}

.winner-subscription__description li::before {
  content: "✓";
  position: absolute;
  right: 0;
  top: 3px;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  color: #153e1a;
  background: var(--accent);
  border-radius: 6px;
  font-size: 9px;
  font-weight: 900;
}

.winner-subscription__description img {
  max-width: 100%;
  height: auto;
}

.winner-subscription__features {
  margin-top: 25px;
}

.winner-subscription__features h3 {
  margin: 0 0 13px;
  color: var(--accent);
  font-size: 15px;
}

.winner-subscription__features ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.winner-subscription__features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(255, 255, 255, .88);
  font-size: 11px;
  line-height: 1.85;
}

.winner-subscription__features li span {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  flex: 0 0 20px;
  color: #153e1a;
  background: var(--accent);
  border-radius: 7px;
  font-size: 10px;
  font-weight: 900;
}

.winner-subscription__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.winner-subscription__primary {
  color: #153e1a;
  background: var(--accent);
  box-shadow: 0 13px 28px rgba(254, 197, 94, .18);
}

.winner-subscription__secondary {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .18);
}

.winner-subscription__visual {
  min-height: 420px;
  display: grid;
  place-items: center;
}

.winner-subscription__product {
  position: relative;
  width: min(100%, 360px);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 30px;
  box-shadow: inset 0 0 55px rgba(255, 255, 255, .035), 0 22px 50px rgba(3, 22, 7, .2);
  backdrop-filter: blur(10px);
}

.winner-subscription__product > img {
  display: block;
  width: 100%;
  max-height: 330px;
  object-fit: contain;
  border-radius: 20px;
}

.winner-subscription__price {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  padding: 10px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(3, 22, 7, .22);
}

.winner-subscription__price del {
  color: var(--muted);
  font-size: 9px;
}

.winner-subscription__price strong {
  color: var(--primary-dark);
  font-size: 18px;
}

.winner-subscription__price small {
  margin-right: 3px;
  color: var(--muted);
  font-size: 8px;
}

.winner-subscription__orbit {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(254, 197, 94, .28);
  border-radius: 50%;
  box-shadow: inset 0 0 55px rgba(255, 255, 255, .035);
}

.winner-subscription__orbit::before,
.winner-subscription__orbit::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px dashed rgba(255, 255, 255, .16);
  border-radius: 50%;
}

.winner-subscription__orbit::after {
  inset: 28%;
  border-style: solid;
  border-color: rgba(254, 197, 94, .13);
}

.winner-subscription__orbit > span {
  position: absolute;
  z-index: 2;
  padding: 7px 11px;
  color: rgba(255, 255, 255, .82);
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  font-size: 10px;
  backdrop-filter: blur(8px);
}

.winner-subscription__orbit > span:nth-child(1) { top: 3%; right: 38%; }
.winner-subscription__orbit > span:nth-child(2) { top: 42%; left: -4%; }
.winner-subscription__orbit > span:nth-child(3) { bottom: 3%; right: 37%; }
.winner-subscription__orbit > span:nth-child(4) { top: 42%; right: -7%; }

.winner-subscription__badge {
  position: relative;
  z-index: 3;
  width: 168px;
  height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: linear-gradient(145deg, #fff4ce, var(--accent));
  border: 8px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  box-shadow: 0 22px 55px rgba(3, 22, 7, .32);
}

.winner-subscription__badge small {
  color: #67501b;
  font-size: 11px;
  font-weight: 800;
}

.winner-subscription__badge strong {
  color: #173d1b;
  font-size: 34px;
  line-height: 1.25;
}

.winner-subscription__badge b {
  color: #765b1d;
  font-size: 8px;
}

.winner-subscription__spark {
  position: absolute;
  color: var(--accent);
  font-size: 24px;
  opacity: .8;
}

.winner-subscription__spark--one { top: 14%; left: 4%; }
.winner-subscription__spark--two { right: 7%; bottom: 13%; font-size: 15px; }

@media (max-width: 900px) {
  .winner-subscription__box {
    grid-template-columns: 1fr;
  }

  .winner-subscription__visual {
    min-height: 330px;
  }

  .winner-subscription__orbit {
    width: min(82vw, 320px);
  }
}

@media (max-width: 600px) {
  .winner-subscription__box {
    gap: 30px;
    padding: 28px 20px;
    border-radius: 26px;
  }

  .winner-subscription__features ul {
    grid-template-columns: 1fr;
  }

  .winner-subscription__description ul,
  .winner-subscription__description ol {
    grid-template-columns: 1fr;
  }

  .winner-subscription__actions .btn {
    width: 100%;
  }

  .winner-subscription__visual {
    min-height: 285px;
  }

  .winner-subscription__product {
    min-height: 280px;
    padding: 20px;
    border-radius: 22px;
  }

  .winner-subscription__orbit {
    width: 270px;
  }

  .winner-subscription__badge {
    width: 140px;
    height: 140px;
  }

  .winner-subscription__badge strong {
    font-size: 29px;
  }

  .product-group__benefits--winner {
    grid-template-columns: 1fr;
  }
}

/* Bundle cards keep the same dimensions while preserving artwork proportions. */
.products .product-group--bundles .product-card {
  width: 100%;
  min-width: 0;
}

.products .product-group--bundles .product-card__media {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .72);
}

.products .product-group--bundles .product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-group .product-group__benefits--winner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  align-items: start;
}

.product-group .product-group__benefits--winner li {
  display: inline-grid;
  grid-template-columns: 20px auto;
  align-items: start;
  width: 100%;
  max-width: 100%;
}

.product-group .product-group__benefits--winner li::before {
  content: "✓";
}

.product-group--bundles .product-group__description p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
}

.product-group--bundles .product-group__description.expanded p {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.product-group__benefits-title {
  display: block;
  margin-top: 16px;
  color: var(--text);
  font-size: 13px;
}

.product-group__notice {
  margin: 13px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(234, 88, 12, 0.22);
  border-radius: 12px;
  background: rgba(255, 247, 237, 0.82);
  color: #9a3412;
  font-size: 11px;
  line-height: 1.8;
}

.product-group__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
}

.winner-detail-hero { padding: 70px 0; background: linear-gradient(135deg, #eef2ff, #f5f3ff 58%, #fff); }
.winner-detail-hero__grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 48px; align-items: center; }
.winner-detail-hero h1 { margin: 12px 0 18px; font-size: clamp(32px, 4vw, 58px); line-height: 1.3; color: #312e81; }
.winner-detail-hero p { max-width: 760px; font-size: 16px; line-height: 2.15; color: #475569; }
.winner-detail-hero__eyebrow { color: #7c3aed; font-weight: 900; }
.winner-detail-card { padding: 32px; border: 1px solid rgba(124,58,237,.16); border-radius: 28px; background: rgba(255,255,255,.86); box-shadow: 0 24px 65px rgba(76,29,149,.12); }
.winner-detail-card span,.winner-detail-card strong { display: block; }
.winner-detail-card span { color: #7c3aed; font-weight: 800; }
.winner-detail-card strong { margin: 8px 0 22px; font-size: 25px; color: #312e81; }
.winner-detail-card div { display: grid; gap: 10px; }
.winner-detail-card i { padding: 12px 16px; border-radius: 12px; background: #f5f3ff; color: #5b21b6; font-style: normal; font-weight: 700; }
.winner-detail-content__grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 32px; align-items: start; }
.winner-detail-content article,.winner-detail-content aside { padding: 30px; border: 1px solid #e9e5f5; border-radius: 24px; background: #fff; }
.winner-detail-content h2 { margin: 0 0 18px; color: #312e81; }
.winner-detail-content article > p:not(.product-group__notice) { color: #475569; line-height: 2.15; }
.winner-detail-features { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.winner-detail-features li { position: relative; padding-right: 30px; color: #334155; line-height: 1.8; }
.winner-detail-features li::before { content: "✓"; position: absolute; right: 0; top: 2px; display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; background: #ede9fe; color: #6d28d9; font-weight: 900; }
.winner-detail-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .winner-detail-hero__grid,.winner-detail-content__grid { grid-template-columns: 1fr; }
  .winner-detail-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .winner-detail-hero { padding: 42px 0; }
  .winner-detail-hero h1 { font-size: 30px; }
  .winner-detail-content article,.winner-detail-content aside { padding: 20px; }
  .winner-detail-products { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .product-group .product-group__benefits--winner {
    grid-template-columns: 1fr;
  }
}

/* Rich category introductions */
.category-page[data-category="bundles"] { --detail-tint: #f0edff; --detail-accent: #7254c7; --detail-accent-rgb: 114, 84, 199; --detail-deep: #432c87; }
.category-page[data-category="packages"] { --detail-tint: #edf7ef; --detail-accent: #26753a; --detail-accent-rgb: 38, 117, 58; --detail-deep: #174d2b; }
.category-page[data-category="banks"] { --detail-tint: #fff2e5; --detail-accent: #a85320; --detail-accent-rgb: 168, 83, 32; --detail-deep: #743915; }
.category-page[data-category="courses"] { --detail-tint: #edf3fa; --detail-accent: #36649a; --detail-accent-rgb: 54, 100, 154; --detail-deep: #23466f; }
.category-page[data-category="books"] { --detail-tint: #f7f2e5; --detail-accent: #876b27; --detail-accent-rgb: 135, 107, 39; --detail-deep: #63501e; }

.category-page [data-category-custom-introduction] {
  position: relative;
  overflow: hidden;
  padding: 76px 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 255, 255, .78), transparent 30%),
    radial-gradient(circle at 92% 92%, rgba(var(--detail-accent-rgb), .1), transparent 28%),
    var(--detail-tint);
}

.category-page [data-category-custom-introduction]::before,
.category-page [data-category-custom-introduction]::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(var(--detail-accent-rgb), .13);
  border-radius: 50%;
  pointer-events: none;
}

.category-page [data-category-custom-introduction]::before { width: 290px; height: 290px; top: -165px; right: -80px; }
.category-page [data-category-custom-introduction]::after { width: 180px; height: 180px; bottom: -110px; left: 7%; }

.category-page [data-category-custom-introduction] .winner-detail-content__grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.category-page [data-category-custom-introduction] article,
.category-page [data-category-custom-introduction] aside {
  position: relative;
  overflow: hidden;
  padding: 36px;
  border: 1px solid rgba(var(--detail-accent-rgb), .15);
  border-radius: 28px;
  box-shadow: 0 24px 65px rgba(24, 32, 45, .08);
}

.category-page [data-category-custom-introduction] article {
  background:
    linear-gradient(145deg, rgba(var(--detail-accent-rgb), .09), transparent 42%),
    #fff;
}

.category-page [data-category-custom-introduction] article::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  left: -58px;
  top: -58px;
  border-radius: 50%;
  background: rgba(var(--detail-accent-rgb), .08);
}

.category-page [data-category-custom-introduction] aside {
  background: linear-gradient(145deg, var(--detail-deep), var(--detail-accent));
  color: #fff;
}

.category-page [data-category-custom-introduction] .winner-detail-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(var(--detail-accent-rgb), .1);
  color: var(--detail-accent);
  font-size: 12px;
  font-weight: 900;
}

.category-page [data-category-custom-introduction] .winner-detail-hero__eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px rgba(var(--detail-accent-rgb), .11);
}

.category-page [data-category-custom-introduction] h2 {
  position: relative;
  margin: 0 0 24px;
  color: var(--detail-deep);
  font-size: clamp(23px, 2.4vw, 34px);
  line-height: 1.55;
}

.category-page [data-category-custom-introduction] article > p:not(.product-group__notice) {
  position: relative;
  margin: 0;
  padding: 14px 17px 14px 12px;
  border-right: 3px solid rgba(var(--detail-accent-rgb), .35);
  color: #3f4b5d;
  font-size: 14px;
  line-height: 2.25;
}

.category-page [data-category-custom-introduction] article > p:not(.product-group__notice) + p:not(.product-group__notice) {
  margin-top: 10px;
}

.category-page [data-category-custom-introduction] aside h2 {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-size: 24px;
}

.category-page [data-category-custom-introduction] aside h2::before {
  content: "";
  width: 28px;
  height: 4px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .72);
}

.category-page [data-category-custom-introduction] .winner-detail-features {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.category-page [data-category-custom-introduction] .winner-detail-features li {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 23px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  min-height: 76px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 14px;
  background: rgba(255, 255, 255, .09);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.8;
  backdrop-filter: blur(6px);
  isolation: isolate;
  cursor: default;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), background .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.category-page [data-category-custom-introduction] .winner-detail-features li:hover {
  transform: translateY(-6px) scale(1.018);
  border-color: rgba(255, 255, 255, .38);
  background: rgba(255, 255, 255, .17);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .18);
}

.category-page [data-category-custom-introduction] .winner-detail-features li::before {
  content: "\2713";
  position: static;
  width: 23px;
  height: 23px;
  margin-top: 1px;
  border-radius: 8px;
  background: #fff;
  color: var(--detail-accent);
  box-shadow: 0 5px 14px rgba(0, 0, 0, .14);
  transition: transform .4s cubic-bezier(.2,.9,.25,1.35), box-shadow .35s ease;
}

.category-page [data-category-custom-introduction] .winner-detail-features li::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -55%;
  left: -35%;
  width: 28%;
  height: 210%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), transparent);
  transform: rotate(18deg) translateX(0);
  opacity: 0;
  transition: transform .65s ease, opacity .2s ease;
}

.category-page [data-category-custom-introduction] .winner-detail-features li:hover::before {
  transform: rotate(-10deg) scale(1.16);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .2), 0 0 0 5px rgba(255, 255, 255, .1);
}

.category-page [data-category-custom-introduction] .winner-detail-features li:hover::after {
  transform: rotate(18deg) translateX(620%);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .category-page [data-category-custom-introduction] .winner-detail-features li,
  .category-page [data-category-custom-introduction] .winner-detail-features li::before,
  .category-page [data-category-custom-introduction] .winner-detail-features li::after {
    transition: none;
  }

  .category-page [data-category-custom-introduction] .winner-detail-features li:hover {
    transform: none;
  }
}

.category-page [data-category-custom-introduction] .product-group__notice {
  border-color: rgba(234, 88, 12, .2);
  background: #fff7ed;
  box-shadow: 0 10px 24px rgba(154, 52, 18, .06);
}

@media (max-width: 980px) {
  .category-page [data-category-custom-introduction] .winner-detail-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .category-page [data-category-custom-introduction] { padding: 44px 0; }
  .category-page [data-category-custom-introduction] article,
  .category-page [data-category-custom-introduction] aside { padding: 22px 18px; border-radius: 22px; }
  .category-page [data-category-custom-introduction] h2 { font-size: 23px; }
  .category-page [data-category-custom-introduction] article > p:not(.product-group__notice) { padding: 11px 13px 11px 8px; font-size: 13px; line-height: 2.1; }
  .category-page [data-category-custom-introduction] .winner-detail-features { grid-template-columns: 1fr; }
  .category-page [data-category-custom-introduction] .winner-detail-features li { min-height: 0; }
}

/* Compact desktop product groups with two complete visible cards. */
@media (min-width: 901px) {
  .products-catalog__intro {
    margin-bottom: 18px;
  }

  .product-group,
  .product-group + .product-group {
    margin-top: 12px;
  }

  .product-group__intro {
    padding: 18px 24px;
  }

  .product-group__intro h3 {
    margin-top: 7px;
    margin-bottom: 5px;
  }

  .product-group__description p {
    line-height: 1.9;
  }

  .product-group__benefits,
  .product-group .product-group__benefits--winner {
    gap: 6px 12px;
    margin-top: 10px;
    margin-bottom: 12px;
  }

  .product-group__catalog {
    padding: 12px 18px;
  }

  .product-group .product-tabs {
    width: 84%;
    margin: 3px 0 8px;
  }

  .product-group .products-slider {
    width: 84%;
    margin-inline: auto;
  }

  .product-group .products-grid {
    grid-auto-columns: calc(50% - 6px);
    gap: 12px;
  }

  .product-group .products-slider__controls {
    margin-top: 5px;
  }
}

/* Hero concept previewer */
.hero-demo-switcher {
  position: fixed;
  z-index: 1100;
  left: 18px;
  top: calc(var(--header-height) + 18px);
  width: 164px;
  padding: 9px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(47, 135, 56, .16);
  border-radius: 16px;
  box-shadow: 0 16px 45px rgba(26, 50, 30, .16);
  backdrop-filter: blur(14px);
}

.hero-demo-switcher > span { display: block; margin: 0 3px 7px; color: var(--muted); font-size: 9px; font-weight: 800; }
.hero-demo-switcher > div { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.hero-demo-switcher button { padding: 7px 4px; color: var(--text); background: var(--surface-soft); border: 0; border-radius: 9px; font: inherit; font-size: 8px; font-weight: 800; cursor: pointer; transition: .2s; }
.hero-demo-switcher button:hover { color: var(--primary); transform: translateY(-1px); }
.hero-demo-switcher button.active { color: #fff; background: var(--primary); box-shadow: 0 5px 13px rgba(47, 135, 56, .22); }

.hero-fullscreen,
.hero-mosaic { display: none; }

.hero-slide__wide-image { display: none; }
.hero-slide__art--managed img { width: 100%; height: 100%; object-fit: contain; border-radius: 20px; }

.hero[data-hero-mode="wide"] .hero__grid {
  width: calc(100% - 48px);
  max-width: 1500px;
  grid-template-columns: minmax(280px, .52fr) minmax(0, 1.48fr);
  gap: 28px;
}
.hero[data-hero-mode="wide"] .hero__content h1 { font-size: clamp(42px, 4.2vw, 58px); }
.hero[data-hero-mode="wide"] .hero__content p { max-width: 430px; }
.hero[data-hero-mode="wide"] .hero__visual { width: 100%; min-height: 0; height: 500px; aspect-ratio: auto; }
.hero[data-hero-mode="wide"] .hero-slides { width: 100%; max-width: none; height: 100%; }
.hero[data-hero-mode="wide"] .hero-slide { padding: 0; overflow: hidden; }
.hero[data-hero-mode="wide"] .hero-slide::before { z-index: 1; inset: auto 0 0; width: auto; height: 42%; border-radius: 0; background: linear-gradient(0deg, rgba(8, 30, 15, .34), transparent); }
.hero[data-hero-mode="wide"] .hero-slide::after { display: none; }
.hero[data-hero-mode="wide"] .hero-slide__copy,
.hero[data-hero-mode="wide"] .hero-slide__art { display: none; }
.hero[data-hero-mode="wide"] .hero-slide__wide-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  min-width: 100%;
  height: 100%;
  min-height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transition: transform 5.5s ease;
}
.hero[data-hero-mode="wide"] .hero-slide.active .hero-slide__wide-image { transform: scale(1.055); }
.hero[data-hero-mode="wide"] .hero-slider__nav { z-index: 3; }

.hero[data-hero-mode="fullscreen"] { padding: 22px 0 30px; }
.hero[data-hero-mode="fullscreen"] > .hero__grid,
.hero[data-hero-mode="mosaic"] > .hero__grid { display: none; }
.hero[data-hero-mode="fullscreen"] .hero-fullscreen { display: block; }
.hero[data-hero-mode="mosaic"] .hero-mosaic { display: grid; }

.hero-fullscreen {
  position: relative;
  width: min(calc(100% - 44px), 1500px);
  height: clamp(480px, 62svh, 620px);
  min-height: 0;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 28px 75px rgba(20, 41, 24, .2);
}

.hero-fullscreen__slide { position: absolute; inset: 0; visibility: hidden; opacity: 0; transition: opacity .7s ease, visibility .7s; }
.hero-fullscreen__slide.active { visibility: visible; opacity: 1; }
.hero-fullscreen__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 28, 15, .15), rgba(9, 28, 15, .86)); }
.hero-fullscreen__slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 7s linear; }
.hero-fullscreen__slide.active img { transform: scale(1.07); }
.hero-fullscreen__slide > div { position: absolute; z-index: 2; right: clamp(30px, 8vw, 120px); top: 50%; width: min(560px, 70%); color: #fff; transform: translateY(-50%); }
.hero-fullscreen__slide span { color: var(--accent); font-size: 13px; font-weight: 900; }
.hero-fullscreen__slide h2 { margin: 10px 0 14px; font-size: clamp(38px, 5vw, 72px); line-height: 1.35; }
.hero-fullscreen__slide p { margin: 0; color: rgba(255,255,255,.8); font-size: 15px; line-height: 2; }
.hero-fullscreen__slide a { display: inline-flex; margin-top: 22px; padding: 11px 16px; color: #173d1b; background: var(--accent); border-radius: 12px; font-weight: 900; }
.hero-fullscreen__controls { position: absolute; z-index: 3; left: 30px; bottom: 25px; display: flex; align-items: center; gap: 10px; }
.hero-fullscreen__controls > button { width: 40px; height: 40px; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); border-radius: 12px; font-size: 20px; cursor: pointer; backdrop-filter: blur(8px); }
.hero-fullscreen__controls > div { display: flex; gap: 5px; }
.hero-fullscreen__controls i { width: 7px; height: 7px; background: rgba(255,255,255,.45); border-radius: 20px; transition: .25s; }
.hero-fullscreen__controls i.active { width: 24px; background: var(--accent); }

.hero[data-hero-mode="mosaic"] { padding-block: 42px; }
.hero-mosaic { grid-template-columns: 1.55fr .85fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 16px; height: 500px; min-height: 0; }
.hero-mosaic__card { position: relative; overflow: hidden; border-radius: 25px; box-shadow: 0 18px 45px rgba(28, 47, 32, .13); }
.hero-mosaic__card--large { grid-row: 1 / 3; }
.hero-mosaic__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 29, 15, .85), transparent 65%); }
.hero-mosaic__card img { width: 100%; height: 100%; object-fit: cover; transition: opacity .45s ease, transform 6s ease; }
.hero-mosaic__card.is-changing img { opacity: .25; transform: scale(1.06); }
.hero-mosaic__card > div { position: absolute; z-index: 2; right: 25px; bottom: 24px; left: 25px; color: #fff; }
.hero-mosaic__card span { color: var(--accent); font-size: 10px; font-weight: 900; }
.hero-mosaic__card h2 { margin: 6px 0 9px; font-size: 23px; }
.hero-mosaic__card--large h2 { font-size: clamp(32px, 4vw, 54px); }
.hero-mosaic__card a { color: #fff; font-size: 11px; font-weight: 800; }

@media (max-width: 900px) {
  .hero-demo-switcher { top: auto; right: 12px; left: 12px; bottom: 12px; width: auto; }
  .hero-demo-switcher > span { display: none; }
  .hero-demo-switcher > div { grid-template-columns: repeat(4, 1fr); }
  .hero[data-hero-mode="wide"] .hero__grid { display: grid; grid-template-columns: 1fr; }
  .hero[data-hero-mode="wide"] .hero__visual { min-height: 0; height: 390px; }
  .hero-fullscreen { width: calc(100% - 24px); height: 520px; min-height: 0; border-radius: 24px; }
  .hero-fullscreen__slide::after { background: linear-gradient(0deg, rgba(9,28,15,.9), rgba(9,28,15,.12)); }
  .hero-fullscreen__slide > div { right: 24px; left: 24px; top: auto; bottom: 90px; width: auto; transform: none; }
  .hero-fullscreen__slide h2 { font-size: 38px; }
  .hero-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 360px 210px; height: auto; min-height: 0; }
  .hero-mosaic__card--large { grid-column: 1 / 3; grid-row: auto; }
}

@media (max-width: 600px) {
  .hero-demo-switcher button { padding: 8px 2px; font-size: 7px; }
  .hero[data-hero-mode="fullscreen"], .hero[data-hero-mode="mosaic"] { padding-top: 14px; }
  .hero-fullscreen { height: 470px; min-height: 0; }
  .hero-fullscreen__slide h2 { font-size: 31px; }
  .hero-fullscreen__slide p { font-size: 12px; }
  .hero-mosaic { grid-template-columns: 1fr; grid-template-rows: repeat(3, 210px); height: auto; gap: 10px; }
  .hero-mosaic__card--large { grid-column: auto; }
  .hero-mosaic__card { border-radius: 19px; }
}
