/* =========================================================
   Floosio — pricing page (extends styles.css)
   ========================================================= */
.pricing-hero { position: relative; overflow: hidden; overflow: clip; }
.pricing-hero > :not(.blob) { position: relative; }
.pricing-hero .blob-a { top: -260px; }
.pricing-hero .blob-b { inset-inline-start: -140px; bottom: auto; top: 380px; }
.pricing-hero .sec-head { margin-bottom: 28px; }
.pricing-hero h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -.04em; margin: 14px 0; }

/* Free-trial strip */
.trial-strip, .pricing-help {
  max-width: 1080px; margin: 0 auto 32px;
  display: flex; align-items: center; gap: 18px; padding: 18px 20px;
}
.trial-strip > div, .pricing-help > div { flex: 1; display: grid; gap: 2px; font-size: 14px; color: var(--muted); }
.trial-strip b, .pricing-help b { color: var(--ink); font-size: 16px; }
.trial-ic {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; background: color-mix(in srgb, var(--mint) 14%, var(--card)); color: var(--mint);
}
.pricing-help { margin: 40px auto 0; }

/* Plan cards: shared styles live in styles.css */

.pricing-why { margin-top: 40px; max-width: 1080px; }

/* ---------- Comparison table ---------- */
.compare { max-width: 1080px; margin: 72px auto 0; scroll-margin-top: 80px; }
.compare .sec-head { margin-bottom: 28px; }
.compare-card { padding: 0; overflow: hidden; }
.compare-scroll { overflow-x: auto; }
.compare-table { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.compare-table th, .compare-table td { padding: 12px 16px; text-align: center; border-bottom: 1px solid var(--line); }
.compare-table .feat-col { text-align: start; font-weight: 600; color: var(--ink); width: 38%; }
.compare-table thead th {
  position: sticky; top: 0; z-index: 1;
  background: var(--card); padding-block: 18px; vertical-align: bottom;
}
.th-name { display: block; font-size: 15px; font-weight: 800; }
.th-price { display: block; font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.th-price small { opacity: .8; }
.compare-table thead .feat-col { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.group-row th {
  text-align: start; padding-block: 10px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); background: var(--tint);
}
/* Collapsible module groups */
.group-row th { padding: 0; }
.group-toggle {
  width: 100%; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border: 0; background: transparent; cursor: pointer;
  font: inherit; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand);
  text-align: start;
}
.group-toggle:hover { background: color-mix(in srgb, var(--brand) 8%, transparent); }
.group-toggle:focus-visible { outline-offset: -3px; }
.group-name { flex: 1; }
.group-meta { color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: none; font-size: 12.5px; }
.group-chev {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--card); border: 1px solid var(--line); color: var(--brand);
  transition: background .2s, border-color .2s, color .2s;
}
.group-chev .ic { width: 16px; height: 16px; stroke-width: 2.4; transition: transform .3s var(--ease); }
.group-toggle[aria-expanded="true"] .group-chev { background: var(--brand); border-color: var(--brand); color: #fff; }
.group-toggle[aria-expanded="true"] .group-chev .ic { transform: rotate(180deg); }
.js .cmp-group.collapsed tr:not(.group-row) { display: none; }
.cmp-group:not(.collapsed) tr:not(.group-row) { animation: row-in .3s var(--ease); }
@keyframes row-in { from { opacity: 0; transform: translateY(-4px); } }
html:not(.js) .group-chev { display: none; }

.compare-table tbody tr:not(.group-row):hover { background: color-mix(in srgb, var(--tint) 45%, transparent); }
.compare-table .is-pop { background: color-mix(in srgb, var(--brand) 6%, transparent); }
.compare-table thead .is-pop { background: color-mix(in srgb, var(--brand) 10%, var(--card)); box-shadow: inset 0 3px 0 var(--brand); }
.compare-table thead .is-pop .th-name { color: var(--brand); }
.yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: var(--mint); background: color-mix(in srgb, var(--mint) 14%, var(--card)); }
.yes .ic { width: 15px; height: 15px; stroke-width: 3; }
.no { color: var(--line-strong); font-weight: 800; }
.compare-table tfoot td, .compare-table tfoot th { border-bottom: 0; padding-block: 18px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .plans-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .plans, .plans-2 { grid-template-columns: minmax(0, 1fr); max-width: 460px; }
}
@media (max-width: 760px) {
  .trial-strip, .pricing-help { flex-direction: column; align-items: stretch; text-align: center; }
  .trial-ic { margin: 0 auto; }
  .compare-table th, .compare-table td { padding: 10px 10px; }
}
