/* ==========================================================================
   littletoolz.css - shared design system for littletoolz.com
   Single source of truth for look & feel. Plain CSS, no framework needed.
   Clean light style: Inter, high-contrast text, soft pastel cards,
   compact buttons. Edit tokens here only; never hardcode colors in pages.
   ========================================================================== */

:root {
  /* text */
  --ink: #2A2540;
  --muted: #5B5575;
  /* surfaces (dusk: drowsy lavender haze) */
  --bg: #F3EFFA;
  --surface: #FBF9FE;
  --card: #ECE6F7;
  --line: #D3C9E8;
  --soft: #E4DCF2;
  --haze-warm: #FDF0C2;
  --haze-lilac: #E4D9FF;
  /* brand / focus */
  --brand: #7C3AED;
  --focus: rgba(124, 58, 237, .25);
  /* adrenaline accent (electric periwinkle): primary actions, active states, glow */
  --hot: #9B8CFF;
  --hot-line: #5B4BDB;
  --hot-glow: rgba(99, 102, 241, .38);
  /* status text */
  --ok: #047857;
  --warn: #B45309;
  --bad: #B91C1C;
  --info: #5B21B6;
  /* status backgrounds / borders */
  --ok-bg: #ECFDF5;   --ok-line: #6EE7B7;
  --warn-bg: #FFFBEB; --warn-line: #FCD34D;
  --bad-bg: #FEF2F2;  --bad-line: #FCA5A5;
  --info-bg: #F1EBFF; --info-line: #B9A5F5;
  /* pastel button fills + matching borders */
  --btn-indigo: #D6C9FF; --btn-indigo-line: #7C3AED;
  --btn-sky: #BAE6FD;    --btn-sky-line: #38BDF8;
  --btn-mint: #BBF7D0;   --btn-mint-line: #4ADE80;
  --btn-pink: #FECACA;   --btn-pink-line: #F87171;
  --btn-butter: #FDE68A; --btn-butter-line: #FBBF24;
  /* shape */
  --radius-card: 10px;
  --radius-ctl: 6px;
  --shadow-card: 0 1px 2px rgba(42, 37, 64, .06), 0 8px 24px -12px rgba(124, 58, 237, .16);
  --shadow-header: 0 1px 3px rgba(42, 37, 64, .06);
  --ease-slow: cubic-bezier(.22, .61, .36, 1);
  /* type */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "Cascadia Code", Consolas, "SF Mono", monospace;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--ink); line-height: 1.25; }
h1 { font-size: 1.1rem; font-weight: 700; }
h2 { font-size: 1rem; font-weight: 600; }
h3 { font-size: .9rem; font-weight: 600; }
p { margin: 0 0 .75em; }
a { color: var(--info); text-decoration: none; }
a:hover { text-decoration: underline; }
code, kbd, pre, .lt-mono { font-family: var(--mono); font-size: .92em; }
code { background: var(--soft); padding: 1px 5px; border-radius: 4px; }
::selection { background: var(--btn-indigo); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.lt-muted { color: var(--muted); }
.lt-small { font-size: 12px; }

/* ---------- layout ---------- */
.lt-container { max-width: 80rem; margin: 0 auto; padding: 0 16px; }
.lt-main { padding: 24px 0; }
.lt-stack > * + * { margin-top: 16px; }
.lt-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lt-row--between { justify-content: space-between; }
.lt-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .lt-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .lt-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .lt-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- header / nav ---------- */
.lt-header {
  position: sticky; top: 0; z-index: 30;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-header);
}
.lt-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; max-width: 80rem; margin: 0 auto; }
.lt-logo {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--btn-indigo); border: 1px solid var(--btn-indigo-line);
  font-weight: 700; font-size: 15px; color: var(--ink);
}
.lt-nav { display: flex; flex-wrap: wrap; gap: 6px; }
.lt-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 16px 0; color: var(--muted); font-size: 12px; }

/* ---------- cards ---------- */
.lt-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 16px;
}
.lt-card--flat { box-shadow: none; }
.lt-card > :last-child { margin-bottom: 0; }

