/* VideoGenius - classy, serious, light + dark, ShoutWebsites design family */

:root {
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --bg-tint: #f5f5f7;
  --bg-elev: #ffffff;
  --line: #e5e7eb;
  --line-strong: #d1d5db;
  --ink: #0a0a0a;
  --ink-2: #1f2937;
  --ink-soft: #374151;
  --muted: #6b7280;
  --muted-2: #9ca3af;
  --accent: #4f46e5;
  --accent-2: #6366f1;
  --accent-dark: #3730a3;
  --accent-soft: #eef2ff;
  --success: #047857;
  --success-soft: #ecfdf5;
  --warn: #b45309;
  --warn-soft: #fff7ed;
  --danger: #b91c1c;
  --hero-glow: rgba(99,102,241,0.08);
  --pattern: rgba(0,0,0,0.04);

  --radius: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 14px -2px rgba(0,0,0,0.06), 0 2px 4px -2px rgba(0,0,0,0.04);
  --shadow-lg: 0 25px 50px -12px rgba(0,0,0,0.15);

  --max: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Apple Garamond", "Baskerville", "Times New Roman", "Droid Serif", Times, serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, monospace;
}

html[data-theme="dark"] {
  --bg: #0a0a0b;
  --bg-soft: #111113;
  --bg-tint: #18181b;
  --bg-elev: #18181b;
  --line: #27272a;
  --line-strong: #3f3f46;
  --ink: #fafafa;
  --ink-2: #e5e5e5;
  --ink-soft: #d1d5db;
  --muted: #9ca3af;
  --muted-2: #6b7280;
  --accent: #818cf8;
  --accent-2: #a5b4fc;
  --accent-dark: #4f46e5;
  --accent-soft: rgba(129,140,248,0.12);
  --success-soft: rgba(4,120,87,0.15);
  --warn-soft: rgba(180,83,9,0.15);
  --hero-glow: rgba(129,140,248,0.12);
  --pattern: rgba(255,255,255,0.04);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow: 0 4px 14px -2px rgba(0,0,0,0.4), 0 2px 4px -2px rgba(0,0,0,0.3);
  --shadow-lg: 0 25px 50px -12px rgba(0,0,0,0.6);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-2);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.2s, color 0.2s;
}

a { color: var(--accent); text-decoration: none; transition: color 0.12s; }
a:hover { color: var(--accent-dark); }
html[data-theme="dark"] a:hover { color: var(--accent-2); }

h1, h2, h3, h4, h5 {
  color: var(--ink);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.0rem; }

/* Italic accent inside headlines, Shout-style */
.it { font-style: italic; font-family: var(--font-serif); font-weight: 500; }
em.accent, .em-accent { font-style: italic; font-family: var(--font-serif); font-weight: 500; color: var(--accent); }

