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

:root {
  --cream:        #f4faf5;
  --cream2:       #eaf5ec;
  --cream3:       #dff0e2;
  --surface:      #ffffff;
  --border:       #d6ebd9;
  --border2:      #c0dfc5;
  --text:         #111c14;
  --text2:        #1e3323;
  --muted:        #4a6b52;
  --faint:        #7aaa84;
  --botanical:    #2c5f2e;
  --botanical-mid:#387a3b;
  --botanical-light:#4a9e4e;
  --botanical-dim: rgba(44,95,46,0.08);
  --botanical-border: rgba(44,95,46,0.22);
  --terra:        #c2501a;
  --terra-mid:    #a84215;
  --terra-dim:    rgba(194,80,26,0.08);
  --terra-border: rgba(194,80,26,0.22);
  --gold:         #b8860b;
  --gold-dim:     rgba(184,134,11,0.08);
  --gold-border:  rgba(184,134,11,0.25);
  --mauve:        #8b5e83;
  --mauve-dim:    rgba(139,94,131,0.08);
  --sky:          #2a7fa5;
  --sky-dim:      rgba(42,127,165,0.08);
  --white:        #ffffff;
}

html { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--text); }
a { text-decoration: none; color: inherit; }

/* ── NAV ── */
.navbar { padding-top: 0; padding-bottom: 0; }
nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 52px; height: 68px;
  z-index: 200;
  box-shadow: 0 1px 14px rgba(28,20,9,0.07);
}
.logo {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 700; color: var(--botanical);
  letter-spacing: -0.3px;
}
img.logo { height: 32px; width: auto; }
.logo-leaf { font-size: 20px; }
.logo em { font-style: italic; color: var(--terra); }

.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  color: var(--muted); font-size: 13px; font-weight: 500;
  padding: 7px 15px; border-radius: 6px; transition: all .2s;
}
.nav-links a:hover { color: var(--text); background: var(--cream); }
.nav-cta {
  background: var(--botanical) !important; color: white !important;
  border-radius: 6px; margin-left: 8px; padding: 9px 22px !important;
  font-weight: 600 !important; transition: background .2s !important;
}
.nav-cta:hover { background: var(--botanical-mid) !important; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px; background: none; border: none;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--botanical); border-radius: 2px; transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; top: 68px; left: 0; right: 0; z-index: 199;
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding: 16px 20px 24px; flex-direction: column; gap: 4px;
  box-shadow: 0 8px 24px rgba(28,20,9,0.10);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text2); font-size: 15px; font-weight: 500;
  padding: 12px 16px; border-radius: 6px; transition: background .2s;
}
.mobile-menu a:hover { background: var(--cream); }
.mobile-menu .m-cta {
  background: var(--botanical); color: white !important;
  text-align: center; margin-top: 8px; border-radius: 6px;
  padding: 13px 16px; font-weight: 600 !important;
}

/* ── HERO ── */
.hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 80px 52px 72px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -120px; right: -80px;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(44,95,46,0.055) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: -100px; left: -60px;
  width: 440px; height: 440px; border-radius: 50%;
  background: radial-gradient(circle, rgba(194,80,26,0.05) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 380px;
  gap: 72px; align-items: center; position: relative; z-index: 1;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--botanical-dim); border: 1px solid var(--botanical-border);
  border-radius: 20px; padding: 6px 16px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--botanical);
  margin-bottom: 22px;
}
.hb-dot {
  width: 6px; height: 6px; background: var(--botanical-light); border-radius: 50%;
  animation: glow 2s ease-in-out infinite;
}
@keyframes glow { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.4)} }

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 700; line-height: 1.06;
  letter-spacing: -1.5px; color: var(--text);
  margin-bottom: 20px;
}
.hero h1 em { font-style: italic; color: var(--botanical); }
.hero h1 .hero-sub-line { display: block; font-weight: 400; color: var(--terra); font-style: italic; }

.hero-desc {
  font-size: 16px; color: var(--muted); line-height: 1.75;
  max-width: 500px; margin-bottom: 36px;
}

