/* WhatsApp API page. Class prefix: wa- */
.wa-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 44px 0; }
.wa-hero h1 { font-family: Georgia, "Times New Roman", serif; font-size: 44px; line-height: 1.15; margin: 8px 0 14px; }
.wa-hero h1 em { color: var(--gold); font-style: normal; }
.wa-kick { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); }
.wa-mute { color: var(--muted); }
.wa-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.wa-btn { display: inline-block; border: 0; border-radius: 9px; padding: 12px 20px; font: 700 15px system-ui, sans-serif; text-decoration: none; text-align: center; cursor: pointer; background: var(--gold); color: #1f1d1a; }
.wa-btn[disabled] { opacity: .55; cursor: not-allowed; }
.wa-btn.wa-green { background: #128c5e; color: #fff; }
.wa-btn.wa-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.wa-btn.wa-full { display: block; width: 100%; }
.wa-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: 0 10px 26px rgba(0,0,0,.08); }
.wa-card h2 { font-size: 24px; margin: 0 0 4px; }
.wa-label { display: block; font-size: 14px; font-weight: 600; margin: 12px 0 5px; }
.wa-input { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 9px; background: transparent; color: var(--text); font-size: 16px; }
.wa-tick { display: flex; gap: 9px; align-items: flex-start; margin: 14px 0; font-size: 14px; color: var(--muted); }
.wa-tick input { margin-top: 4px; }
.wa-err { color: #b42318; font-size: 14px; font-weight: 600; margin: 8px 0 0; min-height: 1em; }
.wa-ts { min-height: 66px; margin-bottom: 10px; }
.wa-warn { background: var(--gold-soft); color: var(--gold-text); border-radius: 8px; padding: 10px 12px; font-size: 14px; }
.wa-keyrow { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; font-size: 14px; margin: 10px 0; }
.wa-keyrow code { flex: 1; min-width: 180px; overflow-wrap: anywhere; }
.wa-qr { display: block; width: 240px; height: 240px; margin: 10px auto; background: #fff; border-radius: 8px; padding: 8px; }
.wa-center { text-align: center; }
.wa-ok { color: #15803d; font-size: 18px; font-weight: 700; }
.wa-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 44px; }
.wa-step { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: var(--soft); }
.wa-step b { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: #1f1d1a; margin-bottom: 10px; }
.wa-step h3 { margin: 0 0 4px; font-size: 18px; }
.wa-step p { margin: 0; font-size: 14px; color: var(--muted); }
.wa-dark { background: #1f1d1a; color: #efe7da; }
.wa-dark .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; padding-top: 44px; padding-bottom: 44px; }
.wa-dark h2 { font-family: Georgia, "Times New Roman", serif; font-size: 32px; margin: 8px 0 10px; color: #efe7da; }
.wa-dark p { color: #b3ada4; }
.wa-dark .wa-kick { color: #fbbf24; }
.wa-dark a { color: #fbbf24; }
.wa-code { background: #141311; color: #efe7da; padding: 16px; border-radius: 12px; overflow-x: auto; font: 13.5px/1.6 ui-monospace, Consolas, monospace; margin: 0; }
.wa-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 44px 0; }
.wa-fact { border: 1px solid var(--line); border-radius: 10px; padding: 14px; font-size: 14px; background: var(--soft); }
.wa-fact b { display: block; margin-bottom: 2px; }
.wa-strip { background: var(--feat-bg); border: 1px solid var(--feat-line); border-radius: 14px; padding: 22px 26px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.wa-strip h2 { font-size: 24px; margin: 0; }
.wa-strip p { margin: 0; }
.wa-ways { padding-bottom: 44px; }
.wa-ways h2 { font-family: Georgia, "Times New Roman", serif; font-size: 28px; margin: 0 0 4px; }
.wa-ways > p { margin: 0 0 16px; }
.wa-ways-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wa-way { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: var(--soft); }
.wa-way h3 { margin: 6px 0 4px; font-size: 19px; }
.wa-way p { margin: 0 0 12px; font-size: 15px; }
.wa-tag { display: inline-block; background: var(--gold-soft); color: var(--gold-text); border-radius: 99px; padding: 2px 10px; font-size: 12px; font-weight: 700; }
.wa-row-tight { margin-top: 0; align-items: center; }
.wa-wp { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--feat-bg); border: 1px solid var(--feat-line); border-radius: 12px; padding: 16px 18px; margin-top: 12px; }
.wa-wp-l { display: flex; gap: 14px; align-items: center; flex: 1; min-width: 240px; }
.wa-wp-ico { width: 46px; height: 46px; border-radius: 11px; background: #128c5e; color: #fff; display: grid; place-items: center; flex: none; }
.wa-wp b { display: block; }
.wa-wp .wa-row { margin-top: 0; align-items: center; }
.wa-honest { border-left: 4px solid var(--gold); background: var(--soft); padding: 12px 14px; font-size: 14px; color: var(--muted); border-radius: 0 8px 8px 0; margin: 32px 0; }
.wa-faq { padding-bottom: 44px; }
.wa-faq h2 { font-family: Georgia, "Times New Roman", serif; font-size: 28px; }
.wa-faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.wa-faq summary { font-weight: 600; cursor: pointer; }
.wa-faq p { margin: 8px 0 0; color: var(--muted); }
.wa-terms { max-width: 760px; margin: 0 auto; padding: 32px 0 56px; }
.wa-terms h1 { font-family: Georgia, "Times New Roman", serif; font-size: 34px; }
.wa-terms h2 { font-size: 20px; margin: 28px 0 6px; }
.wa-tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.wa-tab { flex: 1; border: 0; border-radius: 8px; padding: 9px; font: 600 15px system-ui, sans-serif; background: var(--soft); color: var(--muted); cursor: pointer; }
.wa-tab.wa-on { background: var(--gold-soft); color: var(--gold-text); }
.wa-google { display: flex; justify-content: center; margin-top: 12px; min-height: 44px; }
.wa-or { text-align: center; color: var(--muted); font-size: 14px; margin: 10px 0 0; }
.wa-small { font-size: 14px; }
.wa-labrow { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.wa-link { border: 0; background: transparent; padding: 6px 0; color: var(--gold-text); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: underline; }
.wa-pw { position: relative; }
.wa-pw .wa-input { padding-right: 52px; }
.wa-eye { position: absolute; top: 2px; right: 2px; bottom: 2px; width: 44px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.wa-eye[aria-pressed="true"] { color: var(--text); }
.wa-sent-note { background: var(--soft); border: 1px solid var(--line); border-radius: 9px; padding: 12px; font-size: 14px; font-weight: 600; margin: 10px 0; }
.wa-shell { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 28px; align-items: start; }
.wa-nav { position: sticky; top: 16px; display: grid; gap: 4px; }
.wa-nav-b { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; border-radius: 9px; padding: 10px 12px; background: transparent; color: var(--muted); font: 600 15px system-ui, sans-serif; cursor: pointer; text-align: left; }
.wa-nav-b.wa-on { background: var(--gold-soft); color: var(--gold-text); }
.wa-pages { min-width: 0; }
.wa-pages #wa-plan { margin: 0; }
.wa-pages > .wa-card { margin: 12px 0; }
.wa-h { font-size: 20px; margin: 14px 0 6px; }
.wa-next { display: grid; gap: 2px; background: var(--soft); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 10px; padding: 12px 14px; margin-top: 14px; }
.wa-gap { margin-top: 14px; }
.wa-code { background: #1f1d1a; color: #e8e4dc; border-radius: 9px; padding: 12px; font-size: 13px; overflow-x: auto; margin: 8px 0 0; }
.wa-set { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 14px; align-items: start; margin-top: 8px; }
.wa-set-main, .wa-set-side { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.wa-set-side { position: sticky; top: 16px; }
.wa-set .wa-card { padding: 16px; box-shadow: none; }
.wa-swrow { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.wa-swrow b, .wa-swrow span { display: block; }
.wa-sw { flex: none; position: relative; width: 46px; height: 26px; border: 0; border-radius: 20px; background: var(--line); cursor: pointer; padding: 0; }
.wa-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.3); transition: left .15s; }
.wa-sw[aria-checked="true"] { background: #15803d; }
.wa-sw[aria-checked="true"]::after { left: 23px; }
.wa-gap8 { margin-top: 8px; }
.wa-warnbad { background: #fdecea; color: #b42318; border-radius: 9px; padding: 10px 12px; font-size: 14px; font-weight: 600; margin: 10px 0 0; }
.wa-stopline { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); margin-top: 8px; font-size: 14px; }
.wa-stopline .wa-btn { padding: 7px 11px; font-size: 13px; }
.wa-chat { background: var(--soft); border-radius: 12px; padding: 12px; display: grid; gap: 8px; font-size: 14px; margin-top: 8px; }
.wa-msg { background: var(--card); border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; max-width: 90%; overflow-wrap: anywhere; justify-self: start; }
.wa-msg-me { background: var(--gold-soft); justify-self: end; }
.wa-msg-foot { display: block; color: var(--muted); font-size: 13px; margin-top: 6px; }
.wa-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.wa-plancard { display: flex; flex-direction: column; gap: 4px; }
.wa-plancard.wa-rec { border: 2px solid var(--gold); }
.wa-plancard b { font-size: 16px; }
.wa-price { font-size: 25px; font-weight: 800; }
.wa-price small { font-size: 13px; font-weight: 500; color: var(--muted); }
.wa-tag { align-self: flex-start; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 20px; background: var(--gold-soft); color: var(--gold-text); }
.wa-plancard .wa-btn { margin-top: 10px; text-align: center; }
.wa-acct { padding-top: 32px; padding-bottom: 56px; }
.wa-acct h1 { font-family: Georgia, "Times New Roman", serif; font-size: 30px; margin: 0 0 2px; }
.wa-head { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 16px; }
.wa-narrow { max-width: 480px; margin: 0 auto; }
.wa-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 14px 0; }
.wa-kpi { border: 1px solid var(--line); border-radius: 10px; padding: 14px; font-size: 14px; color: var(--muted); background: var(--card); }
.wa-kpi b { display: block; font-size: 22px; color: var(--text); overflow-wrap: anywhere; }
.wa-meter { height: 8px; border-radius: 6px; background: var(--line); overflow: hidden; margin-top: 8px; }
.wa-meter i { display: block; height: 100%; width: 0; background: var(--gold); }
.wa-block { margin-top: 22px; }
.wa-block h2 { font-size: 20px; margin: 0 0 6px; }
.wa-tw { overflow-x: auto; }
.wa-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.wa-table th, .wa-table td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.wa-bad { color: #b42318; font-weight: 700; }
.wa-sent { color: #15803d; font-weight: 700; }
[hidden] { display: none !important; }
@media (max-width: 760px) {
  .wa-hero, .wa-steps, .wa-dark .wrap, .wa-ways-grid { grid-template-columns: minmax(0, 1fr); }
  .wa-hero { padding: 28px 0; gap: 24px; }
  .wa-hero h1 { font-size: 33px; }
  .wa-facts { grid-template-columns: 1fr 1fr; }
  .wa-kpis { grid-template-columns: 1fr 1fr; }
  .wa-kpi:first-child { grid-column: 1 / -1; }
  .wa-acct { padding-bottom: 88px; }
  .wa-shell { display: block; }
  .wa-plans { grid-template-columns: minmax(0, 1fr); }
  .wa-set { grid-template-columns: minmax(0, 1fr); }
  .wa-set-side { position: static; }
  .wa-nav { position: fixed; top: auto; left: 0; right: 0; bottom: 0; z-index: 30; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; background: var(--card); border-top: 1px solid var(--line); padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); }
  .wa-nav-b { flex-direction: column; gap: 2px; padding: 7px 1px; font-size: 11px; line-height: 1.15; text-align: center; }
  .wa-strip { padding: 16px; }
  .wa-strip .wa-btn { width: 100%; text-align: center; }
  .wa-table thead { display: none; }
  .wa-table, .wa-table tbody, .wa-table tr, .wa-table td { display: block; width: 100%; }
  .wa-table tr { border: 1px solid var(--line); border-radius: 9px; padding: 8px 12px; margin-top: 8px; }
  .wa-table td { border: 0; padding: 1px 0; white-space: normal; }
}
@media (max-width: 420px) {
  .wa-card { padding: 12px; }                                    /* the Cloudflare check is a fixed 300px */
}
@media (prefers-color-scheme: dark) {
  .wa-err { color: #ff8a7a; }
  .wa-warnbad { background: #35201d; color: #ff8a7a; }
  .wa-ok, .wa-sent { color: #4ade80; }
  .wa-bad { color: #ff8a7a; }
}
.wa-area { min-height: 96px; resize: vertical; font-family: inherit; }
.wa-drop { display: block; margin-top: 12px; border: 2px dashed var(--line); border-radius: 12px; padding: 14px; text-align: center; color: var(--muted); background: var(--soft); cursor: pointer; }
.wa-drop b { display: block; color: var(--text); font-size: 14px; }
.wa-file { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; font-size: 14px; overflow-wrap: anywhere; }
.wa-msg-file { display: block; border: 1px solid var(--line); background: var(--card); border-radius: 7px; padding: 6px 8px; margin-bottom: 6px; font-size: 13px; overflow-wrap: anywhere; }
.wa-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.wa-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.wa-mk-h { display: block; margin: 14px 0 6px; font-size: 14px; }
.wa-mk-row { display: grid; grid-template-columns: minmax(0, 1fr) 62px 92px 40px; gap: 6px; margin-bottom: 6px; }
.wa-mk-row .wa-btn { padding: 6px 0; }
.wa-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.wa-chip { border: 1px solid var(--line); border-radius: 18px; padding: 6px 11px; background: transparent; color: var(--text); font: 600 13px system-ui, sans-serif; cursor: pointer; }
.wa-chip.wa-on { background: var(--gold-soft); border-color: var(--gold); color: var(--gold-text); }
.wa-mk-frame { display: block; width: 100%; max-width: 340px; height: 480px; border: 1px solid var(--line); border-radius: 8px; background: #fff; margin: 8px auto 0; }
#wa-mk-shopbox summary { cursor: pointer; }
@media (max-width: 760px) { .wa-3 { grid-template-columns: minmax(0, 1fr); } .wa-2 { grid-template-columns: minmax(0, 1fr); } }
/* Plan-limit popup (design B): coloured band on top, then meter, plans and buttons */
.wa-meter i.wa-full { background: #e11d48; }
.wa-next.wa-next-bad { border-color: #f3b4ab; border-left-color: #e11d48; background: #fdecea; }
.wa-next.wa-next-bad b { color: #b42318; }
@media (prefers-color-scheme: dark) { .wa-next.wa-next-bad { background: #35201d; border-color: #5a2a24; border-left-color: #e11d48; } .wa-next.wa-next-bad b { color: #ff8a7a; } }
.wa-lp-shade { position: fixed; inset: 0; z-index: 1000; background: rgba(20, 18, 16, .55); display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.wa-lp { width: 440px; max-width: 100%; border-radius: 18px; background: var(--card); color: var(--text); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); overflow: hidden; position: relative; animation: wa-lp-up .3s ease; }
@keyframes wa-lp-up { from { transform: translateY(14px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.wa-lp-hd { padding: 22px 26px 18px; color: #fff; }
.wa-lp-warn .wa-lp-hd { background: linear-gradient(135deg, #f59e0b, #d97706); }
.wa-lp-stop .wa-lp-hd { background: linear-gradient(135deg, #e11d48, #b42318); }
.wa-lp-trial .wa-lp-hd { background: linear-gradient(135deg, #128c5e, #0b6b47); }
.wa-lp-big { font-size: 40px; font-weight: 800; line-height: 1; margin-bottom: 6px; }
.wa-lp-hd h2 { margin: 0; color: #fff; font-size: 21px; line-height: 1.25; }
.wa-lp-x { position: absolute; right: 14px; top: 12px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .22); color: #fff; font-size: 15px; cursor: pointer; }
.wa-lp-bd { padding: 18px 26px 22px; }
.wa-lp-bd > p { margin: 0 0 14px; color: var(--muted); }
.wa-lp-meter { height: 10px; border-radius: 99px; background: var(--line); overflow: hidden; margin: 6px 0 4px; }
.wa-lp-meter i { display: block; height: 100%; border-radius: 99px; }
.wa-lp-warn .wa-lp-meter i { background: #f59e0b; } .wa-lp-stop .wa-lp-meter i { background: #e11d48; } .wa-lp-trial .wa-lp-meter i { background: #128c5e; }
.wa-lp-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.wa-lp-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.wa-lp-plans div { border: 1px solid var(--line); border-radius: 10px; padding: 8px; text-align: center; font-size: 13px; color: var(--muted); }
.wa-lp-plans b { display: block; font-size: 16px; color: var(--text); }
.wa-lp-plans .wa-lp-hot { border-color: var(--gold); background: var(--gold-soft); }
.wa-lp-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.wa-lp-b { flex: 1; min-width: 140px; border: 0; border-radius: 11px; padding: 12px 14px; font-family: inherit; font-weight: 700; font-size: 15px; line-height: 1.2; cursor: pointer; text-align: center; text-decoration: none; }
.wa-lp-wa { background: #128c5e; color: #fff; } .wa-lp-gold { background: #f59e0b; color: #1f1d1a; } .wa-lp-ghost { background: var(--soft); color: var(--text); border: 1px solid var(--line); }
.wa-lp-small { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }
@media (max-width: 480px) { .wa-lp-plans { grid-template-columns: 1fr; } .wa-lp-big { font-size: 34px; } }
