/* LootedIdeas website. Same palette and type as the extension. */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --bg: #f7f2ea; --surface: #fffdfa; --surface-2: #f2ebe0; --text: #1d1714; --muted: #6d6259;
  --border: #e5dbcd; --border-strong: #d3c6b4;
  --accent: #ff5a36; --accent-2: #ffb23e; --accent-text: #c4380f; --accent-soft: rgba(255, 90, 54, 0.11);
  --ember: linear-gradient(135deg, #ff5a36 0%, #ff8a3d 55%, #ffb23e 100%);
  --ink: #1d1714; --on-ink: #fff6ec; --gold: #b97a00;
  --shadow-sm: 0 1px 2px rgba(60, 35, 15, 0.06), 0 2px 8px rgba(60, 35, 15, 0.04);
  --shadow-lg: 0 4px 8px rgba(60, 35, 15, 0.06), 0 30px 70px rgba(60, 35, 15, 0.16);
  --display: "Bricolage Grotesque", "Segoe UI Variable Display", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #110d0b; --surface: #1b1613; --surface-2: #241d19; --text: #f7efe6; --muted: #a99c90;
    --border: #322922; --border-strong: #46392f; --accent-text: #ff8d6b; --accent-soft: rgba(255, 90, 54, 0.16);
    --ink: #f7efe6; --on-ink: #1d1714; --gold: #ffc531;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3); --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.55);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1100px 520px at 8% -6%, rgba(255, 138, 61, 0.2), transparent 70%),
    radial-gradient(900px 480px at 100% 4%, rgba(255, 90, 54, 0.12), transparent 70%),
    var(--bg);
  background-repeat: no-repeat;
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.03em; line-height: 1.06; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: var(--accent-text); text-underline-offset: 3px; }
img { max-width: 100%; }
mark {
  padding: 0 0.14em;
  border-radius: 0.18em;
  background: linear-gradient(100deg, rgba(255, 178, 62, 0.55), rgba(255, 90, 54, 0.4));
  color: inherit;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; padding: 8px 14px; background: var(--ink); color: var(--on-ink); border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); font-size: 14px; }
.fine { color: var(--muted); font-size: 14px; }
.center { text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--accent-text); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px transparent; } }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 12px;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  max-width: 1120px;
  margin: 12px auto 0;
  padding: 8px 8px 8px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: var(--shadow-sm);
}
.brand { display: flex; align-items: center; gap: 10px; font: 700 19px/1 var(--display); letter-spacing: -0.02em; color: inherit; text-decoration: none; }
.brand img { border-radius: 8px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 12px; border-radius: 999px; color: var(--muted); font-size: 15px; font-weight: 600; text-decoration: none; transition: color 0.15s, background 0.15s; }
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-links a.active { color: var(--on-ink); background: var(--ink); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background: var(--ember);
  color: #fff;
  font-weight: 650;
  font-size: 15px;
  text-decoration: none;
  text-shadow: 0 1px 1px rgba(120, 30, 0, 0.25);
  box-shadow: 0 6px 20px rgba(255, 90, 54, 0.32);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255, 90, 54, 0.42); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn.big { padding: 15px 26px; font: 650 18px/1 var(--display); }
