/* Tokens */
:root {
  /* Warm palette drawn from the Donna banner: cream ground, terracotta accent, deep-brown ink. */
  --bg: #f6f0e6;
  --surface: #ffffff;
  --ink: #2e241b;
  --muted: #92836f;
  --muted-dark: #6e6257;
  --line: #e7ddcf;
  --accent: #9c5c33;
  --accent-soft: #c98d5e;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(46, 36, 27, 0.08);
  --shadow-soft: 0 4px 14px rgba(46, 36, 27, 0.04);
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}
* { margin: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); line-height: 1.55; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.06; }
section { padding: 96px 24px; max-width: 1080px; margin: 0 auto; text-align: center; }

/* Scroll reveals — decorative, gentle, staggered by main.js via --reveal-delay. */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); transition-delay: var(--reveal-delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Nav — floating pill bar */
.nav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 18px; width: min(1040px, calc(100% - 28px)); padding: 10px 12px 10px 20px; background: rgba(255, 253, 248, 0.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.brand img { width: 26px; height: 26px; border-radius: 7px; }
.nav-links { display: flex; gap: 26px; font-size: 14px; color: #4a3f34; }
.nav-links a[aria-current] { color: var(--ink); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: 16px; font-size: 14px; }

/* Buttons */
.button { display: inline-block; background: var(--accent); color: #fff; font-weight: 600; font-size: 15px; padding: 13px 26px; border-radius: 12px; transition: background 200ms ease, transform 160ms var(--ease-out); }
.button:active { transform: scale(0.97); }
.button.small { padding: 8px 16px; font-size: 13px; }

@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover { color: var(--ink); }
  .ghost:hover { color: var(--accent); }
  .button:hover { background: #7f4a28; }
  .all-platforms:hover { color: var(--ink); }
  .footer a:hover { color: var(--ink); }
  .tile { transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out); }
  .tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
  .copy-cmd:hover { color: var(--ink); border-color: var(--muted); }
}

/* Hero — full viewport */
.hero { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 100vh; min-height: 100svh; text-align: center; padding: 120px 24px 90px; max-width: none; background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 22px 22px; }
.hero-icon { width: 84px; height: 84px; border-radius: 22px; box-shadow: var(--shadow); margin-bottom: 34px; }
.hero h1 { font-size: clamp(34px, 7vw, 72px); }
.hero h1 .muted { display: block; color: var(--muted); }
.hero .sub { max-width: 560px; margin: 22px auto 34px; color: #5c5044; font-size: 17px; }
.cta { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.all-platforms { font-size: 13px; color: var(--muted-dark); }
.fineprint { margin-top: 28px; font-size: 12px; color: var(--muted-dark); }
.fineprint a { text-decoration: underline; }

/* Terminal one-liner install (hero) */
.term-install { display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 40px); margin-top: 4px; background: #1b1512; color: #e6ddd1; border-radius: 12px; padding: 10px 12px 10px 14px; box-shadow: var(--shadow-soft); }
.term-install code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; white-space: nowrap; overflow-x: auto; background: none; padding: 0; color: inherit; }
.term-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: #9a8a78; border: 1px solid #3a3128; border-radius: 999px; padding: 2px 8px; flex-shrink: 0; }
.term-install .copy-cmd { margin-left: 0; flex-shrink: 0; background: #322a22; border-color: #3a3128; color: #cfc4b4; }
.term-note { font-size: 12px; color: var(--muted-dark); }
@media (hover: hover) and (pointer: fine) { .term-install .copy-cmd:hover { color: #fff; border-color: #9a8a78; } }

/* Floating hero cards — big, scaling up further on wide screens. Text stays above. */
.hero > *:not(.hero-cards) { position: relative; z-index: 1; }
.hero-cards .card { position: absolute; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-cards .sticky-note { top: 12%; left: max(24px, 5vw); width: 300px; padding: 25px; background: #fdf3b4; transform: rotate(-5deg); font-size: 16px; line-height: 1.5; text-align: left; font-family: "Comic Sans MS", "Bradley Hand", cursive; }
.mini-card { width: 304px; padding: 22px; text-align: left; font-size: 15px; }
.mini-card h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 12px; }
.mini-card .row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.reminders { top: 11%; right: max(24px, 5vw); transform: rotate(4deg); }
.tasks { bottom: 12%; left: max(24px, 7vw); transform: rotate(3deg); }
.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot.blue { background: var(--accent); }
.dot.green { background: #16a34a; }
.check { width: 17px; height: 17px; border: 1.5px solid var(--line); border-radius: 6px; flex-shrink: 0; }
.check.done { background: var(--accent); border-color: var(--accent); }
.logo-cluster { bottom: 13%; right: max(24px, 7vw); display: flex; gap: 15px; padding: 22px 24px; transform: rotate(-3deg); }
.logo-cluster img { width: 42px; height: 42px; }
@media (min-width: 1560px) {
  .hero-cards .sticky-note { transform: rotate(-5deg) scale(1.15); }
  .reminders { transform: rotate(4deg) scale(1.15); }
  .tasks { transform: rotate(3deg) scale(1.15); }
  .logo-cluster { transform: rotate(-3deg) scale(1.15); }
}
@media (min-width: 1880px) {
  .hero-cards .sticky-note { transform: rotate(-5deg) scale(1.35); }
  .reminders { transform: rotate(4deg) scale(1.35); }
  .tasks { transform: rotate(3deg) scale(1.35); }
  .logo-cluster { transform: rotate(-3deg) scale(1.35); }
}
@media (max-width: 1150px) { .hero-cards { display: none; } }

/* Strip */
.strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; text-align: left; padding-top: 40px; padding-bottom: 40px; }
.point svg { width: 26px; height: 26px; color: var(--accent); margin-bottom: 10px; }
.point p { font-size: 14.5px; color: #5c5044; }
.point strong { color: var(--ink); display: block; margin-bottom: 2px; }

/* Section chrome */
.pill { display: inline-block; font-size: 12.5px; font-weight: 500; color: #5c5044; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; box-shadow: 0 2px 8px rgba(46,36,27,0.05); margin-bottom: 22px; }
section h2 { font-size: clamp(30px, 4.5vw, 44px); margin-bottom: 14px; }
.section-sub { color: var(--muted-dark); margin-bottom: 40px; }

/* Showcase */
.showcase { position: relative; }
.frame { margin-top: 44px; background: linear-gradient(180deg, var(--accent-soft), var(--accent)); border-radius: 28px; padding: clamp(16px, 4vw, 48px); box-shadow: var(--shadow); }
.float-tile { position: absolute; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 6px; background: var(--surface); border-radius: 16px; box-shadow: var(--shadow); font-weight: 700; font-size: 15px; }
.float-tile svg { width: 22px; height: 22px; color: var(--accent); }
.float-tile.clock { top: 260px; right: -18px; width: 92px; height: 56px; transform: rotate(5deg); }
.float-tile.tick { bottom: 60px; left: -20px; width: 60px; height: 60px; transform: rotate(-7deg); }
@media (max-width: 1180px) { .float-tile { display: none; } }
.app-mock { display: flex; background: #1b1512; border-radius: 16px; overflow: hidden; text-align: left; min-height: 380px; }
.mock-sidebar { width: 64px; background: #262019; padding: 16px 12px; display: flex; flex-direction: column; gap: 14px; }
.mock-logo { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); }
.mock-nav-item { height: 10px; border-radius: 5px; background: #3a3128; }
.mock-nav-item.active { background: #c98d5e66; }
.mock-main { flex: 1; padding: 22px; min-width: 0; }
.mock-greeting { color: #f0e9df; font-weight: 600; font-size: 18px; margin-bottom: 16px; }
.mock-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
.mock-card { background: #262019; border-radius: 12px; padding: 14px; }
.mock-card.tall { grid-row: span 2; }
.mock-card h5 { color: #9a8a78; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.bubble { font-size: 12.5px; padding: 9px 12px; border-radius: 10px; margin-bottom: 8px; max-width: 90%; }
.bubble.donna { background: #322a22; color: #e6ddd1; }
.bubble.user { background: var(--accent); color: #fff; margin-left: auto; }
.bar { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--accent) var(--w), #3a3128 var(--w)); margin-bottom: 10px; }
.node-row { display: flex; gap: 10px; }
.node { width: 22px; height: 22px; border-radius: 50%; background: #3a3128; border: 2px solid var(--accent); }
@media (max-width: 700px) {
  .mock-grid { grid-template-columns: 1fr; }
  .mock-sidebar { width: 48px; padding: 12px 8px; }
}

/* Features — bento grid with mini-UI mockups */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: left; box-shadow: var(--shadow-soft); }
.feature.wide { grid-column: span 2; }
.feature h3 { font-size: 17px; margin: 16px 6px 6px; }
.feature p { font-size: 14px; color: #5c5044; margin: 0 6px; }
.feature.more { justify-content: center; align-items: center; text-align: center; border-style: dashed; box-shadow: var(--shadow-soft); background: var(--surface); color: var(--muted-dark); font-size: 14px; min-height: 200px; }
@media (max-width: 980px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } .feature.wide { grid-column: auto; } }

/* Mini-UI mockups inside feature cards (light theme, all CSS) */
.mockup { flex: 1; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 16px; min-height: 160px; display: flex; flex-direction: column; justify-content: center; gap: 8px; overflow: hidden; background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 16px 16px; }
.mini-bubble { max-width: 82%; font-size: 12px; line-height: 1.45; padding: 8px 11px; border-radius: 11px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 2px 6px rgba(46,36,27,0.05); }
.mini-bubble.user { margin-left: auto; background: var(--accent); border-color: var(--accent); color: #fff; }
.notif { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 11px; padding: 9px 12px; font-size: 12px; box-shadow: 0 2px 6px rgba(46,36,27,0.05); }
.notif .dot { margin-top: 0; }
.notif time { margin-left: auto; color: var(--muted); font-size: 11px; }
.notif:nth-child(2) { transform: translateX(10px); }
.mini-doc { background: var(--surface); border: 1px solid var(--line); border-radius: 11px; padding: 14px; box-shadow: 0 2px 6px rgba(46,36,27,0.05); transform: rotate(-1.5deg); }
.mini-doc .doc-title { font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.doc-line { height: 6px; border-radius: 3px; background: var(--line); margin-bottom: 6px; }
.doc-line.short { width: 62%; }
.doc-line.accent { width: 40%; background: var(--accent-soft); }
.mini-week { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
@media (max-width: 420px) { .mini-week { grid-template-columns: repeat(2, 1fr); } }
.day { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 7px; font-size: 10.5px; color: var(--muted-dark); }
.day b { display: block; color: var(--ink); font-size: 12px; margin-bottom: 5px; }
.chip { display: block; width: fit-content; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 4px; font-size: 9.5px; line-height: 1.3; padding: 3px 6px; border-radius: 6px; background: #f3e3d3; color: #7f4a28; }
.chip.alt { background: #e9f0e4; color: #3f6b3a; }
.mini-voice { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; box-shadow: 0 2px 6px rgba(46,36,27,0.05); }
.mic { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.mic svg { width: 15px; height: 15px; color: #fff; }
.wave { display: flex; align-items: center; gap: 3px; flex: 1; }
.wave i { width: 3px; border-radius: 2px; background: var(--accent-soft); }
.mini-skill { background: var(--surface); border: 1px solid var(--line); border-radius: 11px; padding: 12px 14px; font-size: 12px; box-shadow: 0 2px 6px rgba(46,36,27,0.05); }
.mini-skill .file { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; color: var(--muted-dark); border-bottom: 1px solid var(--line); padding-bottom: 7px; margin-bottom: 8px; }
.mini-skill .row { display: flex; align-items: center; gap: 8px; padding: 4px 0; }

/* Integrations — hub connector + logo tiles */
.hub { position: relative; margin: 44px 0 8px; display: flex; justify-content: center; align-items: center; height: 84px; }
.hub-line { position: absolute; left: 4%; right: 4%; top: 50%; height: 1px; background: var(--line); }
.hub-node { position: absolute; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--line); }
.hub-logo { position: relative; width: 68px; height: 68px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); padding: 8px; }
.hub-logo img { border-radius: 12px; }
/* Auto-scrolling logo carousel: two identical groups, track slides one group-width. */
.marquee { overflow: hidden; margin-top: 32px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; padding: 10px 0 16px; }
.marquee-group { display: flex; gap: 16px; padding-right: 16px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.tile { position: relative; width: 156px; flex-shrink: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px 12px 22px; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 13.5px; color: #5c5044; box-shadow: var(--shadow-soft); }
.tile img { width: 44px; height: 44px; object-fit: contain; }
.monogram { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 700; font-size: 17px; }
.soon { position: absolute; top: 10px; right: 10px; font-size: 9.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted-dark); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; }

/* Privacy */
.privacy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 40px; }
.privacy-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: left; }
.privacy-card h3 { font-size: 16px; margin-bottom: 8px; }
.privacy-card p { font-size: 14px; color: #5c5044; }

/* FAQ */
.faq { max-width: 720px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin-bottom: 10px; text-align: left; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 15px; }
.faq details p { margin-top: 10px; font-size: 14px; color: #5c5044; }
.faq a { color: var(--accent); text-decoration: underline; }
.copy-cmd { border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted-dark); font-size: 11.5px; padding: 3px 10px; margin-left: 8px; cursor: pointer; }
.faq-more { margin-top: 22px; font-size: 14px; color: var(--muted-dark); }
.faq-more a { color: var(--accent); text-decoration: underline; }

/* Footer — big card with floating tiles */
.footer { max-width: 1080px; margin: 0 auto 36px; padding: 0 24px; }
.footer-card { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(28px, 5vw, 56px); text-align: left; background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 18px 18px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-head .brand { margin-bottom: 18px; }
.footer-head h2 { font-size: clamp(26px, 3.5vw, 36px); max-width: 380px; }
.footer-cols { display: flex; gap: clamp(28px, 5vw, 64px); flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; color: var(--muted-dark); min-width: 130px; }
.footer-col a::before { content: "→ "; color: var(--muted); }
.footer-tiles { position: relative; height: 150px; margin: 34px 0 10px; }
.f-tile { position: absolute; display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; background: var(--surface); border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow); }
.f-tile img { width: 28px; height: 28px; }
.f-tile .monogram { width: 28px; height: 28px; font-size: 13px; }
.f-tile:nth-child(1) { left: 4%; top: 44px; transform: rotate(-8deg); }
.f-tile:nth-child(2) { left: 19%; top: 8px; transform: rotate(6deg); }
.f-tile:nth-child(3) { left: 36%; top: 58px; transform: rotate(-4deg); }
.f-tile:nth-child(4) { left: 52%; top: 14px; transform: rotate(8deg); }
.f-tile:nth-child(5) { left: 68%; top: 52px; transform: rotate(-6deg); }
.f-tile:nth-child(6) { left: 84%; top: 12px; transform: rotate(5deg); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 18px; padding-top: 20px; font-size: 12.5px; color: var(--muted-dark); }
.footer-bottom-links { display: flex; gap: 20px; }
@media (max-width: 640px) {
  .footer-tiles { position: static; height: auto; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
  .f-tile { position: static; transform: none !important; }
}

/* Docs — sidebar layout with search */
.docs-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 56px; max-width: 1080px; margin: 0 auto; padding: 120px 24px 60px; text-align: left; }
.docs-side { position: sticky; top: 104px; align-self: start; }
.docs-search { position: relative; margin-bottom: 20px; }
.docs-search input { width: 100%; font: inherit; font-size: 13.5px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); outline: none; }
.docs-search input::placeholder { color: var(--muted); }
.docs-search input:focus { border-color: var(--accent-soft); }
.search-results { position: absolute; top: calc(100% + 6px); left: 0; width: min(340px, 76vw); z-index: 6; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); max-height: 330px; overflow-y: auto; padding: 6px; }
.search-results a { display: block; padding: 8px 10px; border-radius: 8px; font-size: 13px; color: var(--ink); }
.search-results a span { display: block; font-size: 11.5px; color: var(--muted-dark); margin-top: 1px; }
.search-results a:hover, .search-results a.active { background: var(--bg); }
.search-empty { padding: 10px; font-size: 13px; color: var(--muted-dark); }
.docs-nav { display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; }
.docs-nav a { padding: 7px 10px; border-radius: 8px; color: var(--muted-dark); border: 1px solid transparent; }
.docs-nav a[aria-current] { background: var(--surface); color: var(--ink); font-weight: 600; border-color: var(--line); }
@media (hover: hover) and (pointer: fine) { .docs-nav a:hover { color: var(--ink); } .docs-pager a:hover { border-color: var(--muted); color: var(--ink); } }
.docs-content { min-width: 0; }
.docs-content h1 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 40px); margin: 4px 0 10px; }
.docs-content .lede { color: var(--muted-dark); font-size: 15px; margin-bottom: 26px; max-width: 520px; }
.docs-pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px; font-size: 13.5px; }
.docs-pager a { display: inline-block; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px; color: var(--muted-dark); box-shadow: var(--shadow-soft); }
.docs-pager .spacer { flex: 1; }
@media (max-width: 900px) {
  .docs-layout { grid-template-columns: 1fr; gap: 26px; padding-top: 104px; }
  .docs-side { position: static; }
  .docs-nav { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .docs-nav a { border-color: var(--line); background: var(--surface); border-radius: 999px; font-size: 12.5px; }
  .docs-nav a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
}
.qa { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; margin-bottom: 12px; }
.qa h3 { font-size: 15.5px; margin-bottom: 8px; }
.qa p, .qa li { font-size: 14px; color: #5c5044; }
.qa p + p, .qa ul, .qa table, .qa pre { margin-top: 10px; }
.qa ul { padding-left: 20px; }
.qa li { margin-bottom: 4px; }
.qa a { color: var(--accent); text-decoration: underline; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.88em; background: #f0e7d8; border-radius: 6px; padding: 2px 6px; }
pre { background: #1b1512; color: #e6ddd1; border-radius: 12px; padding: 16px 18px; overflow-x: auto; font-size: 13px; line-height: 1.6; }
pre code { background: none; padding: 0; color: inherit; }
.qa table { width: 100%; border-collapse: collapse; font-size: 13px; display: block; overflow-x: auto; }
.qa th, .qa td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.qa th { color: var(--muted-dark); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.qa td code { white-space: nowrap; }

/* Small screens */
@media (max-width: 760px) { .nav-links { display: none; } }
@media (max-width: 640px) {
  section { padding: 64px 20px; }
  .hero { padding: 80px 20px 96px; }
  .strip { padding-top: 32px; padding-bottom: 8px; gap: 22px; }
}
@media (max-width: 360px) {
  .button { padding: 12px 20px; font-size: 14px; }
  .hero .sub { font-size: 15.5px; }
}

/* Reduced motion: keep fades, drop movement. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transform: none; transition: opacity 200ms ease; }
  .button, .tile { transition: none; }
  .button:active { transform: none; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; }
}
