/* Billtwin. One typeface (Manrope), flat surfaces, spacing 4/8/12/16/24/32/40/48/64/80/96. */
:root {
  --ink: #0b1b2b;
  --text: #1d2b36;
  --muted: #56656f;
  --line: #dfe5e2;
  --bg: #ffffff;
  --band: #f4f7f5;
  --accent: #0e7c5a;
  --accent-ink: #0a5c43;
  --accent-soft: #e6f3ed;
  --high: #b42318;
  --high-soft: #fdecea;
  --med: #a14a06;
  --med-soft: #fdf1e3;
  --low: #475467;
  --low-soft: #eef1f4;
  --info: #1f4fbf;
  --info-soft: #eaf0fd;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, video { max-width: 100%; display: block; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
h1, h2, h3 { color: var(--ink); font-weight: 700; text-wrap: balance; margin: 0 0 12px; }
p, li { text-wrap: pretty; }
h1 { font-size: 48px; line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: 30px; line-height: 36px; letter-spacing: -0.01em; }
h3 { font-size: 18px; line-height: 28px; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 20px; }
.center { text-align: center; }
.ic { width: 20px; height: 20px; fill: currentColor; flex: none; vertical-align: -4px; }
.ic-s { width: 16px; height: 16px; vertical-align: -3px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 16px; }
:focus-visible { outline: 3px solid #5fb896; outline-offset: 2px; border-radius: 6px; }

/* top line + nav */
.topline { background: var(--ink); color: #c9d4dc; font-size: 14px; line-height: 20px; }
.topline-in { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.topline a { color: #fff; text-decoration: none; }
.topline a:hover { text-decoration: underline; }
.nav-wrap { position: sticky; top: 12px; z-index: 30; padding: 0 16px; margin-top: 12px; }
.nav {
  margin-inline: auto; width: fit-content; max-width: 100%;
  display: flex; align-items: center; gap: 24px; padding: 8px 8px 8px 16px;
  background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 8px 24px rgba(11, 27, 43, 0.06);
}
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); text-decoration: none; font-size: 18px; }
.brand img { border-radius: 8px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { color: var(--text); text-decoration: none; font-size: 14px; line-height: 20px; font-weight: 600; padding: 8px 12px; border-radius: 999px; transition: background-color 0.3s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current='page'] { background: var(--band); }
.menu-btn { display: none; width: 40px; height: 40px; border: 0; background: transparent; border-radius: 999px; position: relative; cursor: pointer; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.5s var(--ease); }
.menu-btn span:first-child { top: 15px; }
.menu-btn span:last-child { top: 23px; }
.menu-btn[aria-expanded='true'] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded='true'] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; top: 0; padding: 96px 24px 24px; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(24px); display: flex; flex-direction: column; gap: 8px; z-index: -1; }
.mobile-menu[hidden] { display: none; }
[hidden] { display: none !important; }
.mobile-menu a { font-size: 20px; line-height: 28px; font-weight: 600; color: var(--ink); text-decoration: none; padding: 12px 0; opacity: 0; transform: translateY(24px); animation: rise 0.5s var(--ease) forwards; }
.mobile-menu a:nth-child(2) { animation-delay: 60ms; } .mobile-menu a:nth-child(3) { animation-delay: 120ms; } .mobile-menu a:nth-child(4) { animation-delay: 180ms; } .mobile-menu a:nth-child(5) { animation-delay: 240ms; } .mobile-menu a:nth-child(6) { animation-delay: 300ms; }
.mobile-menu .btn { justify-content: center; color: #fff; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-size: 16px; line-height: 24px; font-weight: 600; text-decoration: none; cursor: pointer;
  padding: 8px 16px; border-radius: 12px; border: 1px solid transparent;
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-sm { font-size: 14px; line-height: 20px; padding: 8px 12px; border-radius: 999px; }
.btn-lg { padding: 12px 24px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover:not([disabled]) { background: var(--accent-ink); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover:not([disabled]) { border-color: #b8c4bf; background: var(--band); }
.btn .ic { width: 18px; height: 18px; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); grid-template-areas: 'top vis' 'cta vis' 'bottom vis'; column-gap: 48px; row-gap: 0; align-items: center; padding: 64px 0 80px; }
.hero-top { grid-area: top; align-self: end; }
.hero-cta-wrap { grid-area: cta; }
.hero-bottom { grid-area: bottom; align-self: start; }
.hero-top .lead { margin-bottom: 24px; }
.hero-visual { grid-area: vis; }
.hero > *, .two > *, .two-col > *, .plans > *, .gallery, .g-viewport { min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--accent-ink); background: var(--accent-soft); padding: 4px 12px; border-radius: 999px; margin: 0 0 24px; }
.grad { background: linear-gradient(90deg, #000000, #666666); -webkit-background-clip: text; background-clip: text; color: transparent; max-width: 680px; }
.lead { font-size: 18px; line-height: 28px; color: var(--muted); max-width: 680px; margin: 0 0 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.hero-bottom .flow { margin-top: 0; }
.proof { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; line-height: 20px; color: var(--muted); }
.proof li { display: inline-flex; gap: 8px; align-items: center; }
.proof .ic { color: var(--accent); }
.proof a { color: var(--muted); }
.flow { list-style: none; padding: 0; margin: -8px 0 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.flow li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink); background: var(--band); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px 4px 4px; }
.flow span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; line-height: 16px; }

/* gallery */
.gallery { outline: none; }
.g-viewport { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--band); aspect-ratio: 16 / 10; }
.g-track { display: flex; height: 100%; align-items: flex-start; transition: transform 0.6s var(--ease); }
.g-slide { position: relative; flex: 0 0 100%; height: 100%; min-height: 0; margin: 0; overflow: hidden; }
.g-slide img, .g-slide video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.g-zoom { position: absolute; right: 12px; bottom: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.92); border-radius: 999px; width: 40px; height: 40px; display: grid; place-items: center; cursor: zoom-in; color: var(--ink); }
.g-prev, .g-next { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.92); display: grid; place-items: center; cursor: pointer; color: var(--ink); transition: transform 0.3s var(--ease); }
.g-prev { left: 12px; } .g-next { right: 12px; }
.g-prev:active, .g-next:active { transform: translateY(-50%) scale(0.96); }
.g-thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.g-thumb { flex: 0 0 auto; width: 88px; aspect-ratio: 16 / 10; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--band); cursor: pointer; opacity: 0.65; transition: opacity 0.3s var(--ease), border-color 0.3s var(--ease); }
.g-thumb img { width: 100%; height: 100%; object-fit: cover; }
.g-thumb.is-active { border-color: var(--accent); opacity: 1; }
.g-thumb:hover { opacity: 1; }
.lightbox { width: min(1200px, 100vw - 32px); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: var(--radius); background: #fff; }
.lightbox::backdrop { background: rgba(11, 27, 43, 0.72); }
.lightbox figure { margin: 0; padding: 48px 56px 24px; }
.lightbox img { width: 100%; max-height: calc(100vh - 160px); object-fit: contain; }
.lightbox figcaption { color: var(--muted); font-size: 14px; line-height: 20px; margin-top: 12px; text-align: center; }
.lb-close, .lb-prev, .lb-next { position: absolute; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; }
.lb-close { top: 8px; right: 8px; } .lb-prev { left: 8px; top: 50%; } .lb-next { right: 8px; top: 50%; }

/* sections */
.section { padding: 80px 0; }
.band { background: var(--band); padding: 80px 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.two p { color: var(--muted); }
.sources { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.sources a { display: block; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 600; transition: border-color 0.3s var(--ease); }
.sources a:hover { border-color: var(--accent); }
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps p { color: var(--muted); margin: 0; }
.num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700; margin-bottom: 16px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card .ic { width: 28px; height: 28px; color: var(--accent); margin-bottom: 12px; }
.card p { color: var(--muted); margin: 0; }
.tagline { padding: 96px 0; }
.tagline p { font-size: 48px; line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); max-width: 860px; margin: 0 auto; text-align: center; }
.tagline .w { opacity: 0.28; transition: opacity 0.6s var(--ease); }
.tagline .w.on { opacity: 1; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ic { color: var(--accent); margin-top: 4px; }

/* roi */
.roi { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.roi label, .pilot label, .restore-form label { display: grid; gap: 4px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink); }
input, select { font: inherit; font-size: 16px; line-height: 24px; padding: 8px 12px; border: 1px solid #c9d3cf; border-radius: 10px; background: #fff; color: var(--text); width: 100%; }
input:focus, select:focus { border-color: var(--accent); }
.roi-out { grid-column: 1 / -1; display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 16px; }
.roi-out p { display: flex; justify-content: space-between; gap: 16px; margin: 0; }
.roi-out p:last-child { color: var(--accent-ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }

/* pricing */
.offer { text-align: center; background: var(--accent-soft); color: var(--accent-ink); border-radius: 12px; padding: 12px 16px; margin: 24px auto 0; max-width: 720px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 40px 0 24px; align-items: start; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 12px; }
.plan-pro { border: 2px solid var(--accent); box-shadow: 0 16px 40px rgba(14, 124, 90, 0.12); }
.price { font-size: 36px; line-height: 40px; font-weight: 700; color: var(--ink); margin: 0; }
.price span { font-size: 16px; font-weight: 500; color: var(--muted); }
.plan .muted { margin: 0; }
.pilot { display: grid; gap: 12px; }
.checkout-status, .form-msg { margin: 0; padding: 8px 12px; border-radius: 10px; background: var(--info-soft); color: var(--info); font-size: 14px; line-height: 20px; }
.checkout-status[data-tone='err'], .form-msg[data-tone='err'] { background: var(--high-soft); color: var(--high); }
.form-msg[data-tone='ok'] { background: var(--accent-soft); color: var(--accent-ink); }

/* trust + faq + final */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust .ic { width: 28px; height: 28px; color: var(--accent); margin-bottom: 12px; }
.trust p { color: var(--muted); margin: 0; }
.faq { max-width: 760px; margin: 40px auto 0; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 16px 24px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.faq p { color: var(--muted); margin: 12px 0 0; }
.final { text-align: center; padding: 96px 0; }
.final p { color: var(--muted); }
.prose { max-width: 760px; padding: 64px 0; }
.prose h2 { font-size: 20px; line-height: 28px; margin-top: 32px; }
.prose p, .prose li { color: var(--text); }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 48px 0 24px; margin-top: 48px; }
.footer-in { display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; }
.footer-brand p { color: var(--muted); max-width: 360px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols h2 { font-size: 14px; line-height: 20px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.footer-cols a { display: block; color: var(--text); text-decoration: none; padding: 4px 0; font-size: 14px; line-height: 20px; }
.footer-cols a:hover { color: var(--accent-ink); text-decoration: underline; }
.footer-legal p { font-size: 12px; line-height: 16px; color: var(--muted); margin: 24px 0 0; }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { transform: none; transition: opacity 0.3s; } .g-track { transition: none; } }

/* app */
.app { padding: 40px 0 64px; }
.app-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 24px; }
.app-head h1 { font-size: 36px; line-height: 40px; }
.plan-box { display: flex; gap: 12px; align-items: center; }
.plan-badge { font-size: 14px; line-height: 20px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--band); border: 1px solid var(--line); }
.plan-badge.is-pro { background: var(--accent-soft); color: var(--accent-ink); border-color: #b7dccb; }
.drops { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.drop { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; padding: 40px 24px; border: 2px dashed #b9c6c1; border-radius: var(--radius); background: var(--band); cursor: pointer; transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease); }
.drop:hover, .drop.is-over { border-color: var(--accent); background: var(--accent-soft); }
.drop.is-loaded { border-style: solid; border-color: var(--accent); background: #fff; }
.drop.is-error { border-color: var(--high); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop:focus-within { outline: 3px solid #5fb896; outline-offset: 2px; }
.drop-ic { width: 48px; height: 48px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--accent); }
.drop strong { color: var(--ink); }
.statuses { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 12px; }
.status p { margin: 4px 0; }
.file-name { font-weight: 600; color: var(--ink); word-break: break-all; }
.err { color: var(--high); font-weight: 600; }
.err:empty { display: none; }
.mapping { margin-top: 8px; }
.mapping summary, .settings summary, .restore summary { cursor: pointer; font-weight: 600; color: var(--accent-ink); }
.map-grid, .settings-grid { display: grid; grid-template-columns: max-content 1fr; gap: 8px 12px; align-items: center; margin-top: 12px; font-size: 14px; line-height: 20px; }
.settings { margin-top: 24px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.settings-grid { max-width: 560px; }
.run-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 24px 0; }
.results { border-top: 1px solid var(--line); padding-top: 32px; margin-top: 8px; }
.results-head { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
.results-actions { display: flex; gap: 8px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 16px 0 24px; }
.tile { border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: grid; gap: 4px; }
.tile-label { font-size: 14px; line-height: 20px; color: var(--muted); }
.tile-value { font-size: 24px; line-height: 32px; color: var(--ink); white-space: pre-line; }
.tone-high .tile-value { color: var(--high); }
.tone-med .tile-value { color: var(--med); }
.tone-ok .tile-value { color: var(--accent-ink); }
.limit { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--med-soft); border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; }
.limit p { margin: 0; color: var(--med); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip { font: inherit; font-size: 14px; line-height: 20px; font-weight: 600; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--text); }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.findings { display: grid; gap: 12px; }
.finding { border: 1px solid var(--line); border-radius: 12px; padding: 16px 24px; }
.finding.sev-high { border-color: #f0b8b2; }
.finding-top { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.finding h3 { margin: 0; font-size: 16px; line-height: 24px; }
.amt { margin-left: auto; font-weight: 700; color: var(--ink); }
.sev { font-size: 12px; line-height: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; padding: 2px 8px; border-radius: 999px; }
.sev-high .sev, .sev.sev-high { background: var(--high-soft); color: var(--high); }
.sev.sev-medium { background: var(--med-soft); color: var(--med); }
.sev.sev-low { background: var(--low-soft); color: var(--low); }
.sev.sev-info { background: var(--info-soft); color: var(--info); }
.detail { margin: 8px 0 4px; color: var(--text); }
.refs { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; line-height: 20px; color: var(--muted); margin: 0; }
.fix { font-size: 14px; line-height: 20px; color: var(--accent-ink); margin: 8px 0 0; }
.empty-ok { border: 1px solid #b7dccb; background: var(--accent-soft); border-radius: 12px; padding: 24px; }
.empty-ok strong { color: var(--accent-ink); font-size: 18px; line-height: 28px; }
.restore { margin-top: 40px; }
.restore-form { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: end; max-width: 560px; margin-top: 12px; }
.restore-form label { grid-column: 1 / -1; }

/* responsive */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; grid-template-areas: 'top' 'cta' 'vis' 'bottom'; padding-top: 40px; row-gap: 24px; }
  .cards, .plans { grid-template-columns: 1fr 1fr; }
  .trust { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  h1 { font-size: 36px; line-height: 40px; }
  h2 { font-size: 24px; line-height: 32px; }
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: block; }
  .nav { width: 100%; justify-content: space-between; }
  .topline-in span { display: none; }
  .two, .two-col, .steps, .cards, .plans, .trust, .drops, .statuses, .footer-in, .footer-cols, .roi { grid-template-columns: 1fr; }
  .tagline p { font-size: 30px; line-height: 36px; }
  .grad br { display: none; }
  .hero { padding: 24px 0 48px; row-gap: 16px; }
  .lead { margin-bottom: 0; }
  .hero h1 { font-size: 30px; line-height: 36px; }
  .eyebrow { margin-bottom: 16px; }
  .lead { font-size: 16px; line-height: 24px; margin-bottom: 24px; }
  .flow { margin: -8px 0 24px; }
  .hero-cta { margin-bottom: 16px; }
  .tagline { padding: 64px 0; }
  .section, .band { padding: 64px 0; }
  .hero-cta .btn { width: 100%; }
  .g-prev, .g-next { display: none; }
  .lightbox figure { padding: 48px 8px 16px; }
  .finding { padding: 16px; }
  .amt { margin-left: 0; width: 100%; }
  .restore-form { grid-template-columns: 1fr; }
}
@media print {
  .topline, .nav-wrap, .footer, .drops, .statuses, .settings, .run-row, .results-actions, .chips, .restore, .plan-box, .limit .btn { display: none !important; }
  .results { border: 0; padding: 0; }
  .finding { break-inside: avoid; }
}
.founding-pilot { padding-bottom: 0; }
.fp { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: center; border: 2px solid var(--accent); border-radius: var(--radius); padding: 32px; background: var(--accent-soft); }
.fp h2 { margin-bottom: 16px; }
.fp .eyebrow { background: #fff; }
.fp-cta { display: grid; gap: 12px; justify-items: start; }
@media (max-width: 720px) { .fp { grid-template-columns: 1fr; padding: 24px; } .fp-cta .btn { width: 100%; } }

/* connected mode (hidden unless the Worker reports HubSpot or Xero as available) */
.connect { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; background: #fff; }
.connect h2 { font-size: 18px; line-height: 24px; margin: 0 0 4px; }
.connect-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: flex-end; margin-bottom: 16px; }
.connect-head p { margin: 0; font-size: 14px; line-height: 20px; }
.connect-period { display: grid; grid-template-columns: auto 168px auto 168px; gap: 8px 12px; align-items: center; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink); }
.connect-period input { font-size: 14px; line-height: 20px; padding: 8px 10px; width: 168px; font-weight: 400; }
.connects { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.connect-card { display: grid; gap: 8px; align-content: start; padding: 16px; border-radius: 12px; background: var(--band); }
.connect-card strong { color: var(--ink); }
.connect-card p { margin: 0; font-size: 14px; line-height: 20px; }
.connect-card select { font-size: 14px; line-height: 20px; padding: 8px 10px; max-width: 360px; }
.connect-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.connect [data-connect-msg] { margin-top: 16px; }
.connect [data-connect-msg][data-tone='err'] { background: var(--high-soft); color: var(--high); }
@media (max-width: 720px) { .connects { grid-template-columns: 1fr; } .connect { padding: 16px; } .connect-period { grid-template-columns: auto 1fr; width: 100%; } .connect-period input { width: 100%; } }
@media print { .connect { display: none !important; } }
