:root {
  --gray-1: #5f666e;
  --gray-2: #60676f;
  --gray-3: #52575d;
  --gray-4: #616870;
  --gray-5: #53585e;
  --green: #9cc043;
  --green-dark: #4c8051;
  --green-light: #a5d55a;
  --green-soft: #eaf4d8;
  --orange: #fbb03b;
  --orange-dark: #f26522;
  --black: #000000;
  --white: #ffffff;
  --ink: #000000;
  --muted: var(--gray-2);
  --line: rgba(95, 102, 110, 0.22);
  --paper: #ffffff;
  --wash: #f7f9f4;
  --surface: #ffffff;
  --shadow: 0 18px 50px rgba(83, 88, 94, 0.14);
  --radius: 8px;
  --header-height: 76px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--wash);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-height);
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(253, 254, 251, 0.94);
  border-bottom: 1px solid rgba(76, 128, 81, 0.18);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.nav-links a,
.header-cta {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--green-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.newsletter-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(76, 128, 81, 0.24);
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--green-soft);
  font-size: 0.88rem;
  font-weight: 850;
  text-decoration: none;
}

.header-cta,
.button,
.stack-form button,
.tool-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.header-cta:hover,
.button:hover,
.stack-form button:hover,
.tool-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(32, 37, 42, 0.16);
}

.button.primary {
  background: var(--green-dark);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(32, 37, 42, 0.18);
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: clamp(16px, 2.4vw, 28px);
  min-height: auto;
  padding: clamp(20px, 3.4vw, 40px) clamp(18px, 5vw, 72px) clamp(26px, 4vw, 44px);
  background:
    linear-gradient(110deg, rgba(156, 192, 67, 0.16), transparent 42%),
    radial-gradient(circle at 86% 20%, rgba(251, 176, 59, 0.16), transparent 32%),
    var(--paper);
  overflow: hidden;
}

.hero-copy {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.hero h1 {
  margin: 0 0 6px;
  font-size: clamp(2.7rem, 5.2vw, 5.3rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 760px;
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(1.08rem, 2vw, 1.55rem);
  font-weight: 850;
  line-height: 1.16;
}

.hero-copy p:not(.hero-lede) {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.8vw, 1.24rem);
  line-height: 1.62;
}

.hero-quick-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(88px, 1fr));
  gap: 8px;
  min-width: min(100%, 340px);
}

.hero-quick-stats a {
  display: grid;
  gap: 2px;
  min-height: 58px;
  padding: 9px 12px;
  border: 1px solid rgba(76, 128, 81, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  text-decoration: none;
}

.hero-quick-stats strong {
  color: var(--green-dark);
  font-size: 1.36rem;
  line-height: 1;
}

.hero-quick-stats span {
  color: var(--gray-3);
  font-size: 0.78rem;
  font-weight: 850;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.instant-panel {
  display: grid;
  grid-template-columns: minmax(420px, 1.15fr) minmax(285px, 0.72fr) minmax(255px, 0.56fr);
  gap: 16px;
  align-items: stretch;
}

.daily-tool,
.newsletter-card,
.hero-toplist {
  border: 1px solid rgba(76, 128, 81, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.newsletter-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(251, 176, 59, 0.18), transparent 42%),
    rgba(255, 255, 255, 0.94);
}

.newsletter-badge {
  width: max-content;
  max-width: 100%;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.newsletter-card h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  line-height: 1;
}

.newsletter-card p {
  margin: 0;
  color: var(--gray-3);
  font-weight: 700;
  line-height: 1.42;
}

.newsletter-points {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.newsletter-points span {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(156, 192, 67, 0.18);
  color: var(--green-dark);
  font-size: 0.76rem;
  font-weight: 900;
}

.beehiiv-form-slot {
  min-height: 138px;
  margin-top: 2px;
  overflow: hidden;
}

.beehiiv-form-slot iframe {
  width: 100% !important;
  max-width: 100% !important;
}

.daily-tool {
  display: grid;
  grid-template-rows: auto auto 1fr;
}

.daily-preview .preview {
  min-height: 230px;
}

.daily-copy {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.daily-heading {
  padding-bottom: 16px;
}

.daily-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
}

.daily-award {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  max-width: 100%;
  min-height: 38px;
  padding: 6px 12px 6px 7px;
  border: 1px solid rgba(242, 101, 34, 0.34);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(251, 176, 59, 0.18), rgba(156, 192, 67, 0.18));
  color: var(--orange-dark);
  font-size: clamp(0.88rem, 1.4vw, 1.05rem);
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(242, 101, 34, 0.12);
}

.daily-award span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 0.68rem;
  letter-spacing: 0;
}

.eyebrow {
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.daily-date {
  color: var(--gray-3);
  font-size: 1.2rem;
  font-weight: 900;
}

.daily-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1;
}

.daily-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.48;
}

