/* ==========================================================================
   BumbleBlast public design system
   Tokens → base → layout → components → sections → mockups → responsive.
   No inline styles anywhere (CSP style-src 'self'); widths/heights use classes.
   ========================================================================== */

:root {
  color-scheme: light;
  /* Brand */
  --honey: #F6B40E;
  --honey-600: #D99A00;
  --honey-100: #FFF1C7;
  --honey-50: #FFF9EB;
  --ink: #1A1814;
  --ink-2: #3A362D;
  --muted: #625D52;
  --line: #E9E4D8;
  --line-2: #F1EDE3;
  --bg: #FFFFFF;
  --tint: #FBF8F1;
  --dark: #17150F;
  --dark-2: #221F17;
  --teal: #0F8F7E;
  --teal-100: #DDF4EF;
  --coral: #D9480F;
  --violet: #6D5BD0;
  --link: #8A5A00;
  /* Type */
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  /* Shape */
  --r-sm: 8px; --r: 14px; --r-lg: 22px; --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgb(26 24 20 / .06);
  --shadow: 0 1px 2px rgb(26 24 20 / .05), 0 8px 24px -8px rgb(26 24 20 / .12);
  --shadow-lg: 0 2px 4px rgb(26 24 20 / .04), 0 24px 60px -18px rgb(26 24 20 / .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; overflow-x: clip; font: 17px/1.6 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.022em; font-weight: 750; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); letter-spacing: -.035em; line-height: 1.04; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.03em; }
