:root {
  --red: #ff0000;
  --red-deep: #cc0000;
  --red-soft: rgba(255, 0, 0, 0.14);
  --yt-blue: #3ea6ff;
  --radius: 16px;
  --radius-sm: 10px;
  --header: 64px;
  --rail: 48px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
  --font-display: "Outfit", "Roboto", system-ui, sans-serif;
  --font-body: "Roboto", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1180px;
}
html[data-theme="dark"] {
  --bg: #0f0f0f;
  --bg-2: #181818;
  --elev: #212121;
  --elev-2: #272727;
  --line: #3f3f3f;
  --text: #f1f1f1;
  --muted: #aaaaaa;
  --chip: #272727;
  --card: #212121;
  --input: #121212;
  --overlay: rgba(0, 0, 0, 0.55);
  --hero-glow: radial-gradient(900px 420px at 12% -10%, rgba(255, 0, 0, 0.22), transparent 55%),
    radial-gradient(700px 360px at 90% 0%, rgba(62, 166, 255, 0.12), transparent 50%);
  color-scheme: dark;
}
html[data-theme="light"] {
  --bg: #ffffff;
  --bg-2: #f8f8f8;
  --elev: #ffffff;
  --elev-2: #f1f1f1;
  --line: #e5e5e5;
  --text: #0f0f0f;
  --muted: #606060;
  --chip: #f2f2f2;
  --card: #ffffff;
  --input: #ffffff;
  --overlay: rgba(15, 15, 15, 0.4);
  --hero-glow: radial-gradient(900px 420px at 12% -10%, rgba(255, 0, 0, 0.1), transparent 55%),
    radial-gradient(700px 360px at 90% 0%, rgba(62, 166, 255, 0.08), transparent 50%);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 8px; background: var(--red); color: #fff;
  padding: 8px 14px; z-index: 80; border-radius: 8px;
}
.skip-link:focus { left: 8px; }
.icon { width: 22px; height: 22px; flex: 0 0 auto; }
.icon-btn {
  width: 40px; height: 40px; border: 0; background: transparent; color: var(--text);
  border-radius: 50%; display: grid; place-items: center; cursor: pointer;
}
.icon-btn:hover, .icon-btn:focus-visible { background: var(--elev-2); }

.yt-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60;
  background: var(--red); transform: scaleX(0); transform-origin: left center;
  pointer-events: none;
}

