:root {
  color-scheme: light;
  --ink: #141b24;
  --muted: #5f6b7a;
  --line: #e2e8ef;
  --paper: #f8faf9;
  --white: #ffffff;
  --green: #178a57;
  --green-dark: #0c5f3b;
  --blue: #245fbb;
  --gold: #b7862b;
  --mint: #edf8f2;
  --sky: #eef5fb;
  --charcoal: #17222e;
  --shadow: 0 22px 70px rgba(24, 33, 44, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
}

.brand img,
.footer-brand img {
  border-radius: 8px;
}

.site-header nav,
footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.site-header nav a,
footer nav a {
  text-decoration: none;
}

.site-header nav a:hover,
footer nav a:hover {
  color: var(--green-dark);
}

.hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  align-items: end;
  padding: clamp(88px, 10vw, 150px) clamp(20px, 5vw, 70px) clamp(56px, 7vw, 86px);
  overflow: hidden;
  background: #10261f;
}

.trust-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.82fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  min-height: 72vh;
  padding: clamp(76px, 8vw, 118px) clamp(20px, 5vw, 70px) clamp(58px, 7vw, 88px);
  background:
    radial-gradient(circle at 90% 12%, rgba(36, 95, 187, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff, #f8faf9);
  border-bottom: 1px solid var(--line);
}

.trust-hero-copy {
  max-width: 780px;
}

.trust-hero h1 {
  max-width: 740px;
  font-size: clamp(42px, 5.4vw, 74px);
  line-height: 1.01;
  text-wrap: balance;
}

.trust-hero .hero-copy {
  max-width: 680px;
  color: var(--muted);
}

.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 32px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.hero-signals span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.hero-signals span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--green);
}

.admin-preview {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.preview-sidebar {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 22px 16px;
  background: var(--charcoal);
}

.preview-sidebar span {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.16);
}

.preview-sidebar .active {
  background: var(--green);
}

.preview-main {
  padding: clamp(22px, 3vw, 32px);
}

.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.preview-top strong {
  font-size: 20px;
}

.preview-top span {
  color: var(--muted);
  font-weight: 750;
}

.preview-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.preview-cards div,
.preview-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fcfdfc;
}

.preview-cards div {
  min-height: 92px;
  padding: 15px;
}

.preview-cards b,
.preview-cards span,
.preview-table b,
.preview-table span,
.preview-table i {
  display: block;
  border-radius: 99px;
}

.preview-cards b {
  width: 24px;
  height: 24px;
  margin-bottom: 14px;
  background: var(--green);
}

.preview-cards span {
  height: 8px;
  margin-top: 8px;
  background: #dfe6ec;
}

.preview-cards span:last-child {
  width: 68%;
}

.preview-table {
  display: grid;
  gap: 0;
  margin-top: 18px;
  padding: 10px 18px;
}

.preview-table div {
  display: grid;
  grid-template-columns: 12px minmax(110px, 1fr) minmax(70px, 0.45fr);
  gap: 16px;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid var(--line);
}

.preview-table div:last-child {
  border-bottom: 0;
}

.preview-table b {
  width: 10px;
  height: 10px;
  background: var(--green);
}

.preview-table span,
.preview-table i {
  height: 8px;
  background: #dde5ec;
}

.trust-panel {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.trust-panel-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.trust-panel-header img {
  border-radius: 8px;
}

.trust-panel-header strong,
.trust-panel-header span {
  display: block;
}

.trust-panel-header strong {
  font-size: 22px;
}

.trust-panel-header span {
  color: var(--muted);
  font-weight: 650;
}

.trust-panel dl {
  margin: 0;
}

.trust-panel dl div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.trust-panel dl div:last-child {
  border-bottom: 0;
}

.trust-panel dt {
  color: var(--muted);
  font-weight: 800;
}

.trust-panel dd {
  margin: 0;
  font-weight: 750;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.proof-strip span {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: var(--white);
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-weight: 850;
  text-align: center;
}

.proof-strip span:last-child {
  border-right: 0;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 28, 22, 0.94), rgba(9, 28, 22, 0.68) 46%, rgba(9, 28, 22, 0.22)),
    url("/assets/cleanwp-tools-marketplace-banner-1544x500.png") center / cover no-repeat;
  transform: scale(1.04);
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
  color: #ffffff;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #97e2b4;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(54px, 9vw, 112px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 10px 0 10px;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: 0;
}

.hero-copy {
  width: min(660px, 100%);
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2.1vw, 24px);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 8px 20px rgba(23, 138, 87, 0.18);
}

.button.secondary {
  background: var(--white);
  border-color: #cdd7e1;
  color: var(--ink);
}

.support-band .button.secondary,
.pricing-band .button.secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.intro-band,
.pricing-band,
.support-band {
  padding: clamp(42px, 7vw, 84px) clamp(20px, 5vw, 70px);
}

.intro-band {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.intro-grid,
.split,
.support-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.intro-grid p,
.section-heading p,
.split p,
.support-band p {
  color: var(--muted);
  font-size: 18px;
}

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

.signal-list span {
  min-height: 66px;
  display: flex;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--mint), #fff);
  font-weight: 800;
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 70px);
}

.section-heading {
  width: min(900px, 100%);
  margin-bottom: 34px;
}

.section-heading.compact {
  width: min(760px, 100%);
}

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

.hub-layout {
  display: grid;
  grid-template-columns: minmax(210px, 0.28fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.category-rail {
  position: sticky;
  top: 82px;
  display: grid;
  gap: 8px;
}

.category-rail a {
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.category-rail a:hover {
  color: var(--green-dark);
  border-color: #acd7ba;
  background: var(--mint);
}

.product-groups {
  display: grid;
  gap: 20px;
}

.product-group {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.group-heading {
  display: grid;
  grid-template-columns: minmax(190px, 0.36fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.group-heading h3 {
  margin: 0;
}

.group-heading p {
  margin: 0;
  color: var(--muted);
}

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

.compact-grid article {
  min-height: 104px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfb;
}

.compact-grid strong,
.compact-grid span {
  display: block;
}

.compact-grid strong {
  margin-bottom: 6px;
  font-size: 17px;
}

.compact-grid span {
  color: var(--muted);
}

.product-card,
.price-card,
.status-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(20, 46, 36, 0.06);
}

.product-card {
  min-height: 222px;
  padding: 20px;
}

.product-card.featured {
  background: linear-gradient(180deg, #ffffff, var(--mint));
  border-color: #bddbc7;
}

.product-topline {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.product-topline strong {
  color: var(--blue);
  font-size: 12px;
  white-space: nowrap;
}

.product-card p,
.price-card p {
  margin: 0;
  color: var(--muted);
}

.pricing-band {
  background: linear-gradient(180deg, var(--sky), #ffffff);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.docs-band {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 70px);
  background: #f4f8fb;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.article-teaser-grid a {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid #d1dde8;
  border-radius: 8px;
  background: var(--white);
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(20, 46, 36, 0.05);
}

.article-teaser-grid a:hover {
  border-color: #8bb6da;
}

.article-teaser-grid span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.article-teaser-grid strong {
  margin-top: 18px;
  font-size: 20px;
  line-height: 1.18;
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--green-dark);
  font-weight: 850;
  text-decoration: none;
}

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

.price-card {
  min-height: 188px;
  padding: 22px;
}

.price-card span {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.price-card strong {
  display: block;
  margin: 12px 0;
  color: var(--green-dark);
  font-size: 32px;
  line-height: 1;
}

.price-card.bundle {
  background: #15251f;
  color: #fff;
  border-color: #15251f;
}

.price-card.bundle span,
.price-card.bundle p {
  color: rgba(255, 255, 255, 0.78);
}

.price-card.bundle strong {
  color: #97e2b4;
}

.status-panel {
  padding: 10px 22px;
}

.status-panel div {
  display: grid;
  grid-template-columns: minmax(120px, 0.85fr) minmax(0, 1.15fr);
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.status-panel div:last-child {
  border-bottom: 0;
}

.status-panel span {
  color: var(--muted);
  font-weight: 750;
}

.status-panel strong {
  color: var(--ink);
}

.support-band {
  background: #14241f;
  color: #fff;
}

.support-band .eyebrow {
  color: #97e2b4;
}

.support-band p {
  color: rgba(255, 255, 255, 0.78);
}

.support-actions {
  justify-content: start;
  margin-top: 0;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px clamp(20px, 5vw, 70px);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.legal-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 96px 20px 72px;
}

.legal-page h1 {
  color: var(--ink);
  font-size: clamp(38px, 6vw, 68px);
}

.legal-page h2 {
  margin-top: 34px;
  font-size: 28px;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  font-size: 18px;
}

.legal-page a {
  color: var(--green-dark);
  font-weight: 800;
}

.article-list-page,
.article-page {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0 72px;
}

.article-list-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.46fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: end;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.article-list-hero h1,
.article-page h1 {
  color: var(--ink);
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1;
}

.article-list-hero p,
.article-page .dek {
  color: var(--muted);
  font-size: 20px;
}

.article-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.article-card {
  min-height: 236px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  text-decoration: none;
}

.article-card span,
.article-meta {
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.article-card strong {
  display: block;
  margin: 12px 0;
  font-size: 23px;
  line-height: 1.14;
}

.article-card p {
  margin: 0;
  color: var(--muted);
}

.article-page {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(240px, 1fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
}

.article-content {
  min-width: 0;
}

.article-content h2 {
  margin-top: 42px;
  font-size: 30px;
}

.article-content p,
.article-content li {
  color: var(--muted);
  font-size: 18px;
}

.article-content li {
  margin: 8px 0;
}

.article-aside {
  position: sticky;
  top: 90px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.article-aside h2 {
  font-size: 22px;
}

.article-aside a {
  color: var(--green-dark);
  font-weight: 850;
  text-decoration: none;
}

.article-cta {
  margin-top: 40px;
  padding: 22px;
  border: 1px solid #bddbc7;
  border-radius: 8px;
  background: var(--mint);
}

.plugin-page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0 72px;
}

.plugin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: end;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(231, 245, 236, 0.86)),
    url("/assets/cleanwp-tools-marketplace-banner-1544x500.png") center / cover no-repeat;
}

.plugin-hero h1 {
  color: var(--ink);
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1;
}

.plugin-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 20px;
}

.plugin-facts {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
}

.plugin-facts div {
  display: grid;
  gap: 4px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.plugin-facts div:last-child {
  border-bottom: 0;
}

.plugin-facts span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.plugin-facts strong {
  font-size: 20px;
}

.plugin-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-right: 0;
  padding-left: 0;
}

.plugin-detail-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.plugin-detail-grid h2 {
  margin-top: 0;
  font-size: 26px;
}

.plugin-detail-grid p {
  color: var(--muted);
}

@media (max-width: 980px) {
  .product-grid,
  .pricing-grid,
  .article-teaser-grid,
  .article-list-grid,
  .plugin-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-hero,
  .hub-layout,
  .intro-grid,
  .split,
  .support-band,
  .article-list-hero,
  .article-page,
  .plugin-hero {
    grid-template-columns: 1fr;
  }

  .category-rail,
  .article-aside {
    position: static;
  }

  .support-actions {
    margin-top: 4px;
  }
}

@media (max-width: 700px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header nav {
    width: 100%;
    gap: 12px;
  }

  .hero {
    min-height: 78vh;
    padding-top: 92px;
  }

  .product-grid,
  .pricing-grid,
  .signal-list,
  .proof-strip,
  .compact-grid,
  .article-teaser-grid,
  .article-list-grid,
  .plugin-detail-grid,
  .group-heading {
    grid-template-columns: 1fr;
  }

  .status-panel div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
