/* ════════════════════════════════════
   SEARCH PAGES (/pdf-to-flashcards, /ai-flashcard-maker, /cardly-vs-quizlet, /cardly-vs-anki)
   Plain pages with their text in the HTML, for Google and AI answers. The homepage look
   (tokens copied from css/landing.css), without its demos, so they stay small and fast: the same flame
   light at the top of the page, a glass header that stays in view and the same buttons.
════════════════════════════════════ */
:root {
  --night: #0a0a0a;
  --slate: #151413;
  --slate-2: #1d1b1a;
  --seam: #2a2725;
  --seam-2: #383432;
  --bone: #f0ede8;
  --ash: #a09890;
  --dust: #6e6662;
  --flame: #ff4d00;
  --right: #4ade80;
  --page: 860px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: radial-gradient(70% 460px at 50% -140px, rgba(255, 77, 0, .14), rgba(255, 77, 0, .04) 55%, transparent 100%) no-repeat, var(--night);
  color: var(--bone);
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-optical-sizing: auto;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--bone); text-decoration-color: var(--seam-2); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--flame); }
:focus-visible { outline: 2px solid var(--flame); outline-offset: 3px; border-radius: 6px; }
svg.lucide { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.wrap { max-width: var(--page); margin: 0 auto; padding: 0 24px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(12, 11, 11, .74); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: -0.02em; text-decoration: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 22px; border-radius: 13px; font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap; background: var(--flame); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 12px 28px -12px rgba(255, 77, 0, .8); transition: background .2s, transform .2s; }
.btn:hover { background: #ff6a26; transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn-small { height: 36px; padding: 0 16px; font-size: 14px; border-radius: 999px; }

/* article */
main.wrap { padding-top: 56px; padding-bottom: 24px; }
.eyebrow { margin: 0 0 14px; color: var(--flame); font-weight: 700; font-size: 15px; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(36px, 6vw, 56px); margin: 0 0 22px; font-variation-settings: 'opsz' 96; }
h2 { font-size: clamp(26px, 3.4vw, 34px); margin: 56px 0 16px; }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.3; margin: 28px 0 6px; }
p, ul, ol { margin: 0 0 16px; }
li { margin-bottom: 8px; }
.lede { font-size: clamp(18px, 2vw, 20.5px); color: var(--ash); line-height: 1.55; }
.lede strong { color: var(--bone); font-weight: 600; }
.checked { color: var(--dust); font-size: 15px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 28px 0 0; }
.cta small { color: var(--dust); font-size: 15px; }
.muted { color: var(--ash); }

/* steps */
.steps { list-style: none; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 0 0 0 48px; margin-bottom: 18px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 10px; background: var(--slate-2); border: 1px solid var(--seam); color: var(--flame); font-weight: 800; font-size: 15px; display: grid; place-items: center; }
.steps strong { display: block; }

/* cards of facts */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 16px; padding: 0; list-style: none; }
.facts li { margin: 0; padding: 18px 20px; border-radius: 16px; background: var(--slate); border: 1px solid var(--seam); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); color: var(--ash); font-size: 16px; }
.facts strong { display: block; color: var(--bone); font-size: 17px; margin-bottom: 2px; }

/* comparison table */
.table { overflow-x: auto; margin: 0 0 16px; border: 1px solid var(--seam); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
th, td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--seam); }
tr:last-child th, tr:last-child td { border-bottom: 0; }
thead th { background: var(--slate); font-size: 15px; color: var(--ash); font-weight: 600; }
tbody th { font-weight: 600; width: 30%; }
td { color: var(--ash); }

/* FAQ */
.faq h3 { margin-top: 26px; }
.faq p { color: var(--ash); }

/* more pages */
.more { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.more li { margin: 0; }
.more a { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 100%; padding: 16px 18px; border-radius: 14px; background: var(--slate); border: 1px solid var(--seam); text-decoration: none; font-weight: 600; transition: border-color .2s; }
.more a:hover { border-color: var(--seam-2); }
.more svg { color: var(--flame); }

/* closing */
.closing { margin: 64px 0 0; padding: 32px; border-radius: 24px; background: radial-gradient(90% 130% at 100% 0%, rgba(255, 77, 0, .16), transparent 60%), var(--slate); border: 1px solid var(--seam-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 40px 80px -48px rgba(0, 0, 0, .9); }
.closing h2 { margin-top: 0; }

/* footer */
.foot { margin-top: 72px; border-top: 1px solid var(--seam); padding: 32px 0 40px; color: var(--ash); font-size: 15px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 14px; }
.foot a { color: var(--ash); text-decoration: none; }
.foot a:hover { color: var(--bone); }
.foot p { margin: 0; color: var(--dust); }

@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  main.wrap { padding-top: 36px; }
  .facts, .more { grid-template-columns: 1fr; }
  th, td { padding: 10px 12px; }
  .closing { padding: 24px 20px; }
  .cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .btn:hover, .btn:active { transition: none; transform: none; }
}
