/*
Theme Name:   Craquo Child
Theme URI:    https://craquo.com
Description:  Child theme of Hello Elementor: white, mobile-first design tokens and base components for Craquo.
Author:       Craquo
Template:     hello-elementor
Version:      0.1.0
Requires at least: 6.4
Requires PHP: 8.3
License:      GPL-2.0-or-later
Text Domain:  craquo-child
*/

/* ==========================================================================
   1. Design tokens (spec 9.3). One accent colour only. Keep in sync with
      inc/elementor-tokens.php (Elementor Global Colors / Fonts).
   ========================================================================== */
:root {
  color-scheme: light;

  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --border: #e4e7ec;
  --text: #0b0f14;
  --text-2: #475467;
  --muted: #667085;
  --accent: #0b7a3b;          /* Pitch green */
  --accent-hover: #096631;
  --accent-soft: #e7f5ec;
  --on-accent: #ffffff;
  --danger: #b42318;
  --sponsored-bg: #f2f4f7;

  --font: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* 8px grid */
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s6: 48px;
  --section-gap: 48px;

  --radius-card: 12px;
  --radius-btn: 10px;
  --tap: 44px;
  --header-h: 56px;
  --tabbar-h: 56px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --measure: 680px;
  --sticky-top: var(--header-h); /* sticky filter bar sits under the sticky header */

  --fs-h1: 32px; --lh-h1: 38px;
  --fs-h2: 24px; --lh-h2: 30px;
  --fs-body: 16px; --lh-body: 24px;
  --fs-big: 40px;
}
@media (min-width: 768px) {
  :root { --section-gap: 72px; }
}
@media (min-width: 1024px) {
  :root {
    --section-gap: 96px;
    --fs-h1: 48px; --lh-h1: 56px;
    --fs-h2: 32px; --lh-h2: 40px;
    --fs-body: 17px; --lh-body: 28px;
    --fs-big: 64px;
  }
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
/* Sticky footer: the page is a full-height column, the main content takes the free space. */
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
body > main, body > .site-main, body > #content, body > .elementor { flex: 1 0 auto; width: 100%; }
body > footer, body > .cq-footer { flex: none; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 { margin: 0 0 var(--s1); color: var(--text); }
h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: 700; }
h3 { font-size: 18px; line-height: 24px; font-weight: 600; }
p { margin: 0 0 var(--s2); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.screen-reader-text, .cq-sr {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.cq-skip { position: absolute; left: 8px; top: -100px; z-index: 200; background: var(--bg); padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius-btn); }
.cq-skip:focus { top: 8px; }
body.cq-lock { overflow: hidden; }

/* Layout */
.cq-notfound { padding-block: var(--s6) var(--s4); }
.cq-container { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: var(--s2); }
.cq-section { padding-block: var(--section-gap) 0; }
.cq-prose { max-width: var(--measure); }
.cq-meta { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text-2); }
.cq-muted { color: var(--muted); }
.cq-bignum { font-size: var(--fs-big); line-height: 1.1; font-weight: 800; font-variant-numeric: tabular-nums; }
.cq-stack > * + * { margin-top: var(--s2); }
.cq-row { display: flex; flex-wrap: wrap; gap: var(--s1); align-items: center; }
.cq-grid { display: grid; gap: var(--s2); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .cq-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cq-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ==========================================================================
   3. Header (compact, 56px) and footer
   ========================================================================== */
.cq-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--border); }
.cq-header--static { position: static; }
.cq-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: var(--s2); }
.cq-logo { display: inline-flex; align-items: center; min-height: var(--tap); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: var(--text); text-decoration: none; }
.cq-logo:hover { color: var(--text); }
.cq-logo b { color: var(--accent); }
.cq-footer { margin-top: var(--section-gap); padding-block: var(--s4); border-top: 1px solid var(--border); background: var(--bg-soft); }
.cq-footer p { font-size: 14px; line-height: 20px; color: var(--text-2); }
.cq-footer__links { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); list-style: none; padding: 0; margin: 0 0 var(--s2); }
.cq-footer__links a { display: inline-flex; align-items: center; min-height: var(--tap); }

/* ==========================================================================
   4. Buttons: one primary CTA per screen
   ========================================================================== */
