:root {
  --bg: #fbf7f4;
  --bg-blush: #f8e8e1;
  --bg-white: #ffffff;
  --bg-topbar: #ebc8bc;
  --text: #1f1a17;
  --text-muted: #6b635c;
  --cta: #e07a5f;
  --sage: #8ba888;
  --sage-soft: #e4eee3;
  --footer: #2c2420;
  --footer-muted: #c9bdb6;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --wrap: 1120px;
  --font: "Figtree", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.35rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 800;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

button,
summary {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--cta);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - 48px, var(--wrap));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cta);
}

.muted {
  color: var(--text-muted);
}

.lede {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 38rem;
}

/* Buttons - flat, no hover */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--cta);
  color: var(--bg-white);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  cursor: pointer;
}

.btn-ghost {
  background: var(--text);
  color: var(--bg-white);
}

.btn-block {
  width: 100%;
}

/* Topbar + header */
.topbar {
  background: var(--bg-topbar);
  color: var(--text);
  text-align: center;
  font-size: 0.84rem;
  font-weight: 500;
  padding: 10px 20px;
}

.site-header {
  background: var(--bg-white);
  position: relative;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.05rem;
  z-index: 2;
}

.logo-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo-word {
  white-space: nowrap;
}

.nav-toggle {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
}

.burger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.burger-line {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.nav a[aria-current="page"] {
  color: var(--text);
}

.header-cta {
  flex-shrink: 0;
}

.header-cta-mobile {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  background: var(--bg-blush);
  padding: 56px 0 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 48px;
  align-items: center;
}

.hero-copy p {
  margin-top: 18px;
  max-width: 32rem;
  color: var(--text-muted);
}

.hero-copy .btn {
  margin-top: 28px;
}

.mark {
  position: relative;
  white-space: nowrap;
  z-index: 0;
}

.mark::after {
  content: "";
  position: absolute;
  inset: -14% -10%;
  border: 1.5px solid #e8a090;
  border-radius: 50%;
  transform: rotate(-8deg);
  pointer-events: none;
  z-index: -1;
}

.hero-visual {
  position: relative;
  min-height: 340px;
  justify-self: end;
  width: min(100%, 420px);
}

.hero-blob {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: #f3d6ce;
  right: -28px;
  top: 18px;
}

.hero-photo {
  position: relative;
  width: 86%;
  margin-left: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 140px 140px 28px 28px;
}

.hero-scallop {
  display: block;
  width: 100%;
  height: 48px;
  margin-top: 36px;
}

/* Sections */
.section {
  padding: 88px 0;
}

.section-head {
  margin-bottom: 40px;
  max-width: 36rem;
}

.section-head h2 {
  margin-top: 4px;
}

.section-blush {
  background: var(--bg-blush);
}

.section-white {
  background: var(--bg-white);
}

/* Top 3 product cards */
.top3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-card--row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  align-items: center;
  padding: 20px;
}

.product-card__media {
  position: relative;
  background: var(--bg-blush);
  border-radius: var(--radius);
  aspect-ratio: 1;
  overflow: hidden;
}

.product-card--row .product-card__media {
  aspect-ratio: 1;
  min-height: 140px;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank {
  position: absolute;
  top: 12px;
  left: 12px;
  min-width: 32px;
  height: 32px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg-white);
  font-size: 0.85rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.top3-grid .product-card {
  background: transparent;
  padding: 0;
}

.product-card--row .btn {
  align-self: start;
  width: fit-content;
}

.product-card h3 {
  font-size: 1.2rem;
}

.product-card .usp-line {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.product-card__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: auto;
}

.price {
  font-weight: 800;
  font-size: 1.15rem;
}

.price span {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0;
}

.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.product-card__body ul {
  margin: 4px 0 8px;
  padding: 0 0 0 1.1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.product-card__body li + li {
  margin-top: 4px;
}

/* SEO + USP */
.seo-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: start;
}

.seo-copy h2 {
  margin-bottom: 20px;
}

.seo-copy p + p {
  margin-top: 16px;
}

.usp-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 12px;
}

.usp-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 22px 22px 22px 20px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}

.usp-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--text);
  display: grid;
  place-items: center;
}

.usp-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--bg-white);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.usp-card h3 {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.usp-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Blog grid - strictly symmetric */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 28px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--bg-blush);
}

.tag {
  display: inline-block;
  align-self: start;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  background: var(--sage-soft);
  padding: 4px 10px;
  border-radius: 999px;
}

.blog-card h3 {
  font-size: 1.2rem;
}

.blog-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
}

.faq-list details {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 4px 8px;
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  padding: 18px 52px 18px 20px;
  position: relative;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--cta);
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details p {
  padding: 0 20px 20px;
  color: var(--text-muted);
}

/* Rank Math breadcrumbs */
.k3-crumbs {
  position: relative;
  z-index: 1;
  padding: 28px 0 8px;
}

.k3-crumbs .rank-math-breadcrumb,
.k3-crumbs nav {
  position: static !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
}

.k3-crumbs .wrap {
  overflow: auto;
}

.k3-crumbs nav,
.k3-crumbs p,
.k3-crumbs .rank-math-breadcrumb,
.k3-crumbs .rank-math-breadcrumb p {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-muted);
  white-space: nowrap;
}

.k3-crumbs a {
  color: var(--text-muted);
}

.k3-crumbs .last,
.k3-crumbs span.last {
  color: var(--text);
  font-weight: 600;
}

.k3-crumbs .separator {
  display: inline-block;
  margin: 0 8px;
  color: var(--cta);
  font-weight: 500;
  opacity: 0.7;
}

body.k3-has-crumbs .page-intro {
  padding-top: 32px;
}

body.k3-has-crumbs .article {
  padding-top: 28px;
}

/* Page intro (inner pages) */
.page-intro {
  background: var(--bg-blush);
  padding: 64px 0 56px;
}

.page-intro .lede {
  margin-top: 16px;
}

/* Compare */
.compare-list {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.compare-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
}

.compare-item h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin: 4px 0 14px;
}

.compare-item > p:not(.eyebrow) {
  color: var(--text-muted);
  max-width: 46rem;
  margin-bottom: 24px;
}

.compare-item--featured {
  background: var(--bg-blush);
  border-radius: 32px;
  padding: 32px;
}

.compare-item--featured > p:not(.eyebrow) {
  margin-bottom: 28px;
}

.product-box {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: start;
  background: var(--bg-white);
  border: 2px solid #ead9d1;
  border-radius: var(--radius-lg);
  padding: 20px;
}

.compare-item--featured .product-box,
.product-box--featured {
  border-color: var(--cta);
}

.product-box__media {
  position: relative;
  background: var(--bg-blush);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
}

.product-box__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-box__main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.product-box__kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
}

.product-box__name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.rating {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.stars {
  display: inline-flex;
  gap: 3px;
  color: var(--cta);
}

.stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.stars .is-off {
  color: #ead9d1;
}

.rating__score {
  font-weight: 800;
  font-size: 1rem;
}

.rating__meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 28px;
}

.pros-cons h3 {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.pros-cons ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pros-cons li {
  position: relative;
  padding-left: 1.15em;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.pros-cons li + li {
  margin-top: 4px;
}

.pros li::before {
  content: "+";
  position: absolute;
  left: 0;
  font-weight: 800;
  color: var(--sage);
}

.cons li::before {
  content: "-";
  position: absolute;
  left: 0;
  font-weight: 800;
  color: var(--cta);
}

.product-box__buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 6px;
}

/* Article */
.article {
  padding: 56px 0 88px;
}

.article-inner {
  width: min(100% - 48px, 720px);
  margin-inline: auto;
}

.article-meta {
  display: flex;
  gap: 8px 12px;
  align-items: center;
  flex-wrap: wrap;
  margin: 14px 0 28px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.article-featured {
  margin: 0 0 32px;
}

.article-toc {
  background: var(--bg-blush);
  border-radius: var(--radius);
  padding: 4px 8px;
  margin: 0 0 32px;
}

.article-toc summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  padding: 16px 52px 16px 18px;
  position: relative;
}

.article-toc summary::-webkit-details-marker {
  display: none;
}

.article-toc summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--cta);
}

.article-toc[open] summary::after {
  content: "−";
}

.article-toc nav {
  padding: 0 18px 18px;
}

.article-toc ol {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text);
}

.article-toc li + li {
  margin-top: 8px;
}

.article-toc a {
  color: var(--text-muted);
  font-weight: 600;
  text-decoration: none;
}

.article-toc a:hover {
  color: var(--text);
}

.article-featured img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--bg-blush);
}

.article-inner > p + p {
  margin-top: 18px;
}

.article-inner h2 {
  font-size: 1.45rem;
  margin: 40px 0 14px;
}

.article-duo {
  position: relative;
  margin: 48px 0 72px;
  min-height: 280px;
}

.article-duo__main {
  width: 82%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--bg-blush);
}

.article-duo__sub {
  position: absolute;
  width: 38%;
  right: 0;
  bottom: -28px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--bg-topbar);
}

.article-cta {
  margin-top: 48px;
}

.article-cta .product-card {
  background: var(--bg-blush);
}

.author-box {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 48px;
  padding: 22px;
  background: var(--bg-blush);
  border-radius: var(--radius);
}

.author-box__avatar,
.author-box img.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-white);
}

.author-box__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cta);
  margin-bottom: 4px;
}

