* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: #1f2937;
  background: #fbf7ef;
  line-height: 1.7;
}

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

a {
  color: #0f766e;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #7c3aed;
}

.page-shell {
  overflow-x: hidden;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 247, 239, 0.94);
  border-bottom: 1px solid rgba(15, 118, 110, 0.12);
  backdrop-filter: blur(10px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 700;
  color: #111827;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
}

.brand small {
  display: block;
  color: #6b7280;
  font-weight: 500;
  font-size: 0.8rem;
}

.nav-toggle {
  display: none;
  border: 0;
  background: #ffffff;
  color: #111827;
  font: inherit;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-weight: 600;
}

.nav-links a {
  color: #334155;
}

.nav-links .nav-pill {
  background: linear-gradient(135deg, #10b981, #f97316);
  color: #ffffff;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.1), rgba(17, 24, 39, 0.76));
}

.hero-content {
  position: relative;
  color: #ffffff;
  padding: 6rem 0 5rem;
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.hero h1,
.article-hero h1 {
  margin: 1rem 0;
  line-height: 1.05;
  font-size: clamp(2.7rem, 5vw, 5.25rem);
}

.hero p,
.article-hero p {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #10b981, #14b8a6);
  box-shadow: 0 18px 40px rgba(16, 185, 129, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.button-light {
  background: #ffffff;
  color: #111827;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
}

.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: #fffdf8;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  color: #111827;
}

.section-head p {
  margin: 0;
  max-width: 540px;
  color: #475569;
}

.magazine-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.feature-panel,
.news-panel,
.stats-bar,
.newsletter,
.sidebar-card,
.toc,
.callout,
.policy-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.08);
}

.feature-panel {
  overflow: hidden;
}

.feature-panel img,
.news-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-copy,
.news-copy,
.sidebar-card,
.policy-card {
  padding: 1.5rem;
}

.guide-lead {
  grid-column: span 5;
}

.guide-main {
  grid-column: span 7;
  display: grid;
  gap: 1.5rem;
}

.guide-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.guide-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.08);
}

.guide-card .guide-copy {
  padding: 1.35rem;
}

.guide-card h3,
.feature-copy h3,
.news-copy h3 {
  margin: 0 0 0.6rem;
  color: #111827;
}

.meta-row,
.article-meta,
.review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  color: #64748b;
  font-size: 0.9rem;
}

.split-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.split-section.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split-section img {
  border-radius: 32px;
  min-height: 420px;
  object-fit: cover;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.13);
}

.bullet-list {
  padding-left: 1.2rem;
}

.bullet-list li + li {
  margin-top: 0.65rem;
}

.news-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.news-panel {
  overflow: hidden;
}

.news-panel .news-thumb {
  height: 220px;
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 1.4rem;
  gap: 1rem;
}

.stat {
  padding: 1.2rem;
  border-radius: 22px;
  background: linear-gradient(180deg, #fffaf1, #f5fbfb);
}

.stat strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.35rem;
  color: #111827;
}

.newsletter {
  padding: 2rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.newsletter form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.85rem;
}

.input {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  padding: 0.95rem 1.1rem;
  font: inherit;
  background: #fffdf9;
}

.footer {
  background: #fffdf7;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 2rem;
}

.footer h3,
.footer h4 {
  margin-top: 0;
  color: #111827;
}

.footer a,
.footer p {
  color: #475569;
}

.footer-bottom {
  padding-top: 1.5rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  color: #64748b;
}

.breadcrumb {
  padding: 1rem 0 0;
  color: #64748b;
  font-size: 0.95rem;
}

.breadcrumb a {
  color: #0f766e;
}

.article-hero {
  padding: 4rem 0 2rem;
}

.article-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.article-hero h1 {
  color: #111827;
  margin-top: 0.7rem;
}

.article-hero p {
  color: #475569;
}

.article-hero img {
  border-radius: 34px;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.12);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(280px, 0.9fr);
  gap: 2rem;
  padding-bottom: 5rem;
}

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

.article-content h2,
.article-content h3 {
  color: #111827;
  scroll-margin-top: 100px;
}

.article-content h2 {
  margin-top: 2.6rem;
  font-size: 2rem;
}

.article-content h3 {
  margin-top: 1.6rem;
  font-size: 1.28rem;
}

.article-content p,
.article-content li {
  color: #334155;
}

.article-content figure {
  margin: 2rem 0;
}

.article-content figure img {
  border-radius: 28px;
  box-shadow: 0 24px 44px rgba(15, 23, 42, 0.1);
}

.article-content figcaption {
  margin-top: 0.8rem;
  color: #64748b;
  font-size: 0.92rem;
}

.toc {
  padding: 1.5rem;
}

.toc h3,
.sidebar-card h3 {
  margin-top: 0;
}

.toc ol {
  margin: 0;
  padding-left: 1.2rem;
}

.toc li + li {
  margin-top: 0.55rem;
}

.sidebar-stack {
  display: grid;
  gap: 1.25rem;
  position: sticky;
  top: 98px;
}

.callout {
  padding: 1.4rem;
  border-left: 5px solid #10b981;
  margin: 1.75rem 0;
}

.callout strong {
  color: #111827;
}

.ratings-list {
  display: grid;
  gap: 1.25rem;
}

.rating-item {
  padding: 1.4rem;
  border-radius: 22px;
  background: #fffdf8;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.stars {
  color: #f97316;
  letter-spacing: 0.08em;
  font-size: 1rem;
}

.author-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0 0;
}

.author-strip img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

.policy-card h1 {
  margin-top: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 22px;
    background: #fffdf9;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.12);
  }

  .nav-links.is-open {
    display: flex;
  }

  .guide-lead,
  .guide-main,
  .guide-stack,
  .news-list,
  .stats-bar,
  .newsletter,
  .split-section,
  .split-section.reverse,
  .article-hero-grid,
  .article-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .sidebar-stack {
    position: static;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 68vh;
  }

  .hero-content {
    padding: 4rem 0 3.5rem;
  }

  .hero h1,
  .article-hero h1 {
    font-size: clamp(2.3rem, 11vw, 3.4rem);
  }

  .section {
    padding: 4rem 0;
  }

  .newsletter form {
    grid-template-columns: 1fr;
  }
}
