/* Optional add-ons on the pricing page: one section, cards in the plan cards' style. */
.addons-section { margin: 72px 0 56px; }
.addons-heading { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.addons-heading h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; margin: 10px 0 12px; }
.addons-heading p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.addons-heading .addons-sub { margin-top: 8px; font-size: 14px; }

.addons-group { margin: 0 0 14px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #5b6b80; }
.addons-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 36px; }

.addons-card { --tone: #2b6cff; --tint: #eff4ff; position: relative; display: flex; flex-direction: column; padding: 24px 24px 22px; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; }
.addons-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--tone); }
.addons-card:hover { box-shadow: 0 14px 34px rgba(17, 30, 56, .08); transform: translateY(-2px); }
.addons-card--green { --tone: #16a34a; --tint: #e9f9ef; }
.addons-card--pink { --tone: #db2777; --tint: #fdeef5; }
.addons-card--orange { --tone: #ea580c; --tint: #fff1e7; }
.addons-card--blue { --tone: #2b6cff; --tint: #eaf1ff; }
.addons-card--teal { --tone: #0d9488; --tint: #e6f7f5; }
.addons-card--purple { --tone: #7c3aed; --tint: #f1ebfe; }

.addons-head { display: flex; align-items: center; gap: 14px; }
.addons-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--tint); color: var(--tone); }
.addons-icon svg { width: 24px; height: 24px; }
.addons-head h3 { margin: 0; font-size: 19px; line-height: 1.25; letter-spacing: -.02em; }
.addons-plan { display: inline-block; margin-top: 5px; padding: 2px 9px; border-radius: 999px; background: var(--tint); color: var(--tone); font-size: 11.5px; font-weight: 700; }
.addons-desc { margin: 16px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; min-height: 3.1em; }

.addons-price { display: flex; align-items: baseline; gap: 4px; margin-top: 18px; }
.addons-price strong { color: var(--ink); font-size: 30px; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }
.addons-per { color: var(--muted); font-size: 14px; font-weight: 600; }
.addons-yearly { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0 0; color: var(--muted); font-size: 13.5px; }
.addons-save { padding: 2px 8px; border-radius: 6px; background: #dcfce7; color: #15803d; font-size: 12px; font-weight: 700; }
.addons-save:empty, .addons-per:empty { display: none; }

.addons-list { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); }
.addons-list li { position: relative; padding-left: 24px; color: #334155; font-size: 14px; line-height: 1.5; }
.addons-list li + li { margin-top: 9px; }
.addons-list li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 12px; height: 7px; border-left: 2px solid var(--tone); border-bottom: 2px solid var(--tone); transform: rotate(-45deg); }
.addons-list strong { color: var(--ink); font-weight: 650; }
.addons-note { margin: 14px 0 0; color: #64748b; font-size: 12.5px; line-height: 1.5; }
.addons-link { margin-top: auto; padding-top: 18px; color: var(--tone); font-size: 14px; font-weight: 700; text-decoration: none; }
.addons-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.addons-capacity { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 26px; background: #f6f8fc; border: 1px solid var(--line); border-radius: 18px; }
.addons-capacity h3 { margin: 0 0 4px; font-size: 18px; }
.addons-capacity-copy { flex: 0 1 380px; }
.addons-capacity-copy p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.addons-capacity-list { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin: 0; padding: 0; list-style: none; }
.addons-capacity-list li { display: flex; align-items: center; gap: 9px; padding: 8px 14px 8px 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.addons-capacity-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #fff; }
.addons-capacity-icon svg { width: 15px; height: 15px; }
.addons-capacity-icon--blue { background: #2b6cff; }
.addons-capacity-icon--green { background: #16a34a; }
.addons-capacity-icon--orange { background: #ea580c; }

@media (max-width: 1080px) {
  .addons-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .addons-capacity { flex-direction: column; align-items: flex-start; }
  .addons-capacity-copy { flex-basis: auto; }
  .addons-capacity-list { justify-content: flex-start; }
}
@media (max-width: 680px) {
  .addons-section { margin: 48px 0 40px; }
  .addons-grid { grid-template-columns: 1fr; gap: 14px; margin-bottom: 28px; }
  .addons-card { padding: 20px 18px 18px; }
  .addons-desc { min-height: 0; }
  .addons-capacity { padding: 18px; }
  .addons-capacity-list li { white-space: normal; }
}

/* Credit equivalent under the answer allowance (plan cards and comparison table). */
.pricing-credits { display: block; margin-top: 2px; color: #15803d; font-size: 11.5px; font-weight: 700; line-height: 1.35; }
.pricing-metrics .pricing-credits { font-size: 11px; }


/* How Serviti compares: included AI replies against named tools, with sources. */
.vs-section { margin: 56px 0 8px; }
.vs-section h2 { margin: 0 0 8px; text-align: center; font-size: clamp(24px, 2.6vw, 32px); }
.vs-sub { max-width: 720px; margin: 0 auto 20px; text-align: center; color: var(--muted); font-size: 14px; line-height: 1.6; }
.vs-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.vs-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.vs-table th, .vs-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; color: #334155; line-height: 1.5; }
.vs-table thead th { background: #f6f8fc; color: #5b6b80; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.vs-table tbody th { color: var(--ink); font-weight: 700; white-space: nowrap; }
.vs-table tbody tr:last-child th, .vs-table tbody tr:last-child td { border-bottom: 0; }
.vs-table .vs-ours th, .vs-table .vs-ours td { background: #f3f7ff; }
.vs-table .vs-ours strong { color: var(--brand); }
.vs-table a { color: var(--brand); font-weight: 600; }

/* Work out what you'd pay */
.price-total { margin: 8px 0 56px; padding: 32px; border: 1px solid #dbe3f0; border-radius: 20px; background: linear-gradient(135deg, #f6f9ff, #fff); }
.price-total-head h2 { margin: 6px 0 8px; font-size: clamp(1.5rem, 2.6vw, 2rem); color: #0f172a; }
.price-total-head p { margin: 0; color: #475569; }
.price-total-body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; margin-top: 24px; align-items: start; }
.price-total fieldset { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.price-total legend { font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.price-total-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.price-total-choice { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid #cbd5e1; border-radius: 999px; background: #fff; cursor: pointer; font-weight: 600; color: #1e293b; }
.price-total-choice:has(input:checked) { border-color: #2563eb; background: #eef4ff; color: #1d4ed8; }
.price-total-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.price-total-option { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; align-items: center; min-height: 52px; padding: 10px 12px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; cursor: pointer; }
.price-total-option input { grid-row: span 2; width: 18px; height: 18px; }
.price-total-option span:first-of-type { font-weight: 600; color: #0f172a; }
.price-total-each { font-size: .8125rem; color: #64748b; }
.price-total-option:has(input:disabled) { background: #f8fafc; cursor: default; }
.price-total-result { padding: 22px; border-radius: 16px; background: #0f172a; color: #e2e8f0; }
.price-total-label { margin: 0; font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; color: #94a3b8; }
.price-total-amount { margin: 4px 0; font-size: clamp(1.75rem, 3.2vw, 2.25rem); font-weight: 800; color: #fff; }
.price-total-detail { margin: 0 0 14px; font-size: .875rem; color: #cbd5e1; }
.price-total-breakdown { list-style: none; margin: 0 0 18px; padding: 12px 0 0; border-top: 1px solid #334155; font-size: .875rem; }
.price-total-breakdown li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.price-total-note { margin: 12px 0 0; font-size: .8125rem; color: #94a3b8; }
@media (max-width: 860px) {
  .price-total { padding: 22px 18px; }
  .price-total-body { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) { .price-total-options { grid-template-columns: minmax(0, 1fr); } }
