/* css/fonts.css */
/* Self-hosted Google Fonts (variable woff2, latin + latin-ext), so no third-party request blocks

   the first paint. Inter and Plus Jakarta Sans: weights 400–700 in one file each. Kavoon: the

   home demo's font picker. Regenerate with the same families if a weight or font is added. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Kavoon';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/kavoon-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Kavoon';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/kavoon-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/plus-jakarta-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/plus-jakarta-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* css/components/page-loader.css */
/* Full-screen loader: three dots bouncing in a staggered wave while alternating between the
   two brand colours (green #90A733, blue-grey #8DAEB5). Shown until the first screen is ready
   (js/components/page-loader.js), then faded out. Only transform animates for the motion;
   the colour change is on three small dots. */
html.is-loading {
  overflow: hidden;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: #f4f4f4;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.page-loader__dots {
  --dot: 22px;
  --loader-duration: 2.4s;

  display: flex;
  align-items: center;
  gap: calc(var(--dot) * 0.8);
}

.page-loader__dots span {
  width: var(--dot);
  height: var(--dot);
  border-radius: 50%;
  background: #90a733;
  animation:
    loader-bounce calc(var(--loader-duration) / 3) cubic-bezier(0.45, 0, 0.55, 1) infinite,
    loader-colour var(--loader-duration) linear infinite;
}

/* Each dot trails the previous one, so both the wave and the colour change travel along. */
.page-loader__dots span:nth-child(2) {
  animation-delay: -0.66s, -2.2s;
}

.page-loader__dots span:nth-child(3) {
  animation-delay: -0.53s, -2s;
}

@keyframes loader-bounce {
  0%, 100% { transform: translateY(calc(var(--dot) * 0.7)); }
  50% { transform: translateY(calc(var(--dot) * -0.7)); }
}