/* Search */
.hero-search {
  display: flex; max-width: 520px;
  background: var(--cream);
  border: 1.5px solid var(--border2); border-radius: 50px;
  overflow: hidden; transition: all .2s;
  box-shadow: 0 2px 12px rgba(28,20,9,0.08);
}
.hero-search:focus-within {
  border-color: var(--botanical);
  box-shadow: 0 0 0 3px var(--botanical-dim), 0 2px 12px rgba(28,20,9,0.08);
  background: white;
}
.hero-search input {
  flex: 1; border: none; outline: none;
  padding: 14px 22px; font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  background: transparent; color: var(--text); min-width: 0;
}
.hero-search input::placeholder { color: var(--faint); }
.hero-search button {
  background: var(--botanical); border: none; cursor: pointer;
  padding: 10px 24px; margin: 5px; color: white; border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 600;
  transition: background .2s; white-space: nowrap; flex-shrink: 0;
}
.hero-search button:hover { background: var(--botanical-mid); }

/* Hero right — trending topics */
.hero-right { display: flex; flex-direction: column; gap: 12px; }
.hr-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--faint);
  margin-bottom: 4px;
}
.trending-list { display: flex; flex-direction: column; gap: 8px; }
.trending-item {
  display: flex; align-items: center; gap: 14px;
  background: var(--cream); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 18px; cursor: pointer;
  transition: all .2s;
}
.trending-item:hover {
  background: var(--surface); border-color: var(--botanical-border);
  transform: translateX(4px); box-shadow: 0 4px 14px rgba(28,20,9,0.08);
}
.ti-rank {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 700; color: var(--border2);
  width: 24px; flex-shrink: 0; transition: color .2s;
}
.trending-item:hover .ti-rank { color: var(--botanical); }
.ti-emoji { font-size: 20px; flex-shrink: 0; }
.ti-body { flex: 1; min-width: 0; }
.ti-name { font-size: 13px; font-weight: 600; color: var(--text2); margin-bottom: 1px; transition: color .2s; }
.trending-item:hover .ti-name { color: var(--botanical); }
.ti-cat { font-size: 11px; color: var(--faint); }
.ti-arrow { color: var(--border2); font-size: 16px; transition: all .2s; }
.trending-item:hover .ti-arrow { color: var(--botanical); transform: translateX(2px); }

/* ── TRUST ── */
.trust {
  background: var(--cream2); border-bottom: 1px solid var(--border);
  padding: 14px 52px;
  display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
}
.ti-t { display: flex; align-items: center; gap: 9px; }
.ti-t-icon { font-size: 15px; }
.ti-t-text { font-size: 12px; font-weight: 600; color: var(--faint); }
.ti-t-text strong { color: var(--text2); }

/* ── MAIN ── */
.main { max-width: 1160px; margin: 0 auto; padding: 64px 52px; }

/* ── SECTION HEADER ── */
.sh {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding-bottom: 16px; border-bottom: 1.5px solid var(--text);
  margin-bottom: 32px;
}
.sh-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px; font-weight: 700; color: var(--text);
  letter-spacing: -0.5px; line-height: 1;
}
.sh-title em { font-style: italic; color: var(--terra); }
.sh-sub { font-size: 13px; color: var(--muted); margin-top: 5px; font-weight: 400; }
.sh-link { font-size: 12px; font-weight: 600; color: var(--botanical); letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; white-space: nowrap; }
.sh-link:hover { color: var(--botanical-mid); }

