/* ============================================
   Herbal Rhymes — HerbalRhymes.com
   Premium TCM Herbology Study Resource
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --green: #22573E;
  --green-dark: #1a4430;
  --green-light: #2d6b4e;
  --cream: #FDF8F0;
  --cream-dark: #f5eddf;
  --gold: #C4A265;
  --gold-light: #d4b87a;
  --gold-dark: #a8884f;
  --charcoal: #2D2D2D;
  --charcoal-light: #555;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
  --max-width: 1200px;
  --nav-height: 72px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--charcoal);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

p { margin-bottom: 1rem; }

a {
  color: var(--green);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--gold); }

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

ul { list-style: none; }

/* --- Utility --- */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.section--green {
  background: var(--green);
  color: var(--cream);
}
.section--green h2,
.section--green h3 {
  color: var(--cream);
}

.section--cream-dark {
  background: var(--cream-dark);
}

.text-center { text-align: center; }

.section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--charcoal-light);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  letter-spacing: 0.3px;
}

.btn--primary {
  background: var(--green);
  color: var(--cream);
  border-color: var(--green);
}
.btn--primary:hover {
  background: var(--green-dark);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn--gold:hover {
  background: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn--outline:hover {
  background: var(--green);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn--outline-light {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}
.btn--outline-light:hover {
  background: var(--cream);
  color: var(--green);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green);
}
.logo:hover { color: var(--green); }

.logo__icon {
  width: 32px;
  height: 32px;
  color: var(--green);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--green); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--green); }
.nav-links a.active::after { width: 100%; }

/* Hamburger — CSS only */
.hamburger-toggle { display: none; }
.hamburger-label { display: none; }

.hamburger-label {
  width: 28px;
  height: 20px;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}

.hamburger-label span,
.hamburger-label span::before,
.hamburger-label span::after {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all var(--transition);
  position: absolute;
}
.hamburger-label span { top: 9px; }
.hamburger-label span::before {
  content: '';
  top: -7px;
}
.hamburger-label span::after {
  content: '';
  top: 7px;
}

/* Mobile nav open state */
.hamburger-toggle:checked ~ .hamburger-label span {
  background: transparent;
}
.hamburger-toggle:checked ~ .hamburger-label span::before {
  top: 0;
  transform: rotate(45deg);
}
.hamburger-toggle:checked ~ .hamburger-label span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Body offset for fixed header */
.page-body {
  padding-top: var(--nav-height);
}

/* --- Hero --- */
.hero {
  position: relative;
  padding: 6rem 0 5rem;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--cream);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(196,162,101,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero__content {
  position: relative;
  max-width: 720px;
}

.hero__label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.hero__subtitle {
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(253, 248, 240, 0.85);
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__botanical {
  position: absolute;
  right: 5%;
  bottom: 0;
  width: 300px;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}
.hero__content {
  position: relative;
  z-index: 1;
}
.hero__actions {
  position: relative;
  z-index: 2;
}
.hero__actions .btn {
  cursor: pointer;
  display: inline-block;
  position: relative;
  z-index: 2;
}

/* --- Credibility Bar --- */
.credibility-bar {
  padding: 2rem 0;
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.credibility-bar__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.credibility-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  white-space: nowrap;
}

.credibility-item svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
}

/* --- Product Cards --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card--featured {
  border: 2px solid var(--gold);
}

.product-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--gold);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 20px;
}

.product-card__icon {
  width: 48px;
  height: 48px;
  background: var(--cream);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--green);
}

.product-card h3 {
  margin-bottom: 0.75rem;
}

.product-card__desc {
  font-size: 0.95rem;
  color: var(--charcoal-light);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.product-card__price {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.25rem;
}

.product-card__price-note {
  font-size: 0.8rem;
  color: var(--charcoal-light);
  margin-bottom: 1.5rem;
}

.product-card__features {
  margin-bottom: 2rem;
}

.product-card__features li {
  font-size: 0.9rem;
  color: var(--charcoal-light);
  padding: 0.35rem 0;
  padding-left: 1.5rem;
  position: relative;
}
.product-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.product-card .btn {
  width: 100%;
}

.buy-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.buy-links a {
  display: block;
  text-align: center;
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.testimonial-card__stars {
  color: var(--gold);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-style: italic;
  color: rgba(253,248,240,0.9);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.testimonial-card__author {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--gold);
}

/* --- Email Signup --- */
.signup-form {
  display: flex;
  gap: 0.75rem;
  max-width: 500px;
  margin: 0 auto;
}

.signup-form input[type="email"],
.signup-form input[type="text"] {
  flex: 1;
  padding: 0.85rem 1.25rem;
  border: 2px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  background: var(--white);
  color: var(--charcoal);
  transition: border-color var(--transition);
}

.signup-form input:focus {
  outline: none;
  border-color: var(--gold);
}

.signup-form-stacked {
  flex-direction: column;
  max-width: 400px;
}

.signup-form-stacked input {
  width: 100%;
}

/* --- Book Preview --- */
.book-preview {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
}

.book-cover {
  width: 280px;
  height: 380px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.book-cover::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 1px solid rgba(196,162,101,0.3);
  border-radius: 4px;
}

.book-cover__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  position: relative;
}