.cq-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s1);
  min-height: 48px; padding: 0 20px;
  border: 1px solid transparent; border-radius: var(--radius-btn);
  font: 600 16px/1.2 var(--font); text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color 150ms, border-color 150ms, color 150ms;
}
.cq-btn[hidden] { display: none; }
.cq-btn--primary { background: var(--accent); color: var(--on-accent); }
.cq-btn--primary:hover, .cq-btn--primary:focus, .cq-btn--primary:active { background: var(--accent-hover); color: var(--on-accent); }
.cq-btn--secondary { background: var(--bg); border-color: var(--border); color: var(--text); }
.cq-btn--secondary:hover, .cq-btn--secondary:focus, .cq-btn--secondary:active { background: var(--bg-soft); color: var(--text); }
.cq-btn--lg { min-height: 52px; }
.cq-btn--block { display: flex; width: 100%; }
.cq-btn--text { min-height: var(--tap); background: none; color: var(--accent); padding-inline: var(--s1); }
.cq-btn[disabled], .cq-btn.is-disabled { background: #eaecf0; border-color: #eaecf0; color: var(--muted); cursor: not-allowed; }
.cq-btn svg { flex: none; }

/* ==========================================================================
   5. Badges and chips
   ========================================================================== */
.cq-badge {
  display: inline-flex; align-items: center; gap: 4px; min-height: 24px; padding: 2px 8px;
  border-radius: 999px; font-size: 13px; line-height: 20px; font-weight: 600; white-space: nowrap;
  background: var(--bg-soft); color: var(--text-2);
}
.cq-badge--verified { background: var(--accent-soft); color: var(--accent); }
.cq-badge--founding { background: var(--bg); color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.cq-badge--device { background: var(--bg-soft); color: var(--text); }
.cq-badge--device::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.cq-badge--closed { background: var(--sponsored-bg); color: var(--text-2); }
.cq-badge--sponsored { background: var(--sponsored-bg); color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }

/* Static metadata chip (not interactive, so it is not a tap target). */
.cq-chip { display: inline-flex; align-items: center; padding: 0 10px; min-height: 28px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-soft); font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text-2); }
/* Interactive chip: 44px tall, 8px apart. */
.cq-chipbtn {
  display: inline-flex; align-items: center; gap: 6px; flex: none; min-height: var(--tap); padding: 0 14px;
  border: 1px solid var(--border); border-radius: 999px; background: var(--bg); color: var(--text);
  font: 500 14px/20px var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 150ms, border-color 150ms;
}
.cq-chipbtn:hover { background: var(--bg-soft); color: var(--text); }
.cq-chipbtn.is-active, .cq-chipbtn[aria-current="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); font-weight: 600; }
/* Horizontal scroll lives INSIDE this row only; the page itself never scrolls sideways. */
.cq-chips {
  display: flex; gap: var(--s1); min-width: 0; max-width: 100%;
  overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  padding-block: 2px; /* room for focus rings */
}
.cq-chips::-webkit-scrollbar { display: none; }

/* ==========================================================================
   6. Listing card: role, flag + country, level, date, Verified, one button
   ========================================================================== */
.cq-card {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: var(--s2);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-card);
  min-width: 0;
}
@media (hover: hover) and (min-width: 1024px) { .cq-card:hover { box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06); } }
.cq-card__title { margin: 0; font-size: 18px; line-height: 24px; font-weight: 600; }
.cq-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px var(--s1); margin: 0; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text-2); }
.cq-card__meta .cq-flag { margin-right: 2px; }
.cq-card__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s1); flex-wrap: wrap; margin-top: 2px; }
/* The whole card is clickable through the stretched link on the button. */
.cq-card__link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-card); }
.cq-card__link:focus-visible { outline: none; }
.cq-card:has(.cq-card__link:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.cq-flag { display: inline-block; width: 20px; height: 15px; vertical-align: -2px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(16, 24, 40, 0.12); flex: none; }
.cq-flag--emoji { width: auto; height: auto; box-shadow: none; font-size: 16px; line-height: 1; vertical-align: baseline; }

/* Public teaser: server-rendered placeholder, blurred for looks only (no real data in HTML). */
.cq-teaser__locked { position: relative; padding: 10px 12px; border-radius: var(--radius-btn); background: var(--bg-soft); }
.cq-blur { filter: blur(6px); user-select: none; pointer-events: none; color: var(--text-2); margin: 0; }
.cq-teaser__unlock { display: flex; margin-top: var(--s1); }

/* ==========================================================================
   7. Sponsored frame and scam notice
   ========================================================================== */
.cq-sponsored { margin-block: var(--s3); padding: var(--s1) var(--s1) var(--s2); background: var(--sponsored-bg); border-radius: var(--radius-card); }
.cq-sponsored__label { display: block; margin: 0 0 var(--s1) 4px; font-size: 12px; line-height: 16px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.cq-sponsored__slot { display: grid; place-items: center; width: 100%; max-width: 320px; aspect-ratio: 320 / 100; margin-inline: auto; background: var(--bg); border: 1px dashed var(--border); border-radius: 8px; color: var(--muted); font-size: 14px; }
@media (min-width: 1024px) { .cq-sponsored__slot { max-width: 970px; aspect-ratio: 970 / 90; } }
.cq-scam { display: flex; gap: var(--s2); padding: var(--s2); background: var(--bg-soft); border-radius: var(--radius-card); }
.cq-scam svg { flex: none; color: var(--danger); }
.cq-scam h3 { margin-bottom: 4px; }
.cq-scam ul { margin: 0; padding-left: 20px; }

/* ==========================================================================
   8. Forms
   ========================================================================== */
.cq-field { display: block; margin-bottom: var(--s2); }
.cq-label { display: block; margin-bottom: 6px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--text); }
.cq-input, .cq-select {
  display: block; width: 100%; min-height: 48px; padding: 0 14px;
  border: 1px solid var(--border); border-radius: var(--radius-btn); background: var(--bg-soft);
  color: var(--text); font: 400 16px/24px var(--font); /* 16px stops iOS zoom on focus */
}
.cq-select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475467' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; }
.cq-input--otp { letter-spacing: 0.4em; text-align: center; font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.cq-help { margin: 6px 0 0; font-size: 14px; line-height: 20px; color: var(--text-2); }
.cq-error { margin: 6px 0 0; font-size: 14px; line-height: 20px; color: var(--danger); font-weight: 500; }
fieldset.cq-fieldset { border: 0; margin: 0 0 var(--s3); padding: 0; min-width: 0; }
.cq-fieldset legend { padding: 0; margin-bottom: var(--s1); font-size: 14px; line-height: 20px; font-weight: 600; }
/* Selectable choice chip (radio/checkbox), 44px target, 8px gap. */
.cq-choices { display: flex; flex-wrap: wrap; gap: var(--s1); }
.cq-choice { position: relative; display: inline-flex; }
.cq-choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.cq-choice span {
  display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 14px;
  border: 1px solid var(--border); border-radius: 999px; background: var(--bg);
  font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text);
  transition: background-color 150ms, border-color 150ms;
}
.cq-choice input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); font-weight: 600; }
.cq-choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ==========================================================================
   9. Filters: sticky bar + bottom sheet (mobile) / sticky sidebar (>= 1024px)
   ========================================================================== */
