/*
 * Product pages — site/assets/pages.css (v1.53.0, more parts in v1.54.0)
 *
 * /pricing, /features, /ai-agent, /whatsapp and /security load home.css (the homepage's look) and then this file, which only adds the parts the
 * homepage does not have. Same palette and shapes (ink / paper / stone / line / mute / one accent, the homepage's pastel art tints, pill buttons,
 * rounded cards). Everything is scoped to .hp.pg, so the homepage and other pages do not change.
 */

/* ── a shorter opening block than the homepage's, with no picture under it ── */
.hp.pg .pg-hero { padding: 140px 0 72px; }
.hp.pg .pg-hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); max-width: 900px; }
.hp.pg .pg-hero .hp-badge { cursor: default; }
.hp.pg .pg-hero .hp-badge:hover { border-color: var(--line); color: var(--mute); }

/* ── section headings inside rows are h2 here (the homepage uses h3): same size and weight ── */
.hp.pg .hp-row h2.pg-h { font-size: clamp(1.7rem, 2.8vw, 2.3rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.12; }

/* ── in-page menu (features) ── */
.pg-jump { position: sticky; top: calc(var(--hdr-h, 68px) + 10px); z-index: 20; display: flex; justify-content: center; margin: 0 auto 8px; }
.pg-jump nav { display: flex; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: rgba(253, 252, 252, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.pg-jump nav::-webkit-scrollbar { display: none; }
.pg-jump a { padding: 8px 16px; border-radius: 999px; font-size: .88rem; font-weight: 500; color: var(--mute); text-decoration: none; white-space: nowrap; }
.pg-jump a:hover { background: var(--stone); color: var(--ink); }
.hp.pg [id^="f-"] { scroll-margin-top: calc(var(--hdr-h, 68px) + 80px); }

/* ── plan cards: a highlighted plan and the full list of what each includes ── */
.hp.pg .pg-plans { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); }
.hp.pg .hp-plan.pick { border-color: var(--ink); box-shadow: var(--hp-shadow-sm); position: relative; }
.hp.pg .hp-plan.pick .h-btn { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.hp.pg .hp-plan.pick .h-btn:hover { background: var(--mute); border-color: var(--mute); }
.pg-flag { position: absolute; top: -12px; left: 24px; background: var(--ink); color: var(--paper); font-size: .72rem; font-weight: 500; letter-spacing: .04em; border-radius: 999px; padding: 4px 11px; }
.pg-seats { font-size: .86rem; color: var(--mute); margin: 6px 0 0; }

/* ── comparison table ── */
.pg-table-wrap { margin-top: 48px; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--paper); }
.pg-table-scroll { overflow-x: auto; }
.pg-table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 720px; }
.pg-table th, .pg-table td { padding: 15px 20px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.pg-table thead th { border-top: 0; background: var(--stone); font-weight: 600; font-size: .95rem; }
.pg-table thead th small { display: block; font-weight: 400; color: var(--mute); font-size: .82rem; margin-top: 2px; }
.pg-table tbody th { font-weight: 500; color: var(--ink); width: 30%; }
.pg-table tbody th small { display: block; font-weight: 400; color: var(--mute); font-size: .82rem; line-height: 1.45; margin-top: 3px; }
.pg-table td { color: var(--ink); }
.pg-table .pg-grp th { background: var(--paper); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); font-weight: 500; padding-top: 22px; }
.pg-yes, .pg-no { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; }
.pg-yes { background: var(--hp-sage); color: var(--hp-ok); }
.pg-no { background: var(--stone); color: var(--mute); }
.pg-yes svg, .pg-no svg { width: 13px; height: 13px; }

/* ── "every plan includes" and other plain lists in columns ── */
.pg-incl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 32px; margin-top: 44px; text-align: left; }
.pg-incl .hp-ticks { margin: 0; }

/* ── numbered flow (how the AI agent answers, WhatsApp setup) ── */
.pg-flow { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 16px; margin-top: 56px; counter-reset: f; }
.pg-flow > div { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px 28px; position: relative; }
.pg-flow > div::before { counter-increment: f; content: counter(f); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .85rem; font-weight: 600; margin-bottom: 20px; }
.pg-flow h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.pg-flow p { margin: 0; color: var(--mute); font-size: .94rem; line-height: 1.55; }
.hp-sec.dark .pg-flow > div { background: rgba(253, 252, 252, .06); border-color: rgba(253, 252, 252, .12); }
.hp-sec.dark .pg-flow h3 { color: var(--paper); }

