body[data-page="home"] {
  color-scheme: dark;
  background:
    linear-gradient(126deg, rgba(11, 39, 52, 0.72) 0%, rgba(5, 18, 26, 0) 36%),
    linear-gradient(214deg, rgba(15, 84, 78, 0.22) 0%, rgba(5, 18, 26, 0) 34%),
    repeating-linear-gradient(90deg, rgba(125, 211, 252, 0.024) 0 1px, transparent 1px 112px),
    repeating-linear-gradient(180deg, rgba(125, 211, 252, 0.018) 0 1px, transparent 1px 112px),
    linear-gradient(180deg, #061822 0%, #07151d 48%, #040f15 100%);
  color: var(--text);
}

body[data-page="home"]::before {
  display: block;
}

body[data-page="home"] .home-wide-layout {
  position: relative;
  z-index: 1;
  width: min(2320px, calc(100vw - 20px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 180px;
  gap: 16px;
  align-items: start;
}

body[data-page="home"] .home-shell {
  width: 100%;
  margin: 0;
  padding: 24px 0 56px;
}

body[data-page="home"] .home-ad-rail {
  display: block;
  padding-top: 108px;
}

body[data-page="home"] .home-ad-rail--left {
  justify-self: end;
}

body[data-page="home"] .home-ad-rail--right {
  justify-self: start;
}

body[data-page="home"] .topbar {
  margin-bottom: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="home"] .brand {
  color: var(--text);
  font-size: 24px;
  font-weight: 800;
  text-shadow: 0 0 24px rgba(125, 211, 252, 0.18);
}

body[data-page="home"] .topnav {
  color: var(--muted);
}

body[data-page="home"] .hero-grid {
  align-items: start;
}

body[data-page="home"] .topnav a,
body[data-page="home"] .link-button {
  border-color: #86d9ad;
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  color: #064e3b;
  box-shadow: 0 6px 16px rgba(22, 101, 52, 0.12);
}

body[data-page="home"] h2,
body[data-page="home"] h3 {
  color: var(--text);
}

body[data-page="home"] .panel p,
body[data-page="home"] .muted,
body[data-page="home"] .note {
  color: var(--muted);
}

body[data-page="home"] .site-footer {
  border-top-color: var(--border);
  color: var(--text);
}

body[data-page="home"] .footer-links a {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

body[data-page="home"] .brand {
  font-size: 24px;
  letter-spacing: 0;
}

body[data-page="home"] .home-explain-hero {
  background: #ffffff;
  color: #111827;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
  padding: 24px;
}

body[data-page="home"] .home-explain-hero::before,
body[data-page="home"] .home-explain-hero::after {
  display: none;
}

body[data-page="home"] .home-explain-hero .pill {
  background: #e8f8ef;
  border-color: #92d7ad;
  color: #116b37;
}

body[data-page="home"] .home-explain-hero h1 {
  max-width: 900px;
  color: #111827;
  font-size: clamp(30px, 2.8vw, 44px);
}

body[data-page="home"] .home-explain-hero .lede {
  max-width: 980px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.64;
}

body[data-page="home"] .home-guide-grid,
body[data-page="home"] .home-price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

body[data-page="home"] .home-guide-card,
body[data-page="home"] .home-price-card,
body[data-page="home"] .home-hash-lookup {
  border: 1px solid #d9e2ec;
  background: #f8fafc;
  border-radius: 16px;
  padding: 12px;
}

body[data-page="home"] .home-guide-card strong,
body[data-page="home"] .home-price-card strong,
body[data-page="home"] .home-hash-lookup strong {
  display: block;
  margin-bottom: 6px;
  color: #0f172a;
  font-size: 14px;
}

body[data-page="home"] .home-guide-card p,
body[data-page="home"] .home-price-card p,
body[data-page="home"] .home-hash-lookup p {
  margin: 0;
  color: #4b5563;
  font-size: 12px;
  line-height: 1.52;
}

body[data-page="home"] .home-guide-card span,
body[data-page="home"] .home-price-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 8px;
  border-radius: 999px;
  background: #111827;
  color: #ffffff;
  font-weight: 800;
  font-size: 12px;
}

body[data-page="home"] .home-price-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-page="home"] .home-price-card {
  background: #fff7ed;
  border-color: #fed7aa;
}

body[data-page="home"] .home-price-card span {
  background: #c65f2a;
}

body[data-page="home"] .home-explain-hero .status-box {
  color: #374151;
  background: #f1f5f9;
  border-color: #d9e2ec;
  margin-top: 12px;
  padding: 12px;
  font-size: 13px;
  line-height: 1.55;
}

body[data-page="home"] .home-explain-hero .hero-meta-box {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-page="home"] .home-explain-hero .hero-meta-item,
body[data-page="home"] .home-explain-hero .hero-meta-item--secondary {
  color: #374151;
}

body[data-page="home"] .home-explain-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

body[data-page="home"] .home-seo-explain {
  margin-top: 18px;
  border: 1px solid #dbe5ef;
  background: linear-gradient(135deg, #f8fafc, #ffffff);
  border-radius: 18px;
  padding: 18px;
  color: #1f2937;
}

body[data-page="home"] .home-seo-explain strong {
  display: block;
  color: #0f172a;
  font-size: 18px;
  margin-bottom: 10px;
}

body[data-page="home"] .home-seo-explain p {
  margin: 0 0 10px;
  color: #374151;
  font-size: 14px;
  line-height: 1.72;
}

body[data-page="home"] .home-seo-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

body[data-page="home"] .home-seo-keywords span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid #d7e1ea;
  border-radius: 999px;
  padding: 5px 10px;
  background: #ffffff;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
}

body[data-page="home"] #home-health {
  display: none;
}

body[data-page="home"] .home-explain-hero .btn-secondary {
  background: #111827;
  border-color: #111827;
  color: #ffffff;
}

body[data-page="home"] .home-explain-hero .btn-ghost {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #111827;
}

body[data-page="home"] .home-hash-lookup {
  margin-top: 12px;
  border: 1px solid #d9e2ec;
  background: #f8fafc;
  border-radius: 16px;
  padding: 14px;
}

body[data-page="home"] .home-hash-lookup strong {
  display: block;
  color: #0f172a;
  font-size: 16px;
}

body[data-page="home"] .home-hash-lookup p {
  color: #4b5563;
  font-size: 13px;
}

body[data-page="home"] .hash-lookup-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 10px;
}

