/* Youtube Video Transcript — shared styles for the keyword landing pages.
   The homepage keeps its own inline CSS (it has hero animations these pages don't use). */

:root {
  --red: #dc2626;
  --red-dark: #b91c1c;
  --red-50: #fef2f2;
  --red-100: #fee2e2;
  --red-200: #fecaca;
  --ink: #111111;
  --ink-2: #374151;
  --ink-3: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --radius: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img, svg { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============= Header ============= */
header.site {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 18px; letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none;
}
.brand img { width: 32px; height: 32px; border-radius: 7px; }
.brand em { font-style: normal; color: var(--red); }
.nav-links {
  display: flex; gap: 26px; align-items: center;
  font-size: 15px; font-weight: 600; color: var(--ink-2);
}
.nav-links a { text-decoration: none; transition: color .15s; white-space: nowrap; }
.nav-links a:hover { color: var(--red); }
.btn-chrome-sm {
  background: var(--red); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 14px;
  padding: 10px 18px; border-radius: 999px;
  transition: background .15s; white-space: nowrap;
}
.btn-chrome-sm:hover { background: var(--red-dark); }

/* ============= Breadcrumbs ============= */
.crumbs {
  padding: 20px 0 0;
  font-size: 13px; font-weight: 600; color: var(--ink-3);
}
.crumbs ol { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }

/* ============= Hero ============= */
.hero { padding: 40px 0 20px; text-align: center; }
.hero h1 {
  font-size: 56px; font-weight: 800;
  letter-spacing: -0.035em; line-height: 1.05;
  margin: 0 auto; max-width: 860px; text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--red); }
.hero .lede {
  margin: 22px auto 0;
  font-size: 19px; font-weight: 500; color: var(--ink-2);
  max-width: 660px; line-height: 1.5; text-wrap: balance;
}

/* ============= URL tool ============= */
.tool { max-width: 760px; margin: 34px auto 0; text-align: left; }
.tool-form { display: flex; gap: 10px; }
.tool-form input {
  flex: 1; min-width: 0;
  font: inherit; font-size: 16px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff; color: var(--ink);
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: border-color .15s, box-shadow .15s;
}
.tool-form input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px var(--red-50);
}
.tool-form button {
  font: inherit; font-weight: 700; font-size: 16px;
  padding: 16px 30px;
  border: 0; border-radius: 999px;
  background: var(--red); color: #fff; cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(220,38,38,0.3);
  transition: background .15s, transform .15s;
}
.tool-form button:hover { background: var(--red-dark); transform: translateY(-1px); }
.tool-hint { margin: 12px 4px 0; font-size: 14px; color: var(--ink-3); text-align: center; }
.tool-error {
  margin: 14px 0 0; padding: 14px 18px;
  background: var(--red-50); border: 1px solid var(--red-200);
  border-radius: 12px; color: var(--red-dark);
  font-size: 15px; font-weight: 600;
}
.tool-result { margin-top: 22px; }
.tool-card {
  display: flex; gap: 20px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 20px;
  box-shadow: 0 20px 50px -30px rgba(0,0,0,0.35);
}
.tool-card .thumb {
  width: 200px; flex-shrink: 0;
  border-radius: 12px; overflow: hidden;
  background: #f1f3f4; aspect-ratio: 16 / 9;
}
.tool-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.tool-card .meta { min-width: 0; }
.tool-card .meta h3 {
  margin: 0 0 4px; font-size: 18px; font-weight: 800;
  letter-spacing: -0.01em; line-height: 1.3;
}
.tool-card .meta .channel { margin: 0 0 14px; font-size: 14px; color: var(--ink-3); font-weight: 600; }
.tool-card .meta p.next { margin: 0 0 14px; font-size: 15px; color: var(--ink-2); }
.tool-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.tool-actions .primary {
  background: var(--red); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 15px;
  padding: 12px 22px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(220,38,38,0.3);
}
.tool-actions .primary:hover { background: var(--red-dark); }
.tool-actions .secondary {
  color: var(--ink-2); text-decoration: none;
  font-weight: 600; font-size: 15px;
  border-bottom: 1px solid var(--line);
}
.tool-actions .secondary:hover { color: var(--red); border-color: var(--red-200); }
.tool-card .installed { margin: 14px 0 0; font-size: 13px; color: var(--ink-3); }
@media (max-width: 640px) {
  .tool-form { flex-direction: column; }
  .tool-form button { width: 100%; }
  .tool-card { flex-direction: column; }
  .tool-card .thumb { width: 100%; }
}