/* ---------- buttons (COMPACT - never tall) ---------- */
.lt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 6px 12px;
  font: 600 13px/1.25 var(--font);
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-ctl);
  box-shadow: 0 1px 0 rgba(15, 23, 42, .08);
  cursor: pointer;
  text-decoration: none;
  transition: background-color .12s, box-shadow .12s;
}
.lt-btn:hover:not(:disabled) { filter: brightness(.96); text-decoration: none; }
.lt-btn:active:not(:disabled) { transform: translateY(1px); box-shadow: none; }
.lt-btn:disabled, .lt-btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.lt-btn--primary, .lt-btn--indigo { background: var(--btn-indigo); border-color: var(--btn-indigo-line); }
.lt-btn--sky    { background: var(--btn-sky);    border-color: var(--btn-sky-line); }
.lt-btn--mint   { background: var(--btn-mint);   border-color: var(--btn-mint-line); }
.lt-btn--pink   { background: var(--btn-pink);   border-color: var(--btn-pink-line); }
.lt-btn--butter { background: var(--btn-butter); border-color: var(--btn-butter-line); }
.lt-btn--block { display: flex; width: 100%; }       /* use only in mobile stacks */
.lt-btn--grow { flex: 1 1 0; }                       /* share a row evenly */
.lt-btn--sm { padding: 4px 9px; font-size: 12px; }

/* ---------- forms ---------- */
.lt-label { display: block; margin-bottom: 4px; font-size: 12px; color: var(--muted); }
.lt-input, .lt-select, .lt-textarea {
  width: 100%;
  padding: 6px 10px;
  font: 13px/1.4 var(--font);
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-ctl);
}
.lt-input--mono { font-family: var(--mono); }
.lt-input:focus, .lt-select:focus, .lt-textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--focus);
}
input[type="checkbox"].lt-check, input[type="radio"].lt-check { accent-color: var(--brand); width: 1em; height: 1em; }

/* ---------- status ---------- */
.lt-ok   { color: var(--ok); }
.lt-warn { color: var(--warn); }
.lt-bad  { color: var(--bad); }
.lt-info { color: var(--info); }
.lt-alert { padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius-ctl); font-size: 13px; }
.lt-alert--ok   { background: var(--ok-bg);   border-color: var(--ok-line);   color: var(--ok); }
.lt-alert--warn { background: var(--warn-bg); border-color: var(--warn-line); color: var(--warn); }
.lt-alert--bad  { background: var(--bad-bg);  border-color: var(--bad-line);  color: var(--bad); }
.lt-alert--info { background: var(--info-bg); border-color: var(--info-line); color: var(--info); }
.lt-badge { display: inline-block; padding: 1px 8px; font-size: 11px; font-weight: 600; border-radius: 999px; border: 1px solid var(--line); background: var(--soft); color: var(--ink); }
.lt-badge--ok   { background: var(--ok-bg);   border-color: var(--ok-line);   color: var(--ok); }
.lt-badge--warn { background: var(--warn-bg); border-color: var(--warn-line); color: var(--warn); }
.lt-badge--bad  { background: var(--bad-bg);  border-color: var(--bad-line);  color: var(--bad); }

/* ---------- tables ---------- */
.lt-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.lt-table th, .lt-table td { padding: 8px 10px; text-align: left; border-bottom: 1px solid var(--line); }
.lt-table th { font-weight: 600; color: var(--muted); font-size: 12px; }
.lt-table tr:last-child td { border-bottom: 0; }

/* ---------- misc ---------- */
.lt-hidden { display: none !important; }
.lt-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media (max-width: 767px) {
  .lt-header__inner { padding: 8px 12px; }
  .lt-card { padding: 12px; }
}

/* ==========================================================================
   Site components (added for the full-site restyle). Tokens only.
   ========================================================================== */
[hidden] { display: none !important; }
.lt-skip { position: absolute; left: 8px; top: -48px; z-index: 50; padding: 6px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-ctl); }
.lt-skip:focus { top: 8px; }
img, video { max-width: 100%; }