/* Header — YouTube-like top bar */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: var(--header);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  max-width: 1440px;
  margin: 0 auto;
}
.nav-toggle { display: none; }
.brand {
  display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0;
}
.logo-svg { width: 42px; height: 42px; }
.logo-shape { fill: var(--red); }
.logo-play { fill: #fff; }
.logo-four-dot { fill: #fff; }
.logo-four-num { fill: var(--red); }
.logo-mark { position: relative; animation: pulsePlay 3.6s var(--ease) infinite; }
.logo-word {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.22rem;
  display: flex; align-items: baseline; gap: 1px; white-space: nowrap;
}
.logo-word__four { color: var(--red); padding: 0 1px; }
.header-search {
  display: flex; align-items: center; gap: 8px;
  background: var(--input);
  border: 1px solid var(--line);
  border-radius: 40px;
  padding: 0 14px;
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
  height: 42px;
}
.header-search input {
  border: 0; background: transparent; outline: none; width: 100%;
}
.header-search .icon { color: var(--muted); width: 18px; height: 18px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.theme-icon--moon { display: none; }
html[data-theme="light"] .theme-icon--sun { display: none; }
html[data-theme="light"] .theme-icon--moon { display: block; }
.cat-rail {
  display: flex; gap: 8px; overflow-x: auto; padding: 8px 16px 12px;
  max-width: 1440px; margin: 0 auto;
  scrollbar-width: none;
}
.cat-rail::-webkit-scrollbar { display: none; }
.cat-rail a {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
  background: var(--chip);
  color: var(--text);
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 500;
}
.cat-rail a .icon { width: 16px; height: 16px; }
.cat-rail a.is-active, .cat-rail a:hover {
  background: var(--text); color: var(--bg);
}
.nav-drawer {
  position: fixed; inset: 0 auto 0 0; width: min(320px, 88vw);
  background: var(--bg-2); z-index: 60; padding: 12px;
  border-right: 1px solid var(--line);
  transform: translateX(-105%);
  transition: transform 0.28s var(--ease);
}
.nav-drawer.is-open { transform: none; }
.nav-drawer__head { display: flex; justify-content: space-between; align-items: center; }
.nav-drawer__body { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; }
.nav-drawer__body a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px; text-decoration: none;
}
.nav-drawer__body a:hover { background: var(--elev); }
.nav-backdrop {
  position: fixed; inset: 0; background: var(--overlay); z-index: 50;
}
body.nav-open { overflow: hidden; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 40px; padding: 11px 18px; border: 1px solid transparent;
  text-decoration: none; font-weight: 600; cursor: pointer;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-deep); }
.btn-ghost { background: var(--chip); color: var(--text); }
.btn-ghost:hover { filter: brightness(1.08); }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.hero {
  position: relative;
  padding: 80px 0 48px;
  background: var(--hero-glow), var(--bg);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 120px;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red-soft); color: var(--red);
  border-radius: 999px; padding: 6px 12px; font-weight: 600; font-size: 0.82rem;
}
h1, h2, h3, .logo-word { font-family: var(--font-display); }
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin: 16px 0 12px;
  max-width: 22ch;
}
.hero h1 em { font-style: normal; color: var(--red); }
.lede { font-size: 1.14rem; color: var(--muted); max-width: 62ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin: 44px 0 8px;
}
.stat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px;
}
.stat b { display: block; font-size: 1.6rem; font-family: var(--font-display); }
.stat span { color: var(--muted); font-size: 0.9rem; }

.section { padding: 64px 0 40px; }
.section h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.03em; margin: 0 0 12px; }
.section .sub { color: var(--muted); margin: 0 0 32px; max-width: 70ch; }

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.tool-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-decoration: none;
  min-height: 156px;
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
.tool-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--red) 40%, var(--line));
  box-shadow: var(--shadow);
}
.tool-card__icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--red-soft); color: var(--red);
  display: grid; place-items: center;
}
.tool-card__cat { display: block; color: var(--muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }
.tool-card__title { display: block; font-size: 1.02rem; margin: 2px 0 6px; }
.tool-card__desc { color: var(--muted); font-size: 0.9rem; }
.tool-card__go { color: var(--muted); }
.tool-card.span-6 { grid-column: span 6; }
.tool-card.span-4 { grid-column: span 4; }
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.marquee {
  overflow: hidden; border-block: 1px solid var(--line);
  padding: 12px 0; margin: 28px 0;
  background: var(--bg-2);
}
.marquee-track {
  display: flex; gap: 28px; width: max-content;
  animation: marquee 28s linear infinite;
  font-weight: 600;
}
.marquee-track span { color: var(--muted); }
.marquee-track b { color: var(--red); }

.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px;
}
.step i {
  font-style: normal; font-family: var(--font-display); font-weight: 800;
  color: var(--red); font-size: 1.4rem;
}

.guide-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.guide-card {
  display: block; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px; text-decoration: none;
  min-height: 176px;
  transition: transform 0.28s var(--ease), border-color 0.28s, box-shadow 0.28s;
}
.guide-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--red) 35%, var(--line));
  box-shadow: var(--shadow);
}
.guide-card h3 { margin: 8px 0 8px; font-size: 1.25rem; }
.guide-card p { color: var(--muted); margin: 0; }
.guide-card--art { padding: 0; overflow: hidden; min-height: 0; }
.guide-card__media {
  display: block; overflow: hidden; background: #141414;
}
.guide-card__media img {
  width: 100%; height: auto; aspect-ratio: 800 / 420; object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.guide-card--art:hover .guide-card__media img { transform: scale(1.04); }
.guide-card__body { display: block; padding: 22px 24px 26px; }
.guide-hero-art {
  margin: 28px 0 36px; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line); background: #141414;
}
.guide-hero-art img { width: 100%; height: auto; display: block; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 0.9rem; padding: 22px 0 0; }
.crumbs a { color: var(--muted); }