body[data-page="home"] .hash-lookup-form input {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #111827;
}

body[data-page="home"] .hash-lookup-status {
  margin-top: 10px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.6;
}

body[data-page="home"] .hash-lookup-link {
  display: inline-flex;
  margin-top: 8px;
  color: #0369a1;
  font-weight: 800;
}

body[data-page="home"] .home-right-seo-tools {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

body[data-page="home"] .home-right-hash-card {
  border: 1px solid rgba(91, 173, 196, 0.32);
  background: linear-gradient(145deg, rgba(9, 47, 64, 0.92), rgba(4, 18, 26, 0.94));
  border-radius: 16px;
  padding: 16px;
  color: var(--text);
}

body[data-page="home"] .home-right-hash-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 16px;
}

body[data-page="home"] .home-right-hash-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

body[data-page="home"] .home-right-hash-card .hash-lookup-form input {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(159, 206, 223, 0.28);
  color: var(--text);
}

body[data-page="home"] .home-right-hash-card .hash-lookup-form input::placeholder {
  color: rgba(202, 231, 240, 0.58);
}

body[data-page="home"] .home-right-hash-card .hash-lookup-status {
  color: var(--muted);
}

body[data-page="home"] .home-right-hash-card .hash-lookup-link {
  color: #8ee7ff;
}

body[data-page="home"] .home-right-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body[data-page="home"] .home-right-tool-card {
  min-height: 118px;
  padding: 14px;
  border: 1px solid #86d9ad;
  border-radius: 14px;
  background:
    linear-gradient(155deg, #ecfdf3, #c9f1d8);
}

body[data-page="home"] .home-right-tool-card h3 {
  margin: 0 0 8px;
  color: #064e3b;
  font-size: 15px;
  line-height: 1.32;
}

body[data-page="home"] .home-right-tool-card a {
  color: inherit;
  text-decoration: none;
}

body[data-page="home"] .home-right-tool-card a:hover {
  color: #047857;
}

body[data-page="home"] .home-right-tool-card p {
  margin: 0;
  color: #14532d;
  font-size: 12px;
  line-height: 1.5;
}

body[data-page="home"] .home-right-intro-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: min(100%, 370px);
  aspect-ratio: 1 / 1;
  min-height: 0;
  align-self: center;
  justify-content: center;
  margin-top: 2px;
  padding: 20px;
  border: 1px solid #86d9ad;
  background: linear-gradient(145deg, #f0fdf4, #dcfce7);
  color: #111827;
}

body[data-page="home"] .home-right-intro-card h2 {
  margin: 0 0 12px;
  color: #064e3b;
  font-size: 21px;
  line-height: 1.2;
}

body[data-page="home"] .home-right-intro-card p {
  margin: 0 0 11px;
  color: #111827;
  font-size: 12px;
  line-height: 1.52;
}

body[data-page="home"] .home-right-intro-card p:last-child {
  margin-bottom: 0;
}

body[data-page="home"] .home-right-intro-card a {
  color: #047857;
  font-weight: 700;
}

body[data-page="home"] .home-right-ad-fill {
  min-height: 122px;
  padding: 12px;
  border: 1px solid rgba(91, 173, 196, 0.28);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(8, 38, 52, 0.72), rgba(3, 15, 22, 0.86)),
    rgba(255, 255, 255, 0.018);
}

