/* Pricing page: rate cards, includes strip, units, "why we're different" bento, support card, FAQ, final stats */

.pricing-hero { padding-bottom: 8px; }
.pricing-hero::before { top: 300px; }

/* ───── Rate cards ───── */
.rates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 64px; text-align: left; }
.rate { padding: 28px; display: flex; flex-direction: column; }
.rate-name { font-family: var(--mono); font-size: 12.5px; color: var(--fg-2); }
.rate-price { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.rate-price b { font-size: clamp(40px, 4vw, 52px); line-height: 1; font-weight: 600; letter-spacing: -0.045em; color: var(--accent); padding-right: 2px; }
.rate-price span { font-size: 14.5px; color: var(--fg-2); }
.rate p { margin: 16px 0 22px; font-size: 15px; line-height: 1.55; color: var(--fg-2); }
.rate ul { list-style: none; margin: auto 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.rate li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--fg); }
.rate li img { flex: none; width: 20px; height: 21px; filter: var(--dark-art); }

/* ───── Every account includes ───── */
.includes { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 20px; margin-top: 40px; }
.includes-h { font-family: var(--mono); font-size: 12.5px; color: var(--fg-3); }
.includes ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.includes li { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--line-2); background: none; font-size: 14px; color: var(--fg); }
.includes li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px rgba(19,233,137,.7); }

/* light-theme illustrations from coralogix.com, inverted for the dark page (hue kept) */
.inv { filter: var(--flip, invert(1) hue-rotate(180deg)); mix-blend-mode: var(--flip-blend, lighten); }

/* ───── Units ───── */
.units-sub { display: block; color: var(--fg); font-weight: 500; margin-bottom: 6px; }
.units-art img { display: block; width: 100%; height: auto; }

/* ───── Why we're different: bento ───── */
.diff { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.diff-card { padding: 0 28px 30px; overflow: hidden; display: flex; flex-direction: column; }
.diff-card.diff-tall { grid-row: span 2; }
.diff-art { margin: 0 -28px 24px; height: 150px; display: flex; align-items: center; justify-content: center; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg-1); }
.diff-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.diff-tall .diff-art { height: auto; flex: 1; min-height: 220px; }
.diff-tall .diff-art img { object-fit: contain; padding: 20px 20px 0; }
.diff-card h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 10px; }
.diff-card p { font-size: 15px; line-height: 1.6; color: var(--fg-2); }