/* header extras */
.lt-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--ink); }
.lt-brand:hover { text-decoration: none; }
.lt-brand img { display: block; border-radius: 8px; }
.lt-nav .lt-btn[aria-current="page"] { background: var(--btn-indigo); border-color: var(--btn-indigo-line); }
.lt-auth-status { margin: 0; padding: 6px 16px; font-size: 12px; color: var(--muted); background: var(--surface); border-bottom: 1px solid var(--line); }

/* page frames */
.lt-page { max-width: 80rem; margin: 0 auto; padding: 24px 16px 40px; }
.lt-doc { max-width: 52rem; }
.lt-doc section { margin-top: 20px; }
.lt-doc ul, .lt-doc ol { padding-left: 20px; margin: 0 0 .75em; }
.lt-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 16px; font-size: 12px; color: var(--muted); }
.lt-eyebrow { margin: 0 0 6px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--info); }
.lt-lead { font-size: 15px; color: var(--muted); max-width: 46rem; }
.lt-hero { padding: 16px 0 8px; }
.lt-hero h1, .lt-page h1 { font-size: 1.6rem; font-weight: 700; letter-spacing: -.01em; }
.lt-hero h1 span { color: var(--info); }
.lt-section { margin-top: 32px; }
.lt-section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 24px; margin-bottom: 12px; }
.lt-section__head h2, .lt-section > h2 { font-size: 1.15rem; }
.lt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0; }
.lt-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 16px; }
.lt-panel > :last-child { margin-bottom: 0; }
.lt-split { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .lt-split { grid-template-columns: 1fr 1fr; } .lt-split--wide { grid-template-columns: 2fr 1fr; } }

/* product cards */
.lt-product { display: flex; flex-direction: column; gap: 8px; }
.lt-product__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11px; color: var(--muted); }
.lt-symbol { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: var(--btn-indigo); border: 1px solid var(--btn-indigo-line); font-weight: 700; font-size: 18px; color: var(--ink); object-fit: contain; flex: none; }
img.lt-symbol { background: var(--surface); border-color: var(--line); padding: 4px; }
.lt-product h3 { font-size: 1rem; margin: 0; }
.lt-product__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.lt-checks { list-style: none; margin: 0; padding: 0; }
.lt-checks li { position: relative; padding-left: 16px; margin: 2px 0; font-size: 13px; }
.lt-checks li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.lt-index { font-size: 11px; font-weight: 600; color: var(--info); letter-spacing: .04em; }
.lt-card--link { display: block; color: var(--ink); }
.lt-card--link:hover { text-decoration: none; border-color: var(--brand); }
.lt-card--link h2, .lt-card--link h3 { font-size: 1rem; }
.lt-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.lt-badge--info { background: var(--info-bg); border-color: var(--info-line); color: var(--info); }

/* lists, steps, definitions, faq */
.lt-steps { list-style: none; counter-reset: lt-step; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 768px) { .lt-steps { grid-template-columns: repeat(3, 1fr); } }
.lt-steps li { counter-increment: lt-step; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 14px 16px; box-shadow: var(--shadow-card); }
.lt-steps li::before { content: counter(lt-step); display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-bottom: 6px; border-radius: 50%; background: var(--btn-indigo); border: 1px solid var(--btn-indigo-line); font-size: 12px; font-weight: 700; }
.lt-steps h3 { margin-bottom: 4px; }
.lt-steps p { margin: 0; color: var(--muted); }
.lt-dl { margin: 12px 0 0; display: grid; gap: 8px; }
.lt-dl div { display: flex; justify-content: space-between; gap: 12px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 13px; }
.lt-dl dt { color: var(--muted); }
.lt-dl dd { margin: 0; font-weight: 600; text-align: right; }
.lt-faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-ctl); padding: 8px 12px; margin-bottom: 8px; }
.lt-faq summary { cursor: pointer; font-weight: 600; }
.lt-faq details[open] summary { margin-bottom: 6px; }
.lt-faq details p { margin: 0; color: var(--muted); }
.lt-note { background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: var(--radius-card); padding: 12px 16px; }
.lt-note > :last-child { margin-bottom: 0; }

/* footer */
.lt-footer__inner { max-width: 80rem; margin: 0 auto; padding: 0 16px; display: grid; gap: 10px; }
.lt-footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.lt-footer__links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.lt-footer p { margin: 0; }
.lt-footer details summary { cursor: pointer; }