body[data-page="home"] .home-right-ad-fill-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

body[data-page="home"] .home-right-ad-fill-head strong {
  color: #f4fbff;
  font-size: 15px;
}

body[data-page="home"] .home-right-ad-fill-head span {
  max-width: 520px;
  color: #a9c9df;
  font-size: 12px;
  line-height: 1.45;
  text-align: right;
}

body[data-page="home"] .ad-slot-grid--inline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

body[data-page="home"] .ad-slot-grid--inline:empty {
  display: none;
}

body[data-page="home"] .ad-slot-grid--inline .ad-slot-card {
  min-height: 68px;
  padding: 6px 8px;
}

body[data-page="home"] .ad-slot-grid--inline .ad-slot-plus {
  font-size: 22px;
}

body[data-page="home"] .ad-slot-grid--inline .ad-slot-price {
  font-size: 10px;
}

body[data-page="home"] .ad-slot-strip {
  display: none !important;
}

body[data-page="home"] #home-ad-slot-note {
  display: none !important;
}

body[data-page="home"] .home-ad-rail .ad-slot-grid--rail {
  grid-template-columns: 1fr !important;
  grid-auto-flow: row !important;
  grid-auto-columns: auto !important;
  width: auto !important;
  direction: ltr !important;
}

body[data-page="home"] .home-ad-rail .ad-slot-card {
  direction: ltr !important;
}

body[data-page="home"] .ad-slot-grid--rail .ad-slot-card {
  min-height: 76px;
}

body[data-page="home"] .home-seo-strip {
  margin-top: 10px;
}

body[data-page="home"] .home-seo-strip .feature-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

body[data-page="home"] .home-seo-strip .feature-card {
  min-height: 92px;
}

body[data-page="home"] .home-seo-strip .feature-card h3 {
  color: #111827;
  font-size: 15px;
}

body[data-page="home"] .home-seo-strip .feature-card p {
  color: #111827;
  font-size: 12px;
  line-height: 1.48;
}

/* Keep the paid plans visually consistent: both use the same dark checkout
   button, while their recurring USDC prices remain easy to spot. */
body[data-page="home"] .subscription-plan-card strong {
  color: #f7c948;
  text-shadow: 0 0 18px rgba(247, 201, 72, 0.18);
}

body[data-page="home"] .subscription-plan-card .btn:not(:disabled) {
  border-color: rgba(176, 220, 255, 0.12);
  background: #111827;
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
}

body[data-page="home"] .subscription-plan-card .btn:not(:disabled):hover,
body[data-page="home"] .subscription-plan-card .btn:not(:disabled):focus-visible {
  border-color: rgba(247, 201, 72, 0.62);
  background: #1b263b;
  color: #ffffff;
}

@media (max-width: 1280px) {
  body[data-page="home"] .home-guide-grid,
  body[data-page="home"] .home-price-grid,
  body[data-page="home"] .home-seo-strip .feature-grid,
  body[data-page="home"] .home-right-tool-grid,
  body[data-page="home"] .ad-slot-grid--inline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  body[data-page="home"] .home-wide-layout {
    width: min(100vw - 20px, 980px);
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-page="home"] .home-ad-rail {
    display: none !important;
  }

  body[data-page="home"] .home-shell {
    padding-top: 18px;
  }
}

@media (max-width: 700px) {
  body[data-page="home"] .home-guide-grid,
  body[data-page="home"] .home-price-grid,
  body[data-page="home"] .home-explain-hero .hero-meta-box,
  body[data-page="home"] .home-seo-strip .feature-grid,
  body[data-page="home"] .home-right-tool-grid,
  body[data-page="home"] .ad-slot-grid--inline {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .home-right-ad-fill-head {
    display: grid;
  }

  body[data-page="home"] .home-right-intro-card {
    width: min(100%, 370px);
    aspect-ratio: auto;
  }

  body[data-page="home"] .home-right-ad-fill-head span {
    max-width: none;
    text-align: left;
  }

  body[data-page="home"] .hash-lookup-form {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .ad-slot-strip {
    display: none;
  }
}