.btn.ghost { background: transparent; border-color: var(--border-strong); color: var(--text); text-shadow: none; box-shadow: none; }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent-text); box-shadow: none; }
.btn.light { background: #fff6ec; color: #1d1714; text-shadow: none; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }
.btn.full { width: 100%; }

main { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 72px 0 56px; }
.hero h1 { font-size: clamp(40px, 5vw, 62px); font-weight: 800; margin: 18px 0 22px; }
.lead { font-size: 19px; color: var(--muted); max-width: 540px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 14px; scroll-margin-top: 120px; }
.hero-copy > * { animation: rise 0.7s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.hero-copy > :nth-child(3) { animation-delay: 0.16s; }
.hero-copy > :nth-child(4) { animation-delay: 0.24s; }
.hero-copy > :nth-child(5) { animation-delay: 0.32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

.hero-art { position: relative; padding: 10px 0 40px; animation: rise 0.9s 0.2s var(--ease) both; }
.window { border-radius: 18px; border: 1px solid #2c2622; background: #0f0f0f; box-shadow: var(--shadow-lg); overflow: hidden; transform: rotate(1.5deg); position: relative; }
.window-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #1c1917; }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #4a423c; }
.window-bar span { margin-left: 10px; padding: 3px 12px; border-radius: 999px; background: #0f0f0f; color: #a99c90; font-size: 11px; }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 16px 16px 64px; }
.mini { position: relative; display: flex; flex-direction: column; gap: 6px; }
.mini em {
  display: flex;
  align-items: flex-end;
  aspect-ratio: 16 / 9;
  padding: 8px;
  border-radius: 9px;
  background: linear-gradient(180deg, var(--a), var(--b));
  color: #fff;
  font: 800 11px/1.1 system-ui, sans-serif;
  font-style: normal;
  letter-spacing: 0.02em;
}
.mini small { color: #a99c90; font-size: 11px; }
.mini.hot em { box-shadow: 0 0 0 2px #ff8a3d, 0 0 26px rgba(255, 138, 61, 0.55); }
.mini-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff5a36, #ff9a1f);
  color: #fff;
  font: 750 10px/1 system-ui, sans-serif;
  box-shadow: 0 4px 14px rgba(255, 100, 40, 0.6);
  animation: badge-pop 3.6s var(--ease) infinite;
}
@keyframes badge-pop { 0%, 12% { transform: scale(0); opacity: 0; } 20% { transform: scale(1.15); opacity: 1; } 26%, 100% { transform: scale(1); opacity: 1; } }
.mini-fab { position: absolute; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(40, 32, 27, 0.92); border: 1px solid rgba(255, 255, 255, 0.14); font: 650 11px/1 system-ui, sans-serif; color: #fff6ec; }
.mini-fab span { padding: 7px 10px; }
.mini-fab b { padding: 7px 11px; border-radius: 999px; background: var(--ember); color: #fff; font-weight: 650; }
.float-card { position: absolute; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-lg); }
.float-card.thread { left: -34px; bottom: 0; width: 270px; padding: 14px 16px; font-size: 13px; line-height: 1.45; transform: rotate(-3deg); animation: bob 6s ease-in-out infinite; }
.float-card.thread p + p { margin-top: 8px; }
.float-card.thread b { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 4px; border-radius: 50%; background: var(--ink); color: var(--on-ink); font-size: 10px; }
.float-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 6px; }
.float-card.saved { right: -10px; top: -8px; display: flex; align-items: center; gap: 8px; padding: 10px 16px 10px 10px; border-radius: 999px; font-size: 14px; font-weight: 650; animation: bob 5s 1s ease-in-out infinite; }
.tick { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #19794a; color: #fff; font-size: 12px; }
@keyframes bob { 50% { translate: 0 -8px; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; margin: 8px -20px 0; padding: 14px 0; border-block: 1px solid var(--border); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: slide 26s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 44px; font: 650 20px/1 var(--display); color: var(--muted); white-space: nowrap; }
.marquee span::after { content: "✦"; color: var(--accent); font-size: 14px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
/* The top padding doubles as the landing offset for the nav links: it must clear the floating nav. */
.section { padding: 104px 0 0; }
.section-head { max-width: 760px; margin: 0 auto 30px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 750; margin: 12px 0 14px; }
.sub { color: var(--muted); font-size: 18px; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Outlier demo ---------- */
.demo-box { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; padding: 24px; border-radius: 24px; background: #0f0f0f; color: #f1f1f1; box-shadow: var(--shadow-lg); }
.demo-controls { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 16px; background: #1c1917; align-self: start; }
.demo-controls label { font: 650 18px/1.3 var(--display); }
.demo-controls output { display: inline-block; min-width: 2.2em; padding: 0 8px; border-radius: 8px; background: var(--ember); color: #fff; text-align: center; }
input[type="range"] { width: 100%; accent-color: #ff5a36; height: 28px; cursor: grab; }
.demo-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.demo-facts div { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 12px; background: #0f0f0f; }
.demo-facts b { font: 750 26px/1.1 var(--display); color: #ffb23e; font-variant-numeric: tabular-nums; }
.demo-facts span { font-size: 12px; color: #a99c90; }
.demo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 12px; }
.vid { position: relative; display: flex; flex-direction: column; gap: 6px; transition: opacity 0.3s, transform 0.3s var(--ease); }
.vid .pic { position: relative; display: flex; align-items: flex-end; aspect-ratio: 16 / 9; padding: 8px; border-radius: 10px; background: linear-gradient(180deg, var(--a), var(--b)); font: 800 12px/1.1 system-ui, sans-serif; color: #fff; transition: box-shadow 0.3s; }
.vid b { font-size: 13px; font-weight: 600; line-height: 1.3; }
.vid small { color: #a99c90; font-size: 12px; }
.vid .bar { height: 4px; border-radius: 999px; background: #2c2622; overflow: hidden; }
.vid .bar i { display: block; height: 100%; border-radius: 999px; background: #5a4f47; transition: background 0.3s; }
.vid.hot .pic { box-shadow: 0 0 0 2px #ff8a3d, 0 0 28px rgba(255, 138, 61, 0.5); }
.vid.hot .bar i { background: linear-gradient(90deg, #ff5a36, #ffb23e); }
.vid:not(.hot) { opacity: 0.78; }
.vid .flag { position: absolute; top: 6px; left: 6px; z-index: 1; padding: 4px 8px; border-radius: 999px; background: linear-gradient(135deg, #ff5a36, #ff9a1f); color: #fff; font: 750 11px/1 system-ui, sans-serif; box-shadow: 0 4px 14px rgba(255, 100, 40, 0.6); animation: pop 0.4s cubic-bezier(0.2, 1.5, 0.4, 1) both; }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step { display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 0; border: 1px solid var(--border); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step .num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--ember); color: #fff; font: 800 18px/1 var(--display); }
.step h3 { font-size: 24px; font-weight: 700; }
.step p { color: var(--muted); font-size: 16px; }
.step img { display: block; width: 130%; max-width: none; margin-top: auto; padding-top: 12px; border-radius: 12px 0 0 0; transform: translateY(4px); box-shadow: -8px -4px 30px rgba(60, 35, 15, 0.14); }

/* ---------- Studio preview ---------- */
.studio-box { max-width: 860px; margin: 0 auto 14px; border: 1px solid var(--border); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden; }
.tabs { display: flex; gap: 4px; padding: 10px; overflow-x: auto; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.tabs button { flex: none; padding: 9px 16px; border: none; border-radius: 999px; background: transparent; color: var(--muted); font: 650 15px/1 var(--display); cursor: pointer; transition: background 0.15s, color 0.15s; }
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--on-ink); }
.tab-panels { padding: 22px; }
.source-chip { display: flex; align-items: center; gap: 12px; padding: 10px; margin-bottom: 18px; border-radius: 14px; background: var(--surface-2); }
.thumb-chip { display: flex; align-items: flex-end; flex: none; width: 96px; aspect-ratio: 16 / 9; padding: 6px; border-radius: 8px; background: linear-gradient(180deg, #1f5f63, #55bdb6); color: #fff; font: 800 9px/1.1 system-ui, sans-serif; }
.source-chip b { display: block; font: 650 16px/1.3 var(--display); }
.source-chip small { color: var(--muted); font-size: 13px; }
.out { display: flex; flex-direction: column; gap: 10px; min-height: 250px; }
.out .line { position: relative; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); font-size: 15.5px; line-height: 1.5; white-space: pre-line; animation: rise 0.45s var(--ease) both; animation-delay: calc(var(--i) * 70ms); }
.out.numbered .line { padding-left: 46px; }
.out.numbered .line::before { content: counter(n); counter-increment: n; position: absolute; left: 12px; top: 12px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--on-ink); font: 700 11px/1 system-ui, sans-serif; }
.out.numbered { counter-reset: n; }
.out.numbered .line:first-child::before { background: var(--ember); color: #fff; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; padding: 24px; border: 1px solid var(--border); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform 0.3s var(--ease), border-color 0.3s; }
.tile:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.tile.wide { grid-column: span 2; }
.tile h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: 16px; max-width: 46ch; }
.tile.dark { background: #1d1714; border-color: #1d1714; color: #fff6ec; }
.tile.dark p { color: #c9bbae; }
.tagchip { padding: 1px 9px; border-radius: 999px; background: rgba(255, 178, 62, 0.25); color: var(--text); font-weight: 600; font-size: 14px; }
.tagchip.alt { background: rgba(120, 160, 255, 0.22); }
.where { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.where span { padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2); font-size: 14px; font-weight: 600; }
.lock { position: absolute; right: -26px; bottom: -30px; width: 150px; height: 150px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; }
.lock span { width: 44px; height: 36px; margin: 0 22px 22px 0; border-radius: 8px; background: var(--accent); position: relative; }
.lock span::before { content: ""; position: absolute; left: 9px; top: -18px; width: 26px; height: 24px; border: 5px solid var(--accent); border-bottom: none; border-radius: 14px 14px 0 0; box-sizing: border-box; }

/* ---------- Pricing ---------- */
.bill-toggle { display: flex; width: max-content; margin: 0 auto 26px; padding: 4px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-sm); }
.bill-toggle button { padding: 9px 18px; border: none; border-radius: 999px; background: transparent; color: var(--muted); font: 650 15px/1 var(--display); cursor: pointer; }
.bill-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
.bill-toggle em { margin-left: 4px; font-style: normal; font-size: 12px; color: var(--accent-text); }
.bill-toggle button[aria-pressed="true"] em { color: var(--accent-2); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 20px; justify-content: center; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--border); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-sm); }
.plan.pro { border: 2px solid var(--accent); box-shadow: 0 20px 60px rgba(255, 90, 54, 0.2); }
.plan h3 { font-size: 22px; }
.ribbon { position: absolute; top: -13px; right: 22px; padding: 4px 12px; border-radius: 999px; background: var(--ember); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; }
.price { font: 800 52px/1 var(--display); letter-spacing: -0.04em; margin: 10px 0 2px; font-variant-numeric: tabular-nums; }
.price small { font-size: 17px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.price-note { color: var(--muted); font-size: 14px; min-height: 22px; }
.plan ul { flex: 1; margin: 18px 0 22px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.plan li { position: relative; padding-left: 28px; font-size: 16px; }
.plan li::before { content: "✓"; position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); font-size: 11px; font-weight: 800; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
details { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); transition: border-color 0.2s, box-shadow 0.2s; }
details[open] { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; font: 650 18px/1.3 var(--display); cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); font: 500 20px/1 system-ui, sans-serif; transition: transform 0.3s var(--ease), background 0.2s; }
details[open] summary::after { transform: rotate(45deg); background: var(--accent); color: #fff; }
details p { padding: 0 20px 20px; color: var(--muted); font-size: 16px; }

/* ---------- Final CTA + footer ---------- */
.final { margin: 96px 0 0; padding: 72px 24px; border-radius: 32px; background: radial-gradient(700px 300px at 80% 0%, rgba(255, 178, 62, 0.35), transparent 70%), radial-gradient(600px 300px at 0% 100%, rgba(255, 90, 54, 0.4), transparent 70%), #1d1714; color: #fff6ec; text-align: center; }
.final h2 { font-size: clamp(30px, 4.6vw, 54px); font-weight: 750; margin-bottom: 30px; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; max-width: 1120px; margin: 0 auto; padding: 36px 20px 44px; color: var(--muted); font-size: 14px; }
footer .brand { font-size: 16px; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 100; padding: 12px 20px; border-radius: 999px; background: var(--ink); color: var(--on-ink); font-size: 15px; font-weight: 600; box-shadow: var(--shadow-lg); opacity: 0; transform: translate(-50%, 16px); pointer-events: none; transition: opacity 0.2s, transform 0.3s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Privacy / document pages ---------- */
.doc { max-width: 720px; margin: 0 auto; padding: 56px 20px 72px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 750; margin-bottom: 8px; }
.doc h2 { font-size: 24px; font-weight: 700; margin: 40px 0 10px; letter-spacing: -0.02em; }
.doc p { margin: 12px 0; }
.doc ul { padding-left: 22px; }
.doc li { margin: 8px 0; }
.doc code { padding: 1px 6px; border-radius: 6px; background: var(--surface-2); font-size: 0.9em; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; gap: 36px; }
  .hero-art { max-width: 560px; margin: 0 auto; width: 100%; }
  .float-card.thread { left: -6px; }
  .float-card.saved { right: -4px; }
  .nav-links { display: none; }
  .demo-box { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step img { width: 100%; border-radius: 12px 12px 0 0; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { margin: 8px 12px 0; }
  main { padding: 0 16px; }
  .marquee { margin-inline: -16px; }
  .section { padding-top: 88px; }
  .demo-box { padding: 14px; border-radius: 18px; }
  .demo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: 1fr; }
  .tile.wide { grid-column: auto; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .float-card.thread { width: 230px; font-size: 12px; }
  .cta .btn { width: 100%; }
  .final { padding: 52px 20px; border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}
