:root {
  --bg: #f5f0e8;
  --bg-soft: #fbf7f1;
  --panel: rgba(255, 250, 242, 0.84);
  --panel-strong: #fffaf4;
  --ink: #1e1914;
  --muted: #65594a;
  --line: rgba(53, 38, 24, 0.12);
  --brand: #8f5b34;
  --brand-deep: #5a351d;
  --accent: #c98c4a;
  --leaf: #657b58;
  --warm: #efe2cf;
  --shadow: 0 18px 48px rgba(64, 39, 17, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Aptos", "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(201, 140, 74, 0.18), transparent 36%),
    radial-gradient(circle at top right, rgba(101, 123, 88, 0.16), transparent 32%),
    linear-gradient(180deg, #f8f3ec 0%, #f5f0e8 42%, #fbf7f1 100%);
  line-height: 1.6;
}

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

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

p,
li {
  color: var(--muted);
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(248, 243, 236, 0.72);
  border-bottom: 1px solid rgba(53, 38, 24, 0.06);
}

.header-inner,
.section-inner,
.footer-inner,
.page-hero,
.content-wrap {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-deep), var(--accent));
  color: #fff;
  box-shadow: var(--shadow);
}

.brand-text strong,
.brand-text span {
  display: block;
}

.brand-text span {
  font-size: 0.8rem;
  font-family: "Aptos", "Trebuchet MS", sans-serif;
  color: var(--muted);
  font-weight: 500;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--panel-strong);
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

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

.main-nav a:hover,
.main-nav a.active {
  color: var(--brand-deep);
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--brand-deep);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 12px 28px rgba(90, 53, 29, 0.18);
}

.button:hover,
button.button:hover {
  transform: translateY(-2px);
}