.cq-filterbar { position: sticky; top: var(--sticky-top); z-index: 40; display: flex; flex-direction: column; gap: 4px; padding-block: var(--s1); background: var(--bg); border-bottom: 1px solid var(--border); }
.cq-filterbar__row { display: flex; align-items: center; gap: var(--s1); min-width: 0; }
.cq-filterbar__row > .cq-chips { flex: 1 1 auto; min-width: 0; }
.cq-filterbar__open { display: none; flex: none; min-height: var(--tap); padding-inline: 14px; }
.cq-filterbar--static { position: static; }

.cq-layout { display: grid; gap: var(--s3); grid-template-columns: minmax(0, 1fr); align-items: start; }
.cq-layout > * { min-width: 0; }

/* No-JS: the filter form is a normal block above the results. */
.cq-sheet__backdrop, .cq-sheet__grab, .cq-sheet__close { display: none; }
.cq-sheet__pane { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-card); display: flex; flex-direction: column; }
.cq-sheet__head { display: flex; align-items: center; justify-content: space-between; padding: var(--s2); }
.cq-sheet__title { margin: 0; font-size: 18px; line-height: 24px; font-weight: 700; }
.cq-sheet__pane:focus { outline: none; }
.cq-sheet__form { display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; }
.cq-sheet__body { padding: 0 var(--s2) var(--s1); min-height: 0; }
.cq-sheet__foot { display: flex; flex-direction: column; gap: var(--s1); padding: var(--s2); border-top: 1px solid var(--border); background: var(--bg); }

