/* WiBiz Free Tools prototype - shared design layer.
   Tokens follow the WiBiz brand (Electric Blue -> Violet -> Lavender, Deep Navy,
   Space Grotesk + Inter). Light is the default; dark is honoured via the OS setting
   or [data-theme="dark"]. */

:root {
  --wb-blue: #2563ff;
  --wb-violet: #7c3aed;
  --wb-lavender: #c084fc;
  --wb-navy: #080f16;
  --wb-nav: #0b1b3e;           /* header / closing band, per the approved mockup */
  --wb-nav-2: #0f2a63;
  --wb-grad: linear-gradient(90deg, #2563ff 0%, #7c3aed 55%, #c084fc 100%);

  --wb-bg: #f6f7fb;
  --wb-surface: #ffffff;
  --wb-surface-2: #fbfcfe;
  --wb-band: #eef3ff;          /* alternating section tint */
  --wb-band-2: #f1f0fd;
  --wb-border: #e6e9f0;
  --wb-heading: #0b1320;
  --wb-text: #283244;
  --wb-muted: #5a6478;
  --wb-faint: #8a94a8;
  --wb-accent: #2563ff;
  --wb-accent-ink: #1d4fd8;    /* accent used for small text on light surfaces */
  --wb-accent-weak: #edf1ff;

  --wb-ok: #0f9d6b;      --wb-ok-weak: #e3f7ef;
  --wb-warn: #b45309;    --wb-warn-weak: #fff3e0;
  --wb-bad: #c62839;     --wb-bad-weak: #fde8ea;

  --wb-r-sm: 8px; --wb-r: 12px; --wb-r-lg: 18px;
  --wb-shadow: 0 1px 2px rgba(11,19,32,.04), 0 4px 16px rgba(11,19,32,.06);
  --wb-shadow-lg: 0 2px 6px rgba(11,19,32,.06), 0 18px 40px rgba(11,19,32,.10);
  --wb-ease: cubic-bezier(.16,1,.3,1);
  --wb-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --wb-font-h: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --wb-script: 'Caveat', 'Segoe Script', cursive;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --wb-bg: #080f16; --wb-surface: #121a24; --wb-surface-2: #0f1620;
    --wb-band: #0d1626; --wb-band-2: #0f1424;
    --wb-border: #243042; --wb-heading: #eaf0f8; --wb-text: #c4cddc;
    --wb-muted: #93a0b5; --wb-faint: #6b768b;
    --wb-accent: #6e8bff; --wb-accent-ink: #8aa2ff; --wb-accent-weak: #16213a;
    --wb-ok: #3ccf98; --wb-ok-weak: #0f2a22;
    --wb-warn: #f2a65a; --wb-warn-weak: #2c2113;
    --wb-bad: #ff7b8a; --wb-bad-weak: #2d1519;
    --wb-shadow: 0 1px 2px rgba(0,0,0,.3), 0 4px 16px rgba(0,0,0,.28);
    --wb-shadow-lg: 0 2px 6px rgba(0,0,0,.35), 0 18px 40px rgba(0,0,0,.4);
  }
}
:root[data-theme="dark"] {
  --wb-bg: #080f16; --wb-surface: #121a24; --wb-surface-2: #0f1620;
  --wb-band: #0d1626; --wb-band-2: #0f1424;
  --wb-border: #243042; --wb-heading: #eaf0f8; --wb-text: #c4cddc;
  --wb-muted: #93a0b5; --wb-faint: #6b768b;
  --wb-accent: #6e8bff; --wb-accent-ink: #8aa2ff; --wb-accent-weak: #16213a;
  --wb-ok: #3ccf98; --wb-ok-weak: #0f2a22;
  --wb-warn: #f2a65a; --wb-warn-weak: #2c2113;
  --wb-bad: #ff7b8a; --wb-bad-weak: #2d1519;
  --wb-shadow: 0 1px 2px rgba(0,0,0,.3), 0 4px 16px rgba(0,0,0,.28);
  --wb-shadow-lg: 0 2px 6px rgba(0,0,0,.35), 0 18px 40px rgba(0,0,0,.4);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--wb-bg); color: var(--wb-text);
  font: 400 16px/1.6 var(--wb-font); -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--wb-font-h); color: var(--wb-heading); line-height: 1.15; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--wb-accent-ink); }
img, svg { max-width: 100%; }
:focus-visible { outline: 3px solid var(--wb-accent); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 12px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }

.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.grad-text { background: var(--wb-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font: 600 .78rem/1 var(--wb-font); letter-spacing: .14em; text-transform: uppercase; color: var(--wb-accent-ink); margin-bottom: 14px; display: block; }
.muted { color: var(--wb-muted); }
.small { font-size: .875rem; }
.center { text-align: center; }

/* ---------- prototype ribbon ---------- */
.proto-ribbon {
  background: #fff7d6; color: #5a4300; border-bottom: 1px solid #f0dc8a;
  font-size: .8rem; text-align: center; padding: 6px 12px; line-height: 1.4;
}
.proto-ribbon b { font-weight: 700; }

/* ---------- nav ---------- */
.nav { background: var(--wb-nav); position: sticky; top: 0; z-index: 40; border-bottom: 1px solid rgba(255,255,255,.06); }
.nav .container { display: flex; align-items: center; gap: 28px; height: 64px; }
.nav .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font: 600 1.05rem var(--wb-font-h); }
.nav .logo img { height: 30px; width: auto; display: block; }
.nav .logo span.tool { color: #b9c6e6; font-weight: 500; padding-left: 10px; border-left: 1px solid rgba(255,255,255,.2); }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0 0 0 auto; padding: 0; align-items: center; }
.nav ul a { color: #dbe4fb; text-decoration: none; font-size: .92rem; padding: 8px 2px; }
.nav ul a:hover { color: #fff; }
.nav .signin {
  color: #7fa6ff !important; border: 1.5px solid #2b5cd6; border-radius: 8px; padding: 8px 20px !important; font-weight: 600;
}
.nav .signin:hover { background: rgba(37,99,255,.18); color: #fff !important; }
@media (max-width: 760px) {
  .nav ul li:not(:last-child) { display: none; }
  .nav .logo span.tool { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  --_bg: var(--wb-surface); --_fg: var(--wb-heading); --_bd: var(--wb-border);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 11px 22px; border-radius: var(--wb-r-sm);
  background: var(--_bg); color: var(--_fg); border: 1.5px solid var(--_bd);
  font: 600 .98rem var(--wb-font); text-decoration: none; cursor: pointer;
  transition: transform .2s var(--wb-ease), box-shadow .2s var(--wb-ease), background .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--wb-shadow); }
.btn:active { transform: none; }
.btn-primary { --_bg: var(--wb-blue); --_fg: #fff; --_bd: var(--wb-blue); box-shadow: 0 6px 18px rgba(37,99,255,.28); }
.btn-primary:hover { --_bg: #1d54e6; box-shadow: 0 10px 24px rgba(37,99,255,.34); }
.btn-ghost { --_bg: transparent; --_fg: var(--wb-accent-ink); --_bd: color-mix(in srgb, var(--wb-accent) 40%, transparent); }
.btn-danger { --_fg: var(--wb-bad); --_bd: color-mix(in srgb, var(--wb-bad) 40%, var(--wb-border)); }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: .86rem; }
.btn-lg { min-height: 54px; padding: 14px 30px; font-size: 1.05rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.arrow::after { content: "\2192"; font-weight: 700; }

/* ---------- landing blocks ---------- */
.hero { background: linear-gradient(180deg, #fff 0%, var(--wb-band) 100%); padding: 56px 0 72px; overflow: hidden; }
:root[data-theme="dark"] .hero { background: linear-gradient(180deg, #0c1420, var(--wb-band)); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero { background: linear-gradient(180deg, #0c1420, var(--wb-band)); } }
.hero .container { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero p.lead { font-size: 1.12rem; color: var(--wb-text); max-width: 34em; margin: 18px 0 26px; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero .reassure { font-size: .88rem; color: var(--wb-muted); margin-top: 14px; }
@media (max-width: 900px) { .hero .container { grid-template-columns: 1fr; gap: 36px; } .hero { padding: 36px 0 48px; } }

section.band { padding: 64px 0; }
section.band.tint { background: var(--wb-band); }
section.band.tint2 { background: var(--wb-band-2); }
section.band.white { background: var(--wb-surface); }
.section-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.section-head p { color: var(--wb-muted); font-size: 1.05rem; margin-top: 12px; }
.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 24px; } }

.card { background: var(--wb-surface); border: 1px solid var(--wb-border); border-radius: var(--wb-r); box-shadow: var(--wb-shadow); padding: 22px; }
.grid { display: grid; gap: 18px; }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid.c3, .grid.c4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid.c3, .grid.c2, .grid.c4 { grid-template-columns: 1fr; } }

.pain { display: flex; gap: 14px; align-items: flex-start; }
.pain .ic, .ic-box {
  flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--wb-accent-weak);
  color: var(--wb-accent-ink); display: grid; place-items: center;
}
.pain q { quotes: none; font-weight: 500; color: var(--wb-heading); line-height: 1.4; }
.ic-box svg, .pain .ic svg { width: 22px; height: 22px; }

.step { position: relative; text-align: center; padding-top: 30px; }
.step .num {
  position: absolute; top: -14px; left: -10px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--wb-blue); color: #fff; font: 700 1rem var(--wb-font-h); display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(37,99,255,.35);
}
.step .ic-box { margin: 0 auto 12px; background: transparent; width: 52px; height: 52px; }
.step .ic-box svg { width: 34px; height: 34px; }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--wb-muted); font-size: .94rem; margin: 0; }

.script { font-family: var(--wb-script); color: var(--wb-accent-ink); font-size: 1.7rem; line-height: 1.05; transform: rotate(-4deg); display: inline-block; }
.script-note { text-align: right; }
@media (max-width: 860px) { .script-note { text-align: left; } }

.benefit { display: flex; gap: 14px; }
.benefit h3 { margin-bottom: 4px; }
.benefit p { margin: 0; color: var(--wb-muted); font-size: .94rem; }

.usecase h3 { margin: 10px 0 6px; }
.usecase p { color: var(--wb-muted); margin: 0; font-size: .94rem; }

.checks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: var(--wb-ok-weak) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230f9d6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

.faq { display: grid; gap: 10px; max-width: 820px; margin: 0 auto; }
.faq details { background: var(--wb-surface); border: 1px solid var(--wb-border); border-radius: var(--wb-r-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 600; color: var(--wb-heading); position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--wb-muted); border-bottom: 2px solid var(--wb-muted); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .ans { padding: 0 18px 16px; color: var(--wb-muted); }
.privacy-card { display: flex; gap: 16px; align-items: center; max-width: 820px; margin: 22px auto 0; }

.bridge { background: var(--wb-surface); border-top: 1px solid var(--wb-border); border-bottom: 1px solid var(--wb-border); padding: 40px 0; }
.bridge .container { display: grid; grid-template-columns: auto 1fr 1fr; gap: 28px; align-items: center; }
.bridge h2 { font-size: 1.5rem; }
@media (max-width: 860px) { .bridge .container { grid-template-columns: 1fr; } }

.closing { background: linear-gradient(135deg, var(--wb-nav) 0%, var(--wb-nav-2) 100%); color: #fff; text-align: center; padding: 64px 0; }
.closing h2 { color: #fff; }
.closing p { color: #c8d4f2; max-width: 36em; margin: 12px auto 24px; }
.closing .micro { font-size: .86rem; color: #a9b8de; margin: 14px 0 0; }

.footer { background: #070f22; color: #a9b8de; padding: 28px 0; font-size: .9rem; }
.footer .container { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.footer a { color: #c8d4f2; text-decoration: none; margin-left: 20px; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .brandline { display: flex; align-items: center; gap: 12px; }
.footer img { height: 28px; }
.footer .fine { flex-basis: 100%; font-size: .8rem; color: #7f90bb; border-top: 1px solid rgba(255,255,255,.08); padding-top: 14px; }
@media (max-width: 700px) { .footer a { margin: 0 16px 0 0; } }

/* ---------- product preview board (hero + demo sections) ---------- */
.board {
  background: var(--wb-surface); border: 1px solid var(--wb-border); border-radius: var(--wb-r-lg);
  box-shadow: var(--wb-shadow-lg); overflow: hidden;
}
.board-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--wb-border); background: var(--wb-surface-2); }
.board-head img { height: 22px; }
.board-head b { font: 600 .98rem var(--wb-font-h); color: var(--wb-heading); }
.board-head .demo-tag { margin-left: auto; }
.board-rows { padding: 8px 10px 12px; }
.board-row {
  display: grid; grid-template-columns: 28px 1fr auto 20px; gap: 12px; align-items: center;
  padding: 11px 10px; border-radius: 10px;
}
.board-row + .board-row { border-top: 1px solid var(--wb-border); }
.board-row .who { font-weight: 600; color: var(--wb-heading); line-height: 1.25; }
.board-row .who small { display: block; font-weight: 400; color: var(--wb-muted); font-size: .82rem; }
.board-row .chev { color: var(--wb-faint); }
.board-row svg { width: 22px; height: 22px; color: var(--wb-accent-ink); }
@media (max-width: 520px) { .board-row { grid-template-columns: 28px 1fr auto; } .board-row .chev { display: none; } }

.float-chip {
  position: absolute; background: var(--wb-surface); border: 1px solid var(--wb-border); border-radius: 14px;
  box-shadow: var(--wb-shadow-lg); padding: 12px 16px; display: flex; gap: 12px; align-items: center; font-size: .9rem;
}
.float-chip .ok { width: 30px; height: 30px; border-radius: 50%; background: var(--wb-ok); color: #fff; display: grid; place-items: center; flex: none; }
.hero-visual { position: relative; padding: 20px 0 44px; }
.hero-visual .float-chip { right: -6px; top: -8px; transform: rotate(2deg); }
.hero-visual .script { position: absolute; right: 4px; bottom: -6px; }
@media (max-width: 900px) { .hero-visual .float-chip { right: 4px; } }

/* ---------- pills / badges ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px;
  font-size: .78rem; font-weight: 600; line-height: 1.4; white-space: nowrap;
  background: var(--wb-border); color: var(--wb-muted);
}
.pill.today { background: var(--wb-bad-weak); color: var(--wb-bad); }
.pill.overdue { background: var(--wb-bad); color: #fff; }
.pill.soon { background: var(--wb-accent-weak); color: var(--wb-accent-ink); }
.pill.later { background: var(--wb-border); color: var(--wb-muted); }
.pill.done, .pill.ok { background: var(--wb-ok-weak); color: var(--wb-ok); }
.pill.warn { background: var(--wb-warn-weak); color: var(--wb-warn); }
.pill.demo { background: #fff3c4; color: #6b5200; border: 1px solid #ecd579; }

/* ---------- forms ---------- */
label.f { display: block; font-weight: 600; font-size: .88rem; color: var(--wb-heading); margin: 0 0 6px; }
label.f .opt { font-weight: 400; color: var(--wb-muted); }
.input, select.input, textarea.input {
  width: 100%; min-height: 44px; padding: 10px 12px; border: 1.5px solid var(--wb-border); border-radius: var(--wb-r-sm);
  background: var(--wb-surface); color: var(--wb-heading); font: 400 1rem var(--wb-font);
}
textarea.input { min-height: 84px; resize: vertical; }
.input:focus { border-color: var(--wb-accent); outline: 3px solid color-mix(in srgb, var(--wb-accent) 25%, transparent); outline-offset: 0; }
.input[aria-invalid="true"] { border-color: var(--wb-bad); }
.field { margin-bottom: 14px; }
.field .err { color: var(--wb-bad); font-size: .84rem; margin-top: 4px; min-height: 1em; }
.field .hint { color: var(--wb-muted); font-size: .82rem; margin-top: 4px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 620px) { .row2, .row3 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--wb-text); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--wb-blue); }

/* ---------- dialog ---------- */
dialog.modal {
  border: 0; border-radius: var(--wb-r-lg); padding: 0; width: min(520px, calc(100% - 24px));
  background: var(--wb-surface); color: var(--wb-text); box-shadow: var(--wb-shadow-lg);
}
dialog.modal::backdrop { background: rgba(8,15,22,.55); backdrop-filter: blur(2px); }
.modal .m-head { padding: 22px 24px 0; display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.modal .m-body { padding: 14px 24px 8px; }
.modal .m-foot { padding: 14px 24px 22px; display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.x-btn { background: none; border: 0; font-size: 1.6rem; line-height: 1; color: var(--wb-muted); cursor: pointer; min-width: 40px; min-height: 40px; border-radius: 8px; }
.x-btn:hover { background: var(--wb-border); }

/* ---------- toast ---------- */
#wb-toasts { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 90; display: grid; gap: 8px; width: min(420px, calc(100% - 24px)); }
.toast {
  background: var(--wb-heading); color: var(--wb-bg); border-radius: 10px; padding: 12px 16px; font-size: .92rem;
  box-shadow: var(--wb-shadow-lg); animation: tin .25s var(--wb-ease);
}
.toast.err { background: var(--wb-bad); color: #fff; }
@keyframes tin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- app shell ---------- */
.app-top { background: var(--wb-nav); }
.app-top .container { display: flex; align-items: center; gap: 14px; height: 60px; }
.app-top .who { margin-left: auto; display: flex; align-items: center; gap: 12px; color: #dbe4fb; font-size: .9rem; }
.app-top .btn { --_bg: transparent; --_fg: #dbe4fb; --_bd: rgba(255,255,255,.25); }
.app-top .btn:hover { background: rgba(255,255,255,.08); box-shadow: none; }
.app-top .btn-primary { --_bg: var(--wb-blue); --_fg: #fff; --_bd: var(--wb-blue); }
.app { padding: 26px 0 80px; }
.app h1 { font-size: clamp(1.5rem, 3vw, 2rem); }
.app-bar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.banner {
  display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between;
  background: var(--wb-accent-weak); border: 1px solid color-mix(in srgb, var(--wb-accent) 25%, var(--wb-border));
  border-radius: var(--wb-r); padding: 14px 18px; margin-bottom: 20px;
}
.banner.demo { background: #fff7d6; border-color: #ecd579; color: #5a4300; }
.banner p { margin: 0; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
.metric { text-align: left; background: var(--wb-surface); border: 1.5px solid var(--wb-border); border-radius: var(--wb-r); padding: 16px 18px; cursor: pointer; font: inherit; color: inherit; }
.metric:hover { border-color: var(--wb-accent); }
.metric[aria-pressed="true"] { border-color: var(--wb-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--wb-accent) 22%, transparent); }
.metric .n { font: 700 2rem/1 var(--wb-font-h); color: var(--wb-heading); display: block; }
.metric .l { color: var(--wb-muted); font-size: .88rem; }
.metric.is-overdue .n { color: var(--wb-bad); }
.toolbar { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; margin-bottom: 16px; }
@media (max-width: 720px) { .toolbar { grid-template-columns: 1fr 1fr; } .toolbar .search { grid-column: 1 / -1; } .metrics { gap: 8px; } .metric { padding: 12px; } .metric .n { font-size: 1.5rem; } }
.list { display: grid; gap: 12px; }
.fcard { background: var(--wb-surface); border: 1px solid var(--wb-border); border-left: 4px solid var(--wb-border); border-radius: var(--wb-r); padding: 16px 18px; box-shadow: var(--wb-shadow); }
.fcard.b-overdue { border-left-color: var(--wb-bad); }
.fcard.b-today { border-left-color: var(--wb-warn); }
.fcard.b-soon { border-left-color: var(--wb-accent); }
.fcard.is-done { opacity: .72; border-left-color: var(--wb-ok); }
.fcard .top { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.fcard .name { font: 600 1.05rem var(--wb-font-h); color: var(--wb-heading); }
.fcard .need { margin: 6px 0 0; color: var(--wb-text); }
.fcard.is-done .need { text-decoration: line-through; }
.fcard .meta { color: var(--wb-muted); font-size: .85rem; margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.fcard .notes { margin-top: 8px; background: var(--wb-surface-2); border: 1px dashed var(--wb-border); border-radius: 8px; padding: 8px 10px; font-size: .9rem; white-space: pre-wrap; }
.fcard .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.fcard .spacer { margin-left: auto; }
.empty { text-align: center; padding: 48px 20px; background: var(--wb-surface); border: 1.5px dashed var(--wb-border); border-radius: var(--wb-r); }
.empty h3 { font-size: 1.25rem; margin-bottom: 6px; }
.empty p { color: var(--wb-muted); margin: 0 0 16px; }
.upsell { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: space-between; margin-top: 26px; padding: 18px 20px; border-radius: var(--wb-r); background: linear-gradient(135deg, var(--wb-nav), var(--wb-nav-2)); color: #e8eeff; }
.upsell p { margin: 0; max-width: 38em; }
.upsell .links { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- prototype dev panel ---------- */
#wb-dev-btn {
  position: fixed; right: 14px; bottom: 14px; z-index: 80; background: var(--wb-heading); color: var(--wb-bg);
  border: 0; border-radius: 999px; padding: 10px 16px; font: 600 .8rem var(--wb-font); cursor: pointer; box-shadow: var(--wb-shadow-lg);
}
#wb-dev {
  position: fixed; right: 14px; bottom: 62px; z-index: 80; width: min(380px, calc(100% - 28px)); max-height: 60vh; overflow: auto;
  background: var(--wb-surface); border: 1px solid var(--wb-border); border-radius: var(--wb-r); box-shadow: var(--wb-shadow-lg); padding: 14px;
  font-size: .82rem; display: none;
}
#wb-dev.open { display: block; }
#wb-dev h4 { font-size: .9rem; margin-bottom: 6px; }
#wb-dev ol { margin: 0 0 10px; padding-left: 0; list-style: none; display: grid; gap: 4px; }
#wb-dev li { display: flex; gap: 8px; justify-content: space-between; background: var(--wb-surface-2); border: 1px solid var(--wb-border); border-radius: 6px; padding: 4px 8px; }
#wb-dev li code { font-family: ui-monospace, Menlo, Consolas, monospace; color: var(--wb-accent-ink); }
#wb-dev li span { color: var(--wb-muted); }

/* ---------- hub (team presentation page) ---------- */
.tool-card { display: flex; flex-direction: column; gap: 10px; }
.tool-card .tag { align-self: flex-start; }
.tool-card .links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; counter-reset: s; }
.flow > div { background: var(--wb-surface); border: 1px solid var(--wb-border); border-radius: var(--wb-r); padding: 14px; font-size: .88rem; position: relative; }
.flow > div b { display: block; font-family: var(--wb-font-h); color: var(--wb-heading); margin-bottom: 4px; }
.flow > div::before { counter-increment: s; content: counter(s); display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--wb-blue); color: #fff; font-size: .75rem; font-weight: 700; margin-bottom: 8px; }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } }
table.t { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.t th, table.t td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--wb-border); vertical-align: top; }
table.t th { color: var(--wb-heading); font-weight: 600; background: var(--wb-surface-2); }
.tbl-wrap { position: relative; overflow-x: auto; border: 1px solid var(--wb-border); border-radius: var(--wb-r); background: var(--wb-surface); }

/* ---------- legal placeholder ---------- */
.legal { max-width: 760px; margin: 40px auto; padding: 0 16px 60px; }
.legal h1 { font-size: 2rem; margin-bottom: 10px; }
.legal h2 { font-size: 1.2rem; margin: 26px 0 8px; }
.stamp { background: #fff3c4; border: 1px solid #ecd579; color: #5a4300; border-radius: 10px; padding: 12px 16px; margin: 14px 0 20px; font-size: .92rem; }

/* ---------- print (quote PDF) ---------- */
@media print {
  body { background: #fff; }
  .no-print, .nav, .app-top, .proto-ribbon, #wb-dev-btn, #wb-dev, #wb-toasts { display: none !important; }
}

/* ---------- booking slots ---------- */
.slotgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.slot {
  display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 6px 10px; border-radius: 10px;
  border: 1.5px solid var(--wb-border); background: var(--wb-surface); color: var(--wb-heading); font: 600 .9rem var(--wb-font); cursor: default;
}
button.slot { cursor: pointer; }
button.slot:hover, .slot.sel { border-color: var(--wb-blue); background: var(--wb-accent-weak); color: var(--wb-accent-ink); }
.slot.sel { box-shadow: 0 0 0 3px color-mix(in srgb, var(--wb-accent) 22%, transparent); }
.slot.taken { opacity: .45; text-decoration: line-through; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--wb-border); margin-bottom: 20px; overflow-x: auto; }
.tabs button { background: none; border: 0; padding: 12px 16px; font: 600 .95rem var(--wb-font); color: var(--wb-muted); cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--wb-accent-ink); border-bottom-color: var(--wb-blue); }
.daypick { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.daypick button { flex: none; min-width: 64px; padding: 8px 6px; border: 1.5px solid var(--wb-border); border-radius: 10px; background: var(--wb-surface); color: var(--wb-heading); cursor: pointer; font: 600 .85rem var(--wb-font); text-align: center; }
.daypick button small { display: block; font-weight: 400; color: var(--wb-muted); }
.daypick button[aria-pressed="true"] { border-color: var(--wb-blue); background: var(--wb-accent-weak); }
.daypick button:disabled { opacity: .4; cursor: not-allowed; }
.appt { display: grid; grid-template-columns: 90px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--wb-border); }
.appt:last-child { border-bottom: 0; }
.appt .when { font: 600 .95rem var(--wb-font-h); color: var(--wb-heading); }
.appt .when small { display: block; font: 400 .8rem var(--wb-font); color: var(--wb-muted); }
@media (max-width: 560px) { .appt { grid-template-columns: 1fr; gap: 6px; } }
.dayrow { display: grid; grid-template-columns: 110px auto 1fr; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--wb-border); }
.dayrow .times { display: flex; gap: 8px; align-items: center; }
.dayrow .times .input { min-height: 38px; padding: 4px 8px; width: 120px; }
@media (max-width: 560px) { .dayrow { grid-template-columns: 1fr 1fr; } .dayrow .times { grid-column: 1 / -1; } }
.paper { background: #fff; color: #1b2433; border: 1px solid var(--wb-border); border-radius: 6px; padding: 28px; box-shadow: var(--wb-shadow); font-size: .92rem; }
.paper h2, .paper h3 { color: #0b1320; }
.paper table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.paper th, .paper td { text-align: left; padding: 8px 6px; border-bottom: 1px solid #e6e9f0; }
.paper td.r, .paper th.r { text-align: right; }
.paper .tot { margin-left: auto; width: min(260px, 100%); }
.paper .tot div { display: flex; justify-content: space-between; padding: 4px 0; }
.paper .tot .g { font-weight: 700; font-size: 1.1rem; border-top: 2px solid #0b1320; margin-top: 6px; padding-top: 8px; }

@media print {
  .paper { border: 0; box-shadow: none; padding: 0; }
  main.app .container > *:not(#paperWrap) { display: none !important; }
  #paperWrap { display: block !important; }
}
.editor { display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 960px) { .editor { grid-template-columns: 1fr; } }
.itemrow { display: grid; grid-template-columns: 1fr 78px 110px 36px; gap: 8px; align-items: start; margin-bottom: 8px; }
.itemrow .input { min-height: 40px; padding: 6px 10px; }
@media (max-width: 560px) { .itemrow { grid-template-columns: 1fr 70px 96px 36px; } }
.hero .container.hub-hero { grid-template-columns: 1.2fr 1fr; }
@media (max-width: 900px) { .hero .container.hub-hero { grid-template-columns: 1fr; } }
@media (min-width: 961px) { #paperWrap { position: sticky; top: 16px; } }
:root[data-theme="dark"] .board-head img { filter: brightness(0) invert(1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .board-head img { filter: brightness(0) invert(1); } }

/* ---------- FollowUp photo hero (supplied background + phone-in-hand visual) ---------- */
.nav.nav-lg { background: linear-gradient(90deg, #0a1a3c 0%, #0f2a63 100%); }
.nav.nav-lg .container { height: 72px; }
.nav.nav-lg .logo img { height: 38px; }
.hero.hero-photo {
  /* always rendered on the light artwork, whatever the visitor's theme */
  --wb-heading: #0b1320; --wb-text: #283244; --wb-muted: #4b566b; --wb-accent-ink: #1d4fd8; --wb-surface: #fff; --wb-border: #e6e9f0;
  background: #f4f8ff url("../images/hero-bg.webp") center / cover no-repeat; padding: 0; overflow: hidden;
}
.hero.hero-photo .container { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 24px; min-height: 600px; align-items: stretch; }
.hero-copy { align-self: center; padding: 56px 0; }
.hero-photo h1 { font-size: clamp(2.5rem, 5.4vw, 4.2rem); line-height: 1.04; letter-spacing: -.03em; color: #0a1745; }
.hero-photo p.lead { font-size: clamp(1.1rem, 1.8vw, 1.5rem); color: #4b5a78; line-height: 1.5; max-width: 25em; }
.hero-photo .eyebrow { font-size: .95rem; letter-spacing: .12em; margin-bottom: 20px; }
.hero-phone { align-self: end; justify-self: end; line-height: 0; margin-right: -16px; }
.hero-phone img { width: min(100%, 560px); height: auto; display: block; filter: drop-shadow(0 28px 40px rgba(20, 40, 110, .18)); }
.btn-play { background: #fff; --_bd: #fff; color: #0a1745; box-shadow: 0 4px 18px rgba(20, 40, 110, .08); }
.btn-play svg { width: 30px; height: 30px; flex: none; color: var(--wb-blue); }
.hero-photo .btn-primary { box-shadow: 0 10px 26px rgba(37, 99, 255, .32); }
@media (max-width: 900px) {
  .hero.hero-photo .container { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero-copy { padding: 36px 0 12px; }
  .hero-phone { justify-self: center; margin-right: 0; margin-top: 8px; }
  .hero-phone img { width: min(78%, 360px); margin-inline: auto; }
  .nav.nav-lg .container { height: 64px; }
  .nav.nav-lg .logo img { height: 32px; }
}

/* ---------- list views ---------- */
.viewbar { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; overflow-x: auto; padding-bottom: 2px; }
.viewbar .vlabel { font: 600 .8rem var(--wb-font); color: var(--wb-muted); text-transform: uppercase; letter-spacing: .08em; margin-right: 4px; }
.vbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--wb-border); background: var(--wb-surface); color: var(--wb-text); font: 600 .9rem var(--wb-font); cursor: pointer; white-space: nowrap; }
.vbtn:hover { border-color: var(--wb-accent); }
.vbtn[aria-pressed="true"] { background: var(--wb-blue); border-color: var(--wb-blue); color: #fff; }
.thbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; white-space: nowrap; }
.thbtn:hover { color: var(--wb-accent-ink); }
table.t tr.is-done td { opacity: .6; }
table.t tr.is-done td.nm { text-decoration: line-through; }
table.t td .input { min-height: 34px; padding: 2px 8px; font-size: .85rem; width: auto; }
table.t tr.b-overdue td:first-child { box-shadow: inset 4px 0 0 var(--wb-bad); }
table.t tr.b-today td:first-child { box-shadow: inset 4px 0 0 var(--wb-warn); }
.rowact { display: flex; gap: 6px; flex-wrap: wrap; }
.pipe { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 10px; align-items: start; }
.pcol { background: var(--wb-band); border: 1.5px solid transparent; border-radius: var(--wb-r); padding: 10px; min-height: 160px; }
.pcol.over { border-color: var(--wb-blue); background: var(--wb-accent-weak); }
.pcol > h3 { font-size: .95rem; display: flex; justify-content: space-between; align-items: center; margin: 2px 4px 10px; }
.pbody { display: grid; gap: 8px; }
.pcard { background: var(--wb-surface); border: 1px solid var(--wb-border); border-left: 4px solid var(--wb-border); border-radius: 10px; padding: 10px 12px; box-shadow: var(--wb-shadow); cursor: grab; }
.pcard.b-overdue { border-left-color: var(--wb-bad); } .pcard.b-today { border-left-color: var(--wb-warn); } .pcard.b-soon { border-left-color: var(--wb-accent); } .pcard.is-done { opacity: .65; border-left-color: var(--wb-ok); }
.pcard.dragging { opacity: .4; }
.pcard b { color: var(--wb-heading); font-family: var(--wb-font-h); }
.pcard p { margin: 4px 0 8px; font-size: .88rem; }
.pcard .rowact { margin-top: 8px; }
.pcard select { min-height: 32px; font-size: .8rem; padding: 2px 6px; width: 100%; margin-top: 8px; }
.pempty { text-align: center; padding: 18px 6px; border: 1.5px dashed var(--wb-border); border-radius: 10px; margin: 0; }
.agroup { margin-bottom: 18px; }
.agroup > h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--wb-muted); margin: 0 0 8px; display: flex; gap: 8px; align-items: center; }
.agroup.g-overdue > h3 { color: var(--wb-bad); }
.arow { display: grid; grid-template-columns: 34px 1fr auto auto; gap: 12px; align-items: center; background: var(--wb-surface); border: 1px solid var(--wb-border); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; }
.arow.is-done .anm { text-decoration: line-through; opacity: .65; }
.arow .anm b { color: var(--wb-heading); font-family: var(--wb-font-h); } .arow .anm span { display: block; color: var(--wb-muted); font-size: .88rem; }
.tick { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--wb-border); background: var(--wb-surface); cursor: pointer; display: grid; place-items: center; color: transparent; font-size: 1rem; }
.tick:hover { border-color: var(--wb-ok); color: var(--wb-ok); }
.arow.is-done .tick { background: var(--wb-ok); border-color: var(--wb-ok); color: #fff; }
@media (max-width: 640px) { .arow { grid-template-columns: 34px 1fr; } .arow .pill, .arow .rowact { grid-column: 2; justify-self: start; } }
#list, .container > * { min-width: 0; }
.pipe { max-width: 100%; overscroll-behavior-x: contain; }
@media (max-width: 640px) { .pipe { grid-auto-columns: minmax(240px, 82%); scroll-snap-type: x proximity; } .pcol { scroll-snap-align: start; } }

/* ---------- CSS phone used by Bookings and QuoteTrack heroes (same composition as the FollowUp photo hero) ---------- */
.hero-phone { position: relative; }
.device { width: min(100%, 330px); margin: 36px 0 0 auto; padding: 11px; border-radius: 46px; background: linear-gradient(145deg, #3a3f4c, #14171f); box-shadow: 0 30px 50px rgba(20, 40, 110, .22), inset 0 0 0 2px #50566a; }
.device-screen { position: relative; background: #f6f9ff; border-radius: 36px; padding: 44px 16px 22px; min-height: 470px; color: #0b1320; overflow: hidden; }
.device-screen::before { content: ""; position: absolute; top: 12px; left: 50%; width: 92px; height: 26px; margin-left: -46px; background: #0b0d13; border-radius: 20px; }
.dv-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.dv-brand img { height: 26px; width: auto; } .dv-brand b { font: 700 1.05rem var(--wb-font-h); color: #0b1320; }
.device-screen h4 { margin: 0; font: 700 1.4rem var(--wb-font-h); color: #0b1320; letter-spacing: -.02em; }
.dv-sub { margin: 2px 0 14px; font-size: .85rem; color: #5a6478; }
.dv-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.dv-slots span { text-align: center; padding: 9px 4px; border-radius: 10px; background: #fff; border: 1.5px solid #dfe5f1; font-size: .8rem; font-weight: 600; color: #1d4fd8; }
.dv-slots .sel { background: #2563ff; border-color: #2563ff; color: #fff; }
.dv-slots .off { color: #9aa4b8; text-decoration: line-through; background: #eef1f7; }
.dv-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; background: #fff; border-radius: 14px; padding: 11px 12px; margin-bottom: 10px; box-shadow: 0 2px 10px rgba(20, 40, 110, .06); }
.dv-row b { display: block; font-size: .85rem; color: #0b1320; } .dv-row small { color: #5a6478; font-size: .75rem; }
.dv-ic { color: #2563ff; display: grid; place-items: center; } .dv-ic.ok { color: #12a150; }
.dv-tag { font-size: .72rem; font-weight: 700; padding: 5px 9px; border-radius: 8px; white-space: nowrap; }
.dv-tag.ok { background: #e3f7ea; color: #0f7a3d; } .dv-tag.blue { background: #e4eeff; color: #1d4fd8; } .dv-tag.warn { background: #fff0d6; color: #9a5b00; }
.dv-script { position: absolute; left: -6px; bottom: 54px; transform: rotate(-4deg); font-size: 1.5rem; color: #1d4fd8; }
@media (max-width: 900px) { .device { margin: 8px auto 0; width: min(86%, 320px); } .dv-script { left: 4%; bottom: 40px; } .hero-phone { padding-bottom: 28px; } }
.hero-phone .device { line-height: 1.4; }
.dv-row > div { min-width: 0; }
.dv-script { left: -88px; bottom: 90px; }
@media (max-width: 900px) { .dv-script { left: 2%; bottom: 6px; } }
.hero-phone img { width: min(100%, 520px); filter: none; }
@media (max-width: 900px) { .hero-phone img { width: min(80%, 380px); } }

/* =====================================================================
   Launch layer: flush-bottom hero visual, texture, human touches
   ===================================================================== */
:root { --wb-sticky: #fff8d4; --wb-sticky-ink: #3b3417; --wb-hl: rgba(255, 207, 51, .6); }
:root[data-theme="dark"] { --wb-sticky: #2b2915; --wb-sticky-ink: #f1e8b4; --wb-hl: rgba(255, 207, 51, .28); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --wb-sticky: #2b2915; --wb-sticky-ink: #f1e8b4; --wb-hl: rgba(255, 207, 51, .28); } }

/* hero visual: sits on the bottom edge of the hero, with room above */
.hero.hero-photo .container { align-items: stretch; }
.hero-phone { align-self: end; padding-top: 48px; margin-right: 0; display: flex; align-items: flex-end; justify-content: flex-end; }
.hero-phone > img { display: block; width: min(100%, 560px); height: auto; margin: 0; filter: none; }
@media (max-width: 900px) { .hero-phone { justify-content: center; padding-top: 24px; } .hero-phone > img { width: min(86%, 400px); } }
/* css phone heroes bleed off the bottom edge in the same way */
.hero-phone .device { margin: 0 0 -70px auto; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.hero-phone .device-screen { border-bottom-left-radius: 0; border-bottom-right-radius: 0; min-height: 520px; }
@media (max-width: 900px) { .hero-phone .device { margin: 0 auto -70px; } }
.dv-script { bottom: 150px; }

/* grain: a faint paper texture over the tinted bands */
.band.tint, .bridge {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .13 0 0 0 0 .2 0 0 0 0 .45 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  background-blend-mode: multiply;
}
.band.tint2 {
  background-image: radial-gradient(rgba(37, 99, 255, .13) 1.1px, transparent 1.3px), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .13 0 0 0 0 .2 0 0 0 0 .45 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  background-size: 24px 24px, 180px 180px; background-blend-mode: normal, multiply;
}

/* handwriting + highlighter */
.hl { background: linear-gradient(transparent 58%, var(--wb-hl) 58%, var(--wb-hl) 92%, transparent 92%); padding: 0 .08em; border-radius: 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero-photo .hl { --wb-hl: rgba(255, 207, 51, .6); }
.hand { font-family: var(--wb-script); color: var(--wb-accent-ink); font-size: 1.5rem; line-height: 1.1; display: inline-block; }
.hero-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; transform: rotate(-2deg); color: #1d4fd8; }
.hero-note svg { width: 38px; height: 26px; flex: none; }
.signoff { font-family: var(--wb-script); font-size: 1.9rem; color: var(--wb-accent-ink); transform: rotate(-3deg); display: inline-block; margin-top: 6px; }

/* sticky-note quote cards */
.card.pain { background: var(--wb-sticky); border-color: transparent; box-shadow: 0 10px 22px rgba(60, 50, 10, .12), 0 1px 2px rgba(60, 50, 10, .1); position: relative; transform: rotate(-.9deg); transition: transform .2s; }
.card.pain:nth-child(even) { transform: rotate(1.1deg); }
.card.pain:hover { transform: rotate(0) translateY(-2px); }
.card.pain::before { content: ""; position: absolute; top: -10px; left: 50%; width: 74px; height: 20px; margin-left: -37px; background: rgba(190, 205, 235, .55); transform: rotate(-2deg); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.card.pain q { font-family: var(--wb-script); font-size: 1.55rem; line-height: 1.2; color: var(--wb-sticky-ink); font-weight: 600; }
.card.pain .ic { background: rgba(255, 255, 255, .6); }

/* from-the-team note */
.teamnote { background: var(--wb-surface); border: 1px solid var(--wb-border); border-radius: var(--wb-r-lg); padding: 28px 30px; box-shadow: var(--wb-shadow); position: relative; transform: rotate(.5deg); }
.teamnote::before { content: ""; position: absolute; top: -12px; right: 38px; width: 84px; height: 22px; background: rgba(255, 207, 51, .5); transform: rotate(3deg); }
.teamnote p { margin: 0 0 12px; }

/* next-step (soft sell) cards */
.nextstep { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.nextstep .card { display: flex; flex-direction: column; gap: 10px; padding: 24px; }
.nextstep .card h3 { margin: 0; font-size: 1.15rem; }
.nextstep .card p { margin: 0; color: var(--wb-muted); font-size: .95rem; flex: 1; }
.nextstep .tagline { font-family: var(--wb-script); font-size: 1.35rem; color: var(--wb-accent-ink); }
@media (max-width: 760px) { .nextstep { grid-template-columns: 1fr; } }
.softcta { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--wb-accent-weak); font-size: .92rem; color: var(--wb-text); }
.softcta a { font-weight: 600; }

/* free tools home */
.toolcard { display: flex; flex-direction: column; gap: 10px; padding: 26px; position: relative; }
.toolcard .tc-ic { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--wb-accent-weak); color: var(--wb-accent-ink); }
.toolcard h3 { margin: 4px 0 0; font-size: 1.3rem; }
.toolcard p { margin: 0; color: var(--wb-muted); flex: 1; }
.toolcard .for { font-family: var(--wb-script); font-size: 1.3rem; color: var(--wb-accent-ink); }
.toolcard .links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; align-items: center; }
.toolcard .links a.plain { font-weight: 600; font-size: .92rem; }
.chooser { display: grid; gap: 12px; max-width: 760px; margin: 0 auto; }
.chooser a { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; text-decoration: none; background: var(--wb-surface); border: 1px solid var(--wb-border); border-radius: 14px; padding: 16px 20px; color: var(--wb-text); box-shadow: var(--wb-shadow); }
.chooser a:hover { border-color: var(--wb-accent); }
.chooser a b { color: var(--wb-heading); display: block; font-family: var(--wb-font-h); }
.chooser a span.go { font-weight: 700; color: var(--wb-accent-ink); white-space: nowrap; }
.flowline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.flowline > div { background: var(--wb-surface); border: 1px solid var(--wb-border); border-radius: 14px; padding: 18px; position: relative; }
.flowline > div b { display: block; color: var(--wb-heading); font-family: var(--wb-font-h); margin-bottom: 4px; }
.flowline > div p { margin: 0; font-size: .92rem; color: var(--wb-muted); }
.flowline > div + div::before { content: "\2192"; position: absolute; left: -17px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--wb-accent); background: var(--wb-surface); border: 1px solid var(--wb-border); border-radius: 50%; width: 22px; height: 22px; display: grid; place-items: center; font-size: .85rem; z-index: 1; }
@media (max-width: 860px) { .flowline { grid-template-columns: 1fr 1fr; } .flowline > div + div::before { display: none; } }
@media (max-width: 520px) { .flowline { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .card.pain { transition: none; } }
.dv-brand img { flex: none; max-width: none; } .dv-brand b { white-space: nowrap; }
.dv-brand img { height: auto; width: 76px; max-width: none; flex: none; }
.chooser a > span:first-child { min-width: 0; }
@media (max-width: 520px) { .chooser a { grid-template-columns: 1fr; gap: 6px; } }
/* photo heroes are always on the light artwork, in either theme */
:root[data-theme="dark"] .hero.hero-photo { background: #f4f8ff url("../images/hero-bg.webp") center / cover no-repeat; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero.hero-photo { background: #f4f8ff url("../images/hero-bg.webp") center / cover no-repeat; } }
.chooser { grid-template-columns: minmax(0, 1fr); } .chooser a b { overflow-wrap: anywhere; }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 0; }
@media (max-width: 640px) { .footer a { margin-left: 0; margin-right: 18px; } }