p { margin: 0 0 1em; }
img, svg { max-width: 100%; height: auto; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container { max-width: 820px; margin: 0 auto; padding: 0 24px; }

/* Icons */
.icon { display: inline-block; width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.75; fill: none; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.icon-lg { width: 28px; height: 28px; }
.icon-sm { width: 16px; height: 16px; stroke-width: 2; }

/* Subtle dot pattern background */
.pattern-dots {
  background-image: radial-gradient(var(--pattern) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Header */
.site-header {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; font-size: 1.15rem; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; background: var(--ink); color: var(--bg); border-radius: 8px; }
.brand-mark .icon { stroke: var(--bg); }

.nav-wrap { display: flex; align-items: center; gap: 24px; }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { color: var(--ink-soft); font-weight: 500; font-size: 0.94rem; position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.18s ease; }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.nav .cta { background: var(--ink); color: var(--bg); padding: 9px 16px; border-radius: 8px; font-weight: 600; }
.nav .cta::after { display: none; }
.nav .cta:hover { background: var(--accent); color: #fff; }

.theme-toggle {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.theme-toggle:hover { border-color: var(--ink); color: var(--ink); }
.theme-toggle .icon { width: 18px; height: 18px; }
.theme-toggle .sun { display: none; }
.theme-toggle .moon { display: inline-block; }
html[data-theme="dark"] .theme-toggle .sun { display: inline-block; }
html[data-theme="dark"] .theme-toggle .moon { display: none; }

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
}
@media (max-width: 860px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--line); padding: 18px; gap: 18px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .menu-toggle { display: inline-flex; }
}

/* HERO */
.hero {
  position: relative;
  padding: 88px 24px 72px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 600px;
  background:
    radial-gradient(ellipse 600px 300px at center, var(--hero-glow), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--pattern) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, transparent, black 40%, black 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, black 40%, black 70%, transparent);
  pointer-events: none;
  opacity: 0.6;
}
.hero-inner { position: relative; z-index: 1; max-width: 960px; margin: 0 auto; text-align: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 600;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
html[data-theme="dark"] .hero-eyebrow { color: var(--accent-2); }
.hero h1 { margin: 0 0 18px; font-size: clamp(2.2rem, 6vw, 4rem); letter-spacing: -0.04em; line-height: 1.02; }
.hero p.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--ink-soft); max-width: 680px; margin: 0 auto 32px; line-height: 1.5; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Hero mockup window - the designer touch */
.hero-mockup {
  margin: 64px auto 0;
  max-width: 900px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}
.hero-mockup-bar {
  background: var(--bg-soft);
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-mockup-bar .dot { width: 12px; height: 12px; border-radius: 50%; }
.hero-mockup-bar .dot.r { background: #ff5f57; }
.hero-mockup-bar .dot.y { background: #febc2e; }
.hero-mockup-bar .dot.g { background: #28c840; }
.hero-mockup-bar .url {
  flex: 1; text-align: center;
  background: var(--bg);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 0.82rem;
  color: var(--muted);
  font-family: var(--font-mono);
}
.hero-mockup-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 32px;
  text-align: left;
  align-items: center;
}
@media (max-width: 720px) {
  .hero-mockup-body { grid-template-columns: 1fr; padding: 22px; }
  .hero-mockup { margin-top: 40px; }
}
.hero-mockup-controls h3 { margin: 0 0 6px; font-size: 1.15rem; }
.hero-mockup-controls p { font-size: 0.92rem; color: var(--muted); margin: 0 0 18px; }
.hero-mockup-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-mockup-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--ink); color: var(--bg);
  padding: 9px 16px; border-radius: 8px;
  font-size: 0.88rem; font-weight: 600;
}
.hero-mockup-btn.secondary { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.hero-mockup-preview {
  background: var(--bg-tint);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  aspect-ratio: 16/10;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-mockup-preview::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--accent-soft) 0%, transparent 50%);
}
.hero-mockup-preview .icon { width: 48px; height: 48px; color: var(--accent); position: relative; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px;
  font-weight: 600; font-size: 0.98rem;
  border: none; cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
  text-decoration: none;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-secondary { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--ink-soft); }
.btn-ghost:hover { color: var(--ink); }
.btn-lg { padding: 14px 26px; font-size: 1.02rem; }
.btn-block { width: 100%; justify-content: center; }

/* Section */
section { padding: 80px 0; }
section.alt { background: var(--bg-soft); }
section.dark-strip { background: var(--ink); color: var(--bg); }
section.dark-strip h2, section.dark-strip h3 { color: var(--bg); }
section.dark-strip .stat .num { color: var(--bg); }
section.dark-strip .stat .lbl { color: var(--muted); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); display: inline-block; padding: 4px 12px; background: var(--accent-soft); border-radius: 999px; margin-bottom: 16px; }
html[data-theme="dark"] .section-eyebrow { color: var(--accent-2); }
.section-title { margin: 0 0 14px; }
.section-sub { color: var(--muted); font-size: 1.08rem; margin: 0; line-height: 1.55; }

/* Tools grid - now with category badges, more weight */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.tool-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: block;
  color: var(--ink-2);
  transition: all 0.2s;
  position: relative;
}
.tool-card:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: var(--ink-2);
}
.tool-card .icon-wrap {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
html[data-theme="dark"] .tool-card .icon-wrap { color: var(--accent-2); }
.tool-card .icon-wrap .icon { width: 22px; height: 22px; }
.tool-card h3 { margin: 0 0 6px; font-size: 1.1rem; }
.tool-card p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.tool-card .arrow { color: var(--accent); display: inline-flex; align-items: center; gap: 4px; font-size: 0.88rem; font-weight: 600; margin-top: 14px; }
.tool-card .badge {
  position: absolute; top: 14px; right: 14px;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px;
  background: var(--bg-tint); color: var(--muted);
}
.tool-card .badge.new { background: var(--success-soft); color: var(--success); }
html[data-theme="dark"] .tool-card .badge.new { color: #6ee7b7; }

/* Featured tool - bigger card */
.featured-tool {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: center;
  overflow: hidden;
  position: relative;
}
@media (max-width: 800px) { .featured-tool { grid-template-columns: 1fr; padding: 28px; } }
.featured-tool::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--accent-soft) 0%, transparent 50%);
  pointer-events: none;
}
.featured-tool > * { position: relative; z-index: 1; }
.featured-tool h2 { margin: 6px 0 12px; }
.featured-tool p { color: var(--ink-soft); margin: 0 0 18px; font-size: 1.05rem; }
.featured-tool .featured-preview {
  background: var(--bg-tint);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
}
.featured-tool .featured-preview .icon { width: 64px; height: 64px; color: var(--accent); }