h3, .h3 { font-size: 1.2rem; }
h4 { font-size: 1.02rem; letter-spacing: -.01em; }
p { margin: 0; }
a { color: var(--link); text-underline-offset: .18em; }
a:hover { color: var(--ink); }
ul, ol { margin: 0; padding: 0; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
.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: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: var(--r-sm); font-weight: 600; transition: top .15s; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 760px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-tint { background: var(--tint); border-block: 1px solid var(--line-2); }
.section-dark { background: var(--dark); color: #EDE8DC; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 + .section-lead, .section-head h2 + p { margin-top: 16px; }
.section-lead { font-size: 1.1rem; color: var(--muted); }
.section-dark .section-lead, .section-dark .split-copy > p { color: #BDB6A6; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--link); }
.kicker-light { color: var(--honey); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-reverse .split-copy { order: 2; }
.split-copy h2 { margin-bottom: 16px; }
.split-copy > p { font-size: 1.08rem; color: var(--muted); margin-bottom: 24px; }
.split-visual { margin: 0; }

/* ---------- Icons ---------- */
.icon { width: 24px; height: 24px; flex: none; }
.icon-sm { width: 18px; height: 18px; }
.icon-xs { width: 14px; height: 14px; }
.logo-mark { width: 34px; height: 34px; }
.logo-xs { width: 26px; height: 26px; }

/* ---------- Buttons & pills ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: var(--r-pill);
  font: 650 .98rem/1.2 var(--font); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .15s var(--ease), background-color .15s, border-color .15s, box-shadow .15s, color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--honey); color: var(--ink); box-shadow: 0 1px 0 rgb(0 0 0 / .08), 0 6px 16px -6px rgb(217 154 0 / .7); }
.btn-primary:hover { background: #FFC229; color: var(--ink); }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--line-2); color: var(--ink); }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 1.05rem; }
.btn-sm { min-height: 38px; padding: 8px 14px; font-size: .9rem; }
.btn-block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row.center { justify-content: center; }
.pill { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: var(--r-pill); font-size: .72rem; font-weight: 700; letter-spacing: .02em; vertical-align: middle; text-transform: none; }
.pill-soft { background: var(--honey-100); color: #7A5200; }
.section-dark .pill-soft { background: rgb(246 180 14 / .18); color: var(--honey); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .86); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgb(26 24 20 / .4); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.site-nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-links { list-style: none; display: flex; gap: 4px; margin-left: 12px; }
.nav-links a { display: block; padding: 8px 14px; border-radius: var(--r-pill); color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: .98rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--line-2); color: var(--ink); }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer; }
.nav-toggle-close { display: none; }
.site-header.is-open .nav-toggle-open { display: none; }
.site-header.is-open .nav-toggle-close { display: inline; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 104px);
  background: radial-gradient(900px 480px at 85% 10%, rgb(246 180 14 / .16), transparent 65%), radial-gradient(700px 420px at 0% 100%, rgb(15 143 126 / .07), transparent 60%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; margin-bottom: 22px; border: 1px solid var(--line); border-radius: var(--r-pill);
  background: #fff; font-size: .88rem; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--teal-100); }
.hl { background: linear-gradient(transparent 62%, var(--honey-100) 62%); padding-inline: .04em; }
.lead { margin-top: 22px; font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 36em; }
.hero .cta-row { margin-top: 32px; }
.trial-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; font-size: .94rem; color: var(--ink-2); }
.trial-facts li { display: inline-flex; align-items: center; gap: 6px; }
.trial-facts .icon { color: var(--teal); }
.hero-visual { margin: 0; }
.demo-note { margin-top: 12px; text-align: center; font-size: .8rem; color: var(--muted); }
.demo-note-light { color: #9E978A; }

/* ---------- Pillars / values ---------- */
.pillar { padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s; }
.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pillar-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px; border-radius: 16px; background: var(--honey-100); color: #7A5200; }
.pillar:nth-child(2) .pillar-icon { background: var(--teal-100); color: var(--teal); }
.pillar:nth-child(3) .pillar-icon { background: #ECE9FB; color: var(--violet); }
.pillar h3 { margin-bottom: 8px; }
.pillar p, .value p { color: var(--muted); }
.value { padding: 24px; border-radius: var(--r); background: var(--tint); border: 1px solid var(--line-2); }
.value h3 { font-size: 1.05rem; margin-bottom: 6px; }

/* ---------- Features ---------- */
.feature-group { margin: 40px 0 16px; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.feature-group:first-of-type { margin-top: 0; }
.feature-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { display: flex; gap: 16px; padding: 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.feature:hover { border-color: #DCCFAE; box-shadow: var(--shadow); }
.feature-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--honey-50); color: #8A5A00; border: 1px solid var(--honey-100); }
.feature h4 { margin-bottom: 4px; }
.feature p { font-size: .95rem; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: none; position: relative; }
.step { position: relative; padding: 32px 28px 28px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; }
.step-num { position: absolute; top: -16px; left: 28px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; font-size: .9rem; }
.step-icon { display: grid; place-items: center; width: 48px; height: 48px; margin: 8px 0 18px; border-radius: 14px; background: var(--tint); color: var(--ink); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); }

/* ---------- Lists ---------- */
.checklist, .icon-list { list-style: none; display: grid; gap: 12px; }
.checklist li, .icon-list li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .icon { color: var(--teal); margin-top: 3px; }
.section-dark .checklist .icon { color: var(--honey); }
.icon-list .icon { color: var(--honey-600); margin-top: 3px; }

/* ---------- Pricing ---------- */
.pricing-teaser { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.pt-copy h2 { margin-bottom: 16px; }
.pt-copy > p { color: var(--muted); font-size: 1.08rem; margin-bottom: 24px; }
.pt-copy .muted { margin-top: 20px; font-size: .95rem; }
.pt-card { padding: 32px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); position: relative; }
.pt-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; border-radius: var(--r-lg) var(--r-lg) 0 0; background: linear-gradient(90deg, var(--honey), #FFD35C); }
.pt-from { font-size: .9rem; font-weight: 600; color: var(--muted); }
.pt-price { display: flex; align-items: flex-start; font-size: 4.2rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; margin: 6px 0 14px; }
.pt-currency { font-size: 1.8rem; margin-top: 8px; }
.pt-per { align-self: flex-end; margin: 0 0 8px 8px; font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.pt-note { color: var(--muted); font-size: .95rem; margin-bottom: 12px; }
.trial-box { list-style: none; display: grid; gap: 10px; padding: 16px; margin-bottom: 20px; border-radius: var(--r); background: var(--honey-50); border: 1px dashed #EBCB7A; font-weight: 600; font-size: .95rem; }
.trial-box li { display: flex; align-items: center; gap: 10px; }
.trial-box .icon { color: #8A5A00; }

/* ---------- Trust ---------- */
.trust-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-grid li { padding: 24px; border-radius: var(--r); background: var(--dark-2); border: 1px solid #2F2B21; }
.trust-grid .icon { color: var(--honey); margin-bottom: 14px; }
.trust-grid h3 { font-size: 1.02rem; margin-bottom: 6px; }
.trust-grid p { font-size: .93rem; color: #B5AE9E; }

/* ---------- Final CTA ---------- */
.cta-card { text-align: center; padding: clamp(40px, 6vw, 72px) 24px; border-radius: 28px; background: radial-gradient(600px 260px at 50% 0%, rgb(255 255 255 / .55), transparent), linear-gradient(135deg, #FFD65A, var(--honey) 55%, #F0A500); color: var(--ink); box-shadow: var(--shadow-lg); }
.cta-card h2 { max-width: 16em; margin: 0 auto 14px; }
.cta-card p { max-width: 34em; margin: 0 auto 28px; font-size: 1.1rem; color: var(--ink-2); }
.cta-card .btn-primary { background: var(--ink); color: #fff; box-shadow: 0 8px 20px -8px rgb(0 0 0 / .5); }
.cta-card .btn-primary:hover { background: #000; color: #fff; }
.cta-card :focus-visible { outline-color: var(--ink); }

/* ---------- Secondary pages ---------- */
.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(32px, 5vw, 56px); background: radial-gradient(700px 340px at 50% 0%, rgb(246 180 14 / .14), transparent 70%); }
.page-hero .lead { margin-inline: auto; }
.page-hero .cta-row { margin-top: 28px; }
.page-hero .muted { margin-top: 20px; }
.faq { display: grid; gap: 4px; margin-top: 28px; }
.faq dt { margin-top: 18px; font-weight: 700; }
.faq dd { margin: 4px 0 0; color: var(--muted); }
.section-tint h2 + p { margin-top: 12px; color: var(--muted); }
.notice-card { display: flex; gap: 20px; padding: 28px; margin-bottom: 40px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--tint); }
.notice-card h2 { font-size: 1.35rem; margin-bottom: 8px; }
.notice-card p + p { margin-top: 8px; }
.notice-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--honey-100); color: #7A5200; }
.narrow > .h3 { margin-bottom: 16px; }
.narrow > .checklist + p { margin-top: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #B5AE9E; padding: 72px 0 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.footer-brand p { margin: 14px 0 20px; max-width: 22em; }
.brand-light, .brand-light:hover { color: #fff; }
.footer-heading { margin-bottom: 14px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: #C9C2B2; text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid #2F2B21; font-size: .85rem; color: #8F8878; }

/* ==========================================================================
   Product mockups (illustrative, aria-hidden)
   ========================================================================== */
.mock { max-width: 100%; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; font-size: 13px; line-height: 1.4; color: var(--ink); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: #F6F3EC; border-bottom: 1px solid var(--line); }
.browser-bar > span { width: 10px; height: 10px; border-radius: 50%; background: #E3DDCF; }
.browser-bar > span:first-child { background: #F2A597; } .browser-bar > span:nth-child(2) { background: #F6CF6A; } .browser-bar > span:nth-child(3) { background: #9FD6A2; }
.browser-url { margin-left: 12px; padding: 4px 12px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line); font-size: 11px; color: var(--muted); flex: 1; max-width: 300px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.app { display: grid; grid-template-columns: 56px 1fr; min-height: 360px; }
.app-side { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 0; background: var(--dark); }
.app-logo { margin-bottom: 8px; }
.app-side-item { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: #8F8878; }
.app-side-item.is-active { background: rgb(246 180 14 / .16); color: var(--honey); }
.app-main { padding: 18px; background: #FCFBF7; }
.app-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.app-title { font-weight: 750; font-size: 15px; }
.app-sub { color: var(--muted); font-size: 12px; }
.app-btn { padding: 7px 12px; border-radius: var(--r-pill); background: var(--honey); font-weight: 700; font-size: 12px; white-space: nowrap; }
.app-body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; }
.email-preview { padding: 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.ep-hero { display: grid; place-items: center; height: 58px; border-radius: 8px; background: linear-gradient(135deg, #1F3A34, var(--teal)); color: #fff; font-weight: 750; letter-spacing: .02em; }
.ep-line { display: block; height: 7px; border-radius: 4px; background: var(--line); }
.w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; } .w95 { width: 95%; }
.ep-img { height: 64px; border-radius: 8px; background: repeating-linear-gradient(135deg, #F4EFE3 0 10px, #EEE8DA 10px 20px); }
.ep-cta { justify-self: start; padding: 7px 14px; border-radius: var(--r-pill); background: var(--ink); color: #fff; font-weight: 700; font-size: 11px; }
.app-stats { display: grid; gap: 10px; align-content: start; }
.mini-stat { display: grid; grid-template-columns: 1fr auto; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.mini-stat span { grid-column: 1 / -1; color: var(--muted); font-size: 11px; }
.mini-stat strong { font-size: 18px; letter-spacing: -.02em; }
.mini-stat em { align-self: end; font-style: normal; font-size: 11px; font-weight: 700; }
.up { color: var(--teal); }
.mini-flow { display: flex; align-items: center; gap: 6px; padding: 10px; border-radius: 12px; background: var(--dark); }
.mf-node { padding: 5px 8px; border-radius: 8px; background: #2C281F; color: #EDE8DC; font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.mf-accent { background: var(--honey); color: var(--ink); }
.mf-arrow { flex: 1; height: 2px; min-width: 12px; background: #4A4436; position: relative; }
.mf-arrow::after { content: ""; position: absolute; right: -1px; top: -3px; border: 4px solid transparent; border-left-color: #4A4436; border-right: 0; }

/* Editor */
.editor { background: #1E1B15; border-color: #2F2B21; color: #EDE8DC; }
.editor-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid #2F2B21; }
.editor-title { font-weight: 650; font-size: 12.5px; color: #CFC8B8; }
.device-toggle { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: #2C281F; }
.device-toggle span { display: grid; place-items: center; width: 28px; height: 24px; border-radius: 7px; color: #8F8878; }
.device-toggle .is-on { background: var(--honey); color: var(--ink); }
.editor-body { display: grid; grid-template-columns: 112px 1fr; min-height: 340px; }
.block-palette { display: grid; gap: 8px; align-content: start; padding: 14px 10px; border-right: 1px solid #2F2B21; }
.palette-item { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: #2C281F; border: 1px solid #3A3529; font-size: 12px; font-weight: 600; color: #EDE8DC; }
.palette-item .icon { color: var(--honey); }
.canvas { position: relative; padding: 18px; background: repeating-linear-gradient(0deg, transparent 0 23px, rgb(255 255 255 / .03) 23px 24px), #26221A; }
.canvas-email { max-width: 300px; margin: 0 auto; padding: 16px; border-radius: 12px; background: #fff; color: var(--ink); display: grid; gap: 10px; }
.cb { border-radius: 8px; border: 1.5px dashed transparent; padding: 4px; }
.cb-head { font-weight: 750; font-size: 14px; }
.cb-text { display: grid; gap: 6px; }
.cb-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cb-col { height: 56px; border-radius: 8px; background: repeating-linear-gradient(135deg, #F4EFE3 0 10px, #EEE8DA 10px 20px); }
.cb-selected { position: relative; border-color: var(--honey); background: var(--honey-50); padding: 8px; }
.cb-btn { display: inline-block; padding: 7px 14px; border-radius: var(--r-pill); background: var(--teal); color: #fff; font-weight: 700; font-size: 11.5px; }
.cb-tag { position: absolute; top: -10px; right: 8px; padding: 1px 8px; border-radius: var(--r-pill); background: var(--honey); color: var(--ink); font-size: 10px; font-weight: 800; }
.cb-divider { height: 1px; padding: 0; background: var(--line); }
.drag-ghost { position: absolute; left: 34%; bottom: 28px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 10px; background: var(--honey); color: var(--ink); font-size: 12px; font-weight: 750; box-shadow: 0 10px 24px -8px rgb(0 0 0 / .6); transform: rotate(-4deg); }

/* Panels (audience / analytics) */
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.panel-search { display: inline-flex; align-items: center; gap: 8px; flex: 1; max-width: 220px; padding: 7px 12px; border-radius: var(--r-pill); background: var(--tint); border: 1px solid var(--line); color: var(--muted); }
.panel-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: var(--r-pill); background: var(--teal-100); color: var(--teal); font-weight: 700; font-size: 11.5px; white-space: nowrap; }
.mock-table { width: 100%; border-collapse: collapse; }
.mock-table th { text-align: left; padding: 10px 16px; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; background: #FCFBF7; }
.mock-table td { padding: 11px 16px; border-top: 1px solid var(--line-2); white-space: nowrap; }
.mock-table td:first-child { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.avatar { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 10.5px; font-weight: 800; color: #fff; }
.a1 { background: var(--violet); } .a2 { background: var(--teal); } .a3 { background: var(--coral); } .a4 { background: #8F8878; }
.tag { padding: 2px 8px; border-radius: 6px; background: var(--honey-100); color: #7A5200; font-size: 11px; font-weight: 700; }
.status { padding: 2px 8px; border-radius: var(--r-pill); font-size: 11px; font-weight: 700; }
.status.ok { background: var(--teal-100); color: #0B6B5E; }
.status.off { background: #F1EDE3; color: var(--muted); }
.panel-foot { padding: 12px 16px; border-top: 1px solid var(--line); background: #FCFBF7; color: var(--muted); font-size: 12px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 16px; }
.kpi { padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: grid; gap: 2px; }
.kpi span { color: var(--muted); font-size: 11px; }
.kpi strong { font-size: 19px; letter-spacing: -.02em; }
.kpi em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--muted); }
.kpi em.up { color: var(--teal); }
.chart { margin: 0 16px 16px; padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: #FCFBF7; }
.chart-title { font-weight: 700; font-size: 12px; margin-bottom: 10px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 120px; }
.bar { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #FFD35C, var(--honey)); opacity: .55; }
.bar.is-peak { opacity: 1; }
.h25 { height: 25%; } .h30 { height: 30%; } .h35 { height: 35%; } .h40 { height: 40%; } .h45 { height: 45%; } .h50 { height: 50%; }
.h55 { height: 55%; } .h60 { height: 60%; } .h65 { height: 65%; } .h70 { height: 70%; } .h90 { height: 90%; }
.chart-axis { display: flex; justify-content: space-between; margin-top: 8px; font-size: 10.5px; color: var(--muted); }

/* Workflow */
.workflow { list-style: none; display: grid; justify-items: center; gap: 22px; padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  background-image: radial-gradient(circle at 1px 1px, #EFEBE1 1px, transparent 0); background-size: 18px 18px; }
.wf-node { position: relative; display: flex; align-items: center; gap: 12px; width: min(100%, 320px); padding: 12px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.wf-node + .wf-node::before, .wf-node + .wf-split::before { content: ""; position: absolute; top: -23px; left: 50%; width: 2px; height: 22px; background: #DCD5C4; }
.wf-split { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: min(100%, 380px); }
.wf-node small { display: block; color: var(--muted); font-size: 12px; }
.wf-node .icon { color: var(--honey-600); }
.wf-trigger { background: var(--dark); color: #fff; border-color: var(--dark); }
.wf-trigger small { color: #B5AE9E; } .wf-trigger .icon { color: var(--honey); }
.wf-wait { width: auto; padding: 8px 16px; border-style: dashed; background: var(--tint); }
.wf-branch { width: auto; background: var(--honey-50); border-color: #EBCB7A; }
.wf-leaf { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 12px; font-size: .88rem; font-weight: 600; }
.wf-yes { background: var(--teal-100); color: #0B6B5E; }
.wf-no { background: #F1EDE3; color: var(--ink-2); }

/* ---------- Error page (shared minimal layout) ---------- */
.wrap { max-width: 560px; margin: 12vh auto; padding: 0 16px; }
.card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--honey); border-radius: var(--r); padding: 32px; box-shadow: var(--shadow); }

/* ---------- Under construction (temporary homepage) ---------- */
.uc-body { min-height: 100vh; background: radial-gradient(760px 460px at 80% 0%, rgb(246 180 14 / .22), transparent 65%), radial-gradient(620px 420px at 0% 100%, rgb(15 143 126 / .08), transparent 60%), var(--tint); }
.uc { min-height: 100vh; display: grid; place-items: center; align-content: center; gap: 20px; padding: 32px 20px; }
.uc-card { width: 100%; max-width: 620px; padding: clamp(32px, 6vw, 56px); border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); text-align: center; }
.uc-brand { display: flex; justify-content: center; align-items: center; gap: 12px; font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; }
.uc-logo { width: 48px; height: 48px; }
.uc-status { display: inline-flex; align-items: center; gap: 8px; margin: 28px 0 16px; padding: 6px 14px; border-radius: var(--r-pill); background: var(--honey-100); color: #7A5200; font-size: .85rem; font-weight: 700; }
.uc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--honey-600); animation: uc-pulse 1.8s ease-in-out infinite; }
.uc-card h1 { font-size: clamp(2rem, 5vw, 3rem); }
.uc-lead { margin: 16px auto 0; max-width: 30em; font-size: 1.1rem; color: var(--muted); }
.uc-actions { margin-top: 32px; display: flex; justify-content: center; }
.uc-foot { font-size: .85rem; color: var(--muted); }
@keyframes uc-pulse { 50% { opacity: .35; transform: scale(.8); } }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4, .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 16px; padding: 16px 20px 24px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgb(26 24 20 / .35); }
  .js .site-header.is-open .site-nav { display: flex; }
  .nav-links { flex-direction: column; margin: 0; }
  .nav-links a { padding: 12px 14px; border-radius: 12px; font-size: 1.05rem; }
  .nav-actions { flex-direction: column-reverse; align-items: stretch; }
  .nav-actions .btn { min-height: 48px; }
  .hero-grid, .split, .pricing-teaser { grid-template-columns: minmax(0, 1fr); }
  .split-reverse .split-copy { order: 0; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .hero .cta-row, .trial-facts { justify-content: center; }
  .grid-3, .steps { grid-template-columns: minmax(0, 1fr); }
  .steps { gap: 36px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .feature-grid, .grid-4, .trust-grid { grid-template-columns: minmax(0, 1fr); }
  .mock-table th:nth-child(2), .mock-table td:nth-child(2) { display: none; }
  .panel-chip { display: none; }
  .panel-search { max-width: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .app { grid-template-columns: 44px 1fr; min-height: 0; }
  .app-side-item { width: 30px; height: 30px; }
  .app-body { grid-template-columns: 1fr; }
  .mini-flow { display: none; }
  .editor-body { grid-template-columns: 1fr; }
  .block-palette { grid-template-columns: repeat(5, 1fr); border-right: 0; border-bottom: 1px solid #2F2B21; }
  .palette-item { justify-content: center; padding: 8px 4px; }
  .palette-item span { display: none; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .mock-table th:nth-child(3), .mock-table td:nth-child(3) { display: none; }
  .hero .btn-lg, .cta-card .btn-lg { width: 100%; }
  .notice-card { flex-direction: column; }
  .pt-card { padding: 24px; }
}
