/* GIF Forge — design tokens (verified, Skillry/Raphael brief) */
:root {
  --bg: #f4f1e9;
  --ink: #121313;
  --accent: #f4ff71;
  --card-pricing: #f8f6ef;
  --card-testimonial: #fffdf8;
  --input-bg: #f9f8f3;
  --white: #ffffff;
  --muted: #5c5c55;
  --border: #121313;
  --radius: 14px;
  --shadow: 4px 4px 0 #121313;
  --shadow-sm: 3px 3px 0 #121313;
  --max-width: 1120px;
  /* Shared-header tokens (src/shared/header.css uses the main-site
     token names; alias them to the GIF page tokens). */
  --text: var(--ink);
  --surface: var(--white);
  --surface-2: var(--card-pricing);
  --line: #d8d2c0;
  --line-soft: #e3ddcb;
  --bg-deep: #ece8db;
  --yellow: var(--accent);
  --yellow-ink: #121313;
  --faint: #8a8577;
  --shadow-lift: 0 2px 4px rgba(18,19,19,.12), 0 16px 40px rgba(18,19,19,.14);
}

/* Dark theme (toggled by the header moon button, persisted in localStorage). */
[data-theme="dark"] {
  --bg: #121313;
  --ink: #f4f1e9;
  --card-pricing: #1e1f1e;
  --card-testimonial: #1a1b1a;
  --input-bg: #1e1f1e;
  --white: #1e1f1e;
  --muted: #a8a49a;
  --border: #f4f1e9;
  --shadow: 4px 4px 0 rgba(244, 241, 233, 0.22);
  --shadow-sm: 3px 3px 0 rgba(244, 241, 233, 0.22);
  --text: var(--ink);
  --surface: var(--white);
  --surface-2: var(--card-pricing);
  --line: #2e2f2e;
  --line-soft: #2a2b2a;
  --bg-deep: #1a1b1a;
  --yellow: var(--accent);
  --yellow-ink: #121313;
  --faint: #8a8577;
  --shadow-lift: 0 2px 4px rgba(0,0,0,.45), 0 16px 40px rgba(0,0,0,.4);
}
[data-theme="dark"] .bf-pill { background: #121313; color: var(--accent); }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
/* The global img reset above would otherwise override the `hidden`
   attribute's UA `display: none` (author styles beat UA styles), which
   made the empty result <img> render as a broken image before the first
   generation. This guard keeps every [hidden] element hidden. */
[hidden] { display: none !important; }
a { color: var(--ink); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; }
h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -0.015em; text-align: center; }
h3 { font-size: 1.15rem; font-weight: 700; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section-sub { color: var(--muted); max-width: 640px; margin: 0 auto 28px; font-size: 1.05rem; text-align: center; }

/* ---------- buttons ---------- */
.btn {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  border: 2px solid var(--ink);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  background: var(--white);
  color: var(--ink);
  padding: 10px 22px;
  transition: transform .08s ease, box-shadow .08s ease;
}
.btn-dark { background: var(--ink); color: var(--white); }
.btn-pill { border-radius: 999px; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
.btn:active { transform: translate(1px, 1px); box-shadow: none; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-large { padding: 14px 32px; font-size: 1.1rem; }

/* ---------- top bar: Black Friday banner + SkillU header ---------- */
/* Skillry pattern: the banner is a near-black bar (lime pill + countdown),
   the header below it is the same cream as the page, so it blends in. */
.topbar { position: sticky; top: 0; z-index: 50; }
.bf-banner {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  background: var(--ink); color: #fff;
  padding: 9px 16px; font-size: 14px; text-align: center;
}
.bf-banner[hidden] { display: none; }
/* Top promo bar: full-bleed and frosted. A later .bf-banner rule (pricing
   section) leaks border-radius/margin/lime text into this bar; this more
   specific rule wins and restores the square, edge-to-edge bar. */
.topbar > .bf-banner {
  border-radius: 0; margin: 0; padding: 9px 16px; color: #fff;
  background: rgba(18, 19, 19, 0.85);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
}
.topbar > .bf-banner .bf-banner-count { color: var(--accent); }
.bf-banner-pill {
  background: var(--accent); color: #121313;
  border-radius: 999px; padding: 2px 10px; font-weight: 800; white-space: nowrap;
}
.bf-banner-text { font-weight: 600; }
.bf-banner-count { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bf-banner-link { color: var(--accent); font-weight: 700; text-decoration: none; white-space: nowrap; }
.bf-banner-link:hover { text-decoration: underline; }
.bf-banner-close {
  background: none; border: none; color: #fff; font-size: 15px; cursor: pointer;
  padding: 2px 6px; margin-left: 4px; line-height: 1;
}
/* ---------- hero / generator ---------- */
.hero { padding: 44px 0 56px; }
.hero h1 { max-width: 820px; text-align: center; margin-left: auto; margin-right: auto; }
.subhead { font-size: 1.12rem; color: var(--muted); max-width: 720px; margin: 0 auto 18px; text-align: center; }
.hero-pills { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: center; margin: 0 0 28px; }
.pill {
  background: var(--white); border: 2px solid var(--ink); border-radius: 999px;
  padding: 5px 14px; font-weight: 600; font-size: .92rem; white-space: nowrap;
}
.pill-dark { background: var(--ink); color: var(--white); text-decoration: none; }
.pill-dark:hover { text-decoration: underline; }
.hero-pills .pill-dark:hover { text-decoration: none; }
.subhead strong { color: var(--ink); }

.generator-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
}
.field-label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; margin: 0 0 6px; }
.char-count { font-weight: 400; color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }

textarea, select, input[type="email"] {
  width: 100%;
  background: var(--input-bg);
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
}
textarea { resize: vertical; min-height: 140px; margin-bottom: 18px; }
textarea:focus, select:focus, input:focus { outline: 3px solid var(--accent); outline-offset: 0; }

.ref-block { margin: 0 0 16px; }
.thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.thumb-add {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 72px; height: 72px; flex: none; cursor: pointer;
  border: 2px dashed var(--ink); border-radius: 8px; background: var(--input-bg);
}
.thumb-add:hover { background: var(--white); }
.thumb-add-plus { font-size: 22px; line-height: 1; color: var(--ink); }
.thumb-add-cap { font-size: 11px; color: var(--muted); margin-top: 4px; }
.thumb { position: relative; width: 72px; height: 72px; border: 2px solid var(--ink); border-radius: 8px; overflow: hidden; background: var(--input-bg); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button {
  position: absolute; top: 2px; right: 2px;
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--ink); background: var(--white);
  font-size: 12px; line-height: 1; cursor: pointer; padding: 0;
}
.field-error { color: #b3261e; font-weight: 600; margin: 8px 0 0; }

/* Bottom toolbar (Raphael-style): quality + credits + generate, one row. */
.gen-toolbar { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.gen-toolbar .quality-block { margin: 0; }
.quality-seg { display: inline-flex; background: var(--input-bg); border-radius: 999px; padding: 3px; gap: 2px; }
.quality-opt {
  padding: 6px 12px; border: 0; border-radius: 999px;
  background: transparent; color: var(--ink); font-size: .88rem; font-weight: 700;
  cursor: pointer; text-align: center; white-space: nowrap;
}
.quality-opt:hover { background: var(--white); }
.quality-opt.is-active { background: var(--ink); color: var(--white); }
.btn-generate { margin-left: auto; padding: 12px 28px; font-size: 1.05rem; border-radius: 999px; white-space: nowrap; }
.status { margin: 14px 0 0; font-size: .95rem; min-height: 1.4em; }
.status.error { color: #b3261e; font-weight: 600; }
.status.success { color: #1e7b34; font-weight: 600; }

/* ---------- history feed ---------- */
.history-section { padding: 8px 0 56px; }
.history-section[hidden] { display: none; }
.history-notice {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface-2); border-radius: var(--radius);
  padding: 16px 20px; margin-bottom: 28px;
}
.history-notice[hidden] { display: none; }
.history-notice-icon { font-size: 1.3rem; flex: none; }
.history-notice-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.history-notice-text strong { font-size: 1rem; }
.history-notice-text span { font-size: .92rem; color: var(--muted); }
.history-login-btn { margin-left: auto; flex: none; }
.history-title { margin-bottom: 20px; }
.history-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.history-entry {
  background: var(--white); border-radius: var(--radius);
  padding: 14px; scroll-margin-top: 84px;
  display: flex; flex-direction: column;
}
.history-entry-prompt {
  font-weight: 700; font-size: .98rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.history-entry-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 10px; }
.history-tag {
  font-size: .78rem; color: var(--muted);
  background: var(--input-bg); border-radius: 999px; padding: 2px 8px; white-space: nowrap;
}
.history-entry-media {
  width: 100%; aspect-ratio: 1;
  border-radius: 12px; overflow: hidden; background: var(--input-bg);
  display: flex; align-items: center; justify-content: center;
}
.history-entry-media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.history-entry-status {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--muted); font-size: .95rem; text-align: center; padding: 0 16px;
}
.history-spinner {
  width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid var(--line); border-top-color: var(--ink);
  animation: history-spin 1s linear infinite;
}
@keyframes history-spin { to { transform: rotate(360deg); } }
.history-entry-status.error { color: var(--ink); }
.history-entry-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.history-entry-actions .btn { padding: 8px 16px; font-size: .92rem; }

/* ---------- badges ---------- */
.badge {
  display: inline-block;
  background: var(--accent);
  color: #121313;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: .78rem; font-weight: 800;
  padding: 2px 10px;
  width: fit-content;
}

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ---------- cases: horizontal scroll gallery ---------- */
/* #cases galleries are carousels, not grids: smaller cards, swipe/drag sideways.
   First/last card aligns with the section title (container padding). */
#cases .gallery {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 2px;
  padding: 4px 2px 18px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}
#cases .gallery::-webkit-scrollbar { display: none; }
#cases .gallery.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
#cases .gallery .example-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
}

/* ---------- inspiration: horizontal scroll gallery, same as cases ---------- */
#inspiration .gallery {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 2px;
  padding: 4px 2px 18px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}
#inspiration .gallery::-webkit-scrollbar { display: none; }
#inspiration .gallery.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
#inspiration .gallery .example-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
}
.example-card {
  margin: 0; background: var(--white);
  border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden; cursor: pointer;
  transition: transform .1s ease;
}
.example-card:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.example-card img, .example-card video { width: 100%; aspect-ratio: 1; object-fit: cover; border-bottom: 2px solid var(--ink); }
.example-card figcaption { padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.example-quality { font-size: .85rem; font-weight: 700; color: var(--muted); }
.example-prompt { font-size: .92rem; }
.use-prompt { font-weight: 700; font-size: .92rem; }
.example-title { font-weight: 700; font-size: 1rem; }
.case-desc { font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.case-prompt { font-size: .92rem; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.case-prompt-short { font-size: .92rem; line-height: 1.65; color: var(--muted); }
.full-prompt-link { color: var(--ink); font-weight: 650; white-space: nowrap; }
.source-quote { border-left: 3px solid var(--ink); margin: 20px 0 0; padding: 2px 0 2px 16px; }
.source-quote p { margin: 0 0 8px; }
.source-quote p:last-of-type { margin-bottom: 10px; }
.source-quote cite { font-style: normal; color: var(--muted); font-size: .92rem; }
/* Prompts page */
.prompt-entry { margin: 0 0 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.prompt-entry h2 { margin: 0 0 6px; }
.prompt-meta { color: var(--muted); margin: 0 0 10px; }
.prompt-full { white-space: pre-wrap; word-break: break-word; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; font-size: .92rem; line-height: 1.7; margin: 0 0 10px; font-family: inherit; }
.prompt-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin: 0; }
.copy-btn { cursor: pointer; border: 2px solid var(--ink); background: var(--ink); color: var(--bg); border-radius: 999px; padding: 8px 18px; font-weight: 700; font-size: .95rem; }
.prompt-crumb { margin: 0 0 14px; }
.case-cat { font-size: 1.3rem; margin: 36px 0 6px; }
.case-how { color: var(--muted); margin: 0 0 16px; max-width: 680px; }
.example-quality a { color: var(--ink); }
.example-card[data-prompt] { cursor: pointer; }

/* ---------- features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--white); border: 2px solid var(--ink);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 22px;
}
.feature-icon { font-size: 1.8rem; margin-bottom: 10px; }
.feature-card p { margin: 0; color: var(--muted); }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li {
  background: var(--white); border: 2px solid var(--ink);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 22px;
}
.step-num { display: block; font-size: 2rem; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); }

/* ---------- testimonials (honest shell) ---------- */
.testimonial-shell { display: grid; grid-template-columns: minmax(0, 560px); }
.testimonial-card {
  background: var(--card-testimonial);
  border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 28px;
}
.testimonial-cta-text { font-size: 1.25rem; font-weight: 800; margin: 0 0 8px; }
.testimonial-card p { color: var(--muted); }
.testimonial-card .btn { margin-top: 8px; }

/* ---------- pricing ---------- */
#pricing h2 { text-align: center; }
#pricing .section-sub { text-align: center; margin-left: auto; margin-right: auto; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pricing-card {
  position: relative;
  background: var(--card-pricing);
  border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.pricing-popular, .pricing-value { box-shadow: 6px 6px 0 var(--ink); }
.pricing-card .badge { position: absolute; top: -13px; left: 16px; }
.price { font-size: 2rem; font-weight: 800; margin: 4px 0; }
.pricing-card ul { margin: 0 0 12px; padding-left: 20px; color: var(--muted); }
.pricing-card .btn { margin-top: auto; width: 100%; }

/* ---------- FAQ (Raphael-style two-column grid) ---------- */
.faq-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.faq-pill {
  display: inline-block;
  background: var(--accent); color: #121313;
  border-radius: 999px; padding: 4px 14px;
  font-size: .85rem; font-weight: 800;
}
.faq-head h2 { margin: 16px 0 10px; }
.faq-sub { color: var(--muted); margin: 0; }
.faq-sub a { color: var(--ink); font-weight: 700; }
.faq-list {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 36px 48px;
}
.faq-item-head { display: flex; align-items: flex-start; gap: 12px; }
.faq-num {
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  border: 1.5px solid var(--ink); border-radius: 8px;
  font-weight: 800; font-size: .95rem; color: var(--ink);
}
.faq-item h3 { font-size: 1.15rem; margin: 2px 0 0; line-height: 1.35; }
.faq-item p { margin: 12px 0 0; color: var(--muted); line-height: 1.65; }
@media (max-width: 720px) {
  .faq-list { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- closing CTA / footer ---------- */
.closing-cta { text-align: center; }
.closing-cta .section-sub { margin-left: auto; margin-right: auto; }
/* ---------- sources / about / trust links (GEO 2026-11-11) ---------- */
.sources-list { max-width: 720px; margin: 0 auto; padding-left: 20px; display: grid; gap: 10px; text-align: left; }
.sources-list a { color: var(--ink); text-underline-offset: 3px; }
.about-block { max-width: 720px; margin: 0 auto; text-align: left; }
.about-block a { color: var(--ink); text-underline-offset: 3px; }
.byline-dates { color: var(--muted); font-size: .92rem; }
.trust-links { border-top: 2px solid var(--ink); padding: 22px 0 34px; }
.trust-links-in { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; }
.trust-links a { color: var(--muted); font-size: .95rem; text-underline-offset: 3px; }
.trust-links a:hover { color: var(--ink); }

/* ---------- login modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(18, 19, 19, .55);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-overlay[hidden] { display: none; }
.modal {
  position: relative;
  background: var(--bg); border: 2px solid var(--ink);
  border-radius: var(--radius); box-shadow: 8px 8px 0 var(--ink);
  padding: 28px; width: 100%; max-width: 440px;
}
.modal-close {
  position: absolute; top: 12px; right: 12px;
  border: 2px solid var(--ink); background: var(--white);
  border-radius: 50%; width: 32px; height: 32px; cursor: pointer;
  font-size: 14px; line-height: 1;
}
.modal-sub { color: var(--muted); }
#login-reason { margin-top: 10px; font-weight: 700; color: var(--ink); }
#error-cta { margin-top: 16px; width: 100%; }
#login-form input { margin-bottom: 14px; }
#login-form .btn { width: 100%; }

/* ---------- paywall modal ---------- */
/* Same #error-modal shell as the generic error dialog, restyled as a
   paywall: centered, generous spacing, lime top accent and lime CTA
   (lime always takes fixed black text, both themes). The close button
   sits clearly inside the card — 16px inset, 40px target, glyph
   flex-centered — so it can never read as floating off the corner. */
.modal.paywall-modal {
  max-width: 480px;
  padding: 40px 32px 30px;
  text-align: center;
  border-top: 6px solid var(--accent);
}
.modal.paywall-modal .modal-close {
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
}
.modal.paywall-modal h2 {
  font-size: 1.7rem;
  margin: 4px 0 12px;
  padding: 0 40px;
}
.modal.paywall-modal .modal-sub {
  margin: 0 auto 24px;
  max-width: 360px;
  font-size: 1.02rem;
}
.modal.paywall-modal #error-cta {
  margin-top: 0;
  padding: 14px 22px;
  font-size: 1.05rem;
  background: var(--accent);
  color: #121313;
  border-radius: 999px;
}

/* ---------- Black Friday ---------- */
.bf-banner {
  background: transparent;
  color: var(--ink);
  border-radius: var(--radius); padding: 12px 18px;
  text-align: center; margin: 18px 0 0;
}
.bf-banner strong { color: var(--ink); }
.price s { color: var(--muted); font-weight: 600; font-size: 50%; margin-right: 8px; }
.bf-modal { max-width: 560px; text-align: center; padding: 32px 32px 26px; }
.bf-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; text-align: left; }
.bf-eyebrow { letter-spacing: .35em; font-weight: 800; font-size: .82rem; margin: 4px 0 10px; }
.bf-title { font-size: clamp(2.4rem, 9vw, 3.4rem); font-weight: 900; line-height: .95; letter-spacing: -.02em; margin: 0 0 14px; }
.bf-pill { background: var(--ink); color: var(--accent); font-size: .95rem; padding: 6px 14px; }
.bf-art { width: 180px; max-width: 42%; height: auto; flex: none; }
.bf-headline { font-size: 1.5rem; font-weight: 800; margin: 18px 0 8px; }
.bf-sub { color: var(--muted); margin: 0 0 20px; }
.bf-code {
  font-family: ui-monospace, monospace; font-weight: 800; font-size: .95rem;
  background: var(--white); border: 2px dashed var(--ink); border-radius: 8px;
  padding: 2px 10px; cursor: pointer;
}
.bf-cta { width: 100%; padding: 14px; font-size: 1.05rem; border-radius: 999px; }
.bf-ends { color: var(--muted); font-size: .85rem; margin: 14px 0 0; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .section { padding: 44px 0; }
  .bf-banner { flex-wrap: wrap; gap: 8px; }
  .gallery, .feature-grid, .steps, .pricing-grid { grid-template-columns: 1fr; }
  #cases .gallery .example-card,
  #inspiration .gallery .example-card { flex-basis: 78vw; max-width: 320px; }
  .generator-card { padding: 16px; }
  .gen-toolbar { flex-direction: column; align-items: stretch; }
  .btn-generate { margin-left: 0; width: 100%; }
}