.ticks { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.5; color: var(--fg); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: rgba(19,233,137,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.5 9.2l2.3 2.3 4.7-4.9' fill='none' stroke='%2386FFC9' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; box-shadow: inset 0 0 0 1px rgba(19,233,137,.35); }

/* ───── Support ───── */
.support .eyebrow { margin-bottom: 18px; }
.support-h { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 560; }
.support-sub { margin-top: 14px; font-size: 17px; color: var(--fg-2); }
.support .ticks { margin-top: 28px; }

/* ───── FAQ ───── */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 4px; font-size: 18px; font-weight: 500; letter-spacing: -0.015em; color: var(--fg); transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M9 14h10M14 9v10' fill='none' stroke='%2386FFC9' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 28px no-repeat; transition: transform .25s var(--ease), border-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); border-color: rgba(19,233,137,.5); }
.faq summary:hover { color: var(--mint); }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.faq-a { padding: 0 52px 26px 4px; }
.faq-a p { font-size: 16px; line-height: 1.7; color: var(--fg-2); }
.faq-a p + p { margin-top: 14px; }
.faq-a a { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }

/* ───── Final CTA ───── */
.ai-tag { display: inline-flex; align-items: center; gap: 8px; }
.ai-tag img { width: 16px; height: 15px; }
.final-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; max-width: 900px; margin: 88px auto 0; text-align: left; }
.final-stats div { padding-left: 20px; border-left: 1px solid rgba(19,233,137,.4); }
.final-stats b { display: block; font-size: clamp(36px, 4vw, 52px); line-height: 1; font-weight: 600; letter-spacing: -0.045em; color: var(--accent); padding-right: 2px; }
.final-stats span { display: block; margin-top: 10px; font-size: 15px; color: var(--fg-2); }

/* ───── Responsive ───── */
@media (max-width: 1120px) {
  .rates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .diff { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .diff-card.diff-tall { grid-row: auto; grid-column: 1 / -1; }
  .diff-tall .diff-art { flex: none; height: 260px; }
  .units-art { max-width: 640px; margin: 0 auto; }
  .final-stats { grid-template-columns: minmax(0, 1fr); gap: 20px; max-width: 420px; margin-top: 64px; }
}
@media (max-width: 560px) {
  .rates { grid-template-columns: minmax(0, 1fr); margin-top: 48px; }
  .rate { padding: 24px; }
  .includes { flex-direction: column; }
  .units-art { overflow: hidden; margin: 0 -16px; }
  .units-art img { width: 118%; max-width: none; margin-left: -9%; }
  .diff { grid-template-columns: minmax(0, 1fr); }
  .diff-card { padding: 0 24px 26px; }
  .diff-art { margin: 0 -24px 22px; height: 130px; }
  .diff-tall .diff-art { height: 220px; }
  .faq summary { font-size: 16.5px; padding: 20px 0; gap: 16px; }
  .faq-a { padding: 0 0 22px; }
  .faq-a p { font-size: 15.5px; }
}


/* Support: the live customer-success benchmark, the same block as /support/ (copied from
   assets/pages/support/page.css; page.js fills the numbers from benchmarks.coralogix.com). */
.sup-benchmark-link i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.sup-benchmark { margin-top: 18px; padding: clamp(28px, 4vw, 46px); border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgba(19,233,137,.06), transparent 45%), rgb(var(--ink) / .018); }
.sup-benchmark-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.sup-benchmark-head .eyebrow { display: block; margin-bottom: 13px; }
.sup-benchmark-head h3 { font-size: clamp(27px, 3.2vw, 42px); font-weight: 560; letter-spacing: -.04em; }
.sup-benchmark-link { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; color: var(--mint); }
.sup-benchmark-link > span { margin-left: 1px; }
.sup-benchmark-intro { max-width: 760px; margin-top: 20px; font-size: 15px; line-height: 1.65; color: var(--fg-2); }
.sup-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 30px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-1); }
.sup-stats div { min-width: 0; padding: 24px; }
.sup-stats div + div { border-left: 1px solid var(--line); }
.sup-stats b, .sup-stats span { display: block; }
.sup-stats b { font-size: clamp(27px, 2.9vw, 39px); line-height: 1; font-weight: 580; letter-spacing: -.045em; color: var(--accent); white-space: nowrap; }
.sup-stats span { margin-top: 10px; font-size: 12px; line-height: 1.35; color: var(--fg-2); }
.sup-benchmark-meta { display: flex; justify-content: space-between; margin: 9px 3px 0; font: 9.5px/1.4 var(--mono); color: var(--fg-3); }
.sup-engagement { display: grid; grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 27px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--line); }
.sup-engagement > * { display: flex; flex-direction: column; justify-content: center; min-height: 82px; padding: 17px 19px; background: var(--bg-1); }
.sup-engagement-label { font: 10px/1.45 var(--mono); color: var(--fg-3); text-transform: uppercase; letter-spacing: .045em; }
.sup-engagement b { font-size: 19px; font-weight: 570; color: var(--fg); }
.sup-engagement div span { margin-top: 5px; font-size: 10.5px; line-height: 1.3; color: var(--fg-3); }
@media (max-width: 960px) {
  .sup-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sup-stats div:nth-child(3) { border-left: 0; }
  .sup-stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sup-engagement { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sup-engagement-label { grid-column: 1 / -1; min-height: 58px; }
}
@media (max-width: 560px) {
  .sup-benchmark { padding: 25px 18px; }
  .sup-benchmark-head { display: block; }
  .sup-benchmark-link { margin-top: 22px; }
  .sup-stats { grid-template-columns: minmax(0, 1fr); }
  .sup-stats div + div, .sup-stats div:nth-child(3) { border-top: 1px solid var(--line); border-left: 0; }
  .sup-benchmark-meta { display: block; }
  .sup-benchmark-meta span { display: block; }
  .sup-benchmark-meta span + span { margin-top: 3px; }
  .sup-engagement { grid-template-columns: minmax(0, 1fr); }
  .sup-engagement-label { grid-column: auto; }
}