/* ── CATEGORY GRID ── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px; margin-bottom: 68px;
}
.cat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px 24px; cursor: pointer;
  transition: all .25s; display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.cat-card::before {
  content: '';
  position: absolute; inset: 0; border-radius: 16px;
  background: linear-gradient(135deg, transparent 60%, rgba(44,95,46,0.03) 100%);
  pointer-events: none;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(28,20,9,0.10); border-color: var(--border2); }

.cat-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  border-radius: 16px 16px 0 0;
  transform: scaleX(0); transform-origin: left; transition: transform .28s;
}
.cat-card:hover::after { transform: scaleX(1); }
.cc-botanical::after { background: var(--botanical); }
.cc-terra::after     { background: var(--terra); }
.cc-gold::after      { background: var(--gold); }
.cc-mauve::after     { background: var(--mauve); }
.cc-sky::after       { background: var(--sky); }

.cc-emoji { font-size: 34px; margin-bottom: 16px; display: block; line-height: 1; }
.cc-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 8px;
}
.cc-botanical .cc-label { color: var(--botanical-light); }
.cc-terra .cc-label     { color: var(--terra); }
.cc-gold .cc-label      { color: var(--gold); }
.cc-mauve .cc-label     { color: var(--mauve); }
.cc-sky .cc-label       { color: var(--sky); }
.cc-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 700; color: var(--text);
  line-height: 1.2; margin-bottom: 9px; letter-spacing: -0.2px;
}
.cc-desc { font-size: 12px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; flex: 1; }
.cc-count {
  font-size: 11px; font-weight: 600; color: var(--faint);
  letter-spacing: 0.04em;
}

/* ── FEATURED ARTICLE ── */
.feature-row {
  display: grid; grid-template-columns: 1.5fr 1fr;
  gap: 16px; margin-bottom: 68px;
}
.feat-hero {
  background: var(--botanical); border-radius: 18px; padding: 48px 40px;
  cursor: pointer; position: relative; overflow: hidden;
  transition: box-shadow .2s; display: flex; flex-direction: column;
}
.feat-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 22px 22px; pointer-events: none;
}
.feat-hero::after {
  content: '';
  position: absolute; bottom: -60px; right: -60px;
  width: 260px; height: 260px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(194,80,26,0.2), transparent 70%);
}
.feat-hero:hover { box-shadow: 0 20px 52px rgba(28,20,9,0.2); }
.fh-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2); border-radius: 4px;
  padding: 4px 10px; margin-bottom: 20px; display: inline-block;
  position: relative; z-index: 1;
}
.feat-hero h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px; font-weight: 700; color: white;
  line-height: 1.2; letter-spacing: -0.5px; margin-bottom: 14px;
  position: relative; z-index: 1;
}
.feat-hero p {
  font-size: 14px; color: rgba(255,255,255,0.58);
  line-height: 1.72; margin-bottom: 28px; flex: 1;
  position: relative; z-index: 1;
}
.fh-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.15); color: white;
  border: 1px solid rgba(255,255,255,0.28);
  font-size: 13px; font-weight: 600; padding: 12px 22px; border-radius: 8px;
  cursor: pointer; transition: all .2s;
  position: relative; z-index: 1; align-self: flex-start;
}
.feat-hero:hover .fh-cta { background: rgba(255,255,255,0.22); }
.fh-arrow {
  width: 24px; height: 24px; border-radius: 50%; background: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--botanical); transition: transform .2s;
}
.feat-hero:hover .fh-arrow { transform: translateX(3px); }

.feat-stack { display: flex; flex-direction: column; gap: 12px; }
.feat-article {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 22px 24px; cursor: pointer;
  transition: all .2s; flex: 1;
}
.feat-article:hover { border-color: var(--border2); box-shadow: 0 6px 22px rgba(28,20,9,0.08); transform: translateX(3px); }
.fa-meta {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.fa-emoji { font-size: 22px; }
.fa-cat { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.fa-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 700; color: var(--text);
  line-height: 1.3; margin-bottom: 6px; letter-spacing: -0.2px; transition: color .2s;
}
.feat-article:hover .fa-title { color: var(--botanical); }
.fa-desc { font-size: 12px; color: var(--muted); line-height: 1.55; }

/* ── POPULAR SEARCHES ── */
.popular-section { margin-bottom: 68px; }
.pill-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.wpill {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 50px; padding: 9px 20px;
  font-size: 13px; font-weight: 500; color: var(--text2);
  cursor: pointer; transition: all .2s;
  display: flex; align-items: center; gap: 7px;
}
.wpill:hover { background: var(--cream2); border-color: var(--botanical-border); color: var(--botanical); transform: translateY(-1px); box-shadow: 0 3px 12px rgba(28,20,9,0.08); }
.wpill-e { font-size: 15px; }

/* ── HOW IT WORKS ── */
.hiw-wrap {
  background: var(--cream2); border: 1px solid var(--border);
  border-radius: 18px; overflow: hidden; margin-bottom: 68px;
}
.hiw-top {
  background: var(--botanical); padding: 24px 40px;
  display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.hiw-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 700; color: white; letter-spacing: -0.3px;
}
.hiw-top-sub { font-size: 13px; color: rgba(255,255,255,0.45); }
.hiw-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.hiw-step {
  padding: 30px 28px; border-right: 1px solid var(--border);
  transition: background .2s; cursor: pointer;
}
.hiw-step:last-child { border-right: none; }
.hiw-step:hover { background: var(--cream3); }
.hs-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px; font-weight: 700; color: var(--border2);
  line-height: 1; margin-bottom: 14px; display: block; transition: color .2s;
}
.hiw-step:hover .hs-num { color: var(--botanical-light); }
.hs-title { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.hs-desc { font-size: 13px; color: var(--muted); line-height: 1.65; font-weight: 400; }

/* ── CTA ── */
.cta-block {
  background: linear-gradient(135deg, #f4faf5 0%, #e8f5ea 100%);
  border: 1px solid var(--gold-border);
  border-radius: 18px; padding: 56px 52px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 40px; margin-bottom: 52px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute; right: -60px; top: -60px;
  width: 300px; height: 300px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(184,134,11,0.07), transparent 65%);
}
.cta-left { position: relative; z-index: 1; }
.cta-left h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px; font-weight: 700; color: var(--text);
  letter-spacing: -0.5px; margin-bottom: 8px; line-height: 1.15;
}
.cta-left h2 em { font-style: italic; color: var(--botanical); }
.cta-left p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.cta-form { display: flex; gap: 10px; position: relative; z-index: 1; flex-wrap: wrap; }
.cta-form input {
  background: white; border: 1.5px solid var(--border2);
  color: var(--text); padding: 13px 20px; border-radius: 8px;
  font-size: 14px; font-family: 'DM Sans', sans-serif;
  outline: none; width: 230px; min-width: 0; transition: border-color .2s;
}
.cta-form input:focus { border-color: var(--botanical); box-shadow: 0 0 0 3px var(--botanical-dim); }
.cta-form input::placeholder { color: var(--faint); }
.cta-form button {
  background: var(--botanical); color: white; border: none; cursor: pointer;
  padding: 13px 28px; border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: background .2s;
}
.cta-form button:hover { background: var(--botanical-mid); }