/* tabs (active = primary) */
.lt-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.lt-tab { padding: 6px 12px; font: 600 13px/1.25 var(--font); color: var(--ink); background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-ctl); cursor: pointer; }
.lt-tab:hover { filter: brightness(.96); }
.lt-tab.is-active, .lt-tab[aria-selected="true"] { background: var(--btn-indigo); border-color: var(--btn-indigo-line); }

/* forms */
.lt-form-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; }
.lt-form-row .lt-input { flex: 1 1 260px; width: auto; }
.lt-textarea { min-height: 96px; resize: vertical; }
.lt-field { display: block; margin-bottom: 12px; }
.lt-link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--info); text-decoration: underline; cursor: pointer; }
.lt-stack-tight > * + * { margin-top: 8px; }
.lt-mt { margin-top: 12px; }
.lt-mt-0 { margin-top: 0; }
.lt-center { text-align: center; }

/* demo (Halo illustrative example) */
.lt-demo__bar { display: flex; justify-content: space-between; gap: 8px; padding: 8px 12px; background: var(--surface); border-bottom: 1px solid var(--line); font-size: 12px; }
.lt-demo__panes { display: grid; gap: 0; grid-template-columns: 1fr; }
@media (min-width: 768px) { .lt-demo__panes { grid-template-columns: 1fr 1fr; } }
.lt-demo__page, .lt-demo__assistant { padding: 16px; }
.lt-demo__page { background: var(--surface); border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .lt-demo__page { border-bottom: 0; border-right: 1px solid var(--line); } }
.lt-demo__modes { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.lt-demo__modes button { padding: 6px 12px; font: 600 13px/1.25 var(--font); color: var(--ink); background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-ctl); cursor: pointer; }
.lt-demo__modes button[aria-pressed="true"] { background: var(--btn-indigo); border-color: var(--btn-indigo-line); }
.lt-demo__out { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-ctl); padding: 10px 12px; min-height: 4.5em; }

/* cleaned-article surface (Web2PDF output) */
.lt-paper { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 24px; }
.lt-article-title { font-size: 1.5rem; }
.lt-article-meta { color: var(--muted); font-size: 12px; }
.lt-article-body img, .lt-article-img { max-width: 100%; height: auto; }
.lt-article-body { line-height: 1.6; }
.lt-clickable:hover { background: var(--warn-bg); outline: 1px dashed var(--warn); cursor: pointer; }
.lt-live-card { border-left: 3px solid var(--brand); padding: 4px 12px; margin: 12px 0; }
.lt-live-time { font-size: 12px; color: var(--muted); }

/* slab picker */
.lt-slabs { display: grid; gap: 6px; grid-template-columns: repeat(3, 1fr); margin: 8px 0; }
.lt-slabs--2 { grid-template-columns: repeat(2, 1fr); }
.lt-slab { display: flex; flex-direction: column; align-items: center; padding: 6px 4px; font: 600 13px/1.25 var(--font); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-ctl); cursor: pointer; }
.lt-slab small { font-weight: 400; color: var(--muted); font-size: 11px; }
.lt-slab.is-selected { background: var(--btn-mint); border-color: var(--btn-mint-line); }
.lt-stars { display: flex; justify-content: center; gap: 6px; font-size: 22px; color: var(--muted); cursor: pointer; }
.lt-account-empty { text-align: center; }

/* misc additions */
.lt-row > h1, .lt-row > h2, .lt-row > h3 { margin: 0; }
.lt-grab { cursor: grab; }
.lt-stars .is-on { color: var(--btn-butter-line); }
.lt-video { display: block; width: 100%; max-width: 1000px; height: auto; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--card); }
.lt-form { max-width: 680px; }
.lt-form label { display: block; margin-block: 12px; font-size: 13px; }
.lt-form select, .lt-form input:not([type="checkbox"]), .lt-form textarea { display: block; width: 100%; margin-top: 4px; padding: 6px 10px; font: 13px/1.4 var(--font); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-ctl); }
.lt-form select:focus, .lt-form input:focus, .lt-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--focus); }
.lt-form input[type="checkbox"] { accent-color: var(--brand); width: 1em; height: 1em; vertical-align: middle; }
.lt-form fieldset { margin-block: 16px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--card); }
.lt-form legend { padding-inline: 6px; font-weight: 600; }
.lt-form [role="status"] { margin-top: 12px; }
.lt-sub-list { display: grid; gap: 12px; }
.lt-sub-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }

.lt-narrow { max-width: 640px; margin: 24px auto; text-align: left; }
.lt-center .lt-lead { margin-inline: auto; }
.lt-row--center { justify-content: center; }
.lt-slab:hover { border-color: var(--brand); }
.lt-pre { white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--mono); font-size: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-ctl); padding: 12px; }
.lt-product .lt-badge { align-self: flex-start; }

/* ==========================================================================
   Vibe layer: drowsy dusk base + adrenaline accent (electric periwinkle).
   Slow, hazy surfaces; snappy, glowing actions. Tokens only.
   ========================================================================== */
body {
  background:
    radial-gradient(60rem 36rem at 8% -8%, var(--haze-warm), transparent 60%),
    radial-gradient(54rem 34rem at 100% 0%, var(--haze-lilac), transparent 58%),
    var(--bg);
  background-attachment: fixed;
  animation: lt-wake .7s var(--ease-slow) both;
}
@keyframes lt-wake { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes lt-pulse { 0%, 100% { box-shadow: 0 1px 0 rgba(42, 37, 64, .08), 0 0 0 0 var(--hot-glow); } 50% { box-shadow: 0 1px 0 rgba(42, 37, 64, .08), 0 0 0 8px rgba(99, 102, 241, 0); } }

.lt-header { background: rgba(251, 249, 254, .78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lt-footer { background: rgba(251, 249, 254, .7); }
::selection { background: var(--hot); color: var(--ink); }

/* cards: slow hazy lift */
.lt-card, .lt-panel { transition: transform .45s var(--ease-slow), box-shadow .45s var(--ease-slow), border-color .45s var(--ease-slow); }
.lt-card--link:hover, .lt-product:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(42, 37, 64, .06), 0 16px 32px -14px rgba(124, 58, 237, .32); border-color: var(--brand); }

/* buttons: snappy and hot */
.lt-btn { transition: transform .08s ease-out, box-shadow .18s ease-out, filter .12s, background-color .15s; }
.lt-btn:active:not(:disabled) { transform: translateY(1px) scale(.97); }
.lt-btn--primary, .lt-tab.is-active, .lt-tab[aria-selected="true"], .lt-nav .lt-btn[aria-current="page"] { background: var(--hot); border-color: var(--hot-line); }
.lt-btn--primary:hover:not(:disabled) { filter: none; box-shadow: 0 1px 0 rgba(42, 37, 64, .1), 0 6px 18px -4px var(--hot-glow); transform: translateY(-1px); }
.lt-hero .lt-btn--primary { animation: lt-pulse 3.4s ease-in-out infinite; }
.lt-demo__modes button[aria-pressed="true"] { background: var(--hot); border-color: var(--hot-line); }

/* hero: dreamy gradient on the second headline line */
.lt-hero h1 span { color: var(--info); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .lt-hero h1 span { background: linear-gradient(90deg, var(--hot-line), var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
}

/* inputs: soft glow on focus */
.lt-input:focus, .lt-select:focus, .lt-textarea:focus, .lt-form select:focus, .lt-form input:focus, .lt-form textarea:focus { box-shadow: 0 0 0 3px var(--focus), 0 0 18px -2px var(--hot-glow); }

/* lt-symbol keeps lavender tile; step numbers go hot */
.lt-steps li::before { background: var(--hot); border-color: var(--hot-line); }
.lt-checks li::before { background: var(--hot-line); }

/* ==========================================================================
   Art layer: blurry, drifting abstract colour fields + film grain.
   Original generated artwork (no third-party images). Tokens only.
   ========================================================================== */
@keyframes lt-drift { from { transform: translate3d(-3%, -2%, 0) scale(1); } to { transform: translate3d(4%, 3%, 0) scale(1.12); } }
@keyframes lt-float { from { transform: translate3d(0, -6px, 0) rotate(-1.5deg); } to { transform: translate3d(0, 10px, 0) rotate(1.5deg); } }
@keyframes lt-shift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* page-wide blurred fields (fixed, behind everything) */
body::before, body::after { content: ""; position: fixed; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(48px); will-change: transform; }
body::before { width: 52vmax; height: 52vmax; left: -14vmax; top: -16vmax; background: radial-gradient(circle at 40% 40%, var(--haze-warm), transparent 66%); opacity: .85; animation: lt-drift 26s ease-in-out infinite alternate; }
body::after { width: 44vmax; height: 44vmax; right: -12vmax; bottom: -14vmax; background: radial-gradient(circle at 55% 45%, var(--hot-glow), var(--haze-lilac) 45%, transparent 68%); opacity: .55; animation: lt-drift 34s ease-in-out infinite alternate-reverse; }

/* film grain */
html::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* hero artwork */
.lt-hero { position: relative; isolation: isolate; }
.lt-hero .lt-lead { max-width: 40rem; }
.lt-hero::after { content: ""; position: absolute; z-index: -1; right: -2%; top: -14%; width: min(42vw, 540px); aspect-ratio: 4 / 3; pointer-events: none;
  background: url("/assets/art/hero-composition.svg") center / contain no-repeat; animation: lt-float 18s ease-in-out infinite alternate; }
.lt-hero.lt-split::after { top: -8%; }
@media (max-width: 767px) { .lt-hero::after { width: 72vw; right: -18%; top: -6%; opacity: .4; } }

/* hero headline: slow shifting gradient */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .lt-hero h1 span { background-size: 220% 100%; animation: lt-shift 9s ease-in-out infinite alternate; }
}

/* product cards: hazy art strip, a different colour mix per card */
.lt-product { position: relative; overflow: hidden; --a: var(--haze-lilac); --b: var(--haze-warm); }
.lt-product > * { position: relative; z-index: 1; }
.lt-product::before { content: ""; position: absolute; z-index: 0; left: -10%; right: -10%; top: -30px; height: 120px; filter: blur(22px); opacity: .75; animation: lt-drift 15s ease-in-out infinite alternate;
  background: radial-gradient(60% 90% at 20% 40%, var(--a), transparent 70%), radial-gradient(50% 80% at 80% 30%, var(--b), transparent 70%); }
.lt-grid > .lt-product:nth-child(3n+2) { --a: var(--haze-warm); --b: var(--btn-sky); }
.lt-grid > .lt-product:nth-child(3n+3) { --a: var(--btn-indigo); --b: var(--hot-glow); }
.lt-grid > .lt-product:nth-child(2n) ::before { animation-direction: alternate-reverse; }

/* panels and notes pick up a faint haze too */
.lt-note { background: linear-gradient(135deg, var(--warn-bg), var(--haze-warm)); }
.lt-footer { position: relative; }

/* ==========================================================================
   Motion-blur layer: speed streaks sweep behind the hero; content arrives
   from a horizontal blur into focus. Original art; reduced-motion safe.
   ========================================================================== */
@keyframes lt-arrive { from { opacity: 0; filter: blur(10px); transform: translateX(-18px); } 60% { opacity: 1; } to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes lt-streak { 0% { transform: translateX(-7%) scaleX(1); opacity: .35; } 50% { opacity: .9; } 100% { transform: translateX(7%) scaleX(1.12); opacity: .35; } }

.lt-page > .lt-hero h1, .lt-page > .lt-hero .lt-lead { animation: lt-arrive .9s var(--ease-slow) both; }
.lt-page > .lt-hero .lt-lead { animation-delay: .12s; }
.lt-page > .lt-hero .lt-actions { animation: lt-arrive .9s var(--ease-slow) .24s both; }

.lt-hero::before { content: ""; position: absolute; z-index: -1; left: -8%; right: -8%; top: 8%; height: 78%; pointer-events: none;
  background: url("/assets/art/speed-streaks.svg") center / 100% 100% no-repeat; animation: lt-streak 8s ease-in-out infinite alternate; will-change: transform, opacity; }
@media (max-width: 767px) { .lt-hero::before { opacity: .5; animation-duration: 12s; } }

.lt-hero::before { -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.12) 0, rgba(0,0,0,.12) 30%, #000 62%); mask-image: linear-gradient(90deg, rgba(0,0,0,.12) 0, rgba(0,0,0,.12) 30%, #000 62%); }
@media (max-width: 767px) { .lt-hero::before { -webkit-mask-image: none; mask-image: none; opacity: .22; } }
html, body { overflow-x: clip; }

/* ==========================================================================
   Loud type + highlighted features + try-it calls to action.
   ========================================================================== */
.lt-hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; margin-bottom: .35em; }
.lt-page h1 { letter-spacing: -.02em; }
.lt-lead { font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.55; color: var(--ink); }
.lt-hero .lt-lead { max-width: 38rem; }
.lt-section__head h2, .lt-section > h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -.02em; font-weight: 700; line-height: 1.15; }
.lt-eyebrow { font-size: 12px; letter-spacing: .12em; font-weight: 700; }
.lt-eyebrow::before { content: ""; display: inline-block; width: 22px; height: 2px; margin-right: 8px; vertical-align: middle; background: var(--hot-line); }

/* marker highlight for key phrases */
.lt-hl { background: linear-gradient(transparent 58%, var(--btn-butter) 58%); color: inherit; padding: 0 .12em; border-radius: 2px; }

/* the one big call to action per hero/card (documented exception to compact buttons) */
.lt-btn--cta { padding: 9px 18px; font-size: 14px; border-radius: 8px; }
.lt-btn--cta.lt-btn--primary { box-shadow: 0 1px 0 rgba(42, 37, 64, .1), 0 8px 20px -8px var(--hot-glow); }
.lt-badge--hot { background: var(--hot); border-color: var(--hot-line); color: var(--ink); }

/* proof chips under the hero */
.lt-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.lt-chips .lt-badge { font-size: 12px; padding: 3px 12px; }

/* product cards: louder name, check-mark features */
.lt-product h3 { font-size: 1.3rem; letter-spacing: -.01em; }
.lt-product p > strong { font-size: 15px; }
.lt-checks li { font-size: 14px; padding-left: 26px; margin: 5px 0; }
.lt-checks li::before { content: "\2713"; top: .1em; left: 0; width: 17px; height: 17px; display: grid; place-items: center; border-radius: 50%; background: var(--hot); color: var(--ink); font-size: 11px; font-weight: 700; }

/* feature tiles */
.lt-feature .lt-index { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 8px; border-radius: 10px; background: var(--hot); border: 1px solid var(--hot-line); color: var(--ink); font-size: 13px; letter-spacing: 0; }
.lt-feature h3 { font-size: 1.1rem; }
.lt-feature { transition: transform .45s var(--ease-slow), box-shadow .45s var(--ease-slow), border-color .45s var(--ease-slow); }
.lt-feature:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: 0 2px 4px rgba(42, 37, 64, .06), 0 16px 32px -14px rgba(124, 58, 237, .32); }

/* ==========================================================================
   Next-step band, intent picker, blog, trust row.
   ========================================================================== */
.lt-next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 48px; padding: 24px 28px; border: 1px solid var(--line); border-radius: 16px;
  background: linear-gradient(120deg, var(--haze-warm), var(--haze-lilac)); box-shadow: var(--shadow-card); }