.daily-copy .tool-action {
  width: max-content;
  margin-top: 2px;
}

.daily-mini-list {
  display: none;
}

.hero-toplist {
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 18px;
}

.hero-rank-list {
  display: grid;
  gap: 7px;
  margin: 12px 0 14px;
}

.hero-rank-row {
  display: grid;
  grid-template-columns: 24px 30px 1fr 38px;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  border: 1px solid rgba(95, 102, 110, 0.14);
  border-radius: 7px;
  padding: 0 8px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.hero-rank-row:hover {
  border-color: rgba(76, 128, 81, 0.35);
  background: var(--green-soft);
}

.hero-rank-row .rank-number {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 950;
}

.tool-logo {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(76, 128, 81, 0.14);
  border-radius: 7px;
  background: var(--wash);
  overflow: hidden;
}

.tool-logo img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.tool-logo i {
  display: none;
  color: var(--green-dark);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 950;
}

.tool-logo.logo-missing i {
  display: grid;
  place-items: center;
}

.hero-rank-label {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.hero-rank-row strong,
.hero-rank-row small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}

.hero-rank-row small {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 850;
}

.hero-rank-row em {
  font-style: normal;
  color: var(--green-dark);
  font-weight: 950;
}

.hero-panel {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(76, 128, 81, 0.22);
  border-radius: var(--radius);
  background: rgba(253, 254, 251, 0.86);
  box-shadow: var(--shadow);
}

.panel-topline,
.hero-metrics {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-topline span,
.panel-topline strong {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.radar-orbit {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  margin: 24px auto;
  max-width: 360px;
  border: 1px solid rgba(76, 128, 81, 0.18);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 49.6%, rgba(76, 128, 81, 0.13) 50%, transparent 50.4%),
    linear-gradient(0deg, transparent 49.6%, rgba(76, 128, 81, 0.13) 50%, transparent 50.4%),
    radial-gradient(circle, rgba(156, 192, 67, 0.16), transparent 66%);
}

.orbit-center {
  display: grid;
  place-items: center;
  width: 154px;
  height: 154px;
  border: 1px solid rgba(242, 101, 34, 0.3);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 16px 40px rgba(76, 128, 81, 0.16);
}

.orbit-center strong {
  font-size: 3.1rem;
  line-height: 1;
}

.orbit-center span,
.hero-metrics span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 750;
}

.orbit-dot {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 8px rgba(251, 176, 59, 0.15);
  animation: pulse 2.6s ease-in-out infinite;
}

.dot-one {
  top: 16%;
  right: 22%;
}

.dot-two {
  bottom: 18%;
  left: 20%;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(156, 192, 67, 0.18);
  animation-delay: 420ms;
}

.dot-three {
  bottom: 32%;
  right: 8%;
  background: var(--orange-dark);
  animation-delay: 780ms;
}

.hero-metrics {
  border-top: 1px solid rgba(76, 128, 81, 0.16);
  padding-top: 18px;
}

.hero-metrics div {
  display: grid;
  gap: 3px;
}

.hero-metrics strong {
  font-size: 1.24rem;
}

.source-footnote {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
  padding: 16px clamp(18px, 5vw, 72px) 28px;
  background: var(--paper);
  color: var(--muted);
  border-top: 1px solid rgba(76, 128, 81, 0.12);
  font-size: 0.78rem;
  font-weight: 800;
}

.source-footnote span {
  color: var(--gray-3);
}

.source-footnote a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(95, 102, 110, 0.25);
}

.section {
  padding: clamp(52px, 8vw, 92px) clamp(18px, 5vw, 72px);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.65fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  background: var(--wash);
}

.intro-grid h2,
.section-heading h2,
.tool-workspace h2,
.update-system h2,
.lead-magnet h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4.2vw, 4.1rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.intro-grid p,
.section-heading p,
.workspace-header p,
.update-system p,
.lead-magnet p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.score-explainer {
  margin-top: 8px;
  color: var(--green-dark);
  font-size: 0.92rem;
  font-weight: 800;
}