/* With JS (class set in <head>): the form is a bottom sheet by default (mobile first)... */
.js .cq-filterbar__open { display: inline-flex; }
.js .cq-sheet { position: fixed; inset: 0; z-index: 100; visibility: hidden; pointer-events: none; transition: visibility 0s linear 150ms; }
.js .cq-sheet.is-open { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.js .cq-sheet__backdrop { display: block; position: absolute; inset: 0; background: rgba(11, 15, 20, 0.4); opacity: 0; transition: opacity 150ms; }
.js .cq-sheet.is-open .cq-sheet__backdrop { opacity: 1; }
.js .cq-sheet__pane {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 85vh; max-height: 85dvh;
  border: 0; border-radius: 16px 16px 0 0; transform: translateY(100%); transition: transform 150ms ease-out;
}
.js .cq-sheet.is-open .cq-sheet__pane { transform: none; }
.js .cq-sheet__grab { display: block; width: 100%; height: var(--tap); padding: 0; border: 0; background: none; cursor: grab; touch-action: none; position: relative; flex: none; }
.js .cq-sheet__grab::before { content: ""; position: absolute; left: 50%; top: 14px; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: var(--border); }
.js .cq-sheet__head { padding-top: 0; flex: none; }
.js .cq-sheet__close { display: inline-flex; align-items: center; justify-content: center; width: var(--tap); height: var(--tap); margin-right: -10px; border: 0; background: none; border-radius: 50%; color: var(--text); cursor: pointer; }
.js .cq-sheet__body { overflow-y: auto; overscroll-behavior: contain; flex: 1 1 auto; }
.js .cq-sheet__foot { flex: none; padding-bottom: calc(var(--s2) + var(--safe-bottom)); }

/* ...and from 1024px it turns into a sticky 280px sidebar. */
@media (min-width: 1024px) {
  .cq-layout { grid-template-columns: 280px minmax(0, 1fr); gap: var(--s4); }
  .cq-sidebar { position: sticky; top: calc(var(--sticky-top) + var(--s2)); }
  .cq-filterbar { border-bottom: 0; }
  .js .cq-filterbar__open { display: none; }
  .js .cq-sheet { position: static; inset: auto; visibility: visible; pointer-events: auto; transition: none; }
  .js .cq-sheet__backdrop, .js .cq-sheet__grab, .js .cq-sheet__close { display: none; }
  .js .cq-sheet__pane { position: static; max-height: none; transform: none; transition: none; border: 1px solid var(--border); border-radius: var(--radius-card); }
  .js .cq-sheet__head { padding-top: var(--s2); }
  .js .cq-sheet__body { overflow: visible; }
  .js .cq-sheet__foot { padding-bottom: var(--s2); }
}

/* ==========================================================================
   10. Bottom tab bar (app) and sticky CTA bar (key public pages)
   ========================================================================== */
.cq-tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: calc(var(--tabbar-h) + var(--safe-bottom)); padding-bottom: var(--safe-bottom);
  background: var(--bg); border-top: 1px solid var(--border);
}
.cq-tabbar__item {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: var(--tabbar-h); min-width: var(--tap); padding: 6px 2px;
  color: var(--text-2); text-decoration: none; font-size: 12px; line-height: 16px; font-weight: 600;
}
.cq-tabbar__item[aria-current="page"] { color: var(--accent); }
.cq-tabbar__item:hover { color: var(--accent); }
.cq-tabbar--static { position: static; border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; }
.has-tabbar { padding-bottom: calc(var(--tabbar-h) + var(--safe-bottom) + var(--s2)); }
@media (min-width: 1024px) {
  /* Desktop: the tab bar moves up into the header row (right side) so the app keeps its navigation. */
  .cq-tabbar:not(.cq-tabbar--static) {
    top: 0; bottom: auto; left: auto; right: max(var(--s2), calc((100vw - 1120px) / 2 + var(--s2)));
    width: 440px; min-height: var(--header-h); padding-bottom: 0; z-index: 51; border-top: 0; background: transparent;
  }
  .has-tabbar { padding-bottom: 0; }
}