/* Features 3-col */
.feature-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.feature .icon-wrap { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-dark); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
html[data-theme="dark"] .feature .icon-wrap { color: var(--accent-2); }
.feature .icon-wrap .icon { width: 24px; height: 24px; }
.feature h3 { margin: 0 0 8px; font-size: 1.1rem; }
.feature p { color: var(--muted); margin: 0; font-size: 0.96rem; }

/* Stat strip */
.stat-strip { background: var(--ink); color: var(--bg); padding: 48px 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
@media (max-width: 720px) { .stat-strip .wrap { grid-template-columns: 1fr 1fr; gap: 24px; } }
.stat .num { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; color: var(--bg); line-height: 1; margin-bottom: 6px; }
.stat .num .it { color: var(--accent-2); }
.stat .lbl { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: #9ca3af; font-weight: 600; }

/* Reviews / testimonials */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.review {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.review-stars { color: #f59e0b; font-size: 1rem; letter-spacing: 2px; margin-bottom: 10px; }
.review p { font-style: italic; font-family: var(--font-serif); color: var(--ink-2); font-size: 1.02rem; line-height: 1.55; margin: 0 0 16px; }
.review-by { display: flex; align-items: center; gap: 12px; }
.review-by .avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; }
.review-by .name { font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.review-by .role { font-size: 0.82rem; color: var(--muted); }

/* Article */
article { padding: 48px 0 80px; }
article h1 { margin: 0 0 12px; }
article h2 { margin: 1.8em 0 0.6em; }
article h3 { margin: 1.4em 0 0.4em; }
article p, article li { color: var(--ink-soft); }
article ul, article ol { padding-left: 1.4em; }
article li { margin-bottom: 0.4em; }
article blockquote {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 22px;
  margin: 28px 0;
  color: var(--ink-soft);
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-style: italic;
  line-height: 1.5;
}
.meta { color: var(--muted); font-size: 0.92rem; margin-bottom: 32px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.meta-pill { display: inline-block; background: var(--accent-soft); color: var(--accent-dark); font-weight: 600; font-size: 0.78rem; padding: 3px 10px; border-radius: 999px; letter-spacing: 0.04em; text-transform: uppercase; }
html[data-theme="dark"] .meta-pill { color: var(--accent-2); }
.breadcrumb { font-size: 0.9rem; color: var(--muted); padding: 18px 0 0; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }

/* Callout */
.callout { background: var(--accent-soft); border-left: 3px solid var(--accent); padding: 18px 22px; border-radius: 4px; margin: 22px 0; font-size: 0.96rem; }
.callout.warn { background: var(--warn-soft); border-left-color: var(--warn); }
.callout.tip { background: var(--success-soft); border-left-color: var(--success); }
.callout p:first-child { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

/* Tool surface */
.tool-surface { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; margin: 24px 0; }
.tool-drop { background: var(--bg-elev); border: 2px dashed var(--line-strong); border-radius: var(--radius); padding: 48px 24px; text-align: center; cursor: pointer; transition: all 0.15s; }
.tool-drop:hover, .tool-drop.dragging { border-color: var(--accent); background: var(--accent-soft); }
.tool-drop .icon-wrap { width: 56px; height: 56px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-dark); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.tool-drop .icon { width: 28px; height: 28px; }
.tool-drop h3 { margin: 0 0 6px; }
.tool-drop p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.tool-drop input[type="file"] { display: none; }

.tool-canvas { width: 100%; max-height: 480px; background: #000; border-radius: var(--radius); display: block; margin: 18px 0; }
.tool-range { width: 100%; }
.tool-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 14px 0; }
.tool-row label { font-weight: 600; font-size: 0.92rem; color: var(--ink); }

/* Forms */
form .field { margin-bottom: 18px; }
form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.92rem; color: var(--ink); }
form input, form textarea, form select {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-size: 1rem; font-family: inherit;
  background: var(--bg-elev); color: var(--ink);
  transition: border-color 0.12s, box-shadow 0.12s;
}
form input:focus, form textarea:focus, form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
form textarea { min-height: 140px; resize: vertical; }

/* Tables */
table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 0.95rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { background: var(--bg-soft); font-weight: 600; color: var(--ink); font-size: 0.9rem; }
td { color: var(--ink-soft); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-item summary { cursor: pointer; font-weight: 600; color: var(--ink); padding: 4px 0; list-style: none; font-size: 1.02rem; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; font-weight: 300; color: var(--muted); flex-shrink: 0; }
.faq-item[open] summary::after { content: "−"; color: var(--accent); }
.faq-item p { margin: 12px 0 4px; color: var(--ink-soft); }

/* Ad slot */
.ad-slot { background: var(--bg-soft); border: 1px dashed var(--line); text-align: center; padding: 20px; margin: 28px 0; color: var(--muted); font-size: 0.78rem; border-radius: var(--radius); letter-spacing: 0.06em; text-transform: uppercase; }

/* CTA banner */
.cta-banner { background: var(--ink); color: var(--bg); border-radius: var(--radius-lg); padding: 48px 36px; text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ""; position: absolute; top: -100px; right: -100px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, var(--accent) 0%, transparent 60%); opacity: 0.4; }
.cta-banner h2 { color: var(--bg); margin: 0 0 12px; font-size: clamp(1.5rem, 3vw, 2rem); position: relative; }
.cta-banner p { color: #d1d5db; margin: 0 auto 24px; font-size: 1.05rem; max-width: 580px; position: relative; }
.cta-banner .btn-primary { background: var(--bg); color: var(--ink); position: relative; }
.cta-banner .btn-primary:hover { background: var(--accent); color: #fff; }

/* Footer */
.site-footer { background: var(--ink); color: #d1d5db; padding: 64px 24px 28px; margin-top: 80px; font-size: 0.92rem; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; max-width: var(--max); margin: 0 auto; }
@media (max-width: 768px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { color: #fff; margin: 0 0 14px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand-mark { background: #fff; color: var(--ink); }
.site-footer .brand-mark .icon { stroke: var(--ink); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #d1d5db; }
.site-footer a:hover { color: #fff; }
.site-footer p { color: #9ca3af; }
.copyright { max-width: var(--max); margin: 48px auto 0; border-top: 1px solid #1f2937; padding-top: 24px; text-align: center; color: #9ca3af; font-size: 0.85rem; line-height: 1.7; }

/* Author byline */
.byline { display: flex; align-items: center; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 30px 0; }
.byline .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
html[data-theme="dark"] .byline .avatar { color: var(--accent-2); }
.byline .name { font-weight: 600; color: var(--ink); }
.byline .role { font-size: 0.85rem; color: var(--muted); }

/* Utility */
.text-center { text-align: center; }
.muted { color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 24px 0; }
.fact { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.fact .label { color: var(--muted); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.fact .value { font-weight: 700; font-size: 1.1rem; margin-top: 4px; color: var(--ink); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }
