/* ============================================================
   Squishly Tools — dark "Tekmino" theme layer (Sept 2026)
   Loaded after squish.css + landing.css. Near-black page, charcoal
   cards with hairline borders, one lime accent, Manrope headings,
   Inter body, pill buttons with a circular arrow, bracketed kickers.
   ============================================================ */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap");

:root {
  --bg: #050505;
  --bg-2: #0a0b0a;
  --card: #191a18;
  --card-2: #202120;
  --border: #282926;
  --teal: #d3ed31;
  --teal-d: #e4f55a;
  --teal-tint: rgba(211,237,49,0.12);
  --teal-tint-2: rgba(211,237,49,0.26);
  --mint: #15170b;
  --sky: #0f1416;
  --peach: #1a1511;
  --ink: #f6f7f7;
  --text-2: #bcbdb5;
  --paper: #191a18;
  --surface: #0f100f;
  --surface-2: #232422;
  --line: rgba(250,251,251,0.08);
  --line-2: rgba(250,251,251,0.16);
  --muted: #9a9b97;
  --sans: 'Inter', 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Manrope', system-ui, sans-serif;
  --poppins: 'Manrope', system-ui, sans-serif;
  --r-lg: 18px; --r-md: 12px; --r-sm: 10px;
}
html { color-scheme: dark; }
body { background: var(--bg); color: var(--text-2); }
::selection { background: var(--teal); color: #050505; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; color: var(--ink); line-height: 1.08; }
h1 { letter-spacing: -0.03em; }
h1 em, h2 em, .section-head h2 em, .promo-copy h2 em, .hero-lead h1 em, .lp-trust h2 em { color: var(--teal); }
.split-line { overflow: hidden; display: block; }
.split-line > div { display: inline-block; }

/* ---------- kickers: [ BRACKETED LIME CAPS ] ---------- */
.kicker, .hero-kicker, .ws-eyebrow, .kicker.on-dark {
  background: transparent; padding: 0; margin-bottom: 18px; border-radius: 0;
  font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal);
}
.kicker::before, .hero-kicker::before { content: '[ '; width: auto; height: auto; background: none; border-radius: 0; display: inline; color: var(--teal); }
.kicker::after, .hero-kicker::after { content: ' ]'; color: var(--teal); }