/* ── a WhatsApp-style chat mock in the site's palette (no second brand colour) ── */
.pg-wa { background: var(--hp-card); border: 1px solid rgba(12, 10, 9, .08); border-radius: 26px; box-shadow: var(--hp-shadow); width: 100%; max-width: 360px; overflow: hidden; font-size: 13px; line-height: 1.45; }
.pg-wa-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--ink); color: var(--paper); }
.pg-wa-head b { display: block; font-weight: 600; font-size: 14px; }
.pg-wa-head small { display: block; font-size: 11.5px; opacity: .7; }
.pg-wa-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; background: var(--hp-sand); min-height: 300px; }
.pg-wa-body .mk-msg { max-width: 84%; background: #fff; border: 1px solid rgba(12, 10, 9, .06); }
.pg-wa-body .mk-msg.me { background: var(--hp-sage); color: var(--ink); border-color: transparent; }
.pg-tick { display: block; text-align: right; font-size: 10.5px; color: var(--mute); margin-top: 3px; }
.pg-tpl { align-self: stretch; border: 1px dashed var(--line); background: var(--paper); border-radius: 12px; padding: 9px 12px; font-size: 12px; color: var(--mute); }
.pg-tpl b { color: var(--ink); }

/* ── security: a list of what we do, with icons ── */
.pg-sec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 52px; }
.pg-sec-item { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px 28px; }
.pg-sec-item .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px; color: var(--ink); background: var(--hp-sage); }
.pg-sec-item:nth-child(3n+2) .ico { background: var(--hp-sky); } .pg-sec-item:nth-child(3n+3) .ico { background: var(--hp-peach); }
.pg-sec-item .ico svg { width: 21px; height: 21px; }
.pg-sec-item h3 { font-size: 1.08rem; font-weight: 600; margin-bottom: 8px; }
.pg-sec-item p { margin: 0; color: var(--mute); font-size: .94rem; line-height: 1.55; }
.pg-sec-item ul { margin: 12px 0 0; padding-left: 18px; color: var(--mute); font-size: .9rem; line-height: 1.55; }
.pg-sec-item li + li { margin-top: 4px; }
.hp-sec.tint .pg-sec-item, .hp-sec.tint .pg-flow > div { background: var(--paper); }

/* ── a short honest note ── */
.pg-honest { max-width: 820px; margin: 44px auto 0; border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; background: var(--paper); color: var(--mute); font-size: .94rem; text-align: left; }
.pg-honest b { color: var(--ink); font-weight: 600; }

/* ── keep exploring ── */
.pg-more { padding-top: 40px; }
.pg-more-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.pg-more-tile { text-decoration: none; display: block; }
.pg-more-tile h3 span { color: var(--accent); }

/* ── v1.54.0: more illustration parts (sample data only) ── */
.pg-wa.web .pg-wa-body { background: var(--paper); min-height: 260px; }
.pg-wa.web .pg-wa-body .mk-msg.me { background: var(--accent); color: #fff; }
.pg-wa.web .pg-wa-body .mk-msg.me .mk-src { color: rgba(255, 255, 255, .8); }
.pg-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); background: var(--hp-card); }
.pg-tabs span { text-align: center; padding: 10px 4px; font-size: 11.5px; color: var(--mute); }
.pg-tabs span.on { color: var(--ink); font-weight: 600; box-shadow: inset 0 2px 0 var(--accent); }
.pg-code { background: var(--ink); color: #f4e7d9; border-radius: 12px; padding: 11px 13px; font: 12.5px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; word-break: break-all; }
.pg-code + .pg-code { margin-top: 8px; }
.pg-mini { display: grid; gap: 8px; }
.pg-mini > div { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); font-size: 12.5px; }
.pg-mini > div b { font-weight: 600; font-size: 13px; }
.pg-mini > div span { color: var(--mute); }
.pg-mini-note { margin: 12px 0 0; font-size: 12px; color: var(--mute); }
.pg-field { border: 1px solid var(--line); border-radius: 10px; background: var(--paper); padding: 9px 12px; font-size: 12.5px; color: var(--mute); margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pg-field.tall { min-height: 58px; align-items: flex-start; }
.pg-ok { font-size: 11px; font-weight: 500; color: var(--hp-ok); background: var(--hp-sage); border-radius: 999px; padding: 2px 9px; }
.pg-check { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--ink); margin-bottom: 8px; }
.pg-check::before { content: ''; width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--line); flex: none; background: var(--paper); }
.pg-check.on::before { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; border-color: var(--ink); }
.pg-prods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pg-prods > div { border: 1px solid var(--line); border-radius: 12px; background: var(--paper); padding: 8px; font-size: 12px; }
.pg-prods i { display: block; height: 64px; border-radius: 8px; background: linear-gradient(135deg, var(--hp-sky), var(--hp-sage)); margin-bottom: 7px; }
.pg-prods i.b { background: linear-gradient(135deg, var(--hp-peach), var(--hp-rose)); }
.pg-prods b { display: block; font-weight: 600; font-size: 12.5px; }
.pg-prods small { color: var(--mute); }