/* ── FOOTER ── */
footer {
  background: var(--text); padding: 44px 52px;
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 32px; flex-wrap: wrap;
}
.foot-brand { display: flex; flex-direction: column; gap: 10px; }
.foot-logo {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 700; color: white; letter-spacing: -0.3px;
}
.foot-logo em { font-style: italic; color: #7ec881; }
.foot-tagline { font-size: 12px; color: rgba(255,255,255,0.3); max-width: 260px; line-height: 1.6; }
.foot-right { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { font-size: 12px; color: rgba(255,255,255,0.3); font-weight: 500; transition: color .2s; }
.foot-links a:hover { color: rgba(255,255,255,0.7); }
.foot-disclaimer { font-size: 11px; color: rgba(255,255,255,0.18); line-height: 1.6; max-width: 420px; text-align: right; }

/* Bootstrap-based footer layout */
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.footer-brand-col { display: flex; flex-direction: column; gap: 10px; }
.footer-tagline-text { font-size: 12px; color: rgba(255,255,255,0.3); max-width: 260px; line-height: 1.6; }
.footer-right-col { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,0.3); font-weight: 500; transition: color .2s; }
.footer-links a:hover { color: rgba(255,255,255,0.7); }
.f-copy { font-size: 11px; color: rgba(255,255,255,0.18); line-height: 1.6; }

/* Searchbar */
.searchbar {
  background: var(--cream2);
  border-bottom: 1px solid var(--border);
  padding: 14px 52px;
}
.searchbar form {
  display: flex; gap: 10px; max-width: 860px; margin: 0 auto;
}
.search-input {
  flex: 1; border: 1.5px solid var(--border2); border-radius: 6px;
  padding: 10px 16px; font-size: 14px; font-family: 'DM Sans', sans-serif;
  background: white; color: var(--text); outline: none;
  transition: border-color .2s;
}
.search-input:focus { border-color: var(--botanical); box-shadow: 0 0 0 3px var(--botanical-dim); }
.search-input::placeholder { color: var(--faint); }
.search-btn {
  background: var(--botanical); color: white; border: none; cursor: pointer;
  padding: 10px 24px; border-radius: 6px; font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 600; transition: background .2s; white-space: nowrap;
}
.search-btn:hover { background: var(--botanical-mid); }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:translateY(0); } }
.hero-badge   { animation: fadeUp .5s ease .05s both; }
.hero h1      { animation: fadeUp .5s ease .12s both; }
.hero-desc    { animation: fadeUp .5s ease .20s both; }
.hero-search  { animation: fadeUp .5s ease .27s both; }
.hero-right   { animation: fadeUp .5s ease .18s both; }