.cq-ctabar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  padding: var(--s1) var(--s2) calc(var(--s1) + var(--safe-bottom));
  background: var(--bg); border-top: 1px solid var(--border);
}
.cq-ctabar--static { position: static; border: 1px solid var(--border); border-radius: var(--radius-card); }
.has-ctabar { padding-bottom: calc(52px + var(--s2) + var(--safe-bottom) + var(--s2)); }
@media (min-width: 768px) { .cq-ctabar:not(.cq-ctabar--static) { display: none; } .has-ctabar { padding-bottom: 0; } }

/* ==========================================================================
   11. Styleguide page helpers (admin only)
   ========================================================================== */
.cq-sg > h2 { margin-top: var(--s6); padding-top: var(--s2); border-top: 1px solid var(--border); }
.cq-sg > h2:first-of-type { margin-top: var(--s3); border-top: 0; }
.cq-swatches { display: grid; gap: var(--s1); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .cq-swatches { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cq-swatch { border: 1px solid var(--border); border-radius: var(--radius-btn); overflow: hidden; background: var(--bg); font-size: 13px; line-height: 18px; }
.cq-swatch i { display: block; height: 48px; border-bottom: 1px solid var(--border); }
.cq-swatch span { display: block; padding: 8px; word-break: break-word; }
.cq-demo { padding: var(--s2); border: 1px dashed var(--border); border-radius: var(--radius-card); min-width: 0; }
.cq-code { padding: 2px 6px; background: var(--bg-soft); border-radius: 6px; font: 13px/20px ui-monospace, Menlo, monospace; }

/* ==========================================================================
   11b. Cookie consent banner (bottom, not blocking, equal-weight buttons)
   ========================================================================== */
.cq-consent { position: fixed; left: var(--s1); right: var(--s1); bottom: calc(var(--s1) + var(--safe-bottom)); z-index: 70; padding: var(--s2); background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: 0 4px 16px rgba(16, 24, 40, 0.14); max-width: 560px; margin-inline: auto; }
.cq-consent[hidden] { display: none; }
.cq-consent p { margin: 0 0 var(--s1); font-size: 15px; line-height: 22px; }
.cq-consent a { display: inline-flex; align-items: center; min-height: var(--tap); }
.cq-consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s1); }
.has-tabbar .cq-consent { bottom: calc(var(--tabbar-h) + var(--safe-bottom) + var(--s1)); }
.has-ctabar .cq-consent { bottom: calc(76px + var(--safe-bottom)); }
@media (min-width: 768px) { .has-ctabar .cq-consent { bottom: calc(var(--s1) + var(--safe-bottom)); } }
@media (min-width: 1024px) { .has-tabbar .cq-consent { bottom: calc(var(--s1) + var(--safe-bottom)); } }
.cq-faq { border-bottom: 1px solid var(--border); }
.cq-faq summary { display: flex; align-items: center; min-height: var(--tap); cursor: pointer; font-weight: 600; }
.cq-faq p { margin: 0 0 var(--s2); color: var(--text-2); }

/* ==========================================================================
   11c. Public pages built with Elementor (T20): Elementor's own spacing is neutralised, our tokens rule.
   ========================================================================== */