/* ============= Sections ============= */
section.band { padding: 84px 0; }
section.band.soft { background: var(--bg-soft); }
.section-head { text-align: center; margin: 0 auto 48px; max-width: 740px; }
.section-head .kicker {
  color: var(--red); font-weight: 700; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.section-head h2 {
  margin: 12px 0 0; font-size: 42px; font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance;
}
.section-head p { margin: 16px auto 0; color: var(--ink-2); font-size: 17px; max-width: 620px; }

/* prose block for long-form copy */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 {
  font-size: 34px; font-weight: 800; letter-spacing: -0.025em;
  line-height: 1.15; margin: 0 0 16px; text-wrap: balance;
}
.prose h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; margin: 32px 0 8px; }
.prose p { color: var(--ink-2); font-size: 17px; line-height: 1.65; margin: 0 0 16px; }
.prose ul, .prose ol { color: var(--ink-2); font-size: 17px; line-height: 1.65; padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--red); font-weight: 700; }
.prose a { color: var(--red-dark); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--ink); }
.prose .lead { font-size: 19px; color: var(--ink-2); }

/* ============= Cards ============= */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  border: 1px solid var(--line); border-radius: 18px;
  padding: 26px; background: #fff;
}
.card h3 { margin: 0 0 8px; font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.card .pill {
  display: inline-flex; align-self: flex-start;
  background: var(--red-50); color: var(--red-dark);
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; margin-bottom: 12px;
}

/* numbered steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.step-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--red); color: #fff;
  font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.step h3 { font-size: 17px; font-weight: 800; margin: 0 0 6px; letter-spacing: -0.01em; }
.step p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.55; }

/* ============= Table ============= */
.table-wrap { overflow-x: auto; margin: 26px 0 0; }
table.cmp {
  width: 100%; min-width: 560px; border-collapse: collapse;
  background: #fff; border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden; font-size: 15px;
}
table.cmp caption {
  caption-side: top; text-align: left; padding: 0 0 12px;
  color: var(--ink-3); font-size: 14px; font-weight: 600;
}
table.cmp th, table.cmp td { padding: 12px 18px; text-align: left; border-bottom: 1px solid var(--line); }
table.cmp thead th { background: var(--bg-soft); font-weight: 800; font-size: 14px; }
table.cmp tbody th { font-weight: 700; color: var(--ink); width: 32%; }
table.cmp tbody td { color: var(--ink-2); }
table.cmp tbody tr:last-child th, table.cmp tbody tr:last-child td { border-bottom: 0; }

/* callout */
.callout {
  border-left: 3px solid var(--red);
  background: var(--red-50);
  border-radius: 0 12px 12px 0;
  padding: 18px 22px; margin: 26px 0;
}
.callout p { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.callout p + p { margin-top: 10px; }

/* ============= FAQ ============= */
.faq-list { max-width: 820px; margin: 40px auto 0; }
details.q {
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; margin-bottom: 12px; overflow: hidden;
  transition: border-color .2s;
}
details.q[open] { border-color: rgba(220,38,38,0.3); }
details.q summary {
  list-style: none; cursor: pointer; padding: 18px 22px;
  font-weight: 700; font-size: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after {
  content: ""; width: 20px; height: 20px; flex-shrink: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") center/contain no-repeat;
  transition: transform .2s;
}
details.q[open] summary::after { transform: rotate(180deg); }
details.q .a { padding: 0 22px 20px; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }

/* ============= Final CTA ============= */
section.final-cta {
  padding: 100px 0; text-align: center;
  background: radial-gradient(60% 60% at 50% 0%, var(--red-100) 0%, transparent 60%), #fff;
}
.final-cta h2 {
  font-size: 46px; font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.07; margin: 0 0 18px; text-wrap: balance;
}
.final-cta p { color: var(--ink-2); font-size: 18px; max-width: 560px; margin: 0 auto 32px; }
.btn-chrome {
  background: var(--red); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 17px;
  padding: 17px 34px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 10px;
  box-shadow: 0 6px 18px rgba(220,38,38,0.35);
  transition: transform .15s, background .15s;
}
.btn-chrome:hover { background: var(--red-dark); transform: translateY(-1px); }

/* ============= Footer + link hub ============= */
footer.site {
  padding: 56px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--ink-3); font-size: 14px;
  background: var(--bg-soft);
}
.hub { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-bottom: 40px; }
.hub h2 {
  font-size: 12px; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink); margin: 0 0 12px;
}
.hub ul { list-style: none; margin: 0; padding: 0; }
.hub li { margin-bottom: 8px; }
.hub a { color: var(--ink-3); text-decoration: none; }
.hub a:hover { color: var(--red); }
.hub a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.foot {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  border-top: 1px solid var(--line); padding-top: 24px;
}
.foot a { color: var(--ink-3); text-decoration: none; }
.foot a:hover { color: var(--red); }
.foot .links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ============= Responsive ============= */
@media (max-width: 960px) {
  .hero h1 { font-size: 38px; }
  .hero .lede { font-size: 17px; }
  .section-head h2 { font-size: 30px; }
  .prose h2 { font-size: 27px; }
  .final-cta h2 { font-size: 32px; }
  .grid-2, .grid-3, .steps { grid-template-columns: 1fr; }
  .hub { grid-template-columns: repeat(2, 1fr); }
  .nav-links a:not(.btn-chrome-sm) { display: none; }
  section.band { padding: 60px 0; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 31px; }
  .hub { grid-template-columns: 1fr; }
}

/* ============= Blog ============= */
.article { padding: 24px 0 0; }
.article-head { max-width: 780px; margin: 0 auto 34px; }
.article-head h1 {
  font-size: 46px; font-weight: 800;
  letter-spacing: -0.032em; line-height: 1.08;
  margin: 0 0 16px; text-wrap: balance;
}
.article-meta {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
  color: var(--ink-3); font-size: 14px; font-weight: 600;
}
.article-meta .dot { color: var(--line); }
.answer-box {
  max-width: 780px; margin: 0 auto 36px;
  background: var(--red-50);
  border: 1px solid var(--red-200);
  border-radius: 16px;
  padding: 22px 26px;
}
.answer-box p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--ink); }
.answer-box p + p { margin-top: 12px; }
.answer-box strong { font-weight: 800; }

