@font-face {
  font-family: Inter;
  src: url("assets/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --yellow: #fff56b;
  --black: #111111;
  --blue: #0756ff;
  --blue-hover: #0045d4;
  --green: #008846;
  --red: #d72c35;
  --muted: #626262;
  --line: #dddddd;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--black);
  background: white;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 14.5px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}

button, input { font: inherit; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; border-radius: 0; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img, svg { display: block; }
img { max-width: 100%; }
button:disabled { opacity: .5; cursor: not-allowed; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.08; }
h1, h2 { font-weight: 850; letter-spacing: -0.045em; }
h2 { font-size: 38px; }
h3 { font-size: 16px; letter-spacing: -0.025em; font-weight: 750; }
p { line-height: 1.45; }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}
.yellow { background: var(--yellow); }
.section { padding: 64px 0; }
.icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: currentColor;
  stroke: none;
}
.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  margin-bottom: 12px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 18px;
  border: 2px solid transparent;
  font-size: 12.5px;
  line-height: 1.2;
  font-weight: 700;
  white-space: nowrap;
  transition: background .16s, border-color .16s, color .16s;
}
.button .icon { width: 18px; height: 18px; }
.button-blue { background: var(--blue); color: white; }
.button-blue:hover { background: var(--blue-hover); }
.button-black { background: var(--black); color: #fff; }
.button-black:hover { background: #2a2a2a; }
.button-outline { background: transparent; border: 1.5px solid var(--black); color: var(--black); }
.button-outline:hover { background: var(--black); color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
.skip-link {
  position: fixed; top: -100px; left: 20px;
  background: white; padding: 12px; z-index: 100;
}
.skip-link:focus { top: 10px; }

/* Masthead & Boxed Header */
.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--yellow);
  padding: 16px 0;
  transition: padding .2s ease, box-shadow .2s ease;
}
.masthead.is-scrolled {
  padding: 10px 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 3px solid var(--black);
  background: var(--yellow);
  padding: 8px 12px;
  min-height: 58px;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  font-size: 21px;
  font-weight: 850;
  letter-spacing: -0.6px;
  flex-shrink: 0;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--black);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -2px;
}
.desktop-nav {
  flex: 1;
  display: flex;
  gap: 28px;
  align-self: stretch;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin: 0;
}
.desktop-nav a {
  position: relative;
  padding: 10px 0;
  color: var(--black);
}
.desktop-nav a:hover::after,
.nav-active::after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 4.5px;
  background: var(--blue);
  left: -2px;
  right: -2px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.header .button {
  min-height: 36px;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 700;
  border-width: 2.5px;
}
.header .header-extension {
  padding-inline: 13px;
  background: var(--blue);
  color: #fff;
  border: 2.5px solid var(--blue);
}
.header .header-extension:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
}
.header .login-button {
  border: 2.5px solid var(--black);
  background: transparent;
  color: var(--black);
}
.header .login-button:hover {
  background: var(--black);
  color: #fff;
}
.header .try-button {
  position: relative;
  background: var(--black);
  color: #fff;
  border: 2.5px solid var(--black);
  padding-inline: 18px;
  overflow: hidden;
  z-index: 1;
  transition: color .25s ease;
}
.header .try-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 160%;
  height: 380%;
  background: var(--blue);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform .32s cubic-bezier(.22, .8, .3, 1);
  z-index: -1;
}
.header .try-button:hover {
  color: #fff;
  background: var(--black);
  border-color: var(--black);
}
.header .try-button:hover::before {
  transform: translate(-50%, -50%) scale(1);
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 6px;
  cursor: pointer;
}
.mobile-nav, .mobile-extension-link { display: none; }

