@import url('https://rsms.me/inter/inter.css');
@import 'variables.css';

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-optical-sizing: auto;
  font-style: normal;
  font-size: var(--text-body-m-size);
  line-height: var(--text-body-lh);
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ─── Headings ───────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--heading);
}

h1 { font-size: var(--text-h1-size); line-height: var(--text-h1-lh); letter-spacing: var(--ls-tight); }
h2 { font-size: var(--text-h2-size); line-height: var(--text-h2-lh); letter-spacing: var(--ls-tight); }
h3 { font-size: var(--text-h3-size); line-height: var(--text-h3-lh); letter-spacing: var(--ls-tight); }
h4 { font-size: var(--text-h4-size); line-height: var(--text-h4-lh); font-weight: var(--fw-regular); }
h5 { font-size: var(--text-h5-size); line-height: var(--text-h5-lh); font-weight: var(--fw-regular); }
h6 { font-size: var(--text-h6-size); line-height: var(--text-h6-lh); font-weight: var(--fw-regular); }

.text-h1 {
  font-size: var(--text-h1-size);
  line-height: var(--text-h1-lh);
  font-weight: var(--fw-regular);
  color: var(--heading);
  letter-spacing: var(--ls-tight);
}
.text-h2 {
  font-size: var(--text-h2-size);
  line-height: var(--text-h2-lh);
  font-weight: var(--fw-regular);
  color: var(--heading);
  letter-spacing: var(--ls-tight);
}
.text-h3 {
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-lh);
  font-weight: var(--fw-regular);
  color: var(--heading);
  letter-spacing: var(--ls-tight);
}
.text-h4 {
  font-size: var(--text-h4-size);
  line-height: var(--text-h4-lh);
  font-weight: var(--fw-regular);
  color: var(--heading);
}

.text-h5 {
  font-size: var(--text-h5-size);
  line-height: 1;
  font-weight: var(--fw-regular);
  color: var(--heading);
  letter-spacing: var(--ls-snug);
}

/* h6 utility — use on non-heading elements */
.text-h6 {
  font-size: var(--text-h6-size);
  line-height: var(--text-h6-lh);
  font-weight: var(--fw-regular);
  color: var(--heading);
}

/* h7 — not a native HTML element; use a utility class */
.text-h7 {
  font-size: var(--text-h7-size);
  line-height: var(--text-h7-lh);
  font-weight: var(--fw-medium);
  color: var(--heading);
}

/* ─── Responsive typography ─────────────────────────── */
@media (min-width: 769px) and (max-width: 900px) {
  h1, .text-h1 { font-size: 52px; line-height: 112%; }
}

@media (max-width: 768px) {
  h1, .text-h1 { font-size: var(--text-h1-mobile); line-height: 115%; }
  h2, .text-h2 { font-size: var(--text-h2-mobile); line-height: 115%; }
  h3, .text-h3 { font-size: var(--text-h3-mobile); line-height: 120%; }
  h4, .text-h4 { font-size: var(--text-h4-mobile); }
  h5, .text-h5 { font-size: var(--text-h5-mobile); }
  h6, .text-h6 { font-size: var(--text-h6-mobile); }
}

/* ─── Body text utilities ────────────────────────────── */
.text-body-l         { font-size: var(--text-body-l-size); line-height: var(--text-body-lh); font-weight: var(--fw-regular); }
.text-body-m         { font-size: var(--text-body-m-size); line-height: var(--text-body-lh); font-weight: var(--fw-regular); }
.text-body-m--semi   { font-size: var(--text-body-m-size); line-height: var(--text-body-lh); font-weight: var(--fw-semibold); }
.text-body-s         { font-size: var(--text-body-s-size); line-height: var(--text-body-lh); font-weight: var(--fw-regular); }
.text-body-s--semi   { font-size: var(--text-body-s-size); line-height: var(--text-body-lh); font-weight: var(--fw-semibold); }
.text-caption        { font-size: var(--text-caption-size); line-height: var(--text-body-lh); font-weight: var(--fw-medium); }

/* ─── Color utilities ────────────────────────────────── */
.text-primary        { color: var(--color-primary); }
.text-heading        { color: var(--heading); }
.text-body-color     { color: var(--body); }
.text-muted          { color: var(--color-paragraph-light); }
.text-danger         { color: var(--color-danger); }
.text-warning        { color: var(--color-warning); }
.text-green-dark     { color: var(--green-dark); }
.text-white          { color: var(--white); }

