:root {
  --bg: #f5f7f2;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-strong: #0f1720;
  --text: #111827;
  --muted: #5f6b7a;
  --line: rgba(17, 24, 39, 0.09);
  --accent: #9dfb67;
  --accent-deep: #67d44c;
  --accent-ink: #0d1b12;
  --shadow: 0 24px 50px rgba(15, 23, 32, 0.10);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(157, 251, 103, 0.24), transparent 26%),
    radial-gradient(circle at top right, rgba(15, 23, 32, 0.06), transparent 24%),
    linear-gradient(180deg, #f7faf4 0%, #edf2ea 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 80%);
}

.page-shell {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.hero,
.intro,
.quick-answer,
.tool-card,
.cta,
.overview,
.comparison,
.feature-section,
.methodology,
.trust-section,
.faq,
.site-footer {
  position: relative;
  background: var(--panel);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero {
  padding: 44px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(157, 251, 103, 0.16), transparent 24%),
    linear-gradient(135deg, #0d141d 0%, #131c27 100%);
  border-color: rgba(157, 251, 103, 0.12);
  color: #eef4ec;
}

.hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 251, 103, 0.28), transparent 70%);
}

.eyebrow {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(157, 251, 103, 0.1);
  color: #dfffd1;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
p,
ul {
  margin-top: 0;
}

h1 {
  margin: 18px 0 14px;
  max-width: 12ch;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.hero-copy,
.intro p,
.tool-summary,
.cta p,
.tool-points {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 26px;
  color: rgba(238, 244, 236, 0.76);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-link,
.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
  transition:
    transform 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease;
}

.hero-link {
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
}

.hero-link-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #eef4ec;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-link:hover,
.card-link:hover {
  transform: translateY(-1px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-meta span {
  display: inline-flex;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(238, 244, 236, 0.76);
  font-size: 0.92rem;
}

.intro {
  margin-top: 18px;
  padding: 24px 26px;
  border-radius: var(--radius-lg);
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.quick-links a {
  display: inline-flex;
  padding: 11px 14px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.06);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.overview,
.quick-answer,
.comparison,
.feature-section,
.methodology,
.trust-section,
.faq,
.cta,
.site-footer {
  margin-top: 24px;
  padding: 30px 28px;
  border-radius: var(--radius-lg);
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading h2 {
  margin-bottom: 10px;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  letter-spacing: -0.05em;
}

.section-heading p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.7;
}

.section-kicker,
.tool-kicker {
  margin-bottom: 10px;
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.overview-grid,
.quick-answer-grid,
.feature-grid,
.method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.overview-item,
.answer-card,
.feature-card,
.method-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.52);
}

.overview-item,
.answer-card,
.feature-card,
.method-card {
  padding: 20px;
}

.overview-item h3,
.answer-card h3,
.feature-card h3,
.method-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.overview-item p,
.answer-card p,
.feature-card p,
.method-card p,
.site-footer p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.featured-overview {
  grid-column: span 2;
  background:
    radial-gradient(circle at top right, rgba(157, 251, 103, 0.1), transparent 24%),
    linear-gradient(135deg, rgba(17, 24, 39, 0.95), rgba(20, 29, 40, 0.92));
  border-color: rgba(157, 251, 103, 0.16);
}

.featured-overview h3,
.featured-overview p,
.featured-overview .mini-note {
  color: #eef4ec;
}

.mini-rank {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.08);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
}

.featured-overview .mini-rank {
  background: rgba(157, 251, 103, 0.14);
  color: #dfffd1;
}

.mini-note {
  margin-top: 12px;
}

.proof-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.quick-answer-grid {
  grid-template-columns: 1.3fr 1fr 1fr;
}

.answer-card-featured {
  background:
    radial-gradient(circle at top right, rgba(157, 251, 103, 0.1), transparent 24%),
    linear-gradient(135deg, rgba(17, 24, 39, 0.95), rgba(20, 29, 40, 0.92));
  border-color: rgba(157, 251, 103, 0.16);
}

.answer-card-featured h3,
.answer-card-featured p,
.answer-card-featured .mini-note {
  color: #eef4ec;
}

.answer-card-featured .mini-rank {
  background: rgba(157, 251, 103, 0.14);
  color: #dfffd1;
}

.comparison-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.68);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  background: rgba(17, 24, 39, 0.04);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.comparison-table td {
  color: var(--text);
  line-height: 1.6;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.source-list {
  display: grid;
  gap: 12px;
}

.source-link {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.56);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  line-height: 1.5;
}

.source-link:hover {
  background: rgba(157, 251, 103, 0.10);
}

.ranking {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.tool-card {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius-lg);
}

.tool-card.featured {
  background:
    radial-gradient(circle at top right, rgba(157, 251, 103, 0.12), transparent 26%),
    linear-gradient(135deg, #111a24, #16202b);
  border-color: rgba(157, 251, 103, 0.16);
  color: #eef4ec;
}

.tool-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  width: 64px;
  border-radius: 20px;
  background: #dfe6dd;
  color: #111827;
  font-weight: 800;
  font-size: 1.15rem;
}

.featured .tool-rank {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: var(--accent-ink);
}

.tool-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.tool-header h2,
.cta h2 {
  margin-bottom: 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -0.04em;
}

.featured .tool-header h2,
.featured .tool-kicker,
.featured .tool-summary,
.featured .tool-points,
.featured .addon-callout {
  color: rgba(238, 244, 236, 0.86);
}

.badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(157, 251, 103, 0.14);
  color: #d9ffcb;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tool-points {
  padding-left: 18px;
  margin-bottom: 20px;
}

.addon-callout {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(157, 251, 103, 0.08);
  color: rgba(238, 244, 236, 0.9);
  line-height: 1.6;
}

.card-link {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.08);
  color: var(--text);
}

.featured .card-link {
  background: rgba(157, 251, 103, 0.12);
  color: #ecffe4;
}

.tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-card .tool-kicker,
.detail-card .tool-summary,
.detail-card .tool-points {
  color: var(--muted);
}

.faq-grid {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1040px);
    padding-top: 14px;
  }

  .hero,
  .tool-card,
  .overview,
  .quick-answer,
  .comparison,
  .feature-section,
  .methodology,
  .trust-section,
  .faq,
  .cta,
  .site-footer {
    padding: 20px;
  }

  .intro {
    padding: 20px;
  }

  .overview-grid,
  .quick-answer-grid,
  .feature-grid,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .featured-overview {
    grid-column: span 1;
  }

  .tool-card {
    grid-template-columns: 1fr;
  }

  .tool-rank {
    width: 58px;
    height: 58px;
  }
}
