/* CounterQuest marketing site
   1. Tokens + base   2. Shared header/footer (also used by guides/)   3. Home sections (calm version)
   4. Product mockups 5. Long-form .legal pages   6. Guides block (keep at the end). */

:root {
  --paper: #f4efe6;
  --paper-2: #ebe3d4;
  --paper-3: #e2d8c5;
  --white: #ffffff;
  --ink: #1d1a16;
  --ink-2: #4a443b;
  --ink-3: #6b6458;
  --line: #d9cfbd;
  --line-soft: #e7dfd1;
  --teal: #1f7a6d;
  --teal-ink: #165c52;
  --orange: #e4572e;
  --orange-ink: #b23f19;
  --orange-tint: #fbe2d8;
  --gold: #f2b134;
  --brand: #1f7a6d;            /* the merchant's color inside mockups; the customizer changes it */
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-mock: 0 1px 2px rgba(29, 26, 22, .08), 0 12px 32px -8px rgba(29, 26, 22, .22), 0 30px 60px -30px rgba(29, 26, 22, .3);
  --font-display: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --font-logo: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
  /* aliases kept for older markup */
  --text: var(--ink);
  --muted: var(--ink-2);
  --bg-soft: var(--paper-2);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 700; color: var(--ink); }
p { margin: 0 0 1em; }
a { color: var(--teal-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 720px) { .container { padding: 0 32px; } }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 6px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--paper); }
.fine { font-size: 14px; color: var(--ink-2); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 16px/1 var(--font-body);
  padding: 15px 22px; border-radius: 8px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--teal-ink); color: #fff; }
.btn-primary .arr { color: var(--gold); transition: transform .15s ease; }
.btn-primary:hover .arr { transform: translateX(3px); color: #fff; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-sm { padding: 10px 14px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* ---------- Header (shared with guides) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 239, 230, .92);
  -webkit-backdrop-filter: saturate(1.3) blur(10px);
  backdrop-filter: saturate(1.3) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { height: 30px; width: auto; flex: none; display: block; } /* mark.svg is 112x84: size by height */
.brand-name { font: 800 21px/1 var(--font-logo); letter-spacing: -.03em; }
.brand-name span { color: var(--orange); }
.on-dark .brand-name, .story .brand-name { color: var(--paper); }
.on-dark .brand-name span, .story .brand-name span { color: var(--gold); }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: transparent; border: 1px solid var(--line);
  border-radius: 8px; cursor: pointer;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  position: relative; transition: transform .2s ease, background-color .2s ease;
}
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  flex-direction: column; gap: 2px; padding: 10px 20px 20px;
  background: var(--paper); border-bottom: 1px solid var(--line);
  box-shadow: 0 20px 30px -20px rgba(29,26,22,.25);
}
.site-nav.open { display: flex; }
@media (min-width: 720px) { .site-nav { padding-left: 32px; padding-right: 32px; } }
.site-nav a { color: var(--ink); text-decoration: none; padding: 11px 2px; font-weight: 500; font-size: 16px; border-bottom: 1px solid var(--line-soft); }
.site-nav a:hover { color: var(--teal-ink); }
.site-nav .btn { margin-top: 12px; border-bottom: 0; color: var(--paper); padding: 14px 18px; }
.site-nav .btn:hover { color: #fff; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex; position: static; flex-direction: row; align-items: center; gap: 4px;
    padding: 0; background: none; border: 0; box-shadow: none;
  }
  .site-nav a { padding: 8px 12px; font-size: 15px; border: 0; border-radius: 6px; }
  .site-nav a:not(.btn):hover { background: var(--paper-2); color: var(--ink); }
  .site-nav .btn { margin: 0 0 0 10px; padding: 11px 16px; }
}

/* ---------- Footer (shared with guides) ---------- */
.site-footer { background: var(--paper-2); border-top: 1px solid var(--line); color: var(--ink-2); padding: 44px 0 36px; font-size: 15px; }
.footer-inner { display: flex; flex-direction: column; gap: 12px; }
.footer-inner p { margin: 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-nav a { color: var(--ink); text-decoration: none; }
.footer-nav a:hover { color: var(--teal-ink); text-decoration: underline; }
.site-footer .copy { font-size: 13px; color: var(--ink-3); }
.brand-footer .brand-name { font-size: 19px; }

/* Home footer grid */
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
.footer-grid h2 { font: 600 12px/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--ink); text-decoration: none; }
.footer-grid a:hover { color: var(--teal-ink); text-decoration: underline; }
.footer-about p { max-width: 34ch; margin-top: 12px; }
.footer-base { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; color: var(--ink-3); }
.footer-base p { margin: 0; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer-grid h2 { font: 600 13px/1.2 var(--font-body); letter-spacing: .02em; text-transform: none; color: var(--ink-2); }

/* =================== Home sections =================== */
.eyebrow, .label {
  display: block; font: 600 14px/1.3 var(--font-body); letter-spacing: .01em; color: var(--teal-ink);
  margin: 0 0 12px;
}
.section { padding: 72px 0; }
@media (min-width: 1024px) { .section { padding: 112px 0; } }
.section + .section { border-top: 1px solid var(--line-soft); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; margin: 0 0 16px; }
.h2 em { font-style: normal; color: var(--teal); }
.lede { font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 56ch; margin: 0; }

/* Two-column copy + one mockup */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; }
  .split.flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .split.flip > :first-child { order: 2; }
}
.split > * { min-width: 0; }