.score-model {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px rgba(32, 37, 42, 0.07);
}

.score-model h3 {
  margin: 0 0 16px;
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--green-dark);
}

.score-model ul {
  display: grid;
  gap: 11px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.score-model li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(76, 128, 81, 0.14);
}

.tool-workspace {
  background: var(--paper);
}

.workspace-header,
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.workspace-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.workspace-stats span {
  padding: 10px 12px;
  border: 1px solid rgba(76, 128, 81, 0.16);
  border-radius: 999px;
  background: var(--wash);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.workspace-stats strong {
  color: var(--ink);
}

.controls {
  margin-bottom: 28px;
}

.category-filter-bar {
  display: block;
}

.controls label,
.stack-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.controls input,
.controls select,
.stack-form input,
.stack-form select,
.stack-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.95rem;
  text-transform: none;
  outline: none;
}

.stack-form textarea {
  min-height: 112px;
  padding: 12px;
  line-height: 1.45;
  resize: vertical;
}

.controls input:focus,
.controls select:focus,
.stack-form input:focus,
.stack-form select:focus,
.stack-form textarea:focus {
  border-color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(156, 192, 67, 0.22);
}

.switches {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.switches label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: none;
  cursor: pointer;
  user-select: none;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.switches label:hover {
  border-color: rgba(76, 128, 81, 0.38);
  color: var(--ink);
  transform: translateY(-1px);
}

.switches label:has(input:checked) {
  border-color: var(--green-dark);
  background: var(--green-soft);
  color: var(--green-dark);
}

.switches input {
  width: 15px;
  height: 15px;
  accent-color: var(--green-dark);
}

.workspace-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.category-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
  gap: 7px;
}

.category-button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(76, 128, 81, 0.16);
  border-radius: 999px;
  padding: 0 11px;
  background: var(--surface);
  color: var(--muted);
  text-align: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(32, 37, 42, 0.04);
}

.category-button:hover,
.category-button.active {
  border-color: rgba(76, 128, 81, 0.34);
  background: var(--green-soft);
  color: var(--ink);
}

.category-button span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1;
}

.category-button strong {
  align-self: center;
  color: var(--green-dark);
  line-height: 1;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tool-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.tool-card:hover {
  transform: translateY(-3px);
  border-color: rgba(76, 128, 81, 0.34);
  box-shadow: 0 16px 34px rgba(32, 37, 42, 0.1);
}

.tool-card:focus-visible {
  outline: 3px solid rgba(156, 192, 67, 0.42);
  outline-offset: 3px;
}

.preview {
  position: relative;
  min-height: 132px;
  padding: 13px;
  background:
    linear-gradient(135deg, var(--preview-a), var(--preview-b)),
    var(--green-soft);
}

.screenshot-preview {
  display: block;
  position: relative;
  min-height: 172px;
  padding: 0;
  background: #fff;
  border: 1px solid rgba(76, 128, 81, 0.2);
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.tool-card .screenshot-preview {
  min-height: 0;
  aspect-ratio: 16 / 7;
  margin: 0 16px;
  border-radius: 8px;
}

.screenshot-preview img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: contain;
  object-position: top center;
  filter: saturate(0.96);
}

.tool-card .screenshot-preview img {
  object-fit: cover;
  object-position: top center;
}

.daily-preview .screenshot-preview {
  min-height: 260px;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
}

.browser-frame {
  height: 100%;
  min-height: 106px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.78);
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(32, 37, 42, 0.1);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 9px;
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(32, 37, 42, 0.08);
}

.browser-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(32, 37, 42, 0.23);
}

.preview-body {
  display: grid;
  grid-template-columns: 1fr 44px;
  gap: 10px;
  padding: 12px;
}

.preview-lines {
  display: grid;
  gap: 7px;
}

.preview-lines span {
  height: 8px;
  border-radius: 999px;
  background: rgba(32, 37, 42, 0.12);
}

.preview-lines span:nth-child(1) {
  width: 82%;
}

.preview-lines span:nth-child(2) {
  width: 56%;
}

.preview-lines span:nth-child(3) {
  width: 70%;
}

.preview-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 7px;
  background: rgba(76, 128, 81, 0.14);
  color: var(--green-dark);
  font-size: 1.35rem;
  font-weight: 900;
}

.tool-body {
  padding: 17px;
}