/* Hero */
.hero { padding: 46px 0 48px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 32px;
}
.hero-copy { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(48px, 4.5vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 900;
  margin-bottom: 22px;
}
.hero-description {
  font-size: 18.5px;
  line-height: 1.42;
  color: #111;
  max-width: 520px;
  margin-bottom: 26px;
}
.search-form {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 2px solid var(--black);
  background: white;
  padding: 5px 5px 5px 16px;
  width: 100%;
  max-width: 580px;
  min-height: 60px;
  box-shadow: 3.5px 3.5px 0 var(--black);
}
.search-form .search-icon {
  width: 26px;
  height: 26px;
  color: #111;
  flex-shrink: 0;
}
.search-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: none;
  font-size: 13.5px;
  background: transparent;
  color: var(--black);
  width: 100%;
}
.search-form input::placeholder { color: #767676; }
.search-form:focus-within {
  outline: 2.5px solid var(--blue);
  outline-offset: 2px;
}
.search-submit {
  width: 49px;
  height: 48px;
  border: 0;
  background: var(--blue);
  color: white;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}
.search-submit:hover { background: var(--blue-hover); }
.hero-extension {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}
.hero-extension strong {
  color: var(--blue);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
  display: block;
}
.hero-extension small {
  display: block;
  font-size: 11px;
  color: #222;
  font-weight: 550;
  margin-top: 2px;
}

/* Hero Art Overlays */
.hero-visual {
  min-width: 0;
  width: 100%;
}
.hero-database {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 26px 0 0 5%;
}
.hero-database strong {
  color: var(--blue);
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.055em;
  font-variant-numeric: tabular-nums;
}
.hero-database span {
  border-left: 2px solid var(--black);
  padding-left: 18px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.5;
}
.hero-art {
  position: relative;
  container-type: inline-size;
  isolation: isolate;
  aspect-ratio: 3/2;
  width: 95%;
  justify-self: end;
  margin: -10px 0 -10px auto;
}
.hero-art .hero-art-background {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hero-metric {
  position: absolute;
  left: 51%;
  top: 15%;
  width: 36%;
  height: 33%;
  padding: 3cqw 3.3cqw;
  background: #fff;
  border: .35cqw solid #111;
  border-radius: .6cqw;
  box-shadow: 1.1cqw 1.1cqw 0 #111;
  z-index: 1;
  display: flex;
  flex-direction: column;
}
.hero-metric-label {
  display: flex;
  align-items: center;
  gap: .8cqw;
  white-space: nowrap;
  font-size: 2.5cqw;
  font-weight: 750;
  letter-spacing: -.08cqw;
  line-height: 1.2;
}
.metric-info {
  display: grid;
  place-items: center;
  background: #9aafca;
  color: white;
  width: 2.6cqw;
  height: 2.6cqw;
  border-radius: 50%;
  font-size: 2cqw;
}
.hero-metric-value {
  display: block;
  font-size: 6cqw;
  letter-spacing: -.2cqw;
  line-height: 1.2;
  margin-top: 1cqw;
  font-weight: 850;
}
.hero-metric small {
  font-size: 1.9cqw;
  color: #888;
  line-height: 1.5;
}
.hero-bars {
  position: absolute;
  right: 2.2cqw;
  bottom: 2cqw;
  width: 17cqw;
  height: 9cqw;
  display: flex;
  align-items: flex-end;
  gap: .65cqw;
}
.hero-bars span {
  flex: 1;
  height: var(--height);
  background: var(--blue);
  transform-origin: center bottom;
  animation: hero-bar-grow 650ms cubic-bezier(.22,.8,.3,1) var(--delay) both;
}
.hero-emphasis {
  position: absolute;
  left: 89%;
  top: 9%;
  width: 8%;
  height: 23%;
  overflow: visible;
}
.hero-emphasis path {
  stroke: #111;
  stroke-width: 5;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  animation: hero-stroke-draw 420ms ease-out both;
}
.hero-emphasis-first { animation-delay: 1200ms !important; }
.hero-emphasis-second { animation-delay: 1500ms !important; }
.hero-emphasis circle { fill: #111; animation: hero-dot-appear 180ms ease-out 1800ms both; }
.hero-art-caption {
  position: absolute;
  left: 40%;
  bottom: 4.8%;
  padding: 1.8cqw 2.8cqw;
  background: #fff;
  border: .38cqw solid #111;
  border-radius: .6cqw;
  box-shadow: 1.15cqw 1.15cqw 0 #111;
  font-size: 2.75cqw;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.08cqw;
  z-index: 1;
}

@keyframes hero-bar-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes hero-stroke-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes hero-dot-appear { from { opacity: 0; } to { opacity: 1; } }

/* Category Ribbon (Black Strip) */
.category-ribbon {
  background: var(--black);
  color: white;
  padding: 24px 0;
  overflow-x: hidden;
}
.ribbon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.ribbon-grid a {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  border: 0;
  border-right: 1px solid #444;
  background: transparent;
  color: inherit;
  padding: 0 24px;
  cursor: pointer;
}
.ribbon-grid a:first-child { padding-left: 0; }
.ribbon-grid a:last-child { border: 0; padding-right: 0; }
.ribbon-grid .icon { width: 32px; height: 32px; flex-shrink: 0; }
.ribbon-grid strong {
  font-size: 17px;
  font-weight: 850;
  display: block;
  line-height: 1.25;
}
.ribbon-grid b { font-weight: 400; margin-left: 6px; }
.ribbon-grid small {
  display: block;
  font-size: 9px;
  color: #bbb;
  margin-top: 5px;
  letter-spacing: .04em;
  white-space: nowrap;
}
.ribbon-grid a:hover { color: var(--yellow); }

/* Trending Table Section */
.explore { padding: 58px 0 54px; }
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 24px;
}
.section-heading p:not(.eyebrow) {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.4;
  color: #111;
}
.explore-heading h2 { font-size: 38px; }
.explore-heading { margin-bottom: 12px; }
.table-controls {
  display: flex;
  flex-shrink: 0;
  gap: 12px;
  align-items: center;
}
.table-controls .segmented button {
  font-size: 13.5px;
  padding: 9px 20px;
  min-height: 41px;
}
.segmented {
  display: inline-flex;
  border: 1.5px solid var(--black);
  background: white;
}
.segmented button {
  background: transparent;
  border: 0;
  border-right: 1.5px solid var(--black);
  min-height: 38px;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 18px;
  white-space: nowrap;
  color: var(--black);
  cursor: pointer;
}
.segmented button:last-child { border-right: 0; }
.segmented button:hover { background: #eef4ff; }
.segmented button.is-active {
  background: var(--blue);
  color: white;
}
.period-control button { padding-inline: 15px; }
.table-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.table-meta:has(#clear-filter[hidden]) {
  margin-bottom: 0;
}
.demo-label {
  font-size: 11px;
  color: #555;
  font-weight: 600;
}
#clear-filter {
  border: 0;
  background: var(--black);
  color: white;
  padding: 3px 8px;
  font-size: 10px;
  cursor: pointer;
}
.table-scroll {
  overflow-x: auto;
  border: 2px solid var(--black);
  background: #fff;
  scrollbar-color: #aaa #eee;
  scrollbar-width: thin;
}
.hashtag-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
  table-layout: fixed;
}
.hashtag-table thead { background: #fff; }
.hashtag-table th {
  height: 52px;
  font-size: 14px;
  font-weight: 850;
  padding: 13px 16px;
  border-bottom: 2px solid var(--black);
  white-space: nowrap;
  color: #111;
  letter-spacing: -0.01em;
}
.hashtag-table th[data-sort-col] { cursor: pointer; user-select: none; }
.hashtag-table th[data-sort-col]:hover { background: #f8faff; }
.sort-icon { font-size: 11px; color: #666; margin-left: 3px; }
.hashtag-table td {
  padding: 10px 16px;
  height: 60px;
  border-bottom: 1px solid #eee;
  white-space: nowrap;
  vertical-align: middle;
}
.hashtag-table tr:last-child td { border-bottom: 0; }
.hashtag-table tbody tr:hover { background: #f8faff; }
.number-cell { width: 44px; text-align: center; }
.hashtag-table .number-cell { font-size: 12px; font-weight: 600; color: #555; }
.tag-cell { width: 28%; }
.tag-name {
  font-weight: 800;
  letter-spacing: -0.025em;
  font-size: 14px;
  color: #111;
  display: block;
}
.tag-category {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #555;
  font-size: 10.5px;
  font-weight: 600;
  margin-top: 3px;
}
.tag-category .icon { width: 13px; height: 13px; color: #111; }
.posts-cell, .views-cell { width: 14%; }
.average-cell { width: 15%; }
.growth-cell { width: 15%; }
.copy-cell { width: 56px; text-align: center; }
.metric { font-weight: 650; font-variant-numeric: tabular-nums; }
.growth { font-weight: 750; color: var(--green); font-variant-numeric: tabular-nums; }
.growth.negative { color: var(--red); }
.copy-button {
  display: inline-grid;
  place-items: center;
  background: transparent;
  border: 0;
  width: 34px;
  height: 34px;
  color: #333;
  cursor: pointer;
}
.copy-button:hover { background: var(--yellow); }
.copy-button .icon { width: 18px; height: 18px; }
.table-footer {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.table-footer .button {
  min-width: 290px;
  min-height: 54px;
  font-size: 16px;
  font-weight: 750;
  padding: 12px 28px;
  border: 2.5px solid transparent;
}
.table-footer .button:hover {
  border-color: var(--black);
}
#empty-state { padding: 36px; text-align: center; color: #666; }

/* Historical Analytics Section */
.analytics { background: #fff; padding: 76px 0; }
.analytics-grid {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 48px;
  align-items: center;
}
.analytics h2 { font-size: 46px; line-height: 1.06; letter-spacing: -0.03em; }
.analytics .section-description {
  color: #333;
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.48;
  max-width: 460px;
}
.benefits { display: grid; gap: 24px; margin-top: 32px; }
.benefits > div { display: flex; gap: 16px; align-items: flex-start; }
.benefit-icon-wrap {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.benefit-icon-wrap .icon { width: 34px; height: 34px; color: var(--blue); }
.benefits h3 { font-size: 18px; font-weight: 850; letter-spacing: -0.02em; color: #111; }
.benefits p { font-size: 14px; color: #555; margin-top: 4px; max-width: 380px; line-height: 1.45; }

.chart-card {
  border: 2.5px solid var(--black);
  padding: 34px 34px 30px;
  box-shadow: 8px 8px 0 var(--blue);
  background: white;
  min-width: 0;
}
.chart-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}
.chart-title-group h3 {
  font-size: 28px;
  font-weight: 850;
  letter-spacing: -0.04em;
}
.chart-title-group .demo-label {
  display: block;
  font-size: 11.5px;
  color: #777;
  margin-top: 3px;
}
.chart-tabs { border: 1.5px solid var(--black); }
.chart-tabs button {
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 700;
}
.chart-viewport { position: relative; width: 100%; }
.history-chart {
  margin-top: 6px;
  width: 100%;
  height: auto;
  overflow: visible;
  display: block;
}
.chart-grid { stroke: #edf1f6; stroke-width: 1; }
.chart-labels {
  fill: #666;
  font-size: 12px;
  font-weight: 550;
  font-family: Inter, sans-serif;
}

/* How It Works Section */
.how-it-works { padding: 64px 0 68px; background: var(--yellow); }
.how-it-works h2 { font-size: 46px; line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 36px; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.step {
  display: flex;
  flex-direction: column;
  border-right: 1.5px solid #8d883c;
  padding-right: 28px;
}
.step:last-child { border-right: 0; padding-right: 0; }
.step-heading { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.step-number {
  font-size: 52px;
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--black);
}
.step-heading .icon, .step-chrome { width: 36px; height: 36px; margin: 0; color: var(--black); flex-shrink: 0; }
.step h3 { font-size: 18px; font-weight: 850; letter-spacing: -0.02em; line-height: 1.25; color: var(--black); }
.step p { font-size: 15px; color: #111; margin-top: 10px; line-height: 1.48; }
.step-extension-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 800;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.step-extension-link .icon { width: 15px; height: 15px; margin: 0; color: inherit; }

/* Chrome Extension Section */
.extension { background: var(--black); color: #fff; padding: 76px 0; }
.extension-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.extension-eyebrow { color: #3b7eff; }
.extension h2 { font-size: 38px; line-height: 1.08; }
.extension .section-description { color: #ddd; font-size: 14.5px; }
.extension-benefits { display: grid; gap: 20px; margin-top: 28px; }
.extension-benefits > div { display: flex; gap: 14px; align-items: flex-start; }
.extension-benefits .icon { width: 24px; height: 24px; color: #fff; flex-shrink: 0; margin-top: 2px; }
.extension-benefits h3 { font-size: 14.5px; font-weight: 750; color: #fff; }
.extension-benefits p { font-size: 11.5px; color: #aaa; margin-top: 3px; line-height: 1.4; }
.extension-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
}
.button-extension-outline {
  background: transparent;
  border: 1.5px solid #fff;
  color: #fff;
  min-height: 42px;
  padding: 10px 18px;
  font-size: 12.5px;
  font-weight: 700;
  transition: background .16s, color .16s;
}
.button-extension-outline:hover { background: #fff; color: var(--black); }

.extension-preview {
  color: var(--black);
  background: white;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 8px 8px 0 #c7b82f;
}
.window-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #ebebeb;
  padding: 10px 14px;
  font-size: 9.5px;
  color: #777;
}
.window-dots { display: flex; gap: 5px; }
.window-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.window-dots i:nth-child(1) { background: #ef6357; }
.window-dots i:nth-child(2) { background: #f1bd45; }
.window-dots i:nth-child(3) { background: #4cba69; }
.window-title {
  margin-inline: auto;
  transform: translateX(-15px);
  font-size: 9px;
  color: #888;
}
.popup { padding: 20px 22px 18px; }
.popup-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.popup-brand .brand-mark { width: 24px; height: 24px; font-size: 22px; }
.popup-brand strong { font-weight: 850; font-size: 17px; letter-spacing: -0.5px; }
.popup-gear { width: 17px; height: 17px; color: #777; margin-left: auto; }
.popup-query {
  margin-top: 16px;
  display: flex;
  align-items: center;
  border: 1.5px solid #ddd;
  height: 38px;
  padding-left: 10px;
  font-size: 12px;
  gap: 8px;
}
.popup-query .search-icon { width: 16px; height: 16px; color: #777; }
.popup-query span { flex: 1; color: #111; }
.popup-search-submit {
  width: 38px;
  height: 38px;
  background: var(--blue);
  color: white;
  border: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}
.popup-search-submit .icon { width: 16px; height: 16px; }
.popup-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
  margin-top: 14px;
  white-space: nowrap;
}
.popup-table th {
  font-size: 9.5px;
  font-weight: 600;
  color: #666;
  background: #fafafa;
  padding: 9px 8px;
  text-align: left;
  border-bottom: 1px solid #eee;
}
.popup-table td {
  padding: 9px 8px;
  border-bottom: 1px solid #f0f0f0;
}
.popup-check-th { width: 28px; }
.popup-tag { font-weight: 750; color: #111; }
.popup-table input {
  accent-color: var(--blue);
  width: 14px;
  height: 14px;
  margin: 0;
  vertical-align: middle;
  cursor: pointer;
}
.popup-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 18px;
  gap: 8px;
}
.popup-footer .button {
  font-size: 12px;
  min-height: 38px;
  padding: 8px 16px;
}

/* Categories / Niches Section */
.categories { padding: 68px 0 52px; background: #fff; }
.categories-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
}
.categories h2 { font-size: 46px; line-height: 1.08; letter-spacing: -0.03em; }
.categories p { font-size: 16px; color: #444; margin-top: 8px; }
.browse-categories-btn {
  font-size: 14px;
  font-weight: 750;
  padding: 10px 22px;
  min-height: 44px;
  border: 2.5px solid var(--black);
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.category-tile {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  border: 2px solid #dfdfdf;
  border-radius: 0;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.category-tile:hover {
  background: #fafcff;
  border-color: var(--blue);
}
.category-tile > .icon { width: 34px; height: 34px; color: #111; flex-shrink: 0; }
.category-tile h3 { font-size: 17px; font-weight: 850; letter-spacing: -0.02em; color: #111; }
.tag-examples {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.tag-examples span {
  font-size: 10.5px;
  font-weight: 600;
  padding: 2.5px 8px;
  background: #eef4ff;
  color: var(--blue);
  border-radius: 2px;
}

/* FAQ Section */
.faq { padding: 28px 0 72px; background: #fff; }
.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
}
.faq h2 { font-size: 36px; line-height: 1.12; }
.faq-items details {
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  margin-bottom: 10px;
  background: #fff;
}
.faq-items summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-items summary::-webkit-details-marker { display: none; }
.faq-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
  flex-shrink: 0;
}
.faq-question { flex: 1; color: var(--black); }
.faq-indicator {
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: var(--black);
  flex-shrink: 0;
}
.faq-indicator::before { content: "+"; }
details[open] .faq-indicator::before { content: "−"; }
.faq-content { padding: 4px 20px 16px 39px; }
.faq-content p {
  font-size: 12.5px;
  color: #555;
  line-height: 1.45;
  margin: 0;
}

/* Final CTA */
.final-cta { padding: 48px 0; background: var(--yellow); }
.final-cta-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.final-cta h2 { font-size: 40px; letter-spacing: -0.04em; }
.final-cta-buttons { display: flex; gap: 14px; }
.final-cta .button {
  min-width: 160px;
  font-size: 14px;
  font-weight: 750;
  min-height: 46px;
  padding: 10px 24px;
  border: 2.5px solid var(--black);
}
.final-cta .button-black {
  position: relative;
  background: var(--black);
  color: #fff;
  border: 2.5px solid var(--black);
  overflow: hidden;
  z-index: 1;
  transition: color .25s ease;
}
.final-cta .button-black::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 160%;
  height: 380%;
  background: var(--blue);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform .32s cubic-bezier(.22, .8, .3, 1);
  z-index: -1;
}
.final-cta .button-black:hover {
  color: #fff;
  background: var(--black);
  border-color: var(--black);
}
.final-cta .button-black:hover::before {
  transform: translate(-50%, -50%) scale(1);
}
.final-cta .button-outline {
  border: 2.5px solid var(--black);
  background: transparent;
  color: var(--black);
}
.final-cta .button-outline:hover {
  background: var(--black);
  color: #fff;
}

/* Footer */
footer {
  background: var(--black);
  color: white;
  padding: 30px 0;
  font-size: 12px;
}
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
footer .brand { font-size: 19px; color: #fff; }
footer .brand-mark {
  background: white;
  color: var(--black);
  width: 30px;
  height: 30px;
  font-size: 26px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  font-size: 12px;
  font-weight: 600;
}
footer nav a:hover { color: var(--yellow); }
.footer-divider { color: #555; }
footer p { font-size: 10.5px; color: #888; }

/* Dialog & Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 12px);
  opacity: 0;
  pointer-events: none;
  background: var(--black);
  color: white;
  padding: 12px 20px;
  box-shadow: 4px 4px 0 var(--blue);
  z-index: 100;
  font-size: 13px;
  transition: opacity .2s, transform .2s;
  max-width: calc(100% - 40px);
  text-align: center;
}
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
dialog {
  border: 2px solid var(--black);
  padding: 30px;
  max-width: 440px;
  width: calc(100% - 40px);
  box-shadow: 6px 6px 0 var(--blue);
}
dialog::backdrop { background: #0009; backdrop-filter: blur(2px); }
dialog h2 { font-size: 28px; margin-top: 16px; }
dialog p { font-size: 13.5px; color: #555; margin: 16px 0 22px; }
.dialog-close {
  position: absolute; right: 12px; top: 12px;
  background: none; border: 0; padding: 6px; cursor: pointer;
}
.noscript-message { background: var(--yellow); padding: 18px; text-align: center; font-weight: 600; }

/* Responsive Adaptations */
@media (max-width: 1100px) {
  .brand { font-size: 18px; }
  .desktop-nav { gap: 18px; }
  .header .button { padding-inline: 10px; }
  .hero h1 { font-size: 50px; }
  .hero-description { font-size: 16px; }
  .analytics-grid, .faq-grid { gap: 40px; }
  .extension-grid { gap: 36px; }
  .category-tile { gap: 10px; padding: 12px 10px; }
  .ribbon-grid a { padding-inline: 16px; gap: 10px; }
}

@media (max-width: 800px) {
  .container { width: calc(100% - 32px); max-width: 100%; }
  .desktop-nav { display: none; }
  .header-extension { display: none !important; }
  .menu-toggle { display: block; }
  .header-actions { gap: 8px; }
  .header .login-button { display: none; }
  .header {
    border: 2.5px solid var(--black);
    padding: 8px 12px;
    min-height: 52px;
  }
  .header .try-button {
    padding: 6px 14px;
    font-size: 11.5px;
    min-height: 36px;
  }
  .masthead { padding: 10px 0; }
  .masthead.is-scrolled { padding: 6px 0; }
  .mobile-nav:not([hidden]) {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
  }
  .mobile-nav a {
    padding: 10px 4px;
    border-bottom: 1px solid #aaa45b;
    font-size: 14px;
  }
  .hero { padding: 32px 0 36px; }
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  .hero h1 { font-size: 40px; }
  .hero-description { font-size: 15px; max-width: 100%; min-height: auto; }
  .hero-art {
    position: relative;
    width: 92%;
    max-width: 380px;
    margin: 8px auto 0;
    right: auto;
    top: auto;
    justify-self: center;
    pointer-events: auto;
  }
  .search-form { max-width: 100%; }
  .desktop-break { display: none; }
  
  .ribbon-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 18px;
    padding: 0;
    overflow: visible;
  }
  .ribbon-grid a {
    flex: auto;
    border: 0;
    padding: 4px 6px;
    gap: 12px;
  }
  .ribbon-grid a:first-child { padding-left: 6px; }
  .ribbon-grid a:nth-child(odd) {
    border-right: 1px solid #333;
    padding-right: 14px;
  }
  .ribbon-grid a:nth-child(even) {
    border-right: 0;
    padding-left: 10px;
  }
  .ribbon-grid .icon { width: 30px; height: 30px; flex-shrink: 0; }
  .ribbon-grid strong { font-size: 16px; font-weight: 850; }
  .ribbon-grid small {
    font-size: 9px;
    margin-top: 3px;
    white-space: normal;
    line-height: 1.35;
    color: #aaa;
  }

  .section-heading { flex-direction: column; align-items: flex-start; gap: 16px; }
  .table-controls {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .table-controls .segmented { width: 100%; display: flex; }
  .table-controls .segmented button {
    flex: 1;
    padding: 8px 6px;
    font-size: 11.5px;
    text-align: center;
  }
  .hashtag-table { min-width: 580px; }

  .analytics-grid { grid-template-columns: 1fr; gap: 32px; }
  .chart-card {
    padding: 22px 18px 18px;
    box-shadow: 6px 6px 0 var(--blue);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  .chart-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
  }
  .chart-tabs { width: 100%; display: flex; }
  .chart-tabs button {
    flex: 1;
    padding: 7px 4px;
    font-size: 11px;
    text-align: center;
  }

  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .step { border-right: 1.5px solid #8d883c; padding: 0 20px 0 0; }
  .step:nth-child(2n) { border-right: 0; padding-right: 0; }

  .extension-grid { grid-template-columns: 1fr; gap: 32px; }
  .extension-mockup { max-width: 100%; overflow-x: auto; }
  .popup-window { width: 100%; max-width: 100%; }
  .popup-footer { flex-direction: column; align-items: stretch; gap: 10px; }
  .popup-footer .button { width: 100%; justify-content: center; }

  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .faq-grid { grid-template-columns: 1fr; gap: 24px; }

  .final-cta-container { flex-direction: column; align-items: flex-start; gap: 20px; }
  .final-cta-buttons { flex-direction: column; width: 100%; gap: 10px; }
  .final-cta .button { width: 100%; justify-content: center; }

  .footer-grid { flex-direction: column; align-items: flex-start; gap: 18px; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  .masthead { padding: 8px 0; }
  .masthead.is-scrolled { padding: 6px 0; }
  .header {
    border: 2px solid var(--black);
    min-height: 48px;
    padding: 6px 10px;
  }
  .brand { font-size: 16px; gap: 6px; }
  .brand-mark { width: 22px; height: 22px; font-size: 13px; }
  .header .try-button {
    padding: 5px 10px;
    font-size: 10.5px;
    min-height: 32px;
    border-width: 2px;
  }
  .menu-toggle { padding: 4px; }
  .menu-toggle .icon { width: 22px; height: 22px; }

  .hero { padding: 22px 0 28px; }
  .hero h1 { font-size: 32px; line-height: 1.05; }
  .hero-description { font-size: 14px; line-height: 1.45; }
  .hero-art { width: 96%; max-width: 320px; margin: 16px auto 0; }
  .hero-art-caption { font-size: 2.6cqw; padding: 1.5cqw 2.4cqw; }

  .category-ribbon { padding: 18px 0; }
  .ribbon-grid {
    gap: 14px 12px;
  }
  .ribbon-grid a {
    gap: 10px;
    padding: 2px 4px;
  }
  .ribbon-grid a:first-child { padding-left: 4px; }
  .ribbon-grid a:nth-child(odd) {
    border-right: 1px solid #333;
    padding-right: 12px;
  }
  .ribbon-grid a:nth-child(even) {
    border-right: 0;
    padding-left: 10px;
  }
  .ribbon-grid .icon { width: 26px; height: 26px; }
  .ribbon-grid strong { font-size: 14.5px; }
  .ribbon-grid small {
    font-size: 8px;
    letter-spacing: .02em;
    line-height: 1.3;
  }

  .analytics h2, .categories h2, .extension h2, .explore-heading h2 {
    font-size: 28px;
    line-height: 1.1;
  }
  .analytics { padding: 44px 0; }
  .categories { padding: 44px 0; }
  .extension { padding: 44px 0; }
  .final-cta { padding: 36px 0; }

  /* How it works - spacious and unconstrained */
  .how-it-works { padding: 58px 0 62px; }
  .how-it-works .container {
    width: calc(100% - 48px);
    max-width: 420px;
  }
  .how-it-works h2 {
    font-size: 32px;
    line-height: 1.1;
    margin-bottom: 24px;
  }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step {
    padding: 24px 2px 22px;
    border-right: 0;
    border-bottom: 1.5px solid #8d883c;
  }
  .step:first-child { padding-top: 4px; }
  .step:last-child { border-bottom: 0; padding-bottom: 0; }
  .step-heading {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 12px;
  }
  .step-number {
    font-size: 46px;
    line-height: 1;
    font-weight: 900;
  }
  .step-heading .icon, .step-chrome {
    width: 34px;
    height: 34px;
  }
  .step h3 {
    font-size: 18px;
    font-weight: 850;
    line-height: 1.25;
    margin-bottom: 8px;
  }
  .step p {
    font-size: 14.5px;
    line-height: 1.5;
    color: #1a1a1a;
  }
  .step-extension-link { font-size: 13.5px; }

  .category-grid { grid-template-columns: 1fr; gap: 10px; }
  .category-tile { padding: 14px 16px; }
  .category-tile h3 { font-size: 16px; }
  .category-tile > .icon { width: 30px; height: 30px; }
  .browse-categories-btn { width: 100%; justify-content: center; }

  .table-footer .button { width: 100%; min-width: auto; padding: 12px 18px; font-size: 14.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; animation: none !important; }
}

/* Phosphor Bold: consistent silhouettes and inline alignment. */
.icon.inline-arrow { display: inline-block; width: 1em; height: 1em; vertical-align: -.12em; }
.icon.sort-icon { display: inline-block; width: 12px; height: 12px; vertical-align: -.15em; }
.growth-cell > .icon { display: inline-block; width: 1em; height: 1em; vertical-align: -.12em; margin-right: 3px; }

/* Real hashtag names and metrics must not overlap on narrow screens. */
.hashtag-table { min-width: 1000px; }
.hashtag-table .tag-name { overflow: hidden; text-overflow: ellipsis; }
.table-meta { flex-wrap: wrap; gap: 10px; }