/* ════════════════════════════
   TABLET ≤ 1024px
════════════════════════════ */
@media (max-width: 1024px) {
  nav { padding: 0 28px; }
  .hero { padding: 60px 28px 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: clamp(40px, 6vw, 58px); }
  .hero-desc { max-width: 100%; }
  .hero-search { max-width: 100%; }
  .hero-right { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hr-heading { grid-column: 1 / -1; }
  .trending-list { display: contents; }
  .trending-item { margin: 0; }

  .trust { padding: 14px 28px; gap: 28px; }
  .main { padding: 52px 28px; }

  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: 1fr; }
  .feat-stack { flex-direction: row; flex-wrap: wrap; }
  .feat-article { flex: 1; min-width: 200px; }

  .hiw-steps { grid-template-columns: repeat(2, 1fr); }
  .hiw-step:nth-child(2) { border-right: none; }
  .hiw-step:nth-child(3) { border-top: 1px solid var(--border); }
  .hiw-step:nth-child(4) { border-right: none; border-top: 1px solid var(--border); }

  .cta-block { padding: 44px 36px; }
  footer { padding: 36px 28px; }
  .searchbar { padding: 14px 28px; }
}


/* ════════════════════════════
   MOBILE ≤ 768px
════════════════════════════ */
@media (max-width: 768px) {
  nav { padding: 0 16px; height: 60px; }
  .logo { font-size: 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { top: 60px; }

  .hero { padding: 44px 16px 48px; }
  .hero h1 { font-size: clamp(36px, 9vw, 50px); letter-spacing: -1px; }
  .hero-desc { font-size: 15px; margin-bottom: 28px; }
  .hero-search { border-radius: 40px; }
  .hero-search input { padding: 12px 18px; }
  .hero-search button { padding: 9px 18px; font-size: 12px; }
  .hero-right { grid-template-columns: 1fr; }

  .trust { padding: 12px 16px; gap: 14px; justify-content: flex-start; }
  .ti-t-text { font-size: 11px; }

  .main { padding: 40px 16px; }
  .sh-title { font-size: 26px; }

  .cat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat-card { padding: 20px 16px; }
  .cc-desc { display: none; }
  .cc-emoji { font-size: 28px; margin-bottom: 12px; }

  .feature-row { gap: 12px; }
  .feat-hero { padding: 32px 26px; }
  .feat-hero h3 { font-size: 24px; }
  .feat-stack { flex-direction: column; }
  .feat-article { flex: none; min-width: 0; }

  .pill-cloud { gap: 8px; }
  .wpill { font-size: 12px; padding: 8px 16px; }

  .hiw-top { padding: 20px 24px; }
  .hiw-title { font-size: 20px; }
  .hiw-steps { grid-template-columns: 1fr; }
  .hiw-step {
    border-right: none; border-bottom: 1px solid var(--border);
    padding: 20px 22px;
    display: flex; gap: 16px; align-items: flex-start;
  }
  .hiw-step:last-child { border-bottom: none; }
  .hiw-step:nth-child(3), .hiw-step:nth-child(4) { border-top: none; }
  .hs-num { font-size: 40px; margin-bottom: 0; flex-shrink: 0; width: 48px; }
  .hs-body { flex: 1; }

  .cta-block { flex-direction: column; align-items: flex-start; padding: 36px 24px; gap: 24px; }
  .cta-left h2 { font-size: 26px; }
  .cta-form { flex-direction: column; width: 100%; }
  .cta-form input { width: 100%; }
  .cta-form button { width: 100%; text-align: center; padding: 14px; }

  footer { flex-direction: column; gap: 20px; padding: 32px 16px; }
  .foot-right { align-items: flex-start; }
  .foot-disclaimer { text-align: left; }
  .foot-links { gap: 14px; }
  .footer-right-col { align-items: flex-start; }
  .searchbar { padding: 12px 16px; }
}


/* ════════════════════════════
   SMALL MOBILE ≤ 480px
════════════════════════════ */
@media (max-width: 480px) {
  .hero h1 { font-size: 32px; }
  .cat-grid { grid-template-columns: 1fr; }
  .hero-right { grid-template-columns: 1fr; }
}

/* ── BOOTSTRAP OVERRIDES ── */
body.home-page .main { max-width: 100% !important; margin: 0 auto; padding: 28px 48px 52px; }
body.home-page .main:empty { display: none; }
body.home-page .content:has(.main:empty) { display: none; }
.searchbar { margin-bottom: 32px; }
.container { max-width: 1600px !important; }
