/* Stardog Bookkeeping public site. Self-contained: tokens, layout and components for the landing and
   sign-up pages only (the console and portal use app.css). */
@font-face { font-family: "Inter"; src: url("/static/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #0b1020; --ink-2: #121a33; --ink-3: #1b2547;
  --paper: #ffffff; --paper-2: #f6f7fb; --line: #e6e8f0; --line-dark: rgba(255,255,255,.12);
  --text: #0f1426; --text-2: #4a5270; --text-3: #6b7390; --on-ink: #eef1ff; --on-ink-2: #b7bfe0;
  --brand: #5b6cff; --brand-2: #8a5cff; --brand-ink: #ffffff; --money: #16a36a; --money-soft: #e7f7ef;
  --warn: #b7791f; --radius: 14px; --radius-lg: 22px; --shadow: 0 24px 60px -24px rgba(12, 18, 50, .35);
  --max: 1120px; --gutter: 20px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.site { margin: 0; font: 400 16px/1.6 var(--font); color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
a { color: var(--brand); }
img, svg { max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(11, 16, 32, .82); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line-dark); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; letter-spacing: -.01em; font-size: 17px; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 6px 18px -6px rgba(91, 108, 255, .8); }
.brand-mark svg { width: 17px; height: 17px; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: var(--on-ink-2); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.nav a:hover { color: #fff; }
.nav .nav-link { display: none; }
@media (min-width: 860px) { .nav .nav-link { display: inline; } }

/* ---------------------------------------------------------------- buttons */
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; border: 0; font: 650 16px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .15s, box-shadow .15s, background .15s; }
.cta-primary { color: var(--brand-ink); background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 10px 28px -10px rgba(91, 108, 255, .9); }
.cta-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -10px rgba(91, 108, 255, 1); }
.cta-ghost { color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); }
.cta-ghost:hover { background: rgba(255,255,255,.14); }
.cta-sm { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.cta-block { width: 100%; }
.cta svg { width: 18px; height: 18px; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 80% -10%, rgba(138, 92, 255, .35), transparent 60%), radial-gradient(900px 500px at -10% 10%, rgba(91, 108, 255, .30), transparent 55%), var(--ink); color: var(--on-ink); }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: grid; gap: 48px; padding-top: 56px; padding-bottom: 72px; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1.1fr .9fr; align-items: center; padding-top: 88px; padding-bottom: 104px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: 13px; font-weight: 550; color: var(--on-ink-2); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 4px rgba(61, 220, 151, .18); }
.hero h1 { margin: 18px 0 16px; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.05; letter-spacing: -.035em; font-weight: 800; color: #fff; }
.hero h1 .grad { background: linear-gradient(90deg, #9fb0ff, #c7a8ff 55%, #7ef0c2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { font-size: clamp(17px, 2vw, 20px); line-height: 1.55; color: var(--on-ink-2); max-width: 560px; margin: 0 0 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.assure { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: 14px; color: var(--on-ink-2); }
.assure span { display: inline-flex; align-items: center; gap: 6px; }
.assure svg { width: 16px; height: 16px; color: #3ddc97; flex: none; }
.works { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 30px; font-size: 13px; color: var(--on-ink-2); }
.chip { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); color: #fff; font-weight: 600; font-size: 13px; background: rgba(255,255,255,.04); }

/* hero visual: the money-check report leads; a short text thread sits beside it (never under it) */
.visual { display: flex; align-items: flex-end; justify-content: center; gap: 18px; }
.phone { position: relative; width: 290px; border-radius: 42px; padding: 12px; background: linear-gradient(160deg, #2a355f, #111831); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.08); }
.phone.mini { width: 214px; border-radius: 34px; padding: 9px; flex: none; margin-bottom: -28px; }
.phone.mini .phone-screen { border-radius: 26px; }
.phone-screen { border-radius: 32px; background: #f4f5f9; overflow: hidden; }
.phone-top { padding: 12px 14px 9px; text-align: center; font-size: 11.5px; color: #6b7390; background: #fff; border-bottom: 1px solid #eceef4; }
.phone-top b { display: block; color: #0f1426; font-size: 12.5px; }
.thread { padding: 12px 10px 16px; display: flex; flex-direction: column; gap: 7px; }
.bubble { max-width: 88%; padding: 8px 11px; border-radius: 16px; font-size: 12.5px; line-height: 1.4; }
.bubble.them { background: #fff; color: #0f1426; border: 1px solid #e7e9f1; border-bottom-left-radius: 6px; align-self: flex-start; }
.bubble.me { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; }
.bubble small { display: block; margin-top: 4px; opacity: .7; font-size: 11px; }
.report { position: relative; width: 268px; flex: none; padding: 18px; border-radius: 20px; background: #fff; color: var(--text); box-shadow: var(--shadow); border: 1px solid var(--line); }
.report .tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }
.report .big { font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: var(--money); line-height: 1.1; }
.report .report-sub { font-size: 13px; color: var(--text-2); }
.report .row { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--text-2); padding: 7px 0; border-top: 1px solid var(--line); }
.report .row:first-of-type { margin-top: 10px; }
.report .row b { color: var(--text); white-space: nowrap; }
.example { position: absolute; top: 12px; right: 12px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--warn); background: #fff6e5; border-radius: 6px; padding: 2px 6px; }
.free-check { max-width: 560px; margin: -12px 0 26px; padding: 12px 16px; border-radius: 14px; background: rgba(61, 220, 151, .1); border: 1px solid rgba(61, 220, 151, .25); color: var(--on-ink); font-size: 15.5px; line-height: 1.5; }
.free-check b { color: #7ef0c2; }
@media (max-width: 959px) { .visual { justify-content: flex-start; } }
@media (max-width: 640px) {
  .hero .wrap { gap: 28px; padding-top: 32px; padding-bottom: 44px; }
  .hero h1 { font-size: 34px; }
  .phone.mini { display: none; }               /* phones: lead with the report, right under the buttons */
  .report { width: 100%; max-width: 360px; }
}

/* ---------------------------------------------------------------- sections */
section.block { padding: 88px 0; }
section.block.alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
h2.title { font-size: clamp(30px, 4vw, 44px); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 14px; font-weight: 800; }
.sub { font-size: 18px; color: var(--text-2); max-width: 640px; margin: 0 0 44px; }
.center { text-align: center; } .center .sub { margin-left: auto; margin-right: auto; }

.steps { display: grid; gap: 18px; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step-card { position: relative; padding: 28px 24px 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.step-card::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; margin-bottom: 16px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.step-card h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -.01em; }
.step-card p { margin: 0; color: var(--text-2); font-size: 15.5px; }
.step-card .time { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--text-3); }

.features { display: grid; gap: 16px; }
@media (min-width: 700px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { padding: 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.feature .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #eef0ff; color: var(--brand); margin-bottom: 14px; }
.feature .ic svg { width: 22px; height: 22px; }
.feature h3 { margin: 0 0 6px; font-size: 17px; letter-spacing: -.01em; }
.feature p { margin: 0; color: var(--text-2); font-size: 15px; }
.feature.money .ic { background: var(--money-soft); color: var(--money); }

.trust { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .trust { grid-template-columns: 1fr 1fr; gap: 56px; } }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-size: 16px; }
.checks li svg { width: 24px; height: 24px; color: var(--money); margin-top: 1px; }
.checks b { display: block; }
.checks span { color: var(--text-2); font-size: 15px; }
.panel { padding: 28px; border-radius: var(--radius-lg); background: var(--ink); color: var(--on-ink); box-shadow: var(--shadow); }
.panel h3 { margin: 0 0 12px; font-size: 20px; color: #fff; }
.panel ol { margin: 0; padding-left: 20px; color: var(--on-ink-2); display: grid; gap: 8px; }

/* ---------------------------------------------------------------- pricing */
.price-card { max-width: 560px; margin: 0 auto; padding: 36px 32px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.price-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--brand), var(--brand-2), #3ddc97); }
.price { display: flex; align-items: baseline; gap: 6px; margin: 8px 0 4px; }
.price .amt { font-size: 56px; font-weight: 800; letter-spacing: -.04em; }
.price .per { color: var(--text-3); font-size: 17px; }
.price-note { color: var(--text-2); font-size: 15px; margin: 0 0 22px; }
.includes { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.includes li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15.5px; }
.includes svg { width: 20px; height: 20px; color: var(--money); margin-top: 2px; }
.guarantee { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--money-soft); color: #0e5c3d; font-size: 15px; margin-bottom: 22px; }
.guarantee svg { width: 22px; height: 22px; flex: none; }
.fine { font-size: 13px; color: var(--text-3); text-align: center; margin: 12px 0 0; }

/* ---------------------------------------------------------------- FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 650; font-size: 16.5px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 22px; line-height: 1; color: var(--text-3); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--text-2); }

/* ---------------------------------------------------------------- sign-up */
.signup { background: radial-gradient(900px 480px at 100% 0%, rgba(138, 92, 255, .28), transparent 60%), var(--ink); color: var(--on-ink); }
.signup .wrap { display: grid; gap: 40px; padding-top: 88px; padding-bottom: 96px; }
@media (min-width: 960px) { .signup .wrap { grid-template-columns: .9fr 1.1fr; align-items: start; } }
.signup h2.title { color: #fff; }
.signup .sub { color: var(--on-ink-2); }
.form-card { padding: 28px; border-radius: 24px; background: #fff; color: var(--text); box-shadow: 0 40px 80px -40px rgba(0,0,0,.7); }
.form-card h3 { margin: 0 0 4px; font-size: 21px; letter-spacing: -.01em; }
.form-card .hint { margin: 0 0 20px; color: var(--text-3); font-size: 14.5px; }
.fld { display: grid; gap: 6px; margin-bottom: 14px; }
.fld label, .fld .lbl { font-size: 14px; font-weight: 600; }
.fld .opt { font-weight: 400; color: var(--text-3); }
.fld input[type=text], .fld input[type=email], .fld input[type=tel] { width: 100%; min-height: 50px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line); font: 400 16px var(--font); color: var(--text); background: #fff; transition: border-color .15s, box-shadow .15s; }
.fld input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(91, 108, 255, .15); }
.two { display: grid; gap: 0 12px; }
@media (min-width: 560px) { .two { grid-template-columns: 1fr 1fr; } }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg label { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 12px; border: 1.5px solid var(--line); font-weight: 650; cursor: pointer; transition: border-color .15s, background .15s; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { border-color: var(--brand); background: #eef0ff; color: #2d3bcc; box-shadow: 0 0 0 1px var(--brand); }
.seg label:has(input:focus-visible) { box-shadow: 0 0 0 4px rgba(91, 108, 255, .25); }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 13px; color: var(--text-2); margin: -4px 0 16px; }
.consent input { margin-top: 3px; accent-color: var(--brand); width: 16px; height: 16px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.err { padding: 12px 14px; border-radius: 12px; background: #fdeceb; color: #a61d12; font-size: 14.5px; margin-bottom: 16px; font-weight: 550; }
.after { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.after li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; color: var(--on-ink-2); }
.after .n { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; font-weight: 700; font-size: 14px; }
.after b { color: #fff; display: block; }

/* ---------------------------------------------------------------- footer */
.site-foot { padding: 36px 0 44px; background: var(--ink); color: var(--on-ink-2); border-top: 1px solid var(--line-dark); font-size: 14px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.site-foot a { color: var(--on-ink-2); text-decoration: none; }
.site-foot a:hover { color: #fff; }

/* standalone start page */
.start-page { min-height: 100vh; background: var(--ink); }
.start-page .wrap { max-width: 560px; padding-top: 40px; padding-bottom: 60px; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* phone header: one line, nothing off-screen */
.brand { white-space: nowrap; }
.narrow-only { display: none; }
@media (max-width: 520px) {
  .site-head .wrap { gap: 12px; }
  .brand { font-size: 15px; gap: 8px; }
  .brand-mark { width: 26px; height: 26px; border-radius: 8px; }
  .nav { gap: 14px; }
  .nav a { font-size: 14px; white-space: nowrap; }
  .wide-only { display: none; }
  .narrow-only { display: inline; }
}
@media (max-width: 350px) { .site-head .brand { font-size: 0; gap: 0; } }

/* Privacy policy / terms */
.legal { max-width: 760px; padding: 56px var(--gutter) 88px; }
.legal h1 { font-size: clamp(30px, 5vw, 40px); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 6px; }
.legal .updated { color: var(--text-3); font-size: 14px; margin: 0 0 32px; }
.legal h2 { font-size: 20px; letter-spacing: -.01em; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--text-2); }
.legal ul { padding-left: 20px; }
.legal li { margin: 6px 0; }
.legal .summary { padding: 18px 20px; border-radius: var(--radius-lg); background: var(--paper-2); border: 1px solid var(--line); }
.legal .summary p { margin: 0; color: var(--text); }
.legal a:not(.cta) { color: var(--brand); }

/* proof: the person who reviews the books */
.bookkeeper { display: flex; gap: 28px; align-items: flex-start; max-width: 760px; }
.bk-photo { width: 120px; height: 120px; border-radius: 24px; object-fit: cover; flex: none; }
.bk-role { color: var(--text-3); margin: -6px 0 14px; font-weight: 550; }
.bookkeeper p { color: var(--text-2); }
@media (max-width: 640px) { .bookkeeper { flex-direction: column; gap: 16px; } }

/* pricing conditions beside the price */
.terms-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; font-size: 14.5px; color: var(--text-2); }
.terms-list b { color: var(--text); }
.fine a { color: var(--brand); }
a.on-dark { color: #c7d0ff; text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
a.on-dark:hover { color: #fff; }
a.on-dark svg { width: 16px; height: 16px; }

/* sample money check */
.sample .kicker { margin-bottom: 6px; }
.sample h2 { margin-top: 40px; }
.sample-total { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 8px 0 8px; }
.sample-total > div { padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: #fff; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.sample-total .tag { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.sample-total .big { font-size: 32px; font-weight: 800; letter-spacing: -.02em; color: var(--money); line-height: 1.15; }
.sample-total .big.alt { color: var(--text); }
.muted-sm { font-size: 13.5px; color: var(--text-3); }
.sample-table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 6px 0 12px; }
.sample-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); font-weight: 650; padding: 8px 8px; border-bottom: 1px solid var(--line); }
.sample-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); color: var(--text); }
.sample-table tfoot td { font-weight: 750; border-bottom: 0; }
.sample-table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.late { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12.5px; font-weight: 650; }
.late.bad { background: #fde8e8; color: #a12a2a; }
.late.warn { background: #fff6e5; color: var(--warn); }

/* ---------------------------------------------------------------- Scout, the mascot (docs/brand/scout-*.png) */
/* The logo: Scout's head + the "Stardog / BOOKKEEPING" wordmark. A soft blue glow keeps the navy pup visible on navy. */
.brand { gap: 10px; }
.brand-scout { width: 40px; height: auto; filter: drop-shadow(0 0 6px rgba(111, 128, 255, .55)); }
.wordmark { display: inline-flex; flex-direction: column; line-height: 1; }
.wm-name { font: 800 21px/1 Outfit, var(--font); letter-spacing: -.01em; color: #fff; }
.wm-sub { margin-top: 3px; font: 700 8.5px/1 Outfit, var(--font); letter-spacing: .32em; text-transform: uppercase; color: #8f9cff; }
.scout { position: relative; display: inline-block; line-height: 0; }
.scout img { display: block; width: 100%; height: auto; filter: drop-shadow(0 0 14px rgba(111, 128, 255, .45)); transform-origin: 50% 85%; transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.scout.is-live { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.scout.is-live:focus-visible { outline: 3px solid #9fb0ff; outline-offset: 6px; border-radius: 18px; }
.scout.is-live:hover img, .scout.is-live:focus-visible img { transform: rotate(-6deg) translateY(-3px); }
.scout.is-happy img { animation: scout-hop .55s cubic-bezier(.34,1.56,.64,1); }
@keyframes scout-hop { 0% { transform: translateY(0); } 40% { transform: translateY(-10%) rotate(4deg); } 100% { transform: rotate(-6deg) translateY(-3px); } }
/* a sparkle by the star on Scout's forehead, every few seconds */
.twinkle { position: absolute; left: 66%; top: 15%; width: 12px; height: 12px; pointer-events: none; opacity: 0; background: radial-gradient(circle, #fff 0 18%, transparent 20%), linear-gradient(#fff, #fff) 50% 0 / 2px 100% no-repeat, linear-gradient(90deg, #fff, #fff) 0 50% / 100% 2px no-repeat; animation: twinkle 4.5s ease-in-out 1.5s infinite; }
@keyframes twinkle { 0%, 82%, 100% { opacity: 0; transform: scale(.3) rotate(0); } 88% { opacity: 1; transform: scale(1) rotate(45deg); } 94% { opacity: 0; transform: scale(.4) rotate(90deg); } }
.m-bubble { position: absolute; bottom: 96%; right: 55%; width: max-content; max-width: 210px; padding: 8px 12px; border-radius: 14px 14px 4px 14px; background: #fff; color: var(--text); font: 600 13px/1.35 var(--font); box-shadow: 0 12px 30px -12px rgba(12,18,50,.45); border: 1px solid var(--line); opacity: 0; transform: translateY(6px) scale(.96); transform-origin: 100% 100%; transition: opacity .18s, transform .25s cubic-bezier(.34,1.56,.64,1); pointer-events: none; z-index: 2; }
.scout.is-talking .m-bubble { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .scout img, .twinkle, .m-bubble { transition: none !important; animation: none !important; } .twinkle { display: none; } }
/* Scout's head peeks over the money-check card; the sitting Scout keeps the sign-up company */
.report .perch { position: absolute; top: -78px; right: 78px; width: 104px; }
.scout-sit { margin-top: 18px; width: 150px; }
.scout-sit .m-bubble { right: auto; left: 70%; border-radius: 14px 14px 14px 4px; transform-origin: 0 100%; }
@media (max-width: 640px) { .visual { padding-top: 56px; } .report .perch { top: -70px; right: 22px; width: 88px; } .scout-sit { width: 120px; margin: 0 auto 8px; } }

/* "Continue with Google" (templates/_google_button.html) */
.google-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 46px; padding: 0 16px; border-radius: 12px; border: 1px solid #dadce0; background: #fff; color: #1f1f1f; font-weight: 600; font-size: 15px; text-decoration: none; box-sizing: border-box; transition: background .15s, box-shadow .15s; }
.google-btn:hover { background: #f8f9fb; box-shadow: 0 1px 3px rgba(16,24,40,.12); }
.google-btn svg { flex: none; }
.or-divider { display: flex; align-items: center; gap: 12px; margin: 14px 0; color: #8a90a6; font-size: 13px; }
.or-divider::before, .or-divider::after { content: ""; flex: 1; height: 1px; background: #e6e8f0; }