.author-box h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.author-box p:not(.author-box__label) {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.k3-shortcode-product {
  margin: 32px 0;
}

.entry-content .k3-shortcode-product .product-box {
  margin: 0;
}

.article-inner .entry-content .product-box p + p {
  margin-top: 0;
}

.article-inner .entry-content .product-box ul,
.article-inner .entry-content .pros-cons ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-inner .entry-content .product-box img {
  border-radius: 0;
}

/* Footer */
.site-footer {
  background: var(--footer);
  color: var(--bg);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.site-footer .logo-word {
  color: var(--bg);
}

.footer-lead {
  margin-top: 14px;
  color: var(--footer-muted);
  max-width: 22rem;
  font-size: 0.95rem;
}

.footer-col h3 {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--footer-muted);
  margin-bottom: 14px;
}

.footer-col a,
.footer-col p {
  display: block;
  color: var(--bg);
  font-weight: 500;
  margin-top: 8px;
}

.footer-note {
  padding-top: 24px;
  color: var(--footer-muted);
  font-size: 0.82rem;
}

/* Mobile */
@media (max-width: 900px) {
  .wrap {
    width: min(100% - 32px, var(--wrap));
  }

  .nav,
  .header-cta {
    display: none;
  }

  .burger {
    display: flex;
  }

  .nav-toggle:checked ~ .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    transform: none;
    background: var(--bg-white);
    padding: 8px 24px 28px;
    gap: 4px;
    z-index: 10;
  }

  .nav-toggle:checked ~ .nav a {
    padding: 12px 0;
    font-size: 1.05rem;
    color: var(--text);
  }

  .nav-toggle:checked ~ .nav a.btn,
  .nav-toggle:checked ~ .nav a.header-cta-mobile {
    display: inline-flex;
    align-self: flex-start;
    width: auto;
    max-width: 100%;
    padding: 14px 22px;
    margin-top: 12px;
    color: var(--bg-white);
    font-size: 0.95rem;
    line-height: 1;
  }

  .header-cta-mobile {
    display: flex;
    margin-top: 12px;
    width: fit-content;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-grid,
  .seo-grid,
  .top3-grid,
  .blog-grid,
  .footer-grid,
  .product-card--row,
  .product-box,
  .pros-cons {
    grid-template-columns: 1fr;
  }

  .product-box__media {
    min-height: 180px;
    aspect-ratio: 16 / 11;
  }

  .hero-visual {
    justify-self: center;
    width: min(100%, 320px);
    min-height: 0;
  }

  .hero-blob {
    width: 240px;
    height: 240px;
    right: -12px;
  }

  .section {
    padding: 64px 0;
  }

  .seo-grid {
    gap: 36px;
  }

  .compare-item--featured {
    padding: 20px;
  }

  .article-duo__main {
    width: 100%;
  }

  .article-duo__sub {
    width: 44%;
    bottom: -20px;
  }

  .author-box {
    grid-template-columns: 56px 1fr;
    gap: 14px;
    padding: 18px;
  }

  .author-box__avatar,
  .author-box img.avatar {
    width: 56px;
    height: 56px;
  }

  .footer-grid {
    gap: 28px;
  }
}

/* WordPress overrides */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  word-wrap: normal !important;
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.screen-reader-text:focus {
  clip: auto !important;
  clip-path: none;
  display: block;
  height: auto;
  left: 12px;
  top: 12px;
  width: auto;
  z-index: 100000;
  background: var(--bg-white);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
}

body.admin-bar .site-header {
  top: auto;
}

.article-inner .entry-content p,
.article-inner .entry-content h2,
.article-inner .entry-content ul,
.article-inner .entry-content ol,
.article-inner .entry-content figure {
  margin: 0;
}

.article-inner .entry-content .article-duo {
  margin: 48px 0 72px;
}

.article-inner .entry-content p + p {
  margin-top: 18px;
}

.article-inner .entry-content h2 {
  font-size: 1.45rem;
  margin: 40px 0 14px;
  scroll-margin-top: 24px;
}

.article-inner .entry-content ul,
.article-inner .entry-content ol {
  margin: 16px 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.article-inner .entry-content img {
  border-radius: var(--radius);
}

.article-inner .entry-content a:not(.btn) {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-inner .entry-content .wp-block-image {
  margin: 28px 0;
}

.blog-archive {
  padding: 64px 0 88px;
}

.blog-archive .section-head {
  margin-bottom: 40px;
}

.pagination {
  margin-top: 48px;
}

.pagination .nav-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pagination a,
.pagination span,
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  font-weight: 700;
}

.pagination .current {
  background: var(--cta);
  color: var(--bg-white);
}

.page-simple {
  padding: 64px 0 88px;
}

.site-header .nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: contents;
}

.footer-col .nav-fallback a,
.footer-col a {
  display: block;
}