.lt-next h2 { font-size: clamp(1.25rem, 2.4vw, 1.7rem); letter-spacing: -.02em; margin-bottom: .2em; }
.lt-next p { margin: 0; }
.lt-next .lt-actions { margin: 0; }

/* "I want to ..." intent picker */
.lt-intent { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .lt-intent { grid-template-columns: repeat(3, 1fr); } }
.lt-intent a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; color: var(--ink); box-shadow: var(--shadow-card); transition: transform .45s var(--ease-slow), border-color .45s var(--ease-slow), box-shadow .45s var(--ease-slow); }
.lt-intent a:hover { text-decoration: none; transform: translateY(-3px); border-color: var(--brand); box-shadow: 0 2px 4px rgba(42, 37, 64, .06), 0 16px 32px -14px rgba(124, 58, 237, .32); }
.lt-intent small { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--info); }
.lt-intent strong { font-size: 1.1rem; letter-spacing: -.01em; line-height: 1.25; }
.lt-intent span { color: var(--muted); font-size: 13px; }
.lt-intent em { margin-top: auto; padding-top: 6px; font-style: normal; font-weight: 700; color: var(--info); }

/* blog */
.lt-featured { display: grid; gap: 20px; grid-template-columns: 1fr; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(130deg, var(--surface), var(--haze-lilac)); box-shadow: var(--shadow-card); }
@media (min-width: 768px) { .lt-featured { grid-template-columns: 1.4fr 1fr; align-items: center; } }
.lt-featured h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -.025em; line-height: 1.1; }
.lt-guide { display: flex; flex-direction: column; gap: 6px; }
.lt-guide__problem { font-size: 1.2rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.2; margin: 0; }
.lt-guide__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.lt-guide .lt-actions { margin: auto 0 0; padding-top: 8px; }
.lt-post h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.1; letter-spacing: -.03em; }
.lt-quick { border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; background: var(--surface); box-shadow: var(--shadow-card); }
.lt-quick h2 { font-size: 1.1rem; }
.lt-deeper details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-ctl); padding: 10px 14px; margin-bottom: 8px; }
.lt-deeper summary { cursor: pointer; font-weight: 700; }
.lt-deeper details[open] summary { margin-bottom: 8px; }
.lt-deeper details p { margin: 0; color: var(--muted); line-height: 1.6; }
.lt-post figure { margin: 16px 0; }
.lt-post figcaption { font-size: 12px; color: var(--muted); margin-top: 6px; }
.lt-post figure img { border-radius: var(--radius-card); border: 1px solid var(--line); }