.button.ghost {
  background: transparent;
  color: var(--brand-deep);
  border-color: rgba(90, 53, 29, 0.18);
  box-shadow: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(53, 38, 24, 0.08);
  color: var(--brand-deep);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero {
  padding: 56px 0 34px;
}

.hero-grid,
.split-grid,
.feature-grid,
.card-grid,
.footer-grid,
.content-grid,
.three-grid {
  display: grid;
  gap: 24px;
}

.hero-grid {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: stretch;
}

.hero-copy,
.hero-side,
.panel,
.article-card,
.topic-card,
.stat-card,
.comparison-card,
.callout,
.info-card,
.faq-card,
.legal-card {
  background: var(--panel);
  border: 1px solid rgba(53, 38, 24, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 44px;
}

.hero-copy h1,
.page-title h1 {
  margin: 16px 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero-copy p {
  max-width: 62ch;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.stat-card {
  padding: 18px;
}

.stat-card strong {
  display: block;
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 4px;
}

.hero-side {
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto;
}

.hero-side img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: linear-gradient(135deg, #e8d8c1, #faf5ef);
}

.hero-side-copy {
  padding: 24px 28px 30px;
}

.photo-credit {
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--muted);
}

.photo-credit strong {
  color: var(--brand-deep);
}

.hero-side-copy h2,
.section-title h2,
.content-main h2,
.content-main h3 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.02em;
}

.section {
  padding: 32px 0;
}

.section-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 22px;
}

.section-title h2 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.section-title p {
  margin: 0;
  max-width: 60ch;
}

.feature-grid,
.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.topic-card,
.article-card,
.comparison-card,
.info-card,
.faq-card,
.legal-card,
.panel {
  padding: 28px;
}

.topic-card img {
  width: 100%;
  border-radius: 20px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #eadbc8, #f9f3ec);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.article-card img,
.info-card img {
  width: 100%;
  border-radius: 20px;
  margin-bottom: 18px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.topic-card h3,
.article-card h3,
.comparison-card h3,
.info-card h3 {
  margin: 0 0 10px;
  font-size: 1.28rem;
}

.eyebrow,
.article-meta,
.breadcrumb,
.table-note,
.quote {
  color: var(--brand-deep);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.trust-item {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(53, 38, 24, 0.08);
}

.comparison-table-wrapper {
  overflow-x: auto;
  background: var(--panel);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(53, 38, 24, 0.08);
  box-shadow: var(--shadow);
}

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

.comparison-table th,
.comparison-table td {
  padding: 18px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(53, 38, 24, 0.08);
}

.comparison-table thead th {
  background: rgba(255, 250, 242, 0.95);
  color: var(--brand-deep);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(201, 140, 74, 0.18);
  color: var(--brand-deep);
  font-size: 0.84rem;
  font-weight: 700;
}

.callout {
  padding: 28px 30px;
  background: linear-gradient(140deg, rgba(90, 53, 29, 0.96), rgba(143, 91, 52, 0.95));
  color: #fff;
}

.callout p,
.callout li {
  color: rgba(255, 255, 255, 0.82);
}

.callout .button {
  background: #fff;
  color: var(--brand-deep);
  box-shadow: none;
}

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

.media-credit-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.media-credit-item {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(53, 38, 24, 0.08);
}

.media-credit-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

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

.monetization-note,
.disclosure {
  margin: 0 0 20px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(201, 140, 74, 0.12);
  border: 1px solid rgba(143, 91, 52, 0.14);
  color: var(--brand-deep);
  font-size: 0.96rem;
}

.ad-slot {
  margin: 24px 0;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 2px dashed rgba(143, 91, 52, 0.26);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(239, 226, 207, 0.82)),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 12px,
      rgba(143, 91, 52, 0.035) 12px,
      rgba(143, 91, 52, 0.035) 24px
    );
}

.ad-slot strong,
.affiliate-box strong {
  display: block;
  color: var(--ink);
  margin-bottom: 6px;
}

.ad-slot ins.adsbygoogle {
  display: block;
  min-height: 280px;
}

.ad-label {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(90, 53, 29, 0.12);
  color: var(--brand-deep);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.affiliate-grid {
  display: grid;
  gap: 18px;
}

.affiliate-box {
  margin: 22px 0;
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(53, 38, 24, 0.1);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.affiliate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.affiliate-meta {
  margin-top: 12px;
  font-size: 0.94rem;
  color: var(--muted);
}

a[data-amazon-key][data-monetized="true"]::after {
  content: " listo";
  font-size: 0.8em;
  opacity: 0.78;
}

.faq-item {
  border-radius: var(--radius-md);
  border: 1px solid rgba(53, 38, 24, 0.08);
  background: rgba(255, 255, 255, 0.66);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.faq-answer {
  padding: 0 22px 22px;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.page-hero {
  padding: 44px 0 16px;
}

.hub-hero {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(53, 38, 24, 0.1);
  background:
    radial-gradient(circle at top right, rgba(201, 140, 74, 0.18), transparent 42%),
    linear-gradient(140deg, rgba(255, 250, 242, 0.9), rgba(239, 226, 207, 0.72));
  padding: clamp(28px, 4vw, 40px);
  box-shadow: var(--shadow);
}

.hub-hero h1 {
  margin-top: 12px;
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.content-split-note {
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 0.96rem;
}

.content-split-note strong {
  color: var(--ink);
}

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

.hub-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(53, 38, 24, 0.09);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
}

.editorial-grid .editorial-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.82), rgba(239, 226, 207, 0.72));
}

.route-card {
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.route-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(64, 39, 17, 0.16);
}

.section + .section {
  border-top: 1px solid rgba(53, 38, 24, 0.08);
}

.page-title,
.content-main,
.content-side,
.footer-card {
  background: var(--panel);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(53, 38, 24, 0.08);
  box-shadow: var(--shadow);
}

.page-title {
  padding: 34px;
}

.page-title h1 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  margin-bottom: 12px;
}

.content-wrap {
  padding-bottom: 44px;
}

.content-grid {
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
}

.content-main,
.content-side {
  padding: 30px;
}

.content-main ul {
  padding-left: 18px;
}

.content-main blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--accent);
  background: rgba(255, 255, 255, 0.62);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.content-side {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 92px;
}

.side-list,
.footer-links {
  display: grid;
  gap: 10px;
}

.side-list a,
.footer-links a {
  color: var(--muted);
}

.site-footer {
  padding: 24px 0 40px;
}

.footer-grid {
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
}

.footer-card {
  padding: 24px;
}

.footer-bottom {
  width: min(calc(100% - 32px), var(--max));
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.7s ease forwards;
}

.fade-up:nth-child(2) {
  animation-delay: 0.08s;
}

.fade-up:nth-child(3) {
  animation-delay: 0.16s;
}

.fade-up:nth-child(4) {
  animation-delay: 0.24s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .feature-grid,
  .card-grid,
  .hub-grid,
  .three-grid,
  .media-credit-strip,
  .trust-strip,
  .footer-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .content-side {
    position: static;
  }

  .mini-metrics {
    grid-template-columns: 1fr;
  }
}

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

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 10px;
  }

  .main-nav.open {
    display: flex;
  }

  .hero-copy,
  .topic-card,
  .article-card,
  .hub-card,
  .comparison-card,
  .content-main,
  .content-side,
  .page-title,
  .callout,
  .info-card,
  .faq-card,
  .legal-card {
    padding: 24px;
  }

  .hero-copy h1,
  .page-title h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .affiliate-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