/* ---------- buttons: lime pill + black circle arrow ---------- */
.btn { font-family: var(--sans); font-weight: 600; font-size: 15px; }
.btn-lime, .btn-run, .btn-white, .btn-lime-sm, .ny-open, .res-dl { background: var(--teal); color: #050505; }
.btn-lime:hover, .btn-run:hover, .btn-white:hover, .btn-lime-sm:hover, .ny-open:hover, .res-dl:hover, .ny-card:hover .ny-open { background: var(--teal-d); color: #050505; }
.hero .btn-lime { background: var(--teal); color: #050505; }
.hero .btn-lime:hover { background: var(--teal-d); }
.btn-lime, .btn-white, .ny-open, .cmp-cta .btn { padding: 6px 6px 6px 24px; gap: 14px; }
.btn-lime::after, .btn-white::after, .ny-open::after, .cmp-cta .btn::after {
  content: ''; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #050505 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d3ed31' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E") center/16px no-repeat;
  transition: transform 260ms cubic-bezier(.34,1.56,.64,1);
}
.btn-lime:hover::after, .btn-white:hover::after, .ny-open:hover::after, .ny-card:hover .ny-open::after { transform: rotate(45deg); }
.btn-ghost, .hero .btn-ghost, .btn-ghost.on-dark, .nf-actions .btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover, .hero .btn-ghost:hover, .btn-ghost.on-dark:hover, .nf-actions .btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.3); color: var(--ink); }
.btn-plain { color: var(--ink); border-color: var(--line-2); }
.btn-plain:hover { border-color: var(--ink); }

/* ---------- header: floating glass bar ---------- */
.header { background: transparent; color: var(--ink); padding: 12px 0 0; transition: transform 380ms ease, padding 200ms; }
.header.is-hidden { transform: translateY(-115%); }
.header-main { padding: 0; }
.header-inner { background: rgba(25,26,24,0.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line); border-radius: 16px; padding: 10px 14px 10px 18px; gap: 24px; }
.header.is-scrolled .header-inner { background: rgba(14,15,14,0.86); }
.brand { color: var(--ink); font-family: var(--display); font-weight: 800; }
.brand em, .footer .brand em { color: var(--teal); }
.header-nav { font-family: var(--sans); font-weight: 500; font-size: 15px; }
.header-nav > a, .nav-item > a { color: var(--text-2); }
.header-nav > a:hover, .nav-item:hover > a { color: var(--ink); }
.mm-btn { color: var(--teal); font-weight: 600; }
.header-status { color: #050505; background: var(--teal); font-family: var(--sans); font-weight: 600; font-size: 14px; height: 40px; padding: 0 6px 0 18px; gap: 12px; border-radius: 999px; }
.header-status:hover { background: var(--teal-d); }
.header-status .live-dot { order: 2; width: 28px; height: 28px; border-radius: 50%; background: #050505 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d3ed31' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E") center/13px no-repeat; animation: none; }
.lang-btn { color: var(--ink); background: rgba(255,255,255,0.06); border: 1px solid var(--line); height: 40px; padding: 0 12px; }
.lang-btn:hover { color: var(--teal); border-color: var(--line-2); }
.lang-panel { background: var(--card); border-color: var(--border); }
.lang-panel a { color: var(--text-2); }
.lang-panel a:hover { background: var(--card-2); color: var(--ink); }
.lang-panel a.active { background: var(--teal); color: #050505; }
.nav-toggle { border-color: var(--line-2); }
.nav-toggle span { background: var(--ink); }
.nav-item .sub, .mm-panel { background: var(--card); border-color: var(--border); }
.nav-item .sub a { color: var(--text-2); }
.nav-item .sub a:hover { background: var(--card-2); color: var(--ink); }
.mm-col h4 { color: var(--muted); font-family: var(--sans); font-weight: 600; }
.mm-col a { color: var(--text-2); }
.mm-col a:hover { color: var(--ink); }
.mm-ic, .mm-ic-i, .mm-ic-c, .mm-ic-p, .mm-ic-m, .mm-ic-a, .mm-ic-u, .mm-ic-g { background: var(--teal-tint); color: var(--teal); }
@media (max-width: 940px) {
  .header-inner { padding: 8px 10px 8px 14px; }
  body.nav-open .header-nav { background: var(--bg); color: var(--ink); inset: 76px 0 0 0; }
  body.nav-open .header-nav > a, body.nav-open .nav-item > a { color: var(--ink); border-bottom: 1px solid var(--line); }
  body.nav-open .nav-item .sub a { background: var(--card); color: var(--text-2); }
  body.nav-open .mm-col h4 { color: var(--teal); }
  body.nav-open .mm-col a { color: var(--text-2); }
  body.nav-open .mm-col a:hover { color: var(--ink); }
  body.nav-open .header-nav::after { color: #050505; background: var(--teal); }
}

/* ---------- hero ---------- */
.hero { background: var(--bg); color: var(--ink); padding: clamp(72px, 9vw, 130px) 0 clamp(56px, 7vw, 96px); }
.hero::before { right: -10vw; top: -30vw; background: radial-gradient(closest-side, rgba(211,237,49,0.16), transparent); }
.hero::after { left: -16vw; bottom: -24vw; background: radial-gradient(closest-side, rgba(211,237,49,0.07), transparent); }
.hero-lead h1 { font-size: clamp(40px, 5.3vw, 76px); line-height: 1.02; letter-spacing: -0.03em; font-weight: 600; margin-bottom: 22px; color: var(--ink); }
.hero-lead h1 .split-line, .lp-hero h1 .split-line { color: inherit; }
.hero-lead h1 em { color: var(--teal); }
.hero-sub { color: var(--text-2); font-family: var(--sans); font-size: clamp(16px, 1.3vw, 18px); line-height: 1.65; }
.hero-sub strong { color: var(--ink); font-weight: 600; }
.hero-actions .btn { font-size: 15px; }
.hero-actions .btn-lime { padding: 6px 6px 6px 26px; }
.hero-checks span { background: var(--card); border: 1px solid var(--border); color: var(--text-2); }
.hero-checks span::before { background-color: var(--teal); }
.hero-deco .hd { display: none; }
.hc-1, .hc-6 { background: rgba(211,237,49,0.55); }
.hc-2 { background: rgba(211,237,49,0.35); }
.hc-3 { background: rgba(246,247,247,0.18); }
.hc-4 { background: rgba(246,247,247,0.28); }
.hc-5 { background: rgba(211,237,49,0.28); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 20px 44px; margin-top: 38px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-stats b { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(28px, 3vw, 42px); letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.hero-stats b i { font-style: normal; color: var(--teal); }
.hero-stats span { display: block; margin-top: 8px; font-size: 13px; font-weight: 500; letter-spacing: 0.02em; color: var(--muted); }

/* ---------- marquee strip ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); padding: 22px 0; }
.marquee-track { display: flex; gap: 0; width: max-content; animation: marquee 46s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; padding: 0 30px; font-family: var(--display); font-weight: 600; font-size: clamp(18px, 2vw, 26px); letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.marquee-track span::before { content: '/'; color: var(--teal); margin-right: 16px; font-weight: 500; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- sections ---------- */
section { padding: clamp(64px, 9vw, 120px) 0; }
.tools { background: var(--bg); color: var(--ink); }
.tools::before, .tools::after, .formats::before { display: none; }
.tools-head h2, .trust-head h2, .formats-copy h2, .promo-copy h2, .section-head h2 { color: var(--ink); font-weight: 600; letter-spacing: -0.03em; }
.tools-head p, .trust-head p, .formats-copy p, .section-lead { color: var(--text-2); font-family: var(--sans); }
.pill { background: transparent; color: var(--text-2); border: 1px solid var(--line-2); font-family: var(--sans); font-weight: 500; }
.pill:hover { border-color: var(--teal); color: var(--ink); }
.pill.active { background: var(--teal); color: #050505; border-color: var(--teal); }
.tool-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; transform-style: preserve-3d; }
.tool-card:hover { border-color: rgba(211,237,49,0.5); background: var(--card-2); }
.tool-card h4 { color: var(--ink); font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; }
.tool-card p { color: var(--muted); font-family: var(--sans); }
.tc-icon, .tool-cat[data-cat="images"] .tc-icon, .tool-cat[data-cat="pdf"] .tc-icon, .tool-cat[data-cat="media"] .tc-icon, .tool-cat[data-cat="archive"] .tc-icon, .tool-cat[data-cat="utility"] .tc-icon, .tool-cat[data-cat="data"] .tc-icon { background: var(--teal); color: #050505; border-radius: 10px; width: 50px; height: 50px; }
.tc-go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; font-size: 13.5px; font-weight: 600; color: var(--teal); font-family: var(--sans); }
.tool-card[data-id]::after { color: #050505; background: var(--teal); }

.workspace { background: var(--bg-2); color: var(--ink); }
.ws-card { background: var(--card); border-color: var(--border); }
.ws-title { color: var(--ink); }
.ws-desc { color: var(--text-2); }
.ws-close { color: var(--ink); border-color: var(--line-2); }
.ws-close:hover { background: var(--ink); color: #050505; border-color: var(--ink); }
.dropzone { background: var(--mint); border-color: rgba(211,237,49,0.35); }
.dropzone:hover, .dropzone:focus-visible { background: #1b1e0c; border-color: var(--teal); }
.dropzone.drag { background: #22260f; border-color: var(--teal); }
.dz-icon { background: var(--card); color: var(--teal); }
.dz-title { color: var(--ink); } .dz-title span { color: var(--teal); }
.ws-options { background: var(--surface); border: 1px solid var(--border); }
.opt-label { color: var(--ink); } .opt-label .opt-val { color: var(--teal); }
.opt select, .opt input[type=text], .opt input[type=number], .opt textarea { background: var(--card); color: var(--ink); border-color: var(--line-2); }
.opt select:focus, .opt input:focus, .opt textarea:focus { border-color: var(--teal); }
.opt-seg { background: var(--card); border-color: var(--line-2); }
.opt-seg button { color: var(--muted); }
.opt-seg button.active { background: var(--teal); color: #050505; }
.ratio-btn { background: var(--card); color: var(--ink); border-color: var(--line-2); }
.ratio-btn.active { background: var(--teal); color: #050505; border-color: var(--teal); }
.posgrid button { background: var(--card); border-color: var(--line-2); }
.crop-box { border-color: #fff; } .crop-handle { background: #fff; border-color: var(--teal); }
.results { background: var(--surface); border: 1px solid var(--border); }
.results-head h3 { color: var(--ink); }
.res-item { background: var(--card); border-color: var(--border); }
.res-item.ok { border-color: rgba(211,237,49,0.35); }
.res-badge { background: var(--teal); color: #050505; }
.res-stat .saved { color: var(--teal); }
.fl-item { background: var(--card); border-color: var(--border); }
.fl-badge { background: var(--teal-tint); color: var(--teal); }
.progress-bar { background: var(--surface-2); }
.wm-live { color: var(--teal); } .crop-readout strong { color: var(--teal); }

.compare { background: var(--bg-2); }
.cmp-stage { background: var(--card); border: 1px solid var(--border); border-radius: 16px; }
.cmp-handle, .cmp-handle span { background: #fff; }
.cmp-handle span::before { border-right-color: #050505; } .cmp-handle span::after { border-left-color: #050505; }
.cmp-tag { background: rgba(5,5,5,0.7); color: var(--ink); border: 1px solid var(--line); }
.cmp-tag-r { background: var(--teal); color: #050505; border-color: var(--teal); }
.cmp-checks { color: var(--text-2); }
.cmp-checks span { background: var(--card); border: 1px solid var(--border); }
.cmp-checks span::before { background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23050505' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat; }

.privacy { background: var(--bg); color: var(--ink); }
.trust-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; }
.trust-ic { background: var(--teal); color: #050505; border-radius: 10px; }
.trust-card h4 { color: var(--ink); font-family: var(--display); font-weight: 600; }
.trust-card p { color: var(--muted); font-family: var(--sans); }
.trust-card a { color: var(--teal); }

.promo { background: var(--bg); }
.promo-card { background: var(--card); border: 1px solid var(--border); color: var(--ink); }
.promo-copy h2 { color: var(--ink); }
.promo-copy p { color: var(--text-2); }

.formats { background: var(--bg-2); }
.formats-copy p { color: var(--text-2); }
.fc, .fc:hover { background: var(--card); border: 1px solid var(--border); border-radius: 12px; }
.fc:hover { border-color: rgba(211,237,49,0.5); background: var(--card-2); }
.fc b { color: var(--teal); font-family: var(--display); font-weight: 700; }
.fc span { color: var(--muted); }

.faq { background: var(--bg); }
.faq-tab { color: var(--text-2); font-family: var(--sans); font-weight: 500; }
.faq-tab:hover { background: var(--card); color: var(--ink); }
.faq-tab.active { background: var(--teal); color: #050505; }
.faq-panel h3 { color: var(--ink); }
.faq-item { background: var(--card); border: 1px solid var(--border); }
.faq-item summary { color: var(--ink); font-family: var(--display); font-weight: 600; }
.faq-item summary::after { background: var(--teal-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d3ed31' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/12px no-repeat; }
.faq-item[open] summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d3ed31' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E"); }
.faq-item p { color: var(--text-2); font-family: var(--sans); }

.notyet { background: var(--bg-2); color: var(--ink); }
.ny-card { background: var(--card); border: 1px solid var(--border); }
.ny-card[data-open]:hover { background: var(--card-2); border-color: rgba(211,237,49,0.5); }
.ny-card h4 { color: var(--ink); font-family: var(--display); font-weight: 600; }
.ny-card p { color: var(--text-2); font-family: var(--sans); }

/* ---------- footer ---------- */
.footer { background: var(--bg); color: var(--ink); border-top: 1px solid var(--line); }
.footer .brand { color: var(--ink); }
.ft-pill { color: #050505; background: var(--teal); }
.ft-pill .live-dot { background: #050505; }
.ft-col h4 { color: var(--muted); font-family: var(--sans); font-weight: 600; }
.ft-col a { color: var(--text-2); font-family: var(--sans); }
.ft-col a:hover { color: var(--teal); }
.ft-links a { color: var(--text-2); }
.ft-links a:hover { color: var(--teal); }
.ft-bottom { background: var(--card); border: 1px solid var(--border); }
.ft-bottom p { color: var(--muted); }
.ft-bottom a { color: var(--ink); }
.ft-bottom a:hover { color: var(--teal); }
.toast { background: var(--ink); color: #050505; }
.toast.err { background: var(--coral); color: #fff; }

/* ---------- landing / tool / prose pages ---------- */
.lp-hero { background: var(--bg); color: var(--ink); padding-top: clamp(64px, 8vw, 110px); }
.lp-hero::before { content: ''; position: absolute; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px; right: -14vw; top: -30vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(211,237,49,0.14), transparent); pointer-events: none; z-index: 0; }
.lp-crumb { background: var(--card); border: 1px solid var(--border); color: var(--muted); font-family: var(--sans); font-weight: 500; }
.lp-crumb a { color: var(--text-2); }
.lp-crumb a:hover { background: var(--card-2); color: var(--ink); }
.lp-crumb > span:last-child { color: #050505; background: var(--teal); }
.lp-hero h1 { font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; font-size: clamp(2rem, 4.4vw, 3.4rem); color: var(--ink); }
.lp-hero .lp-intro { color: var(--text-2); font-family: var(--sans); }
.lp-body { background: var(--bg); color: var(--text-2); }
.lp-body h2, .lp-prose h2, .lp-prose h3, .lp-guide h3, .lp-body .lp-guide h2, .lp-side-box h3, .lp-side .lp-readmore h3, .contact-form h3, .contact-card h3, .lp-card h3, .lp-trust h2, .results-head h3 { font-family: var(--display); font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.lp-prose p, .lp-prose li, .lp-guide p, .lp-guide li, .lp-table tbody td, .lp-faq p, .lp-trust p, .lp-card p, .contact-card p, .contact-side p, .lp-side-private p { color: var(--text-2); font-family: var(--sans); }
.lp-prose a, .lp-guide a, .lp-readmore a, .lp-side .lp-readmore a, .lp-card .lp-card-more, .contact-card .cc-more, .contact-card-quiet a, .lp-side-private a, .lp-faq summary::after { color: var(--teal); }
.lp-steps li { background: var(--card); border: 1px solid var(--border); color: var(--text-2); font-family: var(--sans); }
.lp-steps li::before { background: var(--teal); color: #050505; font-family: var(--display); }
.lp-faq details { background: var(--card); border: 1px solid var(--border); }
.lp-faq summary { color: var(--ink); font-family: var(--display); font-weight: 600; }
.lp-related-grid a { color: var(--text-2); border-color: var(--line-2); }
.lp-related-grid a:hover { background: var(--teal); color: #050505; border-color: var(--teal); }
.lp-trust { background: var(--bg-2); border-top: 1px solid var(--line); }
.lp-table-wrap { border-color: var(--border); }
.lp-table thead th { background: var(--mint); color: var(--teal); font-family: var(--sans); font-weight: 600; }
.lp-table tbody td { background: var(--card); }
.lp-table tbody tr:nth-child(even) td { background: var(--card-2); }
.lp-table tbody td:first-child { color: var(--ink); }
.lp-guide code, .lp-prose code { background: var(--teal-tint); color: var(--teal); }
.lp-code { background: var(--card); color: var(--ink); border: 1px solid var(--border); }
.lp-card { background: var(--card); border: 1px solid var(--border); }
.lp-card:hover { background: var(--card-2); border-color: rgba(211,237,49,0.5); }
.lp-side-box, .lp-side .lp-readmore, .lp-readmore { background: var(--card); border: 1px solid var(--border); }
.lp-related-list a { color: var(--text-2); }
.lp-related-list a:hover { background: var(--card-2); color: var(--ink); }
.lp-toc a, .lp-side-nav a { color: var(--text-2); }
.lp-toc a:hover, .lp-side-nav a:hover { background: var(--card-2); color: var(--ink); }
.lp-side-nav a.active { background: var(--teal); color: #050505; }
.lp-hub { background: var(--bg-2); }
.lp-hub-links a { color: var(--text-2); border-color: var(--border); background: var(--card); }
.lp-hub-links a:hover { background: var(--teal); color: #050505; border-color: var(--teal); }
.ad-slot .ad-label { color: var(--muted); }
.family-card { background: var(--card); border: 1px solid var(--border); }
.contact-card { background: var(--card); border: 1px solid var(--border); color: var(--text-2); }
a.contact-card:hover { background: var(--card-2); border-color: rgba(211,237,49,0.5); }
.contact-card-quiet { background: var(--mint); border-color: rgba(211,237,49,0.2); }
.cc-ic, .contact-card-quiet .cc-ic { background: var(--teal); color: #050505; }
.contact-form { background: var(--card); border-color: var(--border); }
.contact-form label { color: var(--ink); font-family: var(--sans); }
.contact-form .cf-note { color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--teal); }
.lp-prose p.nf-code, .nf-code { color: var(--teal); font-family: var(--display); font-weight: 600; }
.wm-caption { color: var(--muted); }

/* ---------- motion helpers (only when motion.js is active) ---------- */
html.has-motion .m-fade { opacity: 0; transform: translateY(40px); }
html.has-motion .m-fade.is-in { opacity: 1; transform: none; transition: opacity 0.9s cubic-bezier(.2,.65,.2,1), transform 0.9s cubic-bezier(.2,.65,.2,1); }

/* ---------- new lime character in the hero ---------- */
.hero-mascot-lime { width: min(100%, 600px); margin: -24px 0 -48px; filter: drop-shadow(0 30px 60px rgba(211,237,49,0.18)); }
.hero-mascot-lime img { position: relative; inset: auto; }
.hero-mascot-lime img { animation: none; }

/* ---------- hero: give the character more room ---------- */
.hero-grid { grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr); }
@media (max-width: 860px) { .hero-mascot-lime { width: min(78%, 360px); margin: 0 auto -20px; } }

/* ============================================================
   Light sections for relief: tools + formats on light grey,
   privacy + promo + not-yet on white. Hero, marquee, compare,
   FAQ and footer stay dark.
   ============================================================ */
.tools, .formats { background: #f3f4f1; color: #191a18; }
.privacy, .promo, .notyet { background: #ffffff; color: #191a18; }
.tools .tools-head h2, .formats-copy h2, .trust-head h2, .notyet .section-head h2, .tools h2, .privacy h2, .formats h2, .notyet h2 { color: #191a18; }
.tools .tools-head p, .formats-copy p, .trust-head p, .notyet .section-lead { color: #4e4f4b; }
.tools h2 em, .formats h2 em, .privacy h2 em, .notyet h2 em { color: #191a18; background: linear-gradient(transparent 62%, rgba(211,237,49,0.95) 62%); padding: 0 2px; }
.notyet .kicker, .privacy .kicker, .tools .kicker, .formats .kicker { color: #191a18; }
.notyet .kicker::before, .notyet .kicker::after { color: #191a18; }
.tools .pill { color: #191a18; border-color: #d9dbd3; background: #fff; }
.tools .pill:hover { border-color: #191a18; }
.tools .pill.active { background: #191a18; color: #d3ed31; border-color: #191a18; }
.tool-card { background: #ffffff; border-color: #e4e5e0; }
.tool-card:hover { background: #ffffff; border-color: #191a18; }
.tool-card h4 { color: #191a18; }
.tool-card p { color: #6b6c67; }
.tc-go { color: #191a18; }
.tool-card[data-id]::after { background: #191a18; color: #d3ed31; }
.trust-card, .ny-card, .fc, .fc:hover { background: #f3f4f1; border-color: #e4e5e0; }
.trust-card:hover, .ny-card[data-open]:hover, .fc:hover { border-color: #191a18; background: #f3f4f1; }
.formats .fc { background: #ffffff; }
.formats .fc:hover { background: #ffffff; }
.trust-card h4, .ny-card h4 { color: #191a18; }
.trust-card p, .ny-card p, .fc span { color: #6b6c67; }
.fc b { color: #191a18; }
.trust-card a { color: #191a18; text-decoration: underline; text-decoration-color: #d3ed31; text-underline-offset: 3px; }
.notyet .ny-open { background: #191a18; color: #d3ed31; }
.notyet .ny-open::after { background-color: #d3ed31; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23050505' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E"); }
.notyet .ny-card:hover .ny-open { background: #050505; }
.promo-card { background: #191a18; border-color: #282926; }
.workspace { background: #f3f4f1; color: #191a18; }
.workspace .ws-card { background: #ffffff; border-color: #e4e5e0; }
.workspace .ws-title, .workspace .opt-label, .workspace .dz-title, .workspace .results-head h3, .workspace .res-name, .workspace .fl-name { color: #191a18; }
.workspace .ws-desc, .workspace .dz-hint, .workspace .opt-hint, .workspace .res-stat, .workspace .fl-size { color: #6b6c67; }
.workspace .dropzone { background: #f7f9ec; border-color: rgba(163,190,20,0.6); }
.workspace .dropzone:hover, .workspace .dropzone.drag { background: #f0f5d6; border-color: #9db81a; }
.workspace .dz-icon { background: #fff; color: #7a8f0a; }
.workspace .dz-title span { color: #7a8f0a; }
.workspace .ws-options, .workspace .results { background: #f3f4f1; border-color: #e4e5e0; }
.workspace .opt select, .workspace .opt input[type=text], .workspace .opt input[type=number], .workspace .opt textarea, .workspace .opt-seg, .workspace .ratio-btn, .workspace .posgrid button { background: #fff; color: #191a18; border-color: #d9dbd3; }
.workspace .opt-seg button { color: #6b6c67; }
.workspace .opt-seg button.active, .workspace .ratio-btn.active { background: #191a18; color: #d3ed31; }
.workspace .res-item, .workspace .fl-item { background: #fff; border-color: #e4e5e0; }
.workspace .ws-close { color: #191a18; border-color: #d9dbd3; }
.workspace .btn-plain { color: #191a18; border-color: #d9dbd3; }
.workspace .progress-bar { background: #e4e5e0; }
.workspace .progress-label { color: #6b6c67; }

/* ---------- headings: heaviest weight ---------- */
h1, h2, h3, h4, .hero-lead h1, .tools-head h2, .trust-head h2, .section-head h2, .formats-copy h2, .promo-copy h2, .tool-card h4, .trust-card h4, .ny-card h4, .faq-panel h3, .faq-item summary, .hero-stats b, .brand, .marquee-track span { font-weight: 900; }
h1, .hero-lead h1 { letter-spacing: -0.035em; }
.promo-card { background: #050505; border-color: #282926; }
.promo-art img { animation: none; }

/* ---------- hero headline: never more than three lines ---------- */
.hero-lead { max-width: 760px; }
.hero-lead h1 { font-size: clamp(36px, 4.5vw, 64px); line-height: 1.04; }
@media (max-width: 860px) { .hero-lead h1 { font-size: clamp(32px, 8vw, 44px); } }

/* ---------- light sections: no yellow blocks on white ---------- */
.tools .tc-icon, .tool-cat[data-cat] .tc-icon, .privacy .trust-ic { background: #191a18; color: #d3ed31; }
.tools h2 em, .formats h2 em, .privacy h2 em, .notyet h2 em { background: none; padding: 0; color: #191a18; }
.tools .pill.active { background: #191a18; color: #fff; }
.notyet .ny-open { background: #191a18; color: #fff; }
.notyet .ny-open::after { background-color: #fff; }
.trust-card a { text-decoration-color: #191a18; }
.workspace .opt-seg button.active, .workspace .ratio-btn.active { color: #fff; }
.workspace .dz-icon, .workspace .dz-title span { color: #191a18; }
.workspace .dropzone { background: #f7f8f4; border-color: #c9ccc2; }
.workspace .dropzone:hover, .workspace .dropzone.drag { background: #eef0e9; border-color: #191a18; }

/* ---------- promo: transparent character, clean placement ---------- */
.promo-card { grid-template-columns: minmax(0, 1fr) minmax(300px, 1fr); gap: clamp(20px, 3vw, 48px); padding: clamp(40px, 5vw, 72px) clamp(28px, 4vw, 64px); overflow: visible; }
.promo-art { width: 100%; max-width: 680px; margin: 0; justify-self: end; align-self: center; }
.promo-art img { width: 100%; height: auto; }
@media (max-width: 860px) { .promo-card { grid-template-columns: 1fr; } .promo-art { max-width: 520px; margin: 0 auto -10px; } }

/* ---------- formats: dark cards on the light section ---------- */
.formats .fc, .formats .fc:hover { background: #191a18; border: 1px solid #282926; border-radius: 14px; padding: 30px 14px 26px; gap: 6px; position: relative; overflow: hidden; }
.formats .fc::before { content: ''; position: absolute; left: 50%; top: 0; width: 44px; height: 3px; transform: translateX(-50%); background: #d3ed31; border-radius: 0 0 4px 4px; opacity: 0.9; }
.formats .fc b { color: #d3ed31; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.02em; }
.formats .fc span { color: #bcbdb5; font-family: var(--sans); font-weight: 500; font-size: 13px; }
.formats .fc:hover { border-color: rgba(211,237,49,0.6); transform: translateY(-4px); }
.formats .formats-cards { gap: 14px; }
.formats .formats-copy h2 { font-size: clamp(30px, 3.6vw, 48px); max-width: 14ch; }

/* ---------- hero character: match the text block height ---------- */
.hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr); align-items: center; }
.hero-mascot-lime { width: min(100%, 470px); margin: 0; justify-self: center; }
.hero-mascot-lime { width: min(100%, 520px); }
/* promo: shorter section, character sized to the copy */
.promo-card { padding: clamp(28px, 3.5vw, 48px) clamp(28px, 4vw, 64px); gap: clamp(16px, 2.5vw, 40px); grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr); }
.promo-art { max-width: 400px; margin: -24px 0 -36px; }
@media (max-width: 860px) { .promo-art { max-width: 320px; margin: 0 auto -20px; } }
.hero-mascot-lime { width: min(100%, 410px); }
.promo-art { max-width: 350px; margin: -16px 0 -28px; }
/* no lime text on light surfaces */
.workspace .ws-eyebrow, .workspace .opt-label .opt-val, .workspace .res-stat .saved, .workspace .wm-live, .workspace .crop-readout strong, .tools .tc-go, .privacy .kicker::before, .privacy .kicker::after, .tools .kicker::before, .tools .kicker::after, .formats .kicker::before, .formats .kicker::after { color: #191a18; }
.workspace .res-stat .saved { color: #5f7a00; font-weight: 700; }
.hero-mascot-lime { width: min(100%, 360px); }
/* Open tool buttons: lime on hover instead of black */
.notyet .ny-card:hover .ny-open, .notyet .ny-open:hover { background: #d3ed31; color: #050505; }
.notyet .ny-card:hover .ny-open::after, .notyet .ny-open:hover::after { background-color: #050505; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d3ed31' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E"); }
/* let descenders (g, y, p) show inside the line-reveal masks */
.split-line { padding: 0.06em 0.02em 0.16em; margin: -0.06em -0.02em -0.16em; }
/* promo: two characters need more room */
.promo-card { grid-template-columns: minmax(0, 1fr) minmax(320px, 1.1fr); }
.promo-art { max-width: 640px; margin: -22px 0 -34px; justify-self: end; }
@media (max-width: 860px) { .promo-art { max-width: 440px; margin: 0 auto -16px; } }
.promo-card { grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr); }
.promo-art { max-width: 480px; margin: -10px 0 -18px; }
/* ---------- hero: full-bleed living-room scene, text over the clear left side ---------- */
.hero.hero-has-scene { position: relative; overflow: hidden; isolation: isolate; min-height: min(88vh, 860px); display: flex; align-items: center; padding: clamp(64px, 8vw, 110px) 0; background: #050505; }
.hero.hero-has-scene::before, .hero.hero-has-scene::after { display: none; }
.hero-scene { position: absolute; inset: 0; z-index: 0; background: #050505 url("img/hero-scene.jpg") no-repeat right center / cover; }
.hero-scene::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,5,5,0.94) 0%, rgba(5,5,5,0.86) 30%, rgba(5,5,5,0.55) 46%, rgba(5,5,5,0) 60%), linear-gradient(180deg, rgba(5,5,5,0.35) 0%, rgba(5,5,5,0) 30%, rgba(5,5,5,0) 80%, rgba(5,5,5,0.6) 100%); }
.hero.hero-has-scene > .wrap { position: relative; z-index: 2; width: 100%; }
.hero.hero-has-scene .hero-grid { grid-template-columns: minmax(0, 1fr); }
.hero.hero-has-scene .hero-lead { max-width: 620px; }
.hero.hero-has-scene .hero-mascot, .hero.hero-has-scene .hero-deco { display: none; }
@media (max-width: 1100px) { .hero-scene { background-position: 62% center; } .hero.hero-has-scene .hero-lead { max-width: 560px; } }
@media (max-width: 860px) {
  .hero.hero-has-scene { min-height: 0; padding: 56px 0 300px; }
  .hero-scene { background-position: 58% bottom; background-size: auto 110%; }
  .hero-scene::after { background: linear-gradient(180deg, rgba(5,5,5,0.96) 0%, rgba(5,5,5,0.9) 42%, rgba(5,5,5,0.35) 62%, rgba(5,5,5,0) 100%); }
}
/* ---------- promo: full-bleed office scene inside the card ---------- */
.promo-card.promo-has-scene { position: relative; overflow: hidden; isolation: isolate; display: block; min-height: 440px; padding: clamp(40px, 5vw, 64px) clamp(28px, 4vw, 64px); background: #050505 url("img/promo-scene-lime.jpg") no-repeat right center / cover; }
.promo-card.promo-has-scene::before { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(5,5,5,0.94) 0%, rgba(5,5,5,0.86) 34%, rgba(5,5,5,0.5) 50%, rgba(5,5,5,0) 64%); }
.promo-card.promo-has-scene .promo-copy { position: relative; z-index: 1; max-width: 560px; }
.promo-card.promo-has-scene .promo-art { display: none; }
@media (max-width: 860px) {
  .promo-card.promo-has-scene { min-height: 0; padding: 40px 24px 260px; background-position: 60% bottom; background-size: auto 100%; }
  .promo-card.promo-has-scene::before { background: linear-gradient(180deg, rgba(5,5,5,0.96) 0%, rgba(5,5,5,0.9) 45%, rgba(5,5,5,0.3) 65%, rgba(5,5,5,0) 100%); }
}
.brand-mark { width: 30px; height: 30px; }
/* ---------- mobile: scenes become a dedicated image block below the copy (own 4:3 crop, sharp) ---------- */
@media (max-width: 860px) {
  .hero.hero-has-scene { display: block; min-height: 0; padding: 48px 0 0; }
  .hero.hero-has-scene .hero-lead { max-width: none; }
  .hero-scene { position: relative; inset: auto; display: block; width: 100%; aspect-ratio: 4 / 3; margin-top: 8px; background: #050505 url("img/hero-scene-m.jpg") no-repeat center / cover; }
  .hero-scene::after { background: linear-gradient(180deg, rgba(5,5,5,1) 0%, rgba(5,5,5,0) 22%, rgba(5,5,5,0) 100%); }
  .hero.hero-has-scene > .wrap { position: relative; z-index: 1; }
  .promo-card.promo-has-scene { min-height: 0; padding: 36px 22px 0; background: #050505; background-image: none; }
  .promo-card.promo-has-scene::before { display: none; }
  .promo-card.promo-has-scene::after { content: ''; display: block; width: calc(100% + 44px); margin: 12px -22px 0; aspect-ratio: 4 / 3; background: #050505 url("img/promo-scene-lime-m.jpg") no-repeat center / cover; }
  .promo-card.promo-has-scene .promo-copy { max-width: none; }
}
@media (max-width: 860px) {
  .hero.hero-has-scene { display: flex; flex-direction: column; }
  .hero.hero-has-scene > .wrap { order: 1; }
  .hero-scene { order: 2; }
}
/* ---------- mobile header: plain full-width bar, no glass pill, no box around the hamburger.
   (backdrop-filter on .header-inner also trapped the fixed nav panel inside the pill, which is why the menu sat behind the hero.) ---------- */
@media (max-width: 860px) {
  .header { padding: 0; background: #050505; }
  .header.is-scrolled { background: #050505; }
  .header-main { padding: 0; }
  .header-inner { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; border-radius: 0; padding: 12px 0; }
  .header.is-scrolled .header-inner { background: transparent; }
  .nav-toggle { border: 0; background: transparent; width: 40px; height: 40px; }
  body.nav-open .header-nav { position: fixed; inset: 64px 0 0 0; z-index: 200; background: var(--bg); padding: 8px 20px 60px; }
}
@media (max-width: 860px) { .header-inner { padding: 12px clamp(20px, 5vw, 40px); } }
@media (max-width: 860px) {
  .header-inner { gap: 10px; }
  .header-right { display: none; margin: 0; }
  .nav-toggle { margin-left: 0; }
  .brand-mark { width: 28px; height: 28px; }
}
/* ---------- header: plain full-width bar on every screen, aligned to the page gutter ---------- */
.header { padding: 0; background: rgba(5,5,5,0.55); }
.header.is-scrolled { background: #050505; box-shadow: none; border-bottom: 1px solid #1c1d1a; }
.header-main { padding: 0; }
.header-inner { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; border-radius: 0; padding: 14px 0; }
.header.is-scrolled .header-inner { background: transparent; }
@media (max-width: 860px) { .header { background: #050505; } .header-inner { padding: 12px clamp(20px, 5vw, 40px); } }
.header-inner { padding: 14px clamp(20px, 5vw, 40px); }
@media (max-width: 1500px) { .header-right { display: none; } }
@media (max-width: 860px) { .header-inner { padding: 12px clamp(20px, 5vw, 40px); } }
/* ---------- hero: looping idle animation of the scene (desktop), still image on phones ---------- */
.hero-scene { overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; display: block; background: #050505; }
.hero-scene::after { z-index: 1; }
@media (max-width: 860px) { .hero-video { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
/* wordmark: same face and weight as the main heading */
.brand, .brand-text, .footer .brand { font-family: 'Manrope', var(--display), sans-serif; font-weight: 900; letter-spacing: -0.035em; }
.brand-mark { width: 26px; height: 26px; }
@media (max-width: 860px) { .brand-mark { width: 24px; height: 24px; } }
.brand { font-size: 22px; }
@media (max-width: 860px) { .brand { font-size: 20px; } }
/* logo: optically centre the character on the wordmark's cap height */
.brand-mark { transform: translateY(2px); }
.brand:hover .brand-mark { transform: translateY(2px) scale(1.12, 0.9); }
/* homepage filter: the Spreadsheets pill shows only the data tools */
.tools-all[data-filter="data"] .tool-cat:not([data-cat="data"]) { display: none; }
/* ---------- Edit PDF workspace panel ---------- */
.pe { display: grid; gap: 22px; margin-top: 6px; }
.pe-loading, .pe-empty { color: #6b6c67; font-family: var(--sans); font-size: 14px; padding: 10px 0; }
.pe-section { background: #fff; border: 1px solid #e4e5e0; border-radius: 14px; padding: 16px 18px 18px; }
.pe-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; font-family: var(--sans); }
.pe-head b { color: #191a18; font-weight: 700; font-size: 15px; }
.pe-hint { color: #6b6c67; font-size: 13px; flex: 1 1 260px; }
.pe-reset { margin-left: auto; background: #f3f4f1; border: 1px solid #d9dbd3; border-radius: 999px; padding: 6px 14px; font: 600 13px var(--sans); color: #191a18; cursor: pointer; }
.pe-reset:hover { border-color: #191a18; }
.pe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; }
.pe-page { background: #f3f4f1; border: 1px solid #e4e5e0; border-radius: 10px; padding: 8px; cursor: grab; transition: transform 160ms, border-color 160ms, opacity 160ms; user-select: none; }
.pe-page:hover { border-color: #b9bbb2; }
.pe-page.dragging { opacity: 0.4; }
.pe-page.over { border-color: #191a18; transform: scale(1.03); }
.pe-page.del { opacity: 0.35; }
.pe-page.del .pe-thumb { filter: grayscale(1); }
.pe-thumb { background: #fff; border: 1px solid #e4e5e0; border-radius: 6px; display: flex; align-items: center; justify-content: center; min-height: 110px; overflow: hidden; }
.pe-thumb canvas { max-width: 100%; height: auto; display: block; }
.pe-thumb-x { color: #6b6c67; font: 12px var(--sans); padding: 20px 6px; }
.pe-bar { display: flex; align-items: center; gap: 2px; margin-top: 8px; }
.pe-num { font: 700 12px var(--sans); color: #191a18; min-width: 18px; }
.pe-btn { width: 24px; height: 24px; border-radius: 6px; border: 1px solid transparent; background: transparent; color: #191a18; font-size: 14px; line-height: 1; cursor: pointer; padding: 0; }
.pe-btn:hover { background: #fff; border-color: #d9dbd3; }
.pe-btn.del:hover { color: #c0392b; }
.pe-btn.left { margin-left: auto; }
.pe-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px 16px; }
.pe-field { display: grid; gap: 4px; font: 13px var(--sans); color: #191a18; }
.pe-field-name { font-weight: 600; color: #4a4b47; word-break: break-word; }
.pe-field input[type=text], .pe-field textarea, .pe-field select { width: 100%; padding: 8px 10px; border: 1px solid #d9dbd3; border-radius: 8px; background: #fff; color: #191a18; font: 14px var(--sans); }
.pe-field-check { grid-template-columns: auto 1fr; align-items: center; }
.pe-field-check input { width: 18px; height: 18px; order: -1; }
.pe-sign { display: grid; gap: 12px; }
.pe-pad-wrap { position: relative; max-width: 520px; }
.pe-pad { width: 100%; height: auto; display: block; background: #fff; border: 1px dashed #b9bbb2; border-radius: 10px; touch-action: none; cursor: crosshair; }
.pe-pad-hint { position: absolute; left: 14px; bottom: 10px; color: #b9bbb2; font: 13px var(--sans); pointer-events: none; }
.pe-pad-hint[hidden] { display: none; }
.pe-sign-tools { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; font: 13px var(--sans); color: #191a18; }
.pe-sign-tools .btn { padding: 7px 14px; font-size: 13px; }
.pe-inline { display: inline-flex; align-items: center; gap: 6px; }
.pe-inline select { padding: 6px 8px; border: 1px solid #d9dbd3; border-radius: 8px; background: #fff; font: 13px var(--sans); }
.pe-inline input[type=range] { width: 120px; }
.pe-stage { position: relative; display: inline-block; max-width: 100%; border: 1px solid #e4e5e0; border-radius: 8px; overflow: hidden; cursor: crosshair; background: #fff; }
.pe-stage canvas { display: block; max-width: 100%; height: auto; }
.pe-ghost { position: absolute; pointer-events: none; opacity: 0.92; }
.pe-stage-hint { color: #6b6c67; font: 13px var(--sans); }
@media (max-width: 640px) { .pe-grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); } .pe-section { padding: 12px; } }
.pe-stage { justify-self: start; }
.pe-pad-wrap { justify-self: start; width: 100%; }
/* ---------- Social post mockup panel ---------- */
.sm { display: grid; gap: 12px; margin-top: 6px; }
.sm-bar { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.sm-bar .btn { padding: 7px 14px; font-size: 13px; }
.sm-caption { color: #6b6c67; font: 13px var(--sans); flex: 1 1 240px; }
.sm-stage { display: flex; justify-content: center; padding: 18px; background: #e9ebe6; border: 1px solid #e4e5e0; border-radius: 14px; overflow: auto; }
.sm-canvas { display: block; max-width: 100%; height: auto; }
.sm-avatar { width: 40px; height: 40px; border-radius: 50%; background: #191a18; color: #d3ed31; display: inline-flex; align-items: center; justify-content: center; font: 700 12px var(--sans); overflow: hidden; flex: none; }
.sm-avatar img { width: 100%; height: 100%; object-fit: cover; }
.sm-bar .btn-lime-sm { padding: 8px 14px; font-size: 13px; border-radius: 999px; }
/* segmented controls: never clip; wrap into a pill grid when there are many choices */
.opt-seg { display: flex; flex-wrap: wrap; max-width: 100%; align-self: flex-start; }
.opt-seg button { flex: 1 1 auto; white-space: nowrap; padding: 8px 12px; }
.opt-seg:has(> :nth-child(4)) { border-radius: 20px; }
.opt-seg:has(> :nth-child(4)) button { flex: 1 1 calc(50% - 4px); }
/* the hidden attribute must always win over display rules on styled buttons and panels */
[hidden] { display: none !important; }
/* result thumbnails show the whole output instead of a cropped square */
.res-thumb { object-fit: contain; background: #fff; border: 1px solid #e4e5e0; }
/* segmented controls with three or more choices take the full options row, one line, equal pills */
.opt-seg { display: inline-flex; flex-wrap: nowrap; }
.opt-seg button { flex: 1 1 0; padding: 8px 14px; }
.opt:has(.opt-seg > :nth-child(3)) { grid-column: 1 / -1; }
.opt:has(.opt-seg > :nth-child(3)) .opt-seg { display: flex; width: 100%; max-width: 520px; }
.opt-seg:has(> :nth-child(4)) { border-radius: 999px; }
.opt-seg:has(> :nth-child(4)) button { flex: 1 1 0; }
@media (max-width: 560px) {
  .opt:has(.opt-seg > :nth-child(3)) .opt-seg { max-width: none; padding: 3px; gap: 2px; }
  .opt:has(.opt-seg > :nth-child(3)) .opt-seg button { padding: 8px 4px; font-size: 12px; min-width: 0; }
}
/* buttons inside prose keep button colours (the 404 primary button was lime text on lime) */
.lp-prose a.btn-lime, .lp-prose a.btn-lime:hover, .nf-actions a.btn-lime { color: #050505; }
.lp-prose a.btn-ghost, .nf-actions a.btn-ghost { color: var(--ink); }
/* footer bottom line: plain text, no box */
.ft-bottom { background: transparent; border: 0; border-radius: 0; padding: 20px 0 0; }
/* ---------- footer base: aligned link row, hairlines, soft lime glow ---------- */
.footer { position: relative; overflow: hidden; isolation: isolate; }
.footer::after {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  width: min(900px, 90vw); height: 520px; right: -12%; bottom: -300px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(211,237,49,0.22), rgba(211,237,49,0.08) 55%, rgba(211,237,49,0) 100%);
  filter: blur(20px);
}
.ft-links {
  margin-top: clamp(48px, 6vw, 72px); padding: 24px 0; gap: 10px 32px;
  border-top: 1px solid #1f201d; border-bottom: 1px solid #1f201d; align-items: center;
}
.ft-links a { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--text-2); letter-spacing: 0.01em; transition: color 160ms; }
.ft-links a:hover { color: var(--teal); }
.ft-bottom { padding: 22px 0 0; margin-top: 0; }
.ft-bottom p { font-size: 13px; }
.ft-bottom .footer-credit a { color: var(--ink); }
.ft-bottom .footer-credit a:hover { color: var(--teal); }
@media (max-width: 640px) {
  .ft-links { gap: 12px 22px; }
  .ft-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .footer::after { right: -40%; bottom: -320px; }
}

/* ================= audit fixes (Sept 2026) ================= */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* tool pages: the tool itself inside the first screen (was 762px down on desktop, below the fold on phones) */
.lp-hero { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(18px, 2.5vw, 32px); }
.lp-crumb { margin-bottom: 12px; }
.lp-hero h1 { font-size: clamp(1.75rem, 3.4vw, 2.7rem); margin-bottom: 8px; }
.lp-hero .lp-intro { font-size: clamp(0.98rem, 1.2vw, 1.08rem); line-height: 1.55; }
.lp-hero ~ .workspace { padding-top: clamp(12px, 2vw, 28px); }
@media (max-width: 640px) {
  .lp-hero { padding-top: 20px; padding-bottom: 14px; }
  .lp-crumb { display: none; }
  .lp-hero h1 { font-size: 1.6rem; }
  .lp-hero .lp-intro { font-size: 0.95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .lp-hero ~ .workspace .ws-card { padding: 16px; }
  .lp-hero ~ .workspace .ws-head { margin-bottom: 14px; }
  .lp-hero ~ .workspace .dropzone { padding: 24px 16px; }
}

/* homepage on phones: two compact columns instead of 37 full-width cards (10,474px of scrolling) */
@media (max-width: 640px) {
  .tools-all { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tools-all .tool-card { padding: 14px 12px; min-height: 0; }
  .tools-all .tool-card p, .tools-all .tool-card .tc-go { display: none; }
  .tools-all .tool-card h4 { font-size: 14px; line-height: 1.25; }
  .tools-all .tool-card .tc-icon { width: 34px; height: 34px; margin-bottom: 10px; }
  .tools-all .tool-card .tc-icon svg { width: 18px; height: 18px; }
}

/* tool search */
.tool-search { position: relative; max-width: 560px; margin: 18px 0 6px; }
.tool-search input { width: 100%; height: 50px; padding: 0 18px 0 46px; border: 1px solid #d9dbd3; border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23191a18' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") no-repeat 16px center / 18px; color: #191a18; font: 500 15px var(--sans); }
.tool-search input:focus { outline: none; border-color: #191a18; }
.tool-search-results { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid #e4e5e0; border-radius: 14px; padding: 6px; max-height: 420px; overflow-y: auto; }
.tsr-item { display: block; padding: 10px 12px; border-radius: 10px; color: #191a18; text-decoration: none; }
.tsr-item b { display: block; font: 600 14.5px var(--sans); }
.tsr-item span { display: block; font: 13px/1.4 var(--sans); color: #6b6c67; margin-top: 2px; }
.tsr-item:hover, .tsr-item.on { background: #f3f4f1; }
.tsr-empty { padding: 12px; font: 14px var(--sans); color: #6b6c67; }
.tsr-empty a { color: #191a18; text-decoration: underline; }

/* after a result: next useful tools */
.res-next { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.res-next-label { font: 600 13px var(--sans); color: #6b6c67; margin-right: 4px; }
.res-next-link { font: 600 13px var(--sans); color: #191a18; background: #fff; border: 1px solid #d9dbd3; border-radius: 999px; padding: 7px 14px; text-decoration: none; }
.res-next-link:hover { border-color: #191a18; }

/* guides hub cards now use h2 for correct heading order */
.lp-card .lp-card-title { font-family: var(--display); font-weight: 600; font-size: 1.1rem; line-height: 1.25; margin: 0 0 10px; color: var(--ink); letter-spacing: -0.02em; }
.lp-hub-links { display: grid; gap: 8px; padding-left: 1.1em; }

/* guide byline and author box */
.lp-meta a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.lp-author { margin-top: 40px; padding: 22px 24px; border: 1px solid var(--border); border-radius: 14px; background: var(--card); }
.lp-author p { margin: 0 0 8px; color: var(--text-2); font-size: 15px; line-height: 1.6; }
.lp-author p:last-child { margin: 0; }
.lp-author .lp-author-name { font: 600 12px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.lp-author strong { color: var(--ink); }

/* ad slots: reserved space so ads never shift the page */
.ad-slot { margin: 28px 0; min-height: 280px; }
.ad-slot .ad-label { display: block; font: 500 11px var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.ad-after-tool .ad-slot { margin: 24px auto; max-width: 970px; }
.ad-sticky { position: sticky; top: 90px; }
@media (max-width: 1100px) { .ad-sticky { display: none; } }

/* "Tools for this guide" */
.lp-guide-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 28px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--card); }
.lp-guide-tools span { font: 600 12px var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.lp-guide-tools a { font: 600 14px var(--sans); color: #050505; background: var(--teal); border-radius: 999px; padding: 7px 14px; text-decoration: none; }
.lp-guide-tools a:hover { background: var(--teal-d); }

/* ---------- search: centred with the section heading, larger, calm focus state ---------- */
.tools-head .tool-search { max-width: 640px; margin: 26px auto 22px; }
.tool-search input { height: 58px; padding: 0 56px 0 52px; font: 500 16px var(--sans); border: 1px solid #d4d6ce; background-position: 20px center; background-size: 20px; transition: border-color 160ms, box-shadow 160ms; }
.tool-search input::placeholder { color: #8a8b85; }
.tool-search input:hover { border-color: #b9bbb2; }
.tool-search input:focus { border-color: #191a18; box-shadow: 0 0 0 4px rgba(25,26,24,0.08); }
.tool-search input::-webkit-search-cancel-button { display: none; }
.tool-search-kbd { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); min-width: 26px; height: 26px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; font: 600 13px var(--sans); color: #6b6c67; background: #f3f4f1; border: 1px solid #d9dbd3; border-radius: 7px; pointer-events: none; }
.tool-search:focus-within .tool-search-kbd { opacity: 0; }
.tool-search-results { top: calc(100% + 8px); border-radius: 16px; padding: 8px; text-align: left; }
.tsr-item { padding: 11px 14px; }
@media (max-width: 640px) {
  .tools-head .tool-search { margin: 18px auto 16px; }
  .tool-search input { height: 52px; font-size: 16px; padding-right: 18px; }
  .tool-search-kbd { display: none; }
}
/* footer glow: bigger and more visible */
.footer::after {
  width: min(1500px, 140vw); height: 900px; right: -18%; bottom: -520px;
  background: radial-gradient(closest-side, rgba(211,237,49,0.34), rgba(211,237,49,0.14) 50%, rgba(211,237,49,0) 100%);
  filter: blur(24px);
}
@media (max-width: 640px) { .footer::after { width: 160vw; height: 620px; right: -60%; bottom: -380px; } }

/* ---------- brand lockup: drawn bracket mark + Manrope wordmark ---------- */
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-mark { display: block; width: auto; flex: none; transform: none; transition: none; }
.brand:hover .brand-mark, .brand:focus-visible .brand-mark { transform: none; }
.brand-mark.on-light rect { fill: #050505; }

.header .brand { gap: 7px; font-family: 'Manrope', var(--display), sans-serif; }
.header .brand-mark { height: 19px; }
.header .brand-text { font-family: 'Manrope', var(--display), sans-serif; font-size: 18px; font-weight: 800; letter-spacing: -0.025em; text-transform: none; color: var(--ink); line-height: 1; height: auto; transform: none; }
.header .brand-text::before, .header .brand-text::after { content: none; }
.header .brand em { font-style: normal; font-weight: 700; color: var(--text-2); margin-left: 0; letter-spacing: -0.025em; }


@media (max-width: 860px) {
  .header .brand { gap: 6px; }
  .header .brand-mark { height: 17px; }
  .header .brand-text { font-size: 16px; }
}

/* the lockup sits on the header's centre line, not on a text baseline */
.header-left { display: flex; align-items: center; }
.header .brand { line-height: 1; }