.cq-page .e-con.cq-sec { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; --gap: 0px; margin-top: var(--section-gap); }
.cq-page .e-con.cq-sec > .e-con-inner { max-width: 1120px; padding-inline: var(--s2); gap: var(--s2); }
.cq-page .e-con.cq-hero { margin-top: var(--s3); }
.cq-page .elementor-widget { margin-bottom: 0 !important; }
.cq-page .elementor-widget-container { margin: 0; }
.cq-page h1.elementor-heading-title { font-size: var(--fs-h1); line-height: var(--lh-h1); font-weight: 800; letter-spacing: -0.01em; max-width: 20ch; }
.cq-page h2.elementor-heading-title, .cq-page .cq-sec h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: 700; margin: 0 0 var(--s1); }
.cq-page .elementor-widget-text-editor { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--text); }
.cq-page .elementor-widget-text-editor p { margin: 0 0 var(--s2); }
.cq-eyebrow { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.cq-lead, .cq-lead p { font-size: 18px; line-height: 28px; color: var(--text-2); max-width: var(--measure); }
.cq-micro { margin: var(--s1) 0 0; font-size: 14px; line-height: 20px; color: var(--text-2); }
.cq-live { margin: var(--s2) 0 0; font-weight: 600; color: var(--text-2); font-variant-numeric: tabular-nums; }
.cq-page .elementor-heading-title, .cq-page .elementor-widget-text-editor, .cq-page .elementor-widget-text-editor p { font-family: var(--font); color: var(--text); }
.cq-page .cq-eyebrow, .cq-page .cq-eyebrow p { color: var(--accent); }
.cq-page .cq-lead, .cq-page .cq-lead p { color: var(--text-2); }
.cq-join { text-align: center; }
.cq-ctabar .cq-join { display: flex; width: 100%; }
.cq-page .cq-ebtn a, .cq-page .cq-ebtn .elementor-button { background: var(--accent); color: var(--on-accent); border-radius: var(--radius-btn); min-height: 48px; padding: 12px 24px; font-weight: 600; }
.cq-steps { margin: 0; padding-left: 0; list-style: none; counter-reset: step; display: grid; gap: var(--s2); }
.cq-steps li { counter-increment: step; position: relative; padding: var(--s2) var(--s2) var(--s2) 64px; border: 1px solid var(--border); border-radius: var(--radius-card); }
.cq-steps li::before { content: counter(step); position: absolute; left: var(--s2); top: var(--s2); width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 800; }
@media (min-width: 768px) { .cq-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cq-trust { text-align: center; }
.cq-trust .elementor-widget-text-editor { padding: var(--s2); background: var(--accent-soft); border-radius: var(--radius-card); color: var(--text); }
.cq-page .cq-sec--soft { background: var(--bg-soft); padding-block: var(--s4) !important; box-shadow: 0 0 0 100vmax var(--bg-soft); clip-path: inset(0 -100vmax); }
.cq-chiplist { list-style: none; margin: 0 0 var(--s1); padding: 0; display: flex; flex-wrap: wrap; gap: var(--s1); }
.cq-chiplist .cq-chip { min-height: 36px; font-size: 15px; padding-inline: 14px; }
.cq-pricebox .cq-bignum { margin: 0 0 var(--s1); color: var(--accent); }
.cq-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s1); }
.cq-ticks li { position: relative; padding-left: 28px; }
.cq-ticks li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 8px; height: 14px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cq-plan h2 { margin-bottom: 4px; color: var(--accent); }
.cq-plan--main { border-color: var(--accent); }
.cq-formsec .cq-pageform { max-width: 560px; }
.cq-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cq-ok { margin: var(--s1) 0; padding: var(--s1) var(--s2); background: var(--accent-soft); border-radius: var(--radius-btn); color: var(--text); font-weight: 600; }
.cq-ok[hidden], .cq-error[hidden] { display: none; }
.cq-draftbanner { width: calc(100% - 2 * var(--s2)); max-width: 1088px; margin: var(--s2) auto var(--s3); padding: var(--s2); border: 2px solid var(--danger); border-radius: var(--radius-card); background: #fff5f4; color: var(--danger); }
.cq-prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.cq-prose th, .cq-prose td { padding: 8px 10px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.cq-prose h2 { margin-top: var(--s4); }
.cq-ctabar--home { display: block; }
@media (min-width: 768px) { .cq-ctabar--home { display: none; } }
.cq-page { padding-bottom: calc(52px + var(--s4) + var(--safe-bottom)); }
@media (min-width: 768px) { .cq-page { padding-bottom: 0; } }
.cq-previews { margin-bottom: var(--s2); }
.cq-grid--3 { }
@media (min-width: 768px) { .cq-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ==========================================================================
   12. Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Guides */
.cq-callout { margin: var(--s2) 0; padding: var(--s2); border-left: 4px solid var(--accent); border-radius: var(--radius-card); background: var(--accent-soft); color: var(--text); }
.cq-flags { list-style: none; margin: 0 0 var(--s2); padding: 0; display: grid; gap: var(--s1); }
.cq-flags li { position: relative; padding-left: 28px; }
.cq-flags li::before { content: "!"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--danger); color: #fff; font-size: 13px; font-weight: 700; line-height: 20px; text-align: center; }
.cq-guide .cq-prose { max-width: var(--measure); }
.cq-guide .cq-prose .cq-lead { margin-bottom: var(--s2); }
.cq-guide .cq-prose ul { margin-bottom: var(--s2); }
.cq-guidelist { margin-bottom: var(--s2); }
.cq-guidecard h3 a { color: inherit; text-decoration: none; }
.cq-guidecard h3 a:hover { text-decoration: underline; }