.page-hero { padding-bottom: 8px; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -0.04em; margin: 12px 0 14px; }
.page-hero .lede { margin-top: 0; margin-bottom: 8px; }

.tool-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.7fr);
  gap: 28px;
  padding: 16px 0 48px;
}
.tool-stage {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.tool-stage__bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 12px 20px; background: var(--elev-2); font-size: 0.82rem; color: var(--muted);
}
.tool-stage__name { color: var(--text); flex: 1; font-size: 0.95rem; }
.tool-stage__actions { display: flex; gap: 8px; margin-left: auto; }
.btn-sm { padding: 7px 12px; font-size: 0.82rem; }
.live-dot {
  width: 8px; height: 8px; background: #3ddc84; border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(61, 220, 132, 0.16);
  animation: pulsePlay 1.8s infinite;
}
.tool-stage__live { display: inline-flex; align-items: center; gap: 8px; }
.tool-stage__body { padding: 28px 28px 32px; }
.tool-form { display: grid; gap: 18px; }
.tool-form > .btn { margin-top: 8px; justify-self: start; min-width: 220px; }
.field label {
  display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.92rem;
}
.field-control {
  display: flex; align-items: center; gap: 10px;
  background: var(--input);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  min-height: 50px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field-control:hover { border-color: color-mix(in srgb, var(--text) 22%, var(--line)); }
.field-control:focus-within {
  border-color: var(--yt-blue);
  box-shadow: 0 0 0 3px rgba(62, 166, 255, 0.18);
}
.field-control__icon, .field-control__chevron {
  color: var(--muted); flex: 0 0 auto; display: grid; place-items: center; pointer-events: none;
}
.field-control__icon .icon, .field-control__chevron .icon { width: 18px; height: 18px; }
.field-control__chevron { margin-left: auto; }
.field-control input,
.field-control textarea,
.field-control select {
  flex: 1; width: 100%; min-width: 0;
  background: transparent; border: 0; outline: none; padding: 13px 0;
  appearance: none; -webkit-appearance: none; background-image: none;
}
.field-control select { cursor: pointer; padding-right: 4px; }
.field-control select::-ms-expand { display: none; }
.field-control--select { padding-right: 10px; }
.field-control--area { align-items: flex-start; padding-top: 10px; padding-bottom: 10px; }
.field-control--area textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field-control--color { padding: 6px 12px; }
.field-control .color-row { flex: 1; width: 100%; }
.field > input, .field > textarea, .field > select {
  width: 100%; background: var(--input); border: 1px solid var(--line);
  border-radius: 12px; padding: 13px 14px; outline: none;
}
.field > input:focus, .field > textarea:focus, .field > select:focus {
  border-color: var(--yt-blue); box-shadow: 0 0 0 3px rgba(62, 166, 255, 0.18);
}
html[data-theme="light"] .field-control,
html[data-theme="light"] .field > input,
html[data-theme="light"] .field > textarea,
html[data-theme="light"] .field > select {
  background: #fff;
  border-color: #c8c8c8;
  box-shadow: inset 0 1px 2px rgba(15, 15, 15, 0.04);
}
.color-row { display: grid; grid-template-columns: 56px 1fr; gap: 8px; align-items: center; }
.color-row input[type="color"] { height: 38px; padding: 3px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg-2); }
.field-control .color-row input[type="text"] {
  border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; background: var(--bg-2);
}
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; letter-spacing: -0.03em; }
.prose a { color: var(--yt-blue); }
.related h2, .faq h2 { margin: 0 0 12px; }
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 16px; margin-bottom: 8px;
}
.faq summary { cursor: pointer; font-weight: 600; }
.aside-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; margin-bottom: 14px;
}
.aside-card h2 {
  font-size: 1rem; margin: 0 0 14px;
  display: flex; align-items: center; gap: 8px;
}
.aside-card h2 .icon { width: 18px; height: 18px; color: var(--red); }
.aside-card .tool-card {
  min-height: 0;
  padding: 14px 12px;
  gap: 12px;
  grid-template-columns: auto 1fr;
}
.aside-card .tool-card__go { display: none; }
.aside-card .tool-card__desc { display: none; }
.notice {
  background: color-mix(in srgb, #ffcc00 12%, var(--card));
  border: 1px solid color-mix(in srgb, #ffcc00 35%, var(--line));
  border-radius: 12px; padding: 12px 14px; font-size: 0.92rem;
}

.result-list { display: grid; gap: 12px; }
.result-item, .copy-block {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px;
}
.result-item { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.copy-block { display: grid; gap: 16px; }
.copy-block .btn, .btn-copy { justify-self: start; }
.btn .icon { width: 16px; height: 16px; }
.btn-primary .icon-play { fill: currentColor; }
[data-out] { margin-top: 28px; }
[data-out]:empty { display: none; margin: 0; }
[data-out].is-pop { animation: rise 0.45s var(--ease) both; }
[data-out]:not(:empty) {
  background: color-mix(in srgb, var(--elev) 70%, var(--bg-2));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}
[data-out] .copy-block, [data-out] .result-list, [data-out] .metric-grid { background: transparent; }
[data-out] .copy-block { border: 0; padding: 0; }
[data-out] > p, [data-out] .result-note {
  margin: 16px 0 0; color: var(--muted); line-height: 1.55;
}
[data-out] > ul { margin: 16px 0 0; padding-left: 1.2em; }
.hash-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.hash-chip {
  appearance: none; font: inherit; color: inherit; cursor: pointer;
  display: inline-flex; align-items: center;
  background: var(--elev); border: 1px solid var(--line);
  border-radius: 999px; padding: 9px 16px; font-weight: 600; font-size: 0.92rem;
  animation: rise 0.4s var(--ease) both;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.hash-chip:hover {
  border-color: color-mix(in srgb, var(--red) 55%, var(--line));
  background: var(--red-soft);
  transform: translateY(-1px);
}
.hash-chip.is-copied { border-color: var(--red); color: var(--red); }
.history-list { display: grid; gap: 12px; }
.history-item {
  font-size: 0.88rem; color: var(--muted); margin: 0;
  padding: 12px 12px 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-2);
  white-space: pre-wrap; word-break: break-word;
  border-left: 3px solid var(--red);
}
.history-item--metrics { white-space: normal; }
.history-metrics {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); gap: 8px;
}
.history-metrics span { display: grid; gap: 2px; min-width: 0; }
.history-metrics small {
  color: var(--muted); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.05em;
}
.history-metrics b {
  color: var(--text); font-family: var(--font-display); font-size: 0.98rem; font-weight: 800;
}
.history-item p { margin: 10px 0 0; font-size: 0.8rem; line-height: 1.45; color: var(--muted); }
.metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: 12px; margin-top: 0; }
.metric-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 16px 18px; position: relative; overflow: hidden;
}
.metric-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red);
}
.metric-card__label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--muted); margin-bottom: 8px; font-weight: 600;
}
.metric-card__label .icon { width: 14px; height: 14px; color: var(--red); }
.metric-card__value {
  display: block; font-size: 1.5rem; font-family: var(--font-display);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; word-break: break-word;
}
.copy-block pre, .copy-block textarea {
  white-space: pre-wrap; word-break: break-word; margin: 0;
  background: transparent; border: 0; width: 100%; font-family: ui-monospace, monospace; font-size: 0.88rem;
}
.thumb-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px;
}
.thumb-card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
}
.thumb-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #000; }
.thumb-card figcaption { padding: 8px 10px; font-size: 0.82rem; color: var(--muted); }
.thumb-card a { color: var(--yt-blue); }