.toc {
  max-width: 780px; margin: 0 auto 44px;
  border: 1px solid var(--line); border-radius: 16px;
  padding: 22px 26px; background: #fff;
}
.toc h2 {
  font-size: 12px; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-3); margin: 0 0 12px;
}
.toc ol { margin: 0; padding-left: 20px; color: var(--ink-2); font-size: 16px; }
.toc li { margin-bottom: 7px; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--red); text-decoration: underline; }

.article .prose h2 { margin-top: 52px; scroll-margin-top: 90px; }
.article .prose h2:first-child { margin-top: 0; }
.article .prose ol li { margin-bottom: 10px; }

/* inline product callout inside an article */
.promo {
  max-width: 780px; margin: 44px auto;
  border: 1px solid var(--line); border-left: 3px solid var(--red);
  border-radius: 0 16px 16px 0;
  padding: 24px 26px; background: #fff;
}
.promo h3 { margin: 0 0 8px; font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.promo p { margin: 0 0 16px; color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.promo a.cta {
  display: inline-block;
  background: var(--red); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 15px;
  padding: 11px 22px; border-radius: 999px;
}
.promo a.cta:hover { background: var(--red-dark); }

/* tool cards inside the roundup */
.pick {
  border: 1px solid var(--line); border-radius: 18px;
  padding: 26px; background: #fff; margin-bottom: 18px;
}
.pick h3 { margin: 0 0 4px; font-size: 21px; font-weight: 800; letter-spacing: -0.015em; }
.pick .kind {
  display: inline-block; margin-bottom: 12px;
  color: var(--ink-3); font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.pick p { margin: 0 0 10px; color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.pick p:last-child { margin-bottom: 0; }
.pick .catch { color: var(--ink); font-size: 15px; }
.pick .catch b { color: var(--red-dark); }

/* blog index */
.post-list { max-width: 820px; margin: 0 auto; }
.post-card {
  display: block; text-decoration: none;
  border: 1px solid var(--line); border-radius: 18px;
  padding: 26px; background: #fff; margin-bottom: 16px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.post-card:hover {
  border-color: rgba(220,38,38,0.3);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -18px rgba(220,38,38,0.2);
}
.post-card h2 { margin: 0 0 8px; font-size: 23px; font-weight: 800; letter-spacing: -0.015em; line-height: 1.25; }
.post-card p { margin: 0 0 12px; color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.post-card .meta { color: var(--ink-3); font-size: 13px; font-weight: 600; }

@media (max-width: 960px) {
  .article-head h1 { font-size: 32px; }
  .answer-box p { font-size: 17px; }
  .post-card h2 { font-size: 20px; }
}