.book-cover__subtitle {
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
}

.book-info h3 {
  margin-bottom: 1rem;
}

.book-info p {
  color: var(--charcoal-light);
  margin-bottom: 1.5rem;
}

.book-features {
  margin-bottom: 2rem;
}

.book-features li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--charcoal-light);
}
.book-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* --- About Page --- */
.about-hero {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
}

.about-photo {
  width: 300px;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-content h1 {
  margin-bottom: 0.5rem;
}

.about-content .credential {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 2rem;
  display: block;
}

.about-content p {
  color: var(--charcoal-light);
  line-height: 1.8;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.credential-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.credential-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}

.credential-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.credential-card p {
  font-size: 0.85rem;
  color: var(--charcoal-light);
  margin-bottom: 0;
}

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-list details {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-list summary {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--charcoal);
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  transition: color var(--transition);
}
.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: '+';
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-list details[open] summary::after {
  content: '−';
}

.faq-list summary:hover { color: var(--green); }

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--charcoal-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 0.85rem 1rem;
  border: 2px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  background: var(--white);
  color: var(--charcoal);
  transition: border-color var(--transition);
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.contact-info-card {
  background: var(--green);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-info-card h3 {
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.contact-info-card p {
  color: rgba(253,248,240,0.85);
  margin-bottom: 1rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.contact-info-item svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  transition: all var(--transition);
}
.social-link:hover {
  background: var(--gold);
  color: var(--white);
}

/* --- Footer --- */
.site-footer {
  background: var(--charcoal);
  color: rgba(253,248,240,0.6);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  color: var(--cream);
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(253,248,240,0.5);
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1.25rem;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(253,248,240,0.7);
  padding: 0.5rem 0;
  transition: color var(--transition);
  position: relative;
  z-index: 1;
  -webkit-tap-highlight-color: rgba(196,162,101,0.3);
  touch-action: manipulation;
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(253,248,240,0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.footer-bottom a {
  color: rgba(253,248,240,0.5);
}
.footer-bottom a:hover { color: var(--gold); }

/* --- Botanical SVG decorations --- */
.botanical-decoration {
  position: absolute;
  opacity: 0.06;
  pointer-events: none;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }

/* --- Page Header (inner pages) --- */
.page-header {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--cream);
  padding: 4rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header h1 {
  color: var(--cream);
  margin-bottom: 1rem;
}

.page-header p {
  color: rgba(253,248,240,0.8);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* --- Sample Card (free resources) --- */
.sample-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.sample-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.sample-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.sample-card__header {
  background: var(--green);
  color: var(--cream);
  padding: 1.5rem;
  text-align: center;
}

.sample-card__header h3 {
  color: var(--cream);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.sample-card__header .pinyin {
  font-size: 1.6rem;
  font-weight: 700;
}

.sample-card__header .chinese {
  font-size: 0.95rem;
  color: var(--gold);
}

.sample-card__body {
  padding: 1.5rem;
}

.sample-card__body dt {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-top: 0.75rem;
}

.sample-card__body dd {
  font-size: 0.9rem;
  color: var(--charcoal-light);
  margin-bottom: 0.25rem;
}

/* --- Leaf divider --- */
.leaf-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 3rem 0;
  color: var(--gold);
  opacity: 0.4;
}

.leaf-divider::before,
.leaf-divider::after {
  content: '';
  width: 60px;
  height: 1px;
  background: currentColor;
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .products-grid,
  .testimonials-grid,
  .sample-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-photo {
    margin: 0 auto;
  }

  .book-preview {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .book-cover {
    margin: 0 auto;
  }

  .credentials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  /* Mobile nav */
  .hamburger-label {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 1.25rem;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition);
    z-index: 999;
  }

  .hamburger-toggle:checked ~ .nav-links {
    right: 0;
  }

  .products-grid,
  .testimonials-grid,
  .sample-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.5rem 0;
  }

  .hero {
    padding: 4rem 0 3rem;
  }

  .hero__actions {
    flex-direction: column;
    position: relative;
    z-index: 100;
  }

  .hero__actions .btn {
    width: 100%;
    -webkit-tap-highlight-color: rgba(196,162,101,0.3);
    touch-action: manipulation;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero::before,
  .hero__botanical {
    display: none !important;
  }

  .credibility-bar__inner {
    flex-direction: column;
    gap: 1rem;
  }

  .signup-form {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .credentials-grid {
    grid-template-columns: 1fr;
  }

  .book-cover {
    width: 220px;
    height: 300px;
  }
}

/* --- Skip to main content (a11y) --- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--green);
  color: var(--cream);
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  z-index: 10000;
  transition: top var(--transition);
}
.skip-link:focus {
  top: 0;
  color: var(--cream);
}

/* --- Blog --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}
.blog-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.blog-card__category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.blog-card h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.blog-card h2 a {
  color: var(--charcoal);
  text-decoration: none;
}
.blog-card h2 a:hover {
  color: var(--green);
}
.blog-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.blog-card__meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #999;
}
.blog-cta {
  background: var(--green);
  color: var(--cream);
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
}
.blog-cta h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--cream);
}
.blog-cta p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Exam Countdown Banner --- */
.exam-banner {
  background: var(--charcoal);
  color: #fff;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  text-align: center;
  position: relative;
  z-index: 1001;
}
.exam-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: var(--max-width);
  margin: 0 auto;
}
.exam-banner__text {
  font-weight: 500;
}
.exam-banner__btn {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: var(--gold);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  transition: background var(--transition);
}
.exam-banner__btn:hover {
  background: var(--gold-dark);
}
.exam-banner__close {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
}
.exam-banner__close:hover {
  color: #fff;
}

/* --- Comparison Table --- */
.comparison-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.comparison-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.85rem;
}
.comparison-table th,
.comparison-table td {
  padding: 0.65rem 0.75rem;
  text-align: center;
  border-bottom: 1px solid #eee;
}
.comparison-table th {
  background: var(--green);
  color: #fff;
  font-weight: 600;
  font-size: 0.8rem;
  white-space: nowrap;
}
.comparison-table th:first-child {
  text-align: left;
  min-width: 180px;
}
.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--charcoal);
}
.comparison-table tbody tr:hover {
  background: rgba(34,87,62,0.04);
}
.comparison-table .col-ultimate {
  background: rgba(196,162,101,0.12);
}
.comparison-table th.col-ultimate {
  background: var(--gold);
  color: #fff;
}
.comparison-table .best-value-badge {
  display: inline-block;
  background: #fff;
  color: var(--gold-dark);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.25rem;
  vertical-align: middle;
  text-transform: uppercase;
}
.comparison-table .check {
  color: var(--green);
  font-weight: 700;
}
.comparison-table .dash {
  color: #ccc;
}
.comparison-table tfoot td {
  font-weight: 700;
  border-top: 2px solid var(--green);
  background: rgba(34,87,62,0.04);
}

/* --- Blog Date --- */
.blog-card__date {
  font-size: 0.78rem;
  color: var(--charcoal-light);
  margin-top: 0.25rem;
}

/* --- Print --- */
@media print {
  .site-header, .site-footer, .hamburger-label, .exam-banner { display: none; }
  .page-body { padding-top: 0; }
  body { background: #fff; }
}