.preview-board { display: grid; gap: 16px; margin-top: 16px; }
.yt-search-mock, .yt-suggest-mock, .yt-phone-mock {
  background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 12px;
}
.yt-tile { display: grid; grid-template-columns: 168px 1fr; gap: 12px; align-items: start; }
.yt-tile img, .thumb-preview-img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; background: #111;
}
.yt-tile h3 { margin: 0 0 6px; font-size: 1rem; }
.yt-phone-mock { max-width: 280px; }
.yt-phone-mock .yt-tile { grid-template-columns: 1fr; }
.banner-frame {
  position: relative; width: 100%; aspect-ratio: 2560/1440; background: #111;
  border-radius: 12px; overflow: hidden; border: 1px solid var(--line);
}
.banner-frame img { width: 100%; height: 100%; object-fit: cover; }
.safe-rect {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 60%; height: 30%; border: 2px dashed #3ddc84; border-radius: 6px;
  pointer-events: none;
}
.check-row {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 8px 0; border-bottom: 1px solid var(--line);
}
.check-row small { display: block; color: var(--muted); }
.score-ring { font-family: var(--font-display); font-size: 2rem; font-weight: 800; margin-top: 12px; }
.bar { height: 8px; background: var(--elev-2); border-radius: 99px; overflow: hidden; margin-top: 8px; }
.bar > i { display: block; height: 100%; background: var(--red); width: 0; transition: width 0.5s var(--ease); }
.niche-row {
  display: grid; grid-template-columns: 1.4fr repeat(4, 0.7fr); gap: 8px; align-items: end;
  margin-bottom: 10px;
}
.tiny { font-size: 0.75rem; color: var(--muted); }
.qr-out img { width: 220px; height: 220px; background: #fff; padding: 10px; border-radius: 12px; }

.site-footer { margin-top: 40px; background: var(--bg-2); border-top: 1px solid var(--line); }
.footer-disclaimer {
  padding: 14px 20px; font-size: 0.88rem; color: var(--muted);
  display: flex; gap: 8px; max-width: 1440px; margin: 0 auto;
}
.footer-disclaimer p { display: flex; gap: 10px; margin: 0; align-items: flex-start; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 24px; width: min(1440px, calc(100% - 32px)); margin: 0 auto; padding: 24px 0 12px;
}
.footer-brand p { color: var(--muted); }
.site-footer h2 { font-size: 0.95rem; margin: 0 0 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 8px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--line); padding: 14px 0 28px;
  width: min(1440px, calc(100% - 32px)); margin: 0 auto;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: var(--muted); font-size: 0.85rem;
}

.legal { padding: 12px 0 64px; max-width: 78ch; }
.legal h1 { letter-spacing: -0.04em; }
.legal p, .legal li { line-height: 1.7; }
.faq { margin-top: 36px; }
.faq details { margin-bottom: 12px; padding: 14px 18px; }
.contact-form { display: grid; gap: 12px; max-width: 560px; }
.ok { color: #3ddc84; }
.err { color: #ff6b6b; }

@keyframes pulsePlay {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .header-cta { display: none; }
  .nav-toggle { display: grid; }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .bento .tool-card, .tool-card.span-6, .tool-card.span-4 { grid-column: span 12; }
  .stats, .steps, .guide-grid, .tool-layout, .footer-grid, .niche-row {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 28px; }
}
@media (max-width: 640px) {
  .header-search { display: none; }
  .cat-rail { padding-left: 12px; }
  .yt-tile { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