.bullets { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.bullets li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: 16.5px; line-height: 1.5; }
.bullets li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.6L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.bullets b { color: var(--ink); font-weight: 600; }
.mock-cap { font-size: 14px; color: var(--ink-3); margin: 14px 0 0; text-align: center; }
.text-link { font-weight: 600; }
.more-link { margin: 20px 0 0; }

/* ---------- Hero ---------- */
.hero { padding: 48px 0 72px; }
@media (min-width: 1024px) { .hero { padding: 88px 0 112px; } }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 72px; } }
.hero-grid > * { min-width: 0; }
.hero h1 { font-size: clamp(36px, 5.2vw, 62px); font-weight: 750; letter-spacing: -.035em; line-height: 1.04; margin: 0 0 20px; max-width: 13em; }
.mk { position: relative; white-space: nowrap; z-index: 0; }
.mk::after { content: ""; position: absolute; left: -.04em; right: -.04em; bottom: .06em; height: .2em; z-index: -1; border-radius: 2px; }
.mk-c::after { background: color-mix(in srgb, var(--teal) 38%, transparent); }
.mk-o::after { background: color-mix(in srgb, var(--orange) 36%, transparent); }
.hero-sub { font-size: 19px; line-height: 1.55; color: var(--ink-2); margin: 0 0 28px; max-width: 44ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 20px 0 0; font-size: 15px; color: var(--ink-2); }
.hero-note s { color: var(--ink-3); }
.hero-note b { color: var(--ink); }
.hero-visual { display: flex; justify-content: center; }