/* ── v1.54.0: integrations ── */
.pg-int-grid .pg-sec-item { position: relative; }
.pg-int-tag { position: absolute; top: 26px; right: 24px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.pg-int-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pg-how { margin-top: 12px !important; font-size: .86rem !important; }
.pg-how b { color: var(--ink); font-weight: 600; }

/* ── v1.54.0: comparison pages ── */
.pg-vs-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pg-vs-pick ul.hp-ticks { padding-left: 0; margin-top: 14px; color: var(--ink); }
.pg-table.pg-vs tbody th { width: 22%; }
.pg-table.pg-vs td { width: 39%; line-height: 1.55; }
.pg-table.pg-vs thead th:nth-child(2) { background: var(--hp-sage); }

/* ── v1.55.0: about ── */
.pg-about { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; }
.pg-about-story p { color: var(--mute); font-size: 1.05rem; line-height: 1.7; margin: 18px 0 0; }
.pg-about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pg-fact { border: 1px solid var(--line); border-radius: 20px; background: var(--paper); padding: 22px 20px; }
.pg-fact b { display: block; font-size: 2rem; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; color: var(--ink); }
.pg-fact span { display: block; margin-top: 6px; font-size: .88rem; color: var(--mute); line-height: 1.45; }
.pg-fact:first-child b { color: var(--accent); }
.pg-fact:last-child:nth-child(odd) { grid-column: 1 / -1; }
.pg-people { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; }
.pg-person { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 20px 8px 8px; background: var(--paper); }
.pg-person .mk-av { width: 42px; height: 42px; font-size: .9rem; }
.pg-person b { display: block; font-weight: 600; font-size: .95rem; }
.pg-person small { display: block; color: var(--mute); font-size: .84rem; }
.pg-contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.pg-dl { margin: 6px 0 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; font-size: .94rem; }
.pg-dl dt { color: var(--mute); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; margin-top: 12px; }
.pg-dl dd { margin: 2px 0 0; color: var(--ink); line-height: 1.5; overflow-wrap: anywhere; }
.pg-dl a, .pg-links a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.pg-dl a:hover, .pg-links a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.hp.pg .pg-sec-item ul.pg-links { list-style: none; padding: 0; margin: 10px 0 0; font-size: .95rem; display: grid; gap: 8px; }

/* ── responsive ── */
@media (max-width: 1100px) {
  .hp.pg .pg-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-sec-grid, .pg-incl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-int-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-about { grid-template-columns: 1fr; gap: 40px; }
  .pg-contact { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hp.pg .pg-hero { padding: 108px 0 48px; }
  .hp.pg .pg-plans, .pg-flow, .pg-sec-grid, .pg-incl, .pg-more-grid, .pg-int-grid, .pg-vs-pick, .pg-contact { grid-template-columns: 1fr; }
  .pg-jump { top: calc(var(--hdr-h, 60px) + 8px); justify-content: flex-start; }
  .pg-table th, .pg-table td { padding: 12px 14px; }
  .pg-table-wrap { border-radius: 18px; }
  .pg-wa { max-width: none; }
}