/* whole-block click: the card's main link stretches over the card; other links stay above it */
.lt-click { position: relative; cursor: pointer; }
.lt-stretch::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.lt-above { position: relative; z-index: 3; }
.lt-click:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: 0 2px 4px rgba(42, 37, 64, .06), 0 16px 32px -14px rgba(124, 58, 237, .32); }
.lt-click .lt-stretch:focus-visible::after { outline: 2px solid var(--brand); outline-offset: 2px; }
.lt-product .lt-actions { margin: 4px 0; }

/* slim tool bar under the header on the two Tailwind tool pages */
.lt-subbar { border-bottom: 1px solid var(--line); background: rgba(251, 249, 254, .6); }
.lt-subbar__inner { max-width: 80rem; margin: 0 auto; padding: 8px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lt-subbar__spacer { flex: 1 1 0; }
.lt-doc .lt-steps { padding-left: 0; margin: 0; }

/* solution icons */
.lt-ico { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--hot); border: 1px solid var(--hot-line); font-style: normal; font-size: 18px; line-height: 1; flex: none; }
.lt-ico--sm { width: 28px; height: 28px; border-radius: 8px; font-size: 14px; }
.lt-feature .lt-index.lt-ico { width: 38px; height: 38px; font-size: 18px; }
.lt-guide > .lt-ico, .lt-intent .lt-ico { margin-bottom: 6px; }
.lt-icons { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lt-icons li { display: flex; align-items: center; gap: 12px; font-size: 15px; }

/* Google sign-in button */
.lt-btn--google { background: #fff; border-color: var(--line); }
.lt-btn--google svg { flex: none; }
.lt-plain { color: inherit; }
.lt-plain:hover { text-decoration: none; }

/* buy-me-a-coffee card: highest attention (soft pulsing butter glow) */
@keyframes lt-coffee { 0%, 100% { box-shadow: 0 0 0 0 rgba(253, 230, 138, 0), 0 10px 30px -12px rgba(180, 83, 9, .35); } 50% { box-shadow: 0 0 0 10px rgba(253, 230, 138, .5), 0 14px 36px -10px rgba(180, 83, 9, .5); } }
.lt-attention { border-color: var(--btn-butter-line); animation: lt-coffee 2.8s ease-in-out infinite; }

/* embedded ZeroBloatPdf studio */
.lt-studio { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow-card); }
.lt-studio iframe { display: block; width: 100%; height: min(82vh, 860px); min-height: 560px; border: 0; }