/* Shadeds */
.text-paragraph-shades-70 { color: var(--color-paragraph); opacity: 0.7; }
.text-paragraph-shades-35 { color: var(--color-paragraph); opacity: 0.35; }

.bg-primary          { background-color: var(--color-primary); }
.bg-light-green      { background-color: var(--green-bg); }
.bg-dark-green       { background-color: var(--green-darker); }
.bg-page             { background-color: var(--bg); }
.bg-white            { background-color: var(--white); }

/* ─── Base elements ──────────────────────────────────── */
img    { display: block; max-width: 100%; }
a      { text-decoration: none; color: inherit; }
ul     { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ─── Layout ─────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}

.section { padding-block: 4rem; }
@media (max-width: 768px) { .section { padding-block: 2.5rem; } }

/* ─── Badge / eyebrow pill ───────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: 6px 20px;
  background: var(--green-muted);
  border: 1px solid var(--green);
  border-radius: var(--r-pill);
  font-size: var(--text-body-m-size);
  font-weight: var(--fw-regular);
  font-family: var(--font-head);
  color: var(--color-dark);
  line-height: 150%;
}
/* .badge::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
} */

/* ─── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 12px 32px;
  border-radius: var(--r-md);
  font-family: var(--font-head);
  font-size: var(--text-body-l-size);
  font-weight: var(--fw-regular);
  transition: .2s ease;
  white-space: nowrap;
}

.btn-navbar {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 8px 32px;
  border-radius: var(--r-md);
  font-family: var(--font-head);
  font-size: var(--text-body-l-size);
  transition: .2s ease;
  white-space: nowrap;
}
.btn-navbar:hover { background: var(--green) !important; }

.btn-dark         { background: var(--heading);       color: var(--white); }
.btn-dark:hover   { background: var(--green); }

.btn-outline      { background: var(--white); color: var(--heading); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--green); color: var(--green-dark); }

.btn-green        { background: var(--green);      color: var(--white); }
.btn-green:hover  { background: var(--green-dark); }

/* ─── Card ───────────────────────────────────────────── */
.card {
  background: var(--green-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: .2s ease;
}
/* .card:hover { box-shadow: var(--shadow); transform: translateY(-2px); } */
.card:hover {
  border: 1px solid var(--green);
}

/* Why IBEAMS cards — icon top, content bottom, fixed height */
.why-card {
  padding: 20px 24px;
  min-height: 300px;
  justify-content: space-between;
}

/* ─── Active nav ─────────────────────────────────────── */
.nav-link {
  padding: 6px 16px;
  border-radius: var(--r-pill);
  transition: background 0.2s;
}
.nav-link:hover,
.active-nav {
  background: var(--green-bg);
}

/* ─── Divider ────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-block: 1rem;
}

/* ─── Footer utilities ───────────────────────────────── */
.footer-bg        { background-color: var(--green-darker); }
.footer-text      { color: var(--bg); }
.footer-text-dim  { color: rgba(255,255,255,.4); }
.footer-text-white{ color: var(--white); }
.footer-divider   { border: none; border-top: 1px solid rgba(255,255,255,.12); }
.footer-input-wrap{
  display: flex;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.15);
}
.footer-input {
  border: none;
  outline: none;
  background: transparent;
  padding: 0.25rem 0.5rem;
  font-size: var(--text-body-s-size);
  color: var(--heading);
  min-width: 180px;
}
.footer-input::placeholder { color: var(--color-paragraph-light); }
.footer-newsletter-div {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 4px;
  gap: 4px;
}
.footer-subscribe {
  padding: 4px 16px;
  background: var(--heading);
  color: var(--white);
  border-radius: calc(var(--r-md) - 2px);
  white-space: nowrap;
  border: none;
  cursor: pointer;
}
.footer-subscribe:hover { background: var(--green-darker); }
 
.social-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--green);
  color: var(--green);
  transition: background .2s, color .2s;
}
.social-icon:hover { background: var(--green); color: var(--white); }
 
.connect-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--green);
  color: var(--white);
}

.trustpilot-badge {
  background:var(--white);
  border-radius:var(--r-md);
  border:1px solid var(--border);
  padding: 6px 10px;
}