/* Brand colours only: green #90A733 and blue-grey #8DAEB5, with quick (~80ms) switches. */
@keyframes loader-colour {
  0%, 45% { background: #90a733; }
  50%, 95% { background: #8daeb5; }
  100% { background: #90a733; }
}

@media (prefers-reduced-motion: reduce) {
  .page-loader__dots span {
    animation: loader-colour var(--loader-duration) linear infinite;
  }
}

/* css/styles.css */
:root {
  --color-bg: #ffffff;
  --color-text: #12111d;
  --color-muted: #5b6470;
  --color-primary: #90a733;
  --color-primary-contrast: #ffffff;
  --color-border: #e5e7eb;

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* Titles: Plus Jakarta Sans (Google Fonts, loaded in each page's <head>). */
  --font-display: "Plus Jakarta Sans", var(--font-sans);
  /* Page side padding: 40px desktop, 32px tablet, 16px phone. Content is capped at 1320px. */
  --gutter: 40px;
  --container: calc(1320px + 2 * var(--gutter));
  --radius: 10px;
  --header-h: 80px;
  /* Height-fitted desktop sections never lay out shorter than this (keep in sync with
     MIN_HEIGHT in js/components/viewport-fit.js). */
  --fit-min-height: 600px;
}

@media (max-width: 1199px) {
  :root {
    --header-h: 64px;
    --gutter: 32px;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 16px;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  /* Decorative glows sit partly off-screen; never let them cause horizontal scroll. */
  overflow-x: clip;
}

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

a {
  color: inherit;
}

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

/* Green title accent (Figma: linear, #A0BF22 at 55% → #3C4A07 at 100%).
   box-decoration-break gives each line of a wrapped accent the full gradient. */
.text-gradient {
  background: linear-gradient(90deg, #a0bf22 55%, #3c4a07 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

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

.btn-primary {
  --btn-bg: #90a733;

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--btn-bg);
  /* Inner shadows cover the full shape, including under the stroke, like Figma.
     White glow listed first so it paints on top of the dark shadow. */
  box-shadow:
    inset 0 2px 8px -2px rgba(255, 255, 255, 0.56),
    inset 0 0 8px -2px rgba(0, 0, 0, 0.24);
  color: #ffffff;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.15s ease;
}

/* Figma's inside gradient stroke: a 1px ring drawn on top of the fill and shadows. */
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(rgba(255, 255, 255, 0.16), rgba(0, 0, 0, 0.12));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.btn-primary:hover {
  filter: brightness(1.06);
}

.btn-primary:active {
  filter: brightness(0.96);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--btn-bg);
  outline-offset: 2px;
}

/* css/components/reveal.css */
/* In-view reveal animations (js/components/reveal.js).
   - data-reveal="<variant>" on an element: it animates once, the first time it scrolls into
     view. Optional fixed delay: style="--reveal-delay: 120ms".
   - data-reveal-children="<variant>" on a list: each child gets that variant, and children
     revealed together are staggered automatically. Add data-reveal-together to reveal the
     whole list as soon as any child is in view (horizontal rows).
   The hidden start state only applies under html.js (inline script in <head>), so without JS
   everything is simply visible. Keyframe animations (not transitions) are used so a reveal
   never overrides an element's own hover / state transitions; when one ends, the element is
   back to its normal styles. Only opacity / transform / filter animate.

   Variants:
     blur     filter blur(20px)                → none   (headings, short text)
     up       translateY(100px)                → none   (large visuals)
     fade-up  opacity 0 + translateY(40px)     → none   (cards, paragraphs, rows) */
.js [data-reveal="blur"]:not(.is-revealed) {
  filter: blur(20px);
}

.js [data-reveal="up"]:not(.is-revealed) {
  transform: translateY(100px);
}

.js [data-reveal="fade-up"]:not(.is-revealed) {
  opacity: 0;
  transform: translateY(40px);
}

.js [data-reveal].is-revealed {
  animation-duration: 0.9s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-delay: var(--reveal-delay, 0s);
  animation-fill-mode: backwards;
}

.js [data-reveal="blur"].is-revealed {
  animation-name: reveal-blur;
}

.js [data-reveal="up"].is-revealed {
  animation-name: reveal-up;
}

.js [data-reveal="fade-up"].is-revealed {
  animation-name: reveal-fade-up;
}

@keyframes reveal-blur {
  from { filter: blur(20px); }
}

@keyframes reveal-up {
  from { transform: translateY(100px); }
}

@keyframes reveal-fade-up {
  from { opacity: 0; transform: translateY(40px); }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal]:not(.is-revealed) {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .js [data-reveal].is-revealed {
    animation: none;
  }
}

/* css/components/header.css */
/* The header is its own dark bar, whatever the top of the page looks like. On pages with a dark
   hero under it (<site-header transparent>), the bar only appears once scrolling starts. */
site-header {
  --color-text: #ffffff;
  --color-muted: #c4c4cc;
  --color-border: rgba(255, 255, 255, 0.08);

  display: block;
  color: var(--color-text);
  position: sticky;
  top: 0;
  z-index: 50;
  /* Reserve height before the component renders to avoid layout shift. */
  min-height: var(--header-h);
}

.site-header {
  background: rgba(18, 17, 29, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color 0.2s ease, backdrop-filter 0.2s ease, -webkit-backdrop-filter 0.2s ease;
}

.site-header--transparent:not(.is-scrolled, .is-open) {
  background-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

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

.site-header__logo img {
  height: 38px;
  width: auto;
}

.site-header__menu {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: space-between;
  gap: 24px;
}

/* Centered on the page (not between logo and actions), as in the design. */
.site-header__nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 45px;
}

.site-header__link,
.site-header__demo {
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-header__link {
  color: var(--color-muted);
}

.site-header__link:hover,
.site-header__link[aria-current="page"] {
  color: var(--color-text);
}

.site-header__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-header__demo {
  color: var(--color-text);
  font-weight: 500;
}

.site-header__demo:hover {
  color: var(--color-muted);
}

.site-header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 10px 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.site-header__toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--color-text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.is-open .site-header__toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.is-open .site-header__toggle span:nth-child(2) {
  opacity: 0;
}

.is-open .site-header__toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1199px) {
  .site-header__logo img {
    height: 34px;
  }

  .site-header__toggle {
    display: flex;
  }

  /* Drawer: always rendered so it can animate. Closed = clipped to nothing above its top
     edge + invisible (visibility also removes it from keyboard / screen readers once the
     close transition ends). Opening unrolls it downward, then the items rise in one by
     one (--i, set per item by site-header.js); closing is a quicker reverse. */
  .site-header__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 8px var(--gutter) 24px;
    /* Opaque, no backdrop-filter: nested inside the header's own backdrop-filter, a second
       one renders the page through the drawer in Chrome. */
    background: #12111d;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition:
      clip-path 0.3s cubic-bezier(0.4, 0, 1, 1),
      visibility 0s linear 0.3s;
  }

  .is-open .site-header__menu {
    clip-path: inset(0 0 -60px 0); /* negative bottom keeps the shadow visible */
    visibility: visible;
    transition:
      clip-path 0.45s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s;
  }

  .site-header__menu .site-header__link,
  .site-header__menu .site-header__demo,
  .site-header__menu .btn-primary {
    opacity: 0;
    transform: translateY(-10px);
    transition:
      opacity 0.15s ease,
      transform 0.15s ease;
  }

  .is-open .site-header__menu .site-header__link,
  .is-open .site-header__menu .site-header__demo,
  .is-open .site-header__menu .btn-primary {
    opacity: 1;
    transform: none;
    transition:
      opacity 0.35s ease calc(0.12s + var(--i, 0) * 0.04s),
      transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) calc(0.12s + var(--i, 0) * 0.04s),
      color 0.15s ease;
  }

  .site-header__nav {
    position: static;
    transform: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-header__link {
    padding-block: 12px;
    font-size: 16px;
  }

  .site-header__actions {
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .site-header__demo {
    padding-block: 10px;
    text-align: center;
  }
}

@media (max-width: 1199px) and (prefers-reduced-motion: reduce) {
  .site-header__menu,
  .is-open .site-header__menu {
    clip-path: none;
    opacity: 0;
    transition: opacity 0.2s ease, visibility 0s linear 0.2s;
  }

  .is-open .site-header__menu {
    opacity: 1;
    transition: opacity 0.2s ease, visibility 0s;
  }

  .site-header__menu .site-header__link,
  .site-header__menu .site-header__demo,
  .site-header__menu .btn-primary {
    transform: none;
  }
}

/* css/components/marquee.css */
/* Infinite horizontal marquee ([data-marquee], js/components/marquee.js).
   The script duplicates the items once; the track then slides by exactly half its width, so
   the loop is seamless. Edges fade out. Per-marquee spacing: --marquee-gap. */
.marquee {
  --marquee-gap: 24px;

  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  margin: 0;
  /* Room for card shadows, which overflow would otherwise clip. */
  padding: 12px 0 20px;
  list-style: none;
}

.marquee.is-running .marquee__track {
  animation: marquee var(--marquee-duration, 40s) linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

/* Margin instead of gap: every item carries its own spacing, so half the track is exactly
   one full set. */
.marquee__item {
  display: flex;
  margin-right: var(--marquee-gap);
}

/* Narrow screens: a shorter fade, so the edge cards stay readable. */
@media (max-width: 640px) {
  .marquee {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Reduced motion (e.g. Android "Remove animations", which many phones enable in power-saving
   modes): keep the gentle scroll, at half speed, instead of freezing the rows. */
@media (prefers-reduced-motion: reduce) {
  .marquee.is-running .marquee__track {
    animation-duration: calc(var(--marquee-duration, 40s) * 2);
  }
}

/* css/sections/price-compare.css */
/* pricing.html: light hero + "Compare Plans Side By Side" table.
   The table is a real <table>; on narrow screens it scrolls horizontally with the feature
   column pinned (sticky). The Pro column is highlighted dark with a "Most Popular" bar. */
.price-hero {
  position: relative;
  isolation: isolate;
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + 110px) 0 60px;
  overflow-x: clip;
  text-align: center;
}

/* Soft teal (left) and lime (right) glows on white, as in the design. */
.price-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 -400px;
  z-index: -1;
  background:
    radial-gradient(28% 34% at 22% 40%, rgba(99, 180, 197, 0.16), transparent 70%),
    radial-gradient(30% 36% at 76% 30%, rgba(175, 207, 43, 0.12), transparent 70%);
  pointer-events: none;
}

.price-hero__title {
  margin: 0 auto 20px;
  max-width: 1040px;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
}

.price-hero__text {
  margin: 0 auto 36px;
  max-width: 660px;
  color: #3a3a44;
  font-size: 16px;
  line-height: 24px;
}

.price-compare {
  padding-block: 40px 120px;
}

.price-compare__title {
  margin: 0 0 32px;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 500;
  line-height: 44px;
  text-align: center;
}

.price-compare__wrap {
  border: 1px solid #ececec;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(18, 17, 29, 0.08);
  overflow-x: auto;
  overscroll-behavior-x: contain;
}

.price-table {
  --row-h: 78px;
  --pro-bg: #1c1530;

  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 15px;
  line-height: 20px;
  text-align: center;
}

.price-table th,
.price-table td {
  height: var(--row-h);
  padding: 12px 16px;
  border-top: 1px solid #ececec;
  border-left: 1px solid #ececec;
  font-weight: 400;
  vertical-align: middle;
}

.price-table thead th {
  height: auto;
  padding: 26px 16px 18px;
  border-top: 0;
}

.price-table tr > :first-child {
  border-left: 0;
}

/* Feature column: pale green, pinned while the table scrolls sideways. */
.price-table .price-table__feature {
  position: sticky;
  left: 0;
  z-index: 1;
  width: 22%;
  background: #f5f7ec;
}

.price-table thead .price-table__feature {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 28px;
}

.price-table__note {
  display: block;
  margin-top: 4px;
  color: #7d9a2c;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
}

.price-table__plan {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 28px;
}

.price-table__cta,
.price-table .is-pro .btn-primary {
  white-space: nowrap;
}

.price-table__cta {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border: 1px solid #1d1a2b;
  border-radius: 6px;
  color: #1d1a2b;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.price-table__cta:hover {
  background: #1d1a2b;
  color: #ffffff;
}

.price-table__price {
  font-size: 19px;
  font-weight: 600;
}

.price-table__price small {
  margin-left: 2px;
  color: #8a8a8a;
  font-size: 12px;
  font-weight: 400;
}

.price-table__check {
  /* Centred in the cell (the global svg rule makes svgs block-level). */
  display: block;
  margin-inline: auto;
  width: 22px;
  height: 22px;
  color: #21b96b;
  vertical-align: middle;
}

/* Pro column */
.price-table .is-pro {
  border-left-color: rgba(255, 255, 255, 0.08);
  border-top-color: rgba(255, 255, 255, 0.14);
  background: var(--pro-bg);
  color: #ffffff;
}

.price-table .is-pro + td,
.price-table .is-pro + th {
  border-left-color: var(--pro-bg);
}

.price-table thead .is-pro {
  position: relative;
  padding-top: 40px;
}

.price-table__popular {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  padding: 2px 0;
  background: #8fa83a;
  color: #ffffff;
  font-size: 12px;
  line-height: 18px;
}

.price-table .is-pro .price-table__price small {
  color: #a9a7b8;
}

.price-table .is-pro .btn-primary {
  height: 36px;
  padding: 0 14px;
  font-size: 14px;
}

@media (max-width: 1023px) {
  .price-hero {
    padding: calc(var(--header-h) + 72px) 0 40px;
  }

  .price-hero__title {
    font-size: 38px;
  }
}

@media (max-width: 640px) {
  .price-hero {
    padding: calc(var(--header-h) + 48px) 0 24px;
  }

  .price-hero__title {
    font-size: 30px;
  }

  .price-hero__text {
    font-size: 15px;
  }

  .price-compare {
    padding-block: 32px 72px;
  }

  .price-compare__title {
    font-size: 26px;
    line-height: 34px;
  }

  .price-table {
    --row-h: 64px;

    min-width: 780px;
    font-size: 14px;
  }

  .price-table .price-table__feature {
    width: 150px;
  }

  .price-table thead .price-table__feature,
  .price-table__plan {
    font-size: 18px;
  }
}

/* css/sections/reviews.css */
/* "Merchants Who Switched To Zepto" — review cards in an infinite marquee
   (css/components/marquee.css). */
.reviews {
  padding-block: 120px;
  text-align: center;
}

.reviews__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 24px;
}

.stars {
  display: flex;
  gap: 4px;
  color: #fdb022;
}

.stars svg {
  width: 18px;
  height: 18px;
}

.reviews__title {
  margin: 0 0 100px;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  line-height: 52px;
}

/* Wider than the content container, as in the design; the edges fade out. */
.reviews .marquee {
  --marquee-gap: 28px;

  max-width: 1600px;
  margin: 0 auto 72px;
}

.review-card {
  display: flex;
  flex-direction: column;
  width: 382px;
  margin: 0;
  padding: 28px 22px 26px;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  background: #f8f8f8;
  text-align: left;
}

.review-card .stars svg {
  width: 16px;
  height: 16px;
}

.review-card__text {
  margin: 20px 0 32px;
  color: #3a3a44;
  font-size: 14px;
  line-height: 22px;
}

.review-card__text p {
  margin: 0;
}

.review-card__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
}

.review-card__name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
}

.review-card__location {
  color: #5b6470;
  font-size: 14px;
  line-height: 20px;
}

.reviews__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  text-decoration: none;
}

.reviews__cta svg {
  width: 18px;
  height: 18px;
  transition: transform 0.15s ease;
}

.reviews__cta:hover svg {
  transform: translateX(3px);
}

@media (max-width: 1023px) {
  .reviews {
    padding-block: 88px;
  }

  .reviews__title {
    margin-bottom: 56px;
  }
}

@media (max-width: 640px) {
  .reviews {
    padding-block: 64px;
  }

  .reviews__eyebrow {
    flex-direction: column;
    gap: 8px;
    font-size: 15px;
  }

  .reviews__title {
    margin-bottom: 40px;
    font-size: 28px;
    line-height: 36px;
  }

  .reviews__title br {
    display: none;
  }

  .reviews .marquee {
    --marquee-gap: 16px;

    margin-bottom: 48px;
  }

  .review-card {
    width: 300px;
    padding: 22px 20px;
  }
}

/* css/sections/pricing.css */
/* "Flexible Plans For Every Catalogue" — four plan cards; Pro is highlighted. */
.pricing {
  padding-block: 120px;
  text-align: center;
  /* The support chat's glow bleeds past the screen edge on phones; clip it here so it can't
     widen the page (body's overflow-x: clip doesn't stop mobile browsers from doing that). */
  overflow-x: clip;
}

.pricing__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  line-height: 52px;
}

.pricing__intro {
  margin: 0 auto 104px;
  max-width: 560px;
  color: #5b6470;
  font-size: 16px;
  line-height: 24px;
}

.pricing__plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.plan-card {
  --plan-muted: #5b6470;
  --plan-trial: #6fa2ad;
  --plan-rule: #e2e2e2;

  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 20px 26px;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(18, 17, 29, 0.04);
}

.plan-card--featured {
  --plan-muted: #c4c4cc;
  --plan-trial: #ffffff;
  --plan-rule: rgba(255, 255, 255, 0.3);

  border-color: #1d1a2b;
  background: #1d1a2b;
  color: #ffffff;
}

.plan-card__badge {
  position: absolute;
  top: 0;
  left: 50%;
  padding: 5px 16px;
  border-radius: 999px;
  background: #7d9a2c;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.plan-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.plan-card__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

.plan-card__trial {
  color: var(--plan-trial);
  font-size: 12px;
  line-height: 16px;
  white-space: nowrap;
}

.plan-card__tagline {
  margin: 6px 0 20px;
  color: var(--plan-muted);
  font-size: 14px;
  line-height: 20px;
}

.plan-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 0;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--plan-rule);
}

.plan-card__amount {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  line-height: 44px;
  letter-spacing: -0.02em;
}

.plan-card__period {
  color: var(--plan-muted);
  font-size: 16px;
}

.plan-card__features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  /* Figma: the list ends well above the button (cards ~1.75 tall : 1 wide). */
  margin: 24px 0 72px;
  padding: 0;
  list-style: none;
}