.tool-card-header {
  padding-bottom: 13px;
}

.tool-meta {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.tool-meta .tool-logo {
  width: 34px;
  height: 34px;
  background: #fff;
}

.tool-meta .tool-logo img {
  width: 24px;
  height: 24px;
}

.tool-meta .tool-logo i {
  font-size: 0.72rem;
}

.category-label {
  min-width: 0;
  color: var(--green-dark);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.score {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 2px solid var(--green);
  border-radius: 50%;
  background: #fff;
  font-weight: 900;
}

.score-with-label {
  grid-template-rows: auto auto;
  align-content: center;
  gap: 0;
  line-height: 1;
}

.score-with-label strong {
  font-size: 0.95rem;
}

.score-with-label small {
  color: var(--green-dark);
  font-size: 0.56rem;
  font-weight: 950;
  text-transform: uppercase;
}

.tool-card h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  line-height: 1.15;
}

.tool-card-header h3 {
  margin-bottom: 0;
}

.tool-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.48;
}

.tool-card .tool-body > p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.decision-snippets {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.decision-snippet {
  padding: 10px 11px;
  border: 1px solid rgba(76, 128, 81, 0.18);
  border-radius: 8px;
  background: #f7fbef;
}

.decision-snippet span {
  display: block;
  margin-bottom: 4px;
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.decision-snippet p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--gray-3);
  font-size: 0.84rem;
  line-height: 1.38;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.decision-snippet.warning {
  border-color: rgba(251, 176, 59, 0.35);
  background: #fff8e9;
}

.decision-snippet.warning span {
  color: #9c4c16;
}

.feature-list {
  display: grid;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 17px;
  color: var(--gray-3);
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.35;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.feature-list-drawer {
  margin-top: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-list-drawer li {
  min-height: 38px;
  padding: 9px 10px 9px 24px;
  border: 1px solid rgba(76, 128, 81, 0.16);
  border-radius: 8px;
  background: var(--surface);
}

.feature-list-drawer li::before {
  left: 10px;
  top: 17px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 13px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.badge.orange {
  background: #fff0d6;
  color: #9c4c16;
}

.badge.mango-pick {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  box-shadow: 0 8px 18px rgba(242, 101, 34, 0.18);
}

.tool-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 17px 17px;
  border-top: 1px solid rgba(76, 128, 81, 0.12);
}

.tool-footer span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.tool-action {
  min-height: 36px;
  padding: 0 12px;
  background: var(--green-dark);
  font-size: 0.82rem;
}

.cm-tip {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(242, 101, 34, 0.28);
  border-radius: var(--radius);
  background: #fff7e7;
}

.cm-tip strong {
  color: #9c4c16;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.cm-tip p {
  margin: 0;
  color: var(--gray-3);
  line-height: 1.45;
}

.cm-tip-compact {
  padding: 12px;
}

.cm-tip-compact p {
  font-size: 0.9rem;
}

.rankings {
  background: var(--wash);
}

.ranking-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 20px;
}

.ranking-tab {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  background: var(--paper);
  color: var(--muted);
  font-weight: 850;
  cursor: pointer;
}

.ranking-tab.active {
  background: var(--green-dark);
  color: #fff;
  border-color: var(--green-dark);
}

.ranking-list {
  display: grid;
  gap: 10px;
}

.ranking-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.ranking-row .rank {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 950;
}

.ranking-row h3 {
  margin: 0 0 4px;
  font-size: 1.03rem;
}

.ranking-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.comparison {
  background: var(--paper);
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.comparison-card {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.comparison-card h3 {
  margin: 0;
  font-size: 1.35rem;
}

.comparison-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.comparison-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.comparison-tools span {
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.update-system,
.lead-magnet {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 0.65fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

.update-system {
  background: var(--green-dark);
  color: #fff;
}

.update-system p {
  color: rgba(255, 255, 255, 0.78);
}

.update-steps {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: steps;
}

.update-steps li {
  display: grid;
  gap: 6px;
  position: relative;
  padding: 18px 18px 18px 54px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.update-steps li::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 16px;
  top: 17px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  font-weight: 950;
}

.update-steps span {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.5;
}

.lead-magnet {
  background:
    linear-gradient(100deg, rgba(251, 176, 59, 0.16), transparent 54%),
    var(--paper);
}

.stack-form {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.stack-form button {
  width: 100%;
  background: var(--orange-dark);
}

.form-message {
  min-height: 22px;
  margin: 0;
  color: var(--green-dark);
  font-size: 0.9rem;
  font-weight: 850;
}

.form-newsletter {
  color: var(--green-dark);
  font-size: 0.9rem;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(280px, 1fr);
  gap: 28px;
  padding: 34px clamp(18px, 5vw, 72px);
  background: var(--black);
  color: #fff;
}

.site-footer div {
  display: grid;
  gap: 8px;
  max-width: 480px;
}

.site-footer img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.site-footer strong {
  font-size: 1.2rem;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.5;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: start;
  justify-content: flex-end;
}

.site-footer a {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.site-footer a:last-child {
  background: var(--green);
  border-color: var(--green);
  color: var(--black);
}

.site-footer .footer-suggest-button {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}

.drawer.open {
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vw, 34px);
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(32, 37, 42, 0.45);
}

.drawer-panel {
  position: relative;
  width: min(1040px, calc(100vw - 28px));
  max-height: min(92svh, 980px);
  overflow: auto;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 32px 90px rgba(32, 37, 42, 0.26);
}

.drawer-close {
  position: sticky;
  top: 0;
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 2;
}

.drawer-title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 0.98;
}

.drawer-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.drawer-summary {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

#drawerContent > .screenshot-preview {
  min-height: 0;
  max-height: 360px;
  aspect-ratio: 16 / 7;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

#drawerContent > .screenshot-preview img {
  min-height: 0;
  object-fit: cover;
  object-position: center 38%;
}

.drawer-decision {
  display: grid;
  gap: 14px;
  margin: 18px 0;
}

.decision-hero {
  padding: 18px;
  border: 1px solid rgba(76, 128, 81, 0.22);
  border-radius: var(--radius);
  background: #f7fbef;
}

.decision-hero strong,
.drawer-decision-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.decision-hero p,
.drawer-decision-card p {
  margin: 0;
  color: var(--ink);
  line-height: 1.5;
}

.output-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--ink);
  line-height: 1.45;
}

.output-list li::marker {
  color: var(--orange);
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.drawer-decision-card {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.drawer-decision-card.warning {
  border-color: rgba(251, 176, 59, 0.38);
  background: #fff8e9;
}

.drawer-decision-card.positive {
  border-color: rgba(76, 128, 81, 0.24);
  background: #f7fbef;
}

.drawer-decision-card.warning span {
  color: #9c4c16;
}

.drawer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.drawer-fact,
.score-breakdown,
.drawer-tip,
.drawer-testimonial {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.drawer-fact span,
.score-breakdown span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.drawer-fact strong {
  display: block;
  margin-top: 5px;
}

.score-breakdown {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.score-breakdown > strong {
  display: flex;
  align-items: center;
  gap: 8px;
}

.score-help {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 950;
  cursor: help;
}

.score-help::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 4;
  width: min(340px, 76vw);
  padding: 12px;
  border: 1px solid rgba(76, 128, 81, 0.24);
  border-radius: 8px;
  background: var(--paper);
  color: var(--gray-3);
  box-shadow: var(--shadow);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.4;
  text-transform: none;
  transform: translateX(-50%) translateY(4px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 140ms ease,
    transform 140ms ease;
}

.score-help:hover::after,
.score-help:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.breakdown-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.34fr) 68px minmax(240px, 1fr);
  gap: 12px;
  align-items: center;
}

.score-squares {
  display: grid;
  grid-template-columns: repeat(10, minmax(14px, 1fr));
  gap: 6px;
  align-items: center;
}

.score-square {
  position: relative;
  display: block;
  height: 18px;
  border: 1px solid rgba(76, 128, 81, 0.2);
  border-radius: 5px;
  background: rgba(76, 128, 81, 0.08);
  overflow: hidden;
}

.score-square.filled {
  border-color: color-mix(in srgb, var(--score-color), #000 10%);
  background: var(--score-color);
}

.score-square.half {
  border-color: color-mix(in srgb, var(--score-color), #000 10%);
  background: rgba(76, 128, 81, 0.08);
}

.score-square.half::before {
  content: "";
  position: absolute;
  inset: 0 50% 0 0;
  background: var(--score-color);
}

.drawer-tip {
  margin-top: 18px;
  border-color: rgba(251, 176, 59, 0.34);
  background: #fff8e9;
}

.alternatives-early {
  border-color: rgba(76, 128, 81, 0.22);
  background: #f7fbef;
}

.drawer-testimonial {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  border-color: rgba(76, 128, 81, 0.22);
  background: #f7fbef;
}

.drawer-testimonial blockquote {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5;
}

.drawer-testimonial p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.drawer-testimonial a {
  color: var(--green);
}

.drawer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.drawer-actions a {
  text-decoration: none;
}

.drawer-actions .tool-link-button {
  width: 100%;
  min-height: 54px;
  font-size: 1rem;
  box-shadow: 0 14px 34px rgba(76, 128, 81, 0.2);
}

.drawer-category-cta {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding: 20px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(156, 192, 67, 0.18), rgba(251, 176, 59, 0.16)),
    var(--paper);
  border: 1px solid rgba(76, 128, 81, 0.24);
}

.drawer-category-cta strong {
  font-size: 1.15rem;
}

.drawer-category-cta p {
  margin: 0;
  color: var(--gray-3);
  line-height: 1.5;
}

.drawer-category-cta .button {
  width: max-content;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--wash);
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.18);
  }
}

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

@media (max-width: 1120px) {
  .instant-panel {
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.82fr);
  }

  .hero-toplist {
    grid-column: 1 / -1;
  }

  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .brand {
    min-width: auto;
  }

  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-copy {
    align-items: start;
    flex-direction: column;
  }

  .hero,
  .instant-panel,
  .intro-grid,
  .update-system,
  .lead-magnet,
  .workspace-layout,
  .comparison-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-quick-stats {
    width: 100%;
  }

  .hero-toplist {
    display: none;
  }

  .category-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
  }

  .header-cta {
    width: 100%;
  }

  .header-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .newsletter-link {
    width: 100%;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero {
    padding-top: 28px;
  }

  .hero h1 {
    font-size: clamp(2.28rem, 11vw, 3.4rem);
  }

  .hero-lede {
    font-size: 1.08rem;
  }

  .hero-copy p:not(.hero-lede) {
    display: none;
  }

  .hero-quick-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-quick-stats a {
    min-height: 52px;
    padding: 8px;
  }

  .newsletter-card {
    padding: 18px;
  }

  .daily-tool {
    grid-template-rows: auto auto;
  }

  .daily-copy {
    order: -1;
    padding: 16px;
  }

  .daily-preview .preview {
    display: none;
  }

  .daily-copy p {
    display: none;
  }

  .daily-copy h2 {
    font-size: 1.75rem;
  }

  .daily-copy .badges {
    margin-top: 0;
    order: 5;
  }

  .daily-copy .tool-action {
    min-height: 38px;
    order: 6;
  }

  .daily-copy .cm-tip-compact {
    display: none;
  }

  .daily-mini-list {
    display: none;
  }

  .daily-mini-list button {
    display: grid;
    grid-template-columns: 22px 28px 1fr 34px;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 0 8px;
    background: var(--wash);
    color: var(--ink);
    cursor: pointer;
  }

  .daily-mini-list span {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green-dark);
    font-size: 0.74rem;
    font-weight: 950;
  }

  .daily-mini-list .tool-logo {
    width: 28px;
    height: 28px;
  }

  .daily-mini-list .tool-logo img {
    width: 20px;
    height: 20px;
  }

  .daily-mini-list strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
  }

  .daily-mini-list em {
    color: var(--green-dark);
    font-style: normal;
    font-weight: 950;
  }

  .hero-toplist {
    padding: 14px;
  }

  .hero-rank-list {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .hero-rank-row {
    min-height: 36px;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .controls,
  .tool-grid,
  .drawer-grid,
  .decision-grid {
    grid-template-columns: 1fr;
  }

  .drawer-category-cta .button {
    width: 100%;
  }

  .breakdown-row {
    grid-template-columns: 1fr auto;
  }

  .score-squares {
    grid-column: 1 / -1;
    grid-template-columns: repeat(10, minmax(10px, 1fr));
    gap: 4px;
  }

  .score-square {
    height: 15px;
  }

  #drawerContent > .screenshot-preview {
    max-height: 240px;
    aspect-ratio: 16 / 8;
  }

  .category-buttons {
    grid-template-columns: 1fr;
  }

  .workspace-header,
  .section-heading {
    display: grid;
    align-items: start;
    grid-template-columns: 1fr;
  }

  .ranking-row {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .ranking-row {
    display: grid;
  }
}