/* Sample box: the POS Rewards card */
.pos-card {
  width: 100%; max-width: 400px; background: #fff; border: 1px solid #e3ddd2; border-radius: 18px;
  box-shadow: var(--shadow-mock); padding: 20px; font-size: 14px; line-height: 1.4; color: #202223;
}
.pc-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid #efebe4; font-size: 13px; color: #616161; }
.pc-app { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brand); }
.pc-app i { width: 22px; height: 22px; border-radius: 6px; background: var(--brand); position: relative; flex: none; }
.pc-app i::after { content: ""; position: absolute; inset: 5px; background: #fff; clip-path: polygon(50% 0, 62% 36%, 100% 38%, 70% 60%, 80% 100%, 50% 77%, 20% 100%, 30% 60%, 0 38%, 38% 36%); }
.pc-cust { display: flex; align-items: center; gap: 12px; margin: 16px 0 14px; }
.av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #ebe3d4; color: #3b352d; font-weight: 700; font-size: 14px; flex: none; }
.pc-name { font-weight: 700; font-size: 16px; }
.pill { display: inline-block; font-size: 12px; font-weight: 600; background: color-mix(in srgb, var(--gold) 26%, #fff); color: #5e4200; border-radius: 999px; padding: 3px 9px; margin-top: 3px; white-space: nowrap; }
.pc-bal { font: 700 40px/1 var(--font-display); letter-spacing: -.035em; margin: 0 0 12px; color: #1a1a1a; }
.pc-bal .pn { font: 600 16px var(--font-body); color: #555; letter-spacing: 0; margin-left: 4px; }
.meter { height: 8px; border-radius: 4px; background: #eee9e0; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--brand); border-radius: 4px; transition: width .6s ease; }
.pc-meta { display: flex; justify-content: space-between; font-size: 12.5px; color: #616161; margin-top: 6px; }
.pc-reward { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding: 14px; border-radius: 12px; background: #f6f3ee; }
.pc-reward b { display: block; font-size: 17px; }
.pc-reward small { color: #616161; font-size: 12.5px; }
.pc-apply {
  border: 0; border-radius: 9px; background: var(--brand); color: #fff; font-weight: 700; font-size: 14px;
  padding: 11px 14px; cursor: pointer; white-space: nowrap; transition: background-color .25s ease, color .25s ease;
}
.pc-apply:hover { filter: brightness(1.08); }
.pc-apply[aria-pressed="true"] { background: color-mix(in srgb, var(--brand) 14%, #fff); color: var(--brand); }
.pc-status { min-height: 18px; margin: 8px 0 0; font-size: 12.5px; color: var(--brand); font-weight: 600; }
.pc-quick { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 10px; font-size: 12.5px; color: #616161; }
.chip { border: 1px solid #ddd6ca; border-radius: 999px; padding: 4px 10px; color: #333; background: #fff; white-space: nowrap; }

/* ---------- Why ---------- */
.why { padding: 0 0 72px; }
@media (min-width: 1024px) { .why { padding-bottom: 104px; } }
.why-grid { display: grid; gap: 28px; }
@media (min-width: 860px) { .why-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.why-item { background: var(--white); border: 1px solid var(--line-soft); border-radius: 14px; padding: 24px; }
.why-item h3 { font-size: 21px; letter-spacing: -.02em; margin: 0 0 8px; }
.why-item p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* ---------- Make it yours ---------- */
.pn-switch { margin: 24px 0 0; padding: 0; border: 0; }
.pn-switch legend { font-weight: 600; font-size: 15px; margin-bottom: 10px; padding: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; display: inline-flex; }
.seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg span { display: inline-block; border: 1px solid #b9ae9b; border-radius: 999px; padding: 8px 16px; font-size: 15px; font-weight: 600; background: var(--white); cursor: pointer; }
.seg input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.seg input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.more-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 32px; }
@media (min-width: 640px) { .more-list { grid-template-columns: 1fr 1fr; } }
.more-list li { padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 16px; color: var(--ink-2); }
.more-title { font-size: 20px; letter-spacing: -.02em; margin: 0 0 6px; }
.yours-preview { display: grid; gap: 14px; margin-top: 28px; max-width: 420px; }

/* ---------- Story ---------- */
.story-card { background: var(--paper-2); border-radius: 20px; padding: 32px 22px; display: grid; gap: 24px; }
@media (min-width: 720px) { .story-card { padding: 56px; } }
@media (min-width: 1024px) { .story-card { grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; } }
.story-card p { color: var(--ink-2); font-size: 17.5px; max-width: 58ch; }
.story-card p:last-child { margin-bottom: 0; }
.fits { background: var(--white); border-radius: 14px; padding: 24px; }
.fits h3 { font-size: 19px; margin: 0 0 12px; letter-spacing: -.015em; }
.fits ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fits li { border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 15px; }

/* ---------- Pricing ---------- */
.plan {
  max-width: 560px; margin: 0 auto; border: 2px solid var(--ink); border-radius: 20px; background: var(--white);
  padding: 32px 22px; text-align: center;
}
@media (min-width: 720px) { .plan { padding: 44px 48px; } }
.plan-tag { display: inline-block; font-weight: 700; font-size: 13px; background: var(--gold); color: var(--ink); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.amount { display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 4px; }
.amount .big { font: 750 64px/1 var(--font-display); letter-spacing: -.05em; }
.amount .per { color: var(--ink-2); font-size: 17px; }
.amount s { font: 600 26px/1 var(--font-display); color: var(--ink-3); }
.plan .for { color: var(--ink-2); margin: 0 0 6px; }
.plan .after { color: var(--ink-2); margin: 0 0 24px; font-size: 16px; }
.plan .after b { color: var(--ink); }
.plan ul { list-style: none; padding: 20px 0 0; margin: 0 0 28px; display: grid; gap: 10px; text-align: left; border-top: 1px solid var(--line-soft); }
.plan ul li { position: relative; padding-left: 26px; font-size: 16px; }
.plan ul li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.6L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.plan .btn { white-space: normal; }
.price-note { font-size: 14.5px; color: var(--ink-2); margin: 18px auto 0; text-align: center; max-width: 52ch; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 28px; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; } }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 18px 44px 18px 0; position: relative;
  font: 600 18px/1.4 var(--font-display); letter-spacing: -.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background:
    linear-gradient(var(--ink-2), var(--ink-2)) center/14px 2px no-repeat,
    linear-gradient(var(--ink-2), var(--ink-2)) center/2px 14px no-repeat;
  transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--teal-ink); }
.faq-list details p { margin: -4px 0 20px; color: var(--ink-2); max-width: 66ch; }

/* ---------- Join ---------- */
.join-inner { display: grid; gap: 36px; }
@media (min-width: 1024px) { .join-inner { grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: start; } }
.join-copy p { color: var(--ink-2); font-size: 18px; }
.join-copy .fine { font-size: 14.5px; }
.join-points { list-style: decimal; padding-left: 1.3em; margin: 20px 0; display: grid; gap: 8px; color: var(--ink-2); font-size: 16.5px; }
.join-points li::marker { color: var(--teal-ink); font-weight: 700; }
.join-form-wrap { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 24px 18px; box-shadow: 0 1px 2px rgba(29,26,22,.06); position: relative; }
@media (min-width: 720px) { .join-form-wrap { padding: 32px; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field label { font-weight: 600; font-size: 15px; }
.field .req { color: var(--orange-ink); }
.field .opt { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 13px; border: 1px solid #a99d88; border-radius: 8px; background: #fff;
  font-size: 16px; color: var(--ink);
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 28%, transparent); }
.field [aria-invalid="true"] { border-color: var(--orange-ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--orange) 22%, transparent); }
.field-row { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: var(--orange-tint); color: #7d2a0f; border: 1px solid #efb39c; border-radius: 6px; padding: 10px 12px; font-size: 15px; margin: 0 0 14px; }
.form-fine { font-size: 13.5px; color: var(--ink-3); margin: 12px 0 0; }
.join-done { padding: 12px 4px; }
.join-done:focus { outline: none; }
.done-mark { width: 44px; height: 44px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; margin-bottom: 16px; }
.join-done h3 { font-size: 26px; }
.join-done p { color: var(--ink-2); margin: 0; }

/* =================== Product mockups ===================
   Everything inside .mock uses its own small type scale and var(--brand). */
.mock { font-family: var(--font-body); font-size: 13px; line-height: 1.4; color: #202223; text-align: left; }
.mock b { font-weight: 600; }

/* Tablet frame + POS Rewards screen */
.tablet { background: #151413; border-radius: 22px; padding: 10px; box-shadow: var(--shadow-mock); }
.tablet-screen { background: #f1f1f1; border-radius: 13px; overflow: hidden; }
.pos-top { display: flex; align-items: center; gap: 12px; background: #1a1a1a; color: #e3e3e3; padding: 9px 14px; font-size: 12px; white-space: nowrap; overflow: hidden; }
.pos-top .grow { flex: 1; }
.pos-plan { font-size: 10.5px; font-weight: 700; letter-spacing: .04em; background: #333; color: #e3e3e3; padding: 4px 6px; border-radius: 3px; }
.scr { display: grid; gap: 10px; padding: 12px; }
@media (min-width: 600px) { .scr { grid-template-columns: 1fr 1fr; } }
.scr-col { display: grid; gap: 10px; align-content: start; min-width: 0; }
.scard { background: #fff; border-radius: 10px; border: 1px solid #e1e1e1; padding: 12px; }
.scard .mh { font: 700 10.5px/1.2 var(--font-body); text-transform: uppercase; letter-spacing: .05em; color: #555; margin: 0 0 9px; }
.scard p { margin: 0 0 8px; }
.sbal { display: flex; align-items: center; gap: 12px; }
.sbal .av { width: 34px; height: 34px; font-size: 12px; }
.sbal small { display: block; color: #666; font-size: 11.5px; }
.rw-bal { font: 700 26px/1 var(--font-display); letter-spacing: -.03em; margin: 0; color: #1a1a1a; }
.rw-bal .pn { font: 600 13px var(--font-body); color: #555; letter-spacing: 0; }
.warnbox { border: 1px solid #f0c27a; background: #fff7e8; border-radius: 8px; padding: 10px; margin-top: 8px; }
.warnbox p { margin: 0 0 8px; font-size: 12px; color: #5a3d06; }
.sbtns { display: grid; gap: 6px; }
.sbtn { border: 1px solid #cfcfcf; background: #fff; border-radius: 7px; padding: 8px 10px; font-weight: 600; font-size: 12.5px; display: flex; justify-content: space-between; gap: 8px; align-items: center; color: #202223; }
.sbtn.pri { background: var(--brand); border-color: var(--brand); color: #fff; }
.sbtn small { font-weight: 600; color: var(--brand); white-space: nowrap; font-size: 11.5px; }
.sbtn.pri small { color: #fff; }
.qgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.qgrid .sbtn { flex-direction: column; align-items: flex-start; gap: 2px; }

/* Browser frame + storefront */
.browser { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-mock); border: 1px solid #d8d2c6; }
.br-bar { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: #efebe4; border-bottom: 1px solid #ddd6ca; }
.dots { display: inline-flex; gap: 5px; flex: none; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #cfc6b7; }
.br-url { flex: 1; min-width: 0; background: #fff; border-radius: 5px; padding: 4px 10px; font-size: 11.5px; color: #5d574d; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.br-page { position: relative; background: #fbfaf8; }
.shop-nav { display: flex; align-items: center; gap: 14px; padding: 11px 14px; border-bottom: 1px solid #eee9e0; font-size: 12px; color: #555; overflow: hidden; white-space: nowrap; }
.shop-nav b { font-family: var(--font-display); font-size: 15px; color: #1d1a16; margin-right: auto; letter-spacing: -.02em; }
.pdp { display: grid; gap: 16px; padding: 16px; }
@media (min-width: 560px) { .pdp { grid-template-columns: 1fr 1.15fr; padding: 20px; } }
.pdp-img { border-radius: 8px; aspect-ratio: 1; background: linear-gradient(150deg, #efe8db, #ddd2bf); display: grid; place-items: center; }
.pdp-img::before { content: ""; width: 50%; height: 60%; border-radius: 6px; background: linear-gradient(160deg, color-mix(in srgb, var(--brand) 80%, #000), var(--brand)); box-shadow: 8px 10px 0 rgba(29,26,22,.12); }
@media (max-width: 559px) { .pdp-img { aspect-ratio: 16 / 9; } .pdp-img::before { width: 28%; height: 70%; } }
.pdp .mh { font: 700 18px/1.2 var(--font-display); margin: 0 0 4px; letter-spacing: -.02em; color: var(--ink); }
.pdp .price { font-size: 15px; margin: 0 0 12px; color: #333; }
.earn { border: 2px solid var(--brand); border-radius: 8px; padding: 9px 11px; background: #fff; font-size: 12.5px; margin-bottom: 12px; }
.earn-ttl { font-weight: 800; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); margin-bottom: 2px; }
.atc { display: block; text-align: center; background: #1d1a16; color: #fff; border-radius: 6px; padding: 10px; font-weight: 600; }
.cart-card { border: 2px solid var(--brand); border-radius: 8px; padding: 10px; margin-top: 12px; background: #fff; }
.cart-card p { margin: 0 0 8px; font-size: 12.5px; }
.cc-row { display: flex; gap: 6px; flex-wrap: wrap; }
.cc-row span { flex: 1; text-align: center; border: 1px solid var(--brand); background: #fff; color: var(--brand); border-radius: 999px; padding: 6px 8px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.cc-row span.pri { background: var(--brand); color: #fff; }
.fab { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 7px; background: var(--brand); color: #fff; border-radius: 999px; padding: 7px 13px 7px 7px; font-weight: 700; font-size: 11.5px; box-shadow: 0 6px 16px -4px rgba(0,0,0,.35); max-width: calc(100% - 28px); white-space: nowrap; overflow: hidden; }
.fab i { width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,.95); display: block; position: relative; flex: none; }
.fab i::after { content: ""; position: absolute; inset: 5px; background: var(--brand); clip-path: polygon(50% 0, 62% 36%, 100% 38%, 70% 60%, 80% 100%, 50% 77%, 20% 100%, 30% 60%, 0 38%, 38% 36%); }
.pdp-wrap { padding-bottom: 56px; }

/* Members page */
.mem-head { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; padding: 12px 16px; background: #fff; border-bottom: 1px solid #eee9e0; font-size: 12.5px; }
.mem-head b { font-family: var(--font-display); font-size: 15px; letter-spacing: -.02em; }
.mem-head .pill { margin: 0 0 0 auto; }
.mem-grid { display: grid; gap: 10px; padding: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .mem-grid { grid-template-columns: 1fr 1fr; } .mg-full { grid-column: 1 / -1; } }
.mcard { background: #fff; border: 1px solid color-mix(in srgb, var(--brand) 35%, #fff); border-radius: 10px; padding: 12px; min-width: 0; }
.mcard .mh { font: 800 10.5px/1.2 var(--font-body); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 10px; color: #333; display: flex; justify-content: space-between; gap: 8px; }
.mcard .mh span { color: #6b6b6b; font-weight: 600; letter-spacing: .02em; text-transform: none; }
.mcard p { margin: 0; font-size: 12px; color: #444; }
.vip-track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); padding-top: 24px; }
.vip-track::before { content: ""; position: absolute; left: 10%; right: 10%; top: 31px; height: 3px; background: #e9e3d9; }
.vip-track::after { content: ""; position: absolute; left: 10%; top: 31px; height: 3px; width: calc(80% * var(--fill, .3)); background: var(--brand); }
.vstep { position: relative; z-index: 1; text-align: center; font-size: 11px; color: #555; min-width: 0; }
.vstep i { display: block; width: 17px; height: 17px; border-radius: 50%; border: 3px solid #e1d9cb; background: #fff; margin: 0 auto 6px; }
.vstep.on i { border-color: var(--brand); background: var(--brand); }
.vstep.you i { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent); }
.vstep b { display: block; color: #222; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.you-tag { position: absolute; top: -24px; left: 50%; transform: translateX(-50%); font-size: 9.5px; font-weight: 700; background: #1d1a16; color: #fff; padding: 2px 6px; border-radius: 3px; white-space: nowrap; }
.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 6px; }
.bdg { text-align: center; font-size: 10.5px; font-weight: 600; color: #222; line-height: 1.2; min-width: 0; }
.bdg svg { width: 38px; height: 42px; display: block; margin: 0 auto 4px; }
.bdg small { display: block; font-weight: 500; color: #6b6b6b; font-size: 9.5px; margin-top: 1px; }
.bdg.lock { color: #6b6b6b; }
.bdg .hx { fill: var(--brand); }
.bdg.lock .hx { fill: #f1ece3; stroke: #c4baa8; stroke-width: 1.5; stroke-dasharray: 3 2; }
.bdg .gl { fill: #fff; font: 800 13px var(--font-display); }
.bdg.lock .gl { fill: #9a907f; }
.qrow { margin-bottom: 11px; }
.qrow:last-child { margin-bottom: 0; }
.qrow .top { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 4px; gap: 6px; }
.qrow .top span { color: #6b6b6b; white-space: nowrap; }
.mcard .meter { height: 6px; }

/* Mini POS tile (Make it yours) */
.mini-tile { background: #fff; border-radius: 12px; border: 1px solid #ddd; box-shadow: var(--shadow-mock); padding: 12px 14px; display: flex; align-items: center; gap: 12px; }
.mini-tile .ico { width: 40px; height: 40px; border-radius: 9px; background: var(--brand); flex: none; position: relative; }
.mini-tile .ico::after { content: ""; position: absolute; inset: 11px; background: #fff; clip-path: polygon(50% 0, 62% 36%, 100% 38%, 70% 60%, 80% 100%, 50% 77%, 20% 100%, 30% 60%, 0 38%, 38% 36%); }
.mini-tile b { display: block; font-size: 13.5px; }
.mini-tile small { color: #555; font-size: 12.5px; }

/* Dry run table */
.dry { background: #fff; border-radius: 12px; border: 1px solid #d4d4d4; box-shadow: var(--shadow-mock); overflow: hidden; }
.dry-head { padding: 14px 16px; border-bottom: 1px solid #ececec; display: flex; flex-wrap: wrap; gap: 8px 12px; justify-content: space-between; align-items: center; }
.dry-head b { font-size: 14px; }
.dry-badge { font-size: 11px; font-weight: 600; background: #fff1d6; color: #5e4200; border-radius: 6px; padding: 3px 8px; }
.dry table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.dry th, .dry td { text-align: left; padding: 9px 14px; border-bottom: 1px solid #f2f2f2; }
.dry th { font-weight: 600; color: #5c5c5c; background: #fafafa; font-size: 11.5px; }
.dry td.n, .dry th.n { text-align: right; font-variant-numeric: tabular-nums; }
.dry .chk { color: #8e4b00; font-weight: 600; }
.dry-foot { padding: 12px 16px; display: flex; justify-content: flex-end; gap: 8px; }
.dry-foot span { font-size: 12px; font-weight: 600; border-radius: 8px; padding: 7px 12px; border: 1px solid #c9c9c9; }
.dry-foot .pri { background: #303030; color: #fff; border-color: #303030; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
}

/* ===================== Legal / long-form =====================
   Use: <main class="legal container"> ... </main> with the same header/footer. */
.legal { max-width: 800px; padding-top: 48px; padding-bottom: 88px; }
.legal h1 { font-size: clamp(36px, 6vw, 56px); letter-spacing: -.035em; margin-bottom: .3em; }
.legal h2 { font-size: 27px; letter-spacing: -.025em; margin: 2em 0 .6em; padding-top: .9em; border-top: 1px solid var(--line); }
.legal h3 { font-size: 20px; margin: 1.6em 0 .5em; }
.legal p, .legal ul, .legal ol, .legal table { margin: 0 0 1.1em; }
.legal ul, .legal ol { padding-left: 1.4em; }
.legal li { margin-bottom: .4em; }
.legal li::marker { color: var(--teal); }
.legal a { color: var(--teal-ink); }
.legal strong { color: var(--ink); }
.legal .updated, .legal .meta { color: var(--ink-2); font-size: 15px; }
.legal hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.legal blockquote { margin: 0 0 1.1em; padding: 12px 18px; border-left: 3px solid var(--teal); background: var(--paper-2); border-radius: 0 6px 6px 0; }
.legal code { font: 500 .86em var(--font-mono); background: var(--paper-2); border: 1px solid var(--line-soft); padding: .1em .38em; border-radius: 4px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line-soft); }
.legal th { background: var(--paper); font-weight: 600; color: var(--ink); }
@media (min-width: 640px) { .legal table { display: table; } }

/* ===================== Guides =====================
   Help guides in /guides/. Pages use <main class="legal container guide">
   (the long-form .legal styles above) with these additions. */
.guides-nav { display: flex; align-items: center; gap: 4px 6px; flex-wrap: wrap; justify-content: flex-end; }
.guides-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; padding: 7px 11px; border-radius: 6px; }
.guides-nav a:hover { background: var(--paper-2); color: var(--ink); }
.guides-nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }
@media (max-width: 400px) {
  .site-header .brand-name { font-size: 18px; }
  .site-header .brand-mark { height: 26px; width: auto; }
  .guides-nav a { font-size: 14px; padding: 6px 8px; }
}

.breadcrumb { font: 500 13px/1.4 var(--font-mono); color: var(--ink-2); margin: 0 0 18px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--ink-3); }
.breadcrumb a { color: var(--teal-ink); }

.guide .lead-in { font-size: 20px; line-height: 1.55; color: var(--ink-2); }
.guide h2 { scroll-margin-top: 84px; }
.guide ol.steps-list { padding-left: 0; list-style: none; counter-reset: step; }
.guide ol.steps-list > li { counter-increment: step; position: relative; margin-bottom: .8em; padding-left: 40px; }
.guide ol.steps-list > li::before {
  content: counter(step); position: absolute; left: 0; top: .1em; width: 26px; height: 26px; border-radius: 6px;
  background: var(--ink); color: var(--paper); font: 600 13px/26px var(--font-mono); text-align: center;
}
.guide .ui { font-weight: 600; color: var(--ink); }
.guide kbd { font: 600 .86em var(--font-mono); background: var(--white); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px; padding: .05em .4em; }

.guide-toc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin: 0 0 1.8em; }
.guide-toc p { margin: 0 0 .5em; font: 600 12.5px/1.2 var(--font-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
.guide-toc ul { margin: 0; padding-left: 1.2em; font-size: 15.5px; }
.guide-toc li { margin-bottom: .2em; }

.callout { border-radius: var(--radius-sm); padding: 14px 18px; margin: 0 0 1.2em; border: 1px solid var(--line); border-left-width: 4px; background: var(--white); }
.callout > :last-child { margin-bottom: 0; }
.callout-title { display: block; font: 600 12px/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.callout.customers { border-left-color: var(--teal); background: #eef5f2; }
.callout.customers .callout-title { color: var(--teal-ink); }
.callout.tip { border-left-color: var(--gold); background: #fcf5e3; }
.callout.tip .callout-title { color: #7a5200; }
.callout.warn { border-left-color: var(--orange); background: #fcede6; }
.callout.warn .callout-title { color: var(--orange-ink); }
.callout.starter { border-left-color: var(--ink); background: var(--white); }
.callout.starter .callout-title { color: var(--ink-2); }

.guide-cards { display: grid; gap: 0; margin: 28px 0 8px; grid-template-columns: 1fr; border-top: 2px solid var(--ink); }
@media (min-width: 720px) { .guide-cards { grid-template-columns: 1fr 1fr; } }
.guide-card { display: block; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); padding: 22px 40px 22px 0; position: relative; }
.guide-card::after { content: "\2192"; position: absolute; right: 10px; top: 22px; font-size: 20px; color: var(--teal); transition: transform .15s ease; }
.guide-card:hover { color: var(--ink); }
.guide-card:hover::after { transform: translateX(4px); }
.guide-card:hover h2 { color: var(--teal-ink); }
.guide-card .gc-icon { display: none; }
.guide-card h2 { font-size: 22px; margin: 0 0 .3em; padding: 0; border: 0; color: var(--ink); }
.guide-card p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.legal .guide-card h2 { margin: 0 0 .3em; padding-top: 0; border-top: 0; }
@media (min-width: 720px) { .guide-card:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); } }

.guide-more { margin-top: 3em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.guide-more h2 { font-size: 20px; margin: 0 0 .7em; padding: 0; border: 0; }
.guide-more ul { display: flex; flex-wrap: wrap; gap: 8px 10px; list-style: none; padding: 0; margin: 0; }
.guide-more li { margin: 0; }
.guide-more a { display: inline-block; padding: 7px 12px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; font-size: 14.5px; color: var(--ink); background: var(--white); }
.guide-more a:hover { border-color: var(--ink); }
.guide-more a[aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Register cheat sheet (at-the-register.html) */
.cheatsheet { border: 2px solid var(--ink); border-radius: var(--radius); padding: 18px 20px; margin: 1.4em 0; background: var(--white); }
.cheatsheet h2 { margin-top: 0; border-top: 0; padding-top: 0; }
.cheatsheet .cs-grid { display: grid; gap: 12px 22px; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.cheatsheet h3 { font-size: 17px; margin: 0 0 .3em; }
.cheatsheet ol, .cheatsheet ul { font-size: 15px; line-height: 1.5; margin: 0; padding-left: 1.3em; }
.cheatsheet li { margin-bottom: .15em; }
.cheatsheet .cs-foot { font-size: 13.5px; color: var(--ink-2); margin: 12px 0 0; }
.print-btn { font: 600 15px/1 var(--font-body); padding: 11px 16px; border-radius: 8px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); cursor: pointer; }
.print-btn:hover { background: var(--teal-ink); border-color: var(--teal-ink); }

@media print {
  @page { size: letter portrait; margin: 12mm; }
  body.print-cheatsheet { font-size: 11pt; background: #fff; }
  body.print-cheatsheet .site-header,
  body.print-cheatsheet .site-footer,
  body.print-cheatsheet .guide > *:not(.cheatsheet) { display: none !important; }
  body.print-cheatsheet .guide { padding: 0; max-width: none; }
  body.print-cheatsheet .cheatsheet { border: 1.5pt solid #000; border-radius: 6pt; margin: 0; padding: 10pt 12pt; break-inside: avoid; }
  body.print-cheatsheet .cheatsheet h2 { font-size: 16pt; margin: 0 0 4pt; }
  body.print-cheatsheet .cheatsheet .cs-grid { grid-template-columns: 1fr 1fr; gap: 6pt 14pt; }
  body.print-cheatsheet .cheatsheet h3 { font-size: 11pt; margin: 0 0 2pt; }
  body.print-cheatsheet .cheatsheet ol, body.print-cheatsheet .cheatsheet ul { font-size: 9.5pt; line-height: 1.35; }
  body.print-cheatsheet .cheatsheet .cs-foot { font-size: 8.5pt; color: #333; }
  body.print-cheatsheet .print-btn { display: none; }
  body.print-cheatsheet a { color: #000; text-decoration: none; }
}
/* =================== end Guides =================== */

/* ================= Switch + Ideas pages =================
   switch/*.html and ideas.html: <main class="legal container guide cq-page">. Additions only. */
.cq-page .guide-card h3 { font-size: 21px; margin: 0 0 .3em; color: var(--ink); }
.cq-page .guide-card:hover h3 { color: var(--teal-ink); }
.cq-page .guide-card { color: var(--ink); }
.cq-page h2 { overflow-wrap: anywhere; }
.cq-page table td, .cq-page table th { min-width: 120px; }
.cq-page code { overflow-wrap: anywhere; }

.cq-two { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); margin: 0 0 1.2em; }
.cq-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.cq-box h3 { margin: 0 0 .35em; font-size: 19px; }
.cq-box p { margin: 0; font-size: 16px; color: var(--ink-2); }

.legal ul.cq-strengths, .legal ul.cq-ideas { list-style: none; padding: 0; display: grid; gap: 12px; }
.cq-strengths li, .cq-ideas li { margin: 0; padding: 14px 16px 14px 18px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: var(--radius-sm); line-height: 1.55; }
.cq-ideas li { border-left-color: var(--gold); }
.cq-strengths strong, .cq-ideas strong { display: block; margin-bottom: 2px; }

.cq-maybe { display: inline-block; vertical-align: .1em; font: 600 11px/1 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--orange-ink); background: var(--orange-tint); border-radius: 4px; padding: 3px 6px; white-space: nowrap; }

.cq-faq { border-top: 1px solid var(--line); margin: 0 0 1.4em; }
.cq-faq details { border-bottom: 1px solid var(--line); }
.cq-faq summary { cursor: pointer; padding: 14px 32px 14px 0; font-weight: 600; position: relative; list-style: none; }
.cq-faq summary::-webkit-details-marker { display: none; }
.cq-faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font: 600 20px/1 var(--font-mono); color: var(--teal); }
.cq-faq details[open] summary::after { content: "\2212"; }
.cq-faq summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.cq-faq details > div { padding: 0 0 14px; color: var(--ink-2); }
.cq-faq details > div > :last-child { margin-bottom: 0; }

.cq-chips { margin: 0 0 1.6em; }
.legal .cq-chips ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.cq-chips li { margin: 0; }
.legal .cq-chips a { display: inline-block; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); text-decoration: none; font-size: 14.5px; }
.legal .cq-chips a:hover { border-color: var(--ink); }
.cq-type { scroll-margin-top: 84px; }

.cq-cta { margin: 3em 0 0; padding: 24px 22px; background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); }
.legal .cq-cta h2 { margin: .1em 0 .4em; padding: 0; border: 0; }
.cq-cta-label { margin: 0; font: 600 12px/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--orange-ink); }
.legal .cq-cta .btn-primary, .legal .cq-cta .btn-primary:hover { color: var(--paper); text-decoration: none; }
@media (max-width: 400px) { .cq-cta { padding: 20px 16px; } .cq-cta .btn { width: 100%; justify-content: center; } }
/* =============== end Switch + Ideas pages =============== */

/* Founding spots counter */
.spots-line { font-weight: 600; margin: 0 0 6px; }