/* ─── Framer-style reveal animations ─────────────────────── */
html.js-anim section .wrap > *:not(.rv-in),
html.js-anim footer .wrap > *:not(.rv-in),
html.js-anim .card:not(.rv-in),
html.js-anim .pc-card:not(.rv-in),
html.js-anim .ao-card:not(.rv-in),
html.js-anim .fl-cell:not(.rv-in),
html.js-anim .fh-row:not(.rv-in),
html.js-anim .fh-img-wrap:not(.rv-in),
html.js-anim .fh-text:not(.rv-in) {
  opacity: 0;
  translate: 0 24px;
}
html.js-anim section .wrap > *,
html.js-anim footer .wrap > *,
html.js-anim .card,
html.js-anim .pc-card,
html.js-anim .ao-card,
html.js-anim .fl-cell,
html.js-anim .fh-row,
html.js-anim .fh-img-wrap,
html.js-anim .fh-text {
  transition:
    opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
    translate 1.1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  transition-delay: var(--rv-delay, 0ms), var(--rv-delay, 0ms), 0ms, 0ms, 0ms;
}

/* Subtle hover lift on cards (keeps existing border hover) */
.card:hover, .pc-card:hover, .ao-card:hover {
  transform: translateY(-3px);
}

/* Button hover lift */
.btn:hover, .btn-navbar:hover {
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .card:hover, .pc-card:hover, .ao-card:hover,
  .btn:hover, .btn-navbar:hover { transform: none; }
}

/* ─── Trust bar marquee (mobile) ────────────────────────── */
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.trust-logos-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 60px;
  animation: marquee-scroll 22s linear infinite;
}

.trust-logos-track:hover { animation-play-state: paused; }

@media (min-width: 768px) {
  .trust-logos-track {
    gap: 80px;
    animation-duration: 35s;
  }
}

/* ─── Hero section with large padding ───────────────────── */
.section-hero { padding-block: 7.5rem; }
@media (max-width: 768px) { .section-hero { padding-block: 2.5rem; } }

/* ─── Header: mobile overrides ──────────────────────────── */
@media (max-width: 768px) {
  #site-header {
    background: var(--bg) !important;
    border-bottom-width: 0 !important;
  }
}

/* ── Features page hero body ───────────────────────────── */
.fh-hero-body {
  font-size: var(--text-body-l-size);
  line-height: var(--text-body-lh);
  font-weight: var(--fw-regular);
}
@media (max-width: 768px) {
  .fh-hero-body { font-size: var(--text-body-s-size); }
}

/* ── Feature Highlights ────────────────────────────────── */
.fh-section {
  padding: 60px 40px;
  background: var(--bg);
}
.fh-row {
  display: flex;
  align-items: center;
  gap: 64px;
  max-width: 1280px;
  margin: 0 auto;
}
.fh-row--reverse { flex-direction: row-reverse; }

.fh-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}
.fh-text__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.fh-checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fh-checks--wrap {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
}
.fh-check {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fh-img-wrap {
  flex: 0 0 auto;
  width: 600px;
}
.fh-img-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 12px;
  aspect-ratio: 4 / 3;
  display: flex;
}
.fh-img-card-inner {
  background: var(--bg);
  border-radius: 16px;
  flex: 1;
}

/* ── Feature List Grid ─────────────────────────────────── */
.fl-section { padding-top: 80px; padding-bottom: 80px; }
.fl-section__inner { gap: 48px; }
@media (max-width: 560px) {
  .fl-section { padding-top: 40px; padding-bottom: 40px; }
  .fl-section__inner { gap: 40px; }
}

/* Search + filter row */
.fl-search-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.fl-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 10px;
  width: 353px;
  flex-shrink: 0;
  transition: .2s ease;
}
.fl-search:hover { border-color: var(--green); }
.fl-search__icon { width: 20px; height: 20px; display: block; flex-shrink: 0; }
.fl-search__input {
  font-size: var(--text-body-s-size);
  color: var(--heading);
  white-space: nowrap;
  font-family: var(--font-head);
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
}
.fl-search__input::placeholder {
  color: var(--color-paragraph);
  opacity: 0.7;
}
.fl-tags {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.fl-tag {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--white);
  font-size: var(--text-body-s-size);
  color: var(--color-paragraph);
  opacity: 0.7;
  white-space: nowrap;
  cursor: pointer;
  font-family: var(--font-head);
  line-height: 1.5;
  transition: .2s ease;
}
.fl-tag:hover {
  border: 1px solid var(--green);
  opacity: 1;
}
.fl-tag--active {
  border-color: var(--green);
  opacity: 1;
}

/* Grid */
.fl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: var(--r-card);
  overflow-y: auto;
  max-height: 760px;
  background: var(--border);
  gap: 1px;
  border: 1px solid var(--border);
}
.fl-grid::-webkit-scrollbar { width: 6px; }
.fl-grid::-webkit-scrollbar-track { background: transparent; }
.fl-grid::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 4px; }