.plan-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 20px;
}

.plan-card__features svg {
  flex: none;
  width: 18px;
  height: 18px;
}

/* Buttons line up along the bottom of every card. */
.plan-card__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  margin-top: auto;
  border: 1px solid #1d1a2b;
  border-radius: 6px;
  color: #1d1a2b;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.plan-card__cta:hover {
  background: #1d1a2b;
  color: #ffffff;
}

/* Featured card: the green primary button, sized like the other plan buttons. */
.plan-card__cta.btn-primary {
  width: 100%;
  height: 56px;
  padding: 0;
  border-radius: 6px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
}

.plan-card__cta.btn-primary:hover {
  background: var(--btn-bg);
}

@media (max-width: 1199px) {
  .pricing {
    padding-block: 88px;
  }

  .pricing__intro {
    margin-bottom: 64px;
  }

  .pricing__plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }
}

@media (max-width: 640px) {
  .pricing {
    padding-block: 64px;
  }

  .pricing__title {
    font-size: 28px;
    line-height: 36px;
  }

  .pricing__intro {
    margin-bottom: 48px;
    font-size: 15px;
  }

  .pricing__plans {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}

/* ---------------------------------------------------------------------------
   Bottom of the pricing section: "24hrs Human Customer Support" + chat mockup.
   --------------------------------------------------------------------------- */
.support {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  margin-top: 160px;
  text-align: left;
}

.support__title {
  margin: 0 0 32px;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  line-height: 50px;
}

.support__text {
  margin: 0 0 24px;
  max-width: 590px;
  color: #5b6470;
  font-size: 16px;
  line-height: 24px;
}

/* Chat mockup with a soft teal (#63B4C5) / lime (#AFCF2B) glow behind it. */
.support__chat {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 44px;
  width: 100%;
  max-width: 450px;
  margin: 0 0 0 auto;
  padding: 120px 0;
  list-style: none;
}

.support__chat::before {
  content: "";
  position: absolute;
  inset: -60px -120px;
  z-index: -1;
  background:
    radial-gradient(38% 34% at 55% 30%, rgba(175, 207, 43, 0.3), transparent 70%),
    radial-gradient(40% 36% at 42% 68%, rgba(99, 180, 197, 0.3), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.chat-msg {
  display: flex;
  align-items: center;
  gap: 18px;
}

.chat-msg--customer {
  justify-content: flex-end;
}

.chat-msg img {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
}

/* Bubble with a soft, rounded tail pointing at the avatar (a small rotated square, half
   tucked under the bubble). */
.chat-msg__bubble {
  --bubble-bg: #0791e6;

  position: relative;
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--bubble-bg);
  font-size: 14px;
  font-weight: 500;
  line-height: 19px;
}

.chat-msg__bubble::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: var(--bubble-bg);
  transform: translateY(-50%) rotate(45deg);
}

/* Customer: blue, tail on the right; a soft blue-tinted shadow (drop-shadow so it also
   outlines the tail). */
.chat-msg--customer .chat-msg__bubble {
  max-width: 180px;
  color: #ffffff;
  filter: drop-shadow(0 4px 10px rgba(7, 145, 230, 0.28));
}

.chat-msg--customer .chat-msg__bubble::after {
  right: -5px;
}

/* Agent: near-white with a soft, even shadow; tail on the left; inset from the right. */
.chat-msg--agent {
  margin-right: 64px;
}

.chat-msg--agent .chat-msg__bubble {
  --bubble-bg: #f7f7f7;

  color: #4a4a52;
  font-weight: 400;
  /* drop-shadow (not box-shadow) so the soft shadow also outlines the tail. */
  filter: drop-shadow(0 0 8px rgba(18, 17, 29, 0.2));
}

.chat-msg--agent .chat-msg__bubble::after {
  left: -5px;
}

/* Desktop: the title keeps the design's two lines. */
@media (min-width: 1200px) {
  .support__title {
    white-space: nowrap;
  }
}

@media (max-width: 1023px) {
  .support {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-top: 120px;
  }

  .support__chat {
    margin: 0 auto;
    padding: 64px 0 0;
  }
}

@media (max-width: 640px) {
  .support {
    margin-top: 88px;
  }

  .support__title {
    margin-bottom: 20px;
    font-size: 28px;
    line-height: 36px;
  }

  .support__title br {
    display: none;
  }

  .support__text {
    font-size: 15px;
  }

  .support__chat {
    gap: 28px;
  }

  .chat-msg--agent {
    margin-right: 0;
  }

  .chat-msg__bubble,
  .chat-msg--customer .chat-msg__bubble {
    max-width: 230px;
  }

  .chat-msg__bubble br {
    display: none;
  }

  .chat-msg img {
    width: 40px;
    height: 40px;
  }
}

/* The support block on its own (inner pages, e.g. features.html), outside the pricing
   section. Clipped horizontally so the chat glow can't widen the page on phones. */
.support-section {
  padding-block: 40px 120px;
  overflow-x: clip;
}

.support-section .support {
  margin-top: 0;
}

/* css/sections/faq.css */
/* "Frequently Asked Questions" — native <details> accordion (one open at a time via the
   shared name attribute; older browsers simply allow several open). */
.faq {
  /* Extra bottom space: the CTA banner at the top of the footer overlaps into it. */
  padding-block: 120px calc(120px + var(--cta-overlap));
}

.faq__title {
  margin: 0 0 56px;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  line-height: 52px;
  text-align: center;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 960px;
  margin-inline: auto;
}

.faq-item {
  border: 1px solid #e4e4e4;
  border-radius: 12px;
  background: #ffffff;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: #a9bd5a;
}

/* Height animation in progress (js/components/faq-accordion.js). */
.faq-item.is-animating {
  overflow: hidden;
}

/* Closing: show the closed look right away, while the height animates. */
.faq-item[open].is-closing {
  border-color: #e4e4e4;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 22px;
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 12px;
}

/* Plus that turns into a minus when open. */
.faq-item__icon {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.faq-item__icon::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-item[open]:not(.is-closing) .faq-item__icon::after {
  transform: translateY(-50%) rotate(0deg);
}

.faq-item__answer {
  margin: -8px 0 0;
  padding: 0 22px 26px;
  max-width: 760px;
  color: #5b6470;
  font-size: 16px;
  line-height: 24px;
}

@media (max-width: 640px) {
  .faq {
    padding-block: 64px calc(64px + var(--cta-overlap));
  }

  .faq__title {
    margin-bottom: 32px;
    font-size: 28px;
    line-height: 36px;
  }

  .faq__list {
    gap: 12px;
  }

  .faq-item summary {
    padding: 18px 16px;
    font-size: 16px;
    line-height: 22px;
  }

  .faq-item__answer {
    padding: 0 16px 20px;
    font-size: 15px;
  }
}

.faq-item__answer a {
  color: var(--color-primary, #90a733);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.faq-item__answer a:hover { text-decoration: underline; }

/* css/sections/footer.css */
/* Footer: green CTA banner overlapping the section above, then the dark link footer. */
:root {
  --cta-overlap: 220px;
}

@media (max-width: 640px) {
  :root {
    --cta-overlap: 140px;
  }
}

.site-footer {
  --color-text: #ffffff;
  --color-muted: #c4c4cc;

  /* flow-root stops the CTA's negative margin collapsing through the footer. */
  display: flow-root;
  padding-bottom: 40px;
  background: #120d21;
  color: var(--color-text);
}

/* CTA banner: pulled up so it straddles the white section and the dark footer. */
.footer-cta {
  position: relative;
  isolation: isolate;
  margin-top: calc(-1 * var(--cta-overlap));
  padding: 50px 32px 66px;
  border-radius: 16px;
  background:
    radial-gradient(45% 80% at 8% 60%, rgba(78, 102, 20, 0.55), transparent 70%),
    radial-gradient(40% 70% at 95% 20%, rgba(96, 124, 24, 0.5), transparent 70%),
    linear-gradient(90deg, #7e9c32, #86a53c 50%, #7a972f);
  overflow: hidden;
  text-align: center;
}

.footer-cta__title {
  margin: 0 auto 10px;
  max-width: 620px;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 500;
  line-height: 56px;
}

.footer-cta__text {
  margin: 0 auto 32px;
  max-width: 600px;
  color: #ffffff;
  font-size: 16px;
  line-height: 24px;
}

.footer-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.footer-cta__trial {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  color: #12111d;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.footer-cta__trial:hover {
  background: #eef2e0;
}

.footer-cta__demo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.footer-cta__demo svg {
  width: 18px;
  height: 18px;
  transition: transform 0.15s ease;
}

.footer-cta__demo:hover svg {
  transform: translate(2px, -2px);
}

/* Link columns */
.footer-main {
  display: grid;
  /* Figma at 1320px: brand 433, link columns 117 / 117 / 172, subscribe 321 (40px gaps). */
  grid-template-columns: minmax(0, 433fr) minmax(0, 117fr) minmax(0, 117fr) minmax(0, 172fr) minmax(0, 321fr);
  gap: 40px;
  padding-block: 88px 40px;
}

.footer-brand img {
  width: auto;
  height: 43px;
  margin-bottom: 24px;
}

.footer-brand p {
  margin: 0 0 24px;
  max-width: 360px;
  color: var(--color-muted);
  font-size: 16px;
  line-height: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #262235;
  color: #ffffff;
  transition: background-color 0.15s ease;
}

.footer-social a:hover {
  background: #3a3550;
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-nav h2,
.footer-subscribe h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
}

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

/* Rows exactly 20px tall (Figma: 36px between links), not the body's 1.6 line-height. */
.footer-nav li {
  font-size: 14px;
  line-height: 20px;
}

.footer-nav a {
  color: var(--color-muted);
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-subscribe p {
  margin: 0 0 14px;
  color: var(--color-muted);
  font-size: 16px;
  line-height: 24px;
}

.footer-subscribe__form {
  display: flex;
  gap: 8px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: #1c1829;
}

.footer-subscribe__form input {
  flex: 1;
  min-width: 0;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: #ffffff;
  font: inherit;
  font-size: 14px;
}

.footer-subscribe__form input::placeholder {
  color: #9a98a6;
}

.footer-subscribe__form input:focus {
  outline: none;
}

.footer-subscribe__form:focus-within {
  border-color: #90a733;
}

.footer-subscribe__form button {
  flex: none;
  height: 40px;
  padding: 0 20px;
  border: 0;
  border-radius: 7px;
  background: #90a733;
  color: #ffffff;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: filter 0.15s ease;
}

.footer-subscribe__form button:hover {
  filter: brightness(1.06);
}

.footer-subscribe__form button:disabled {
  cursor: progress;
  opacity: 0.7;
}

/* Shown under the form without taking up layout space (keeps Figma's 40px above the divider).
   Always the last (wide) column: the "More pages" column is only rendered once its links are set. */
.footer-subscribe {
  position: relative;
  grid-column: 5;
}

.footer-subscribe__status {
  position: absolute;
  top: 100%;
  left: 0;
  margin: 8px 0 0;
  color: #c9dd7a;
  font-size: 13px;
}

.footer-subscribe__status.is-error {
  color: #ff9b9b;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-muted);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 20px;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 1099px) {
  .footer-main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 48px;
  }

  .footer-brand,
  .footer-subscribe {
    grid-column: 1 / -1;
  }

  .footer-subscribe {
    max-width: 480px;
  }
}

@media (max-width: 640px) {
  .footer-cta {
    padding: 48px 20px;
  }

  .footer-cta__title {
    font-size: 28px;
    line-height: 36px;
  }

  .footer-cta__text {
    margin-bottom: 28px;
    font-size: 15px;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 24px;
    padding-block: 64px 40px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