.fl-cell {
  background: var(--bg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 150px;
  border: none !important;
}
.fl-cell__header {
  display: flex;
  align-items: center;
  gap: 16px;
}
.fl-cell__desc {
  padding-left: calc(32px + 16px);
}

/* ── Feature highlights — mobile type overrides ─────────── */
@media (max-width: 768px) {
  .fh-text__content .text-body-l { font-size: var(--text-body-s-size); }
  .fh-check .text-body-m         { font-size: var(--text-body-s-size); }
  .fh-text__content              { gap: 20px; }

  /* Wrapper collapses sections into one block with correct spacing */
  .fh-features-wrapper {
    display: flex;
    flex-direction: column;
    gap: 42px;
    padding: 40px 1.25rem;
    background: var(--bg);
  }
  .fh-features-wrapper .fh-section {
    padding: 0;
  }
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 900px) {
  .fh-section { padding: 2.5rem 1.5rem; }
  .fh-row, .fh-row--reverse { flex-direction: column; gap: 2rem; }
  .fh-img-wrap { width: 100%; }
  .fh-checks--wrap { flex-direction: column; }
  /* 2-column grid */
  .fl-grid { grid-template-columns: 1fr 1fr; }
  /* Search + filter stack */
  .fl-search-container { flex-direction: column; align-items: stretch; }
  .fl-search { width: 100%; box-sizing: border-box; }
}
@media (max-width: 560px) {
  .fl-section { padding: 40px 1.25rem; }
  .fl-section .wrap { padding-inline: 0; max-width: none; }
  .fl-section__inner { gap: 40px; }
  .fl-tags { display: flex; flex-wrap: wrap; gap: 8px; }
  .fl-tag { padding: 10px 12px; }
  .fl-search-container { flex-direction: column; align-items: stretch; gap: 16px; }
  .fl-search { width: 100%; box-sizing: border-box; }
  .fl-grid { grid-template-columns: 1fr; }
  /* Collapse: hide items beyond 3 */
  .fl-collapsible:not(.is-expanded) .fl-cell:nth-child(n+4) { display: none; }
  /* Expand button — absolute on bottom border of collapsible */
  .fl-collapsible { position: relative; }
  .fl-expand-wrap {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
  }
  .fl-expand-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    border-radius: 10px;
    background: var(--green-bg);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: transform 0.3s;
  }
  .fl-expand-btn.is-expanded { transform: rotate(180deg); }
}
@media (min-width: 561px) {
  .fl-expand-wrap { display: none; }
}

/* ── Pricing Cards ─────────────────────────────────────── */
.pc-section {
  background: var(--bg);
  padding: 4px 40px 60px;
}
.pc-grid {
  display: flex;
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.pc-card {
  flex: 1;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  /* overflow: hidden; */
  transition: .2s ease;
  border: 1px solid transparent;
}
.pc-card:hover {
   border: 1px solid var(--green);
}
.pc-card__top {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.pc-card__top .divider { margin-block: 0; }
.pc-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pc-popular {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--green);
  padding: 4px 16px;
  border-radius: var(--r-pill);
  font-family: var(--font-head);
}
.pc-price {
  display: flex;
  align-items: flex-end;
  gap: 4px;
}
.pc-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pc-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── Add-Ons ───────────────────────────────────────────── */
.ao-section {
  background: var(--bg);
  padding: 60px 0 80px;
  font-family: var(--font-head);
}
.ao-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}
.ao-card {
  flex: 1 1 320px;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: .2s ease;
  border: 1px solid transparent;
}
.ao-card:hover {
  border: 1px solid var(--green);
}
.ao-card__top {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ao-card__top .divider { margin-block: 0; }
.ao-price {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  width: 100%;
}
.ao-price__amount {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: var(--text-h3-size);
  line-height: 1.15;
  letter-spacing: var(--ls-tight);
  color: var(--green);
}
.ao-price__label {
  flex: 1 0 0;
  min-width: 1px;
  font-size: var(--text-body-m-size);
  line-height: 1.5;
  color: var(--color-paragraph-light);
  padding-bottom: 8px;
}

@media (max-width: 900px) {
  .pc-section { padding: 4px 1.5rem 2.5rem; }
  .pc-grid { flex-direction: column; }
  .ao-grid { flex-direction: column; }
  .ao-section { padding: 2.5rem 0; }
}