@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  font-family: 'DM Sans', 'Segoe UI', sans-serif;
  color: #1f2925;
  background: #f8f9f7;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --ink: #1f2925;
  --muted: #79817b;
  --green: #254a3a;
  --lime: #d5f084;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.page-shell { max-width: 1440px; margin: 0 auto; overflow: hidden; }

.topbar { height: 82px; padding: 0 max(7.2%, calc((100% - 1240px) / 2)); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e9ece8; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; letter-spacing: -.06em; }
.brand-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 10px 10px 10px 3px; background: var(--green); color: var(--lime); font: 800 16px 'Manrope', sans-serif; }
.topnav { display: flex; align-items: center; gap: 31px; color: #707a73; font-size: 11px; font-weight: 600; }
.topnav-link { transition: color .2s; }
.topnav-link:hover, .topnav-link.active { color: var(--ink); }
.topnav-cta { padding: 11px 15px; border: 1px solid #dfe4dd; border-radius: 6px; color: var(--ink); }
.topnav-cta span { margin-left: 8px; }
.menu-toggle { display: none; }

.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 490px; padding: 20px max(9%, calc((100% - 1120px) / 2)) 0; }
.hero-copy { padding: 34px 0 55px; }
.status-pill, .section-kicker { display: flex; align-items: center; gap: 9px; color: #6d7a70; font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #9bbf59; box-shadow: 0 0 0 4px #edf3e3; }
.hero h1 { margin: 23px 0 16px; font: 600 clamp(51px, 6.1vw, 75px)/1.04 'Manrope', sans-serif; letter-spacing: -.08em; }
.hero h1 span { color: #829d55; }
.hero-lead { max-width: 390px; margin: 0 0 24px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.primary-button { min-height: 44px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; gap: 17px; border-radius: 5px; background: var(--green); color: white; font-size: 10px; font-weight: 700; transition: transform .2s, background .2s; }
.primary-button:hover { transform: translateY(-2px); background: #193a2b; }
.social-proof { display: flex; align-items: center; gap: 11px; margin-top: 25px; color: #8a928b; font-size: 9px; }
.avatar-stack { display: flex; padding-left: 2px; }
.avatar-stack i { display: grid; width: 21px; height: 21px; margin-left: -3px; place-items: center; border: 2px solid #f8f9f7; border-radius: 50%; background: #e5edd5; color: #506d3c; font-size: 8px; font-style: normal; }
.avatar-stack i:nth-child(2) { background: #f4e6d4; color: #a27649; }
.avatar-stack i:nth-child(3) { background: #e5e4f3; color: #716b9e; }

.hero-visual { position: relative; display: grid; min-height: 430px; place-items: center; isolation: isolate; }
.visual-glow { position: absolute; z-index: -2; width: 300px; height: 300px; border-radius: 50%; background: #e8eddf; }
.visual-orbit { position: absolute; z-index: -1; border: 1px solid #dce4d4; border-radius: 50%; }
.orbit-a { width: 410px; height: 250px; transform: rotate(-22deg); }
.orbit-b { width: 375px; height: 310px; transform: rotate(37deg); }
.study-card { width: min(330px, 82%); padding: 21px 23px 18px; border: 1px solid #eef0e9; border-radius: 9px; background: #fff; box-shadow: 0 22px 60px #25372a18; transform: rotate(-2deg); }
.study-card-top { display: flex; align-items: center; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid #eff1ed; color: #8b948d; font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.tiny-mark { display: grid; width: 19px; height: 19px; place-items: center; border-radius: 6px 6px 6px 2px; background: var(--green); color: var(--lime); font-size: 9px; letter-spacing: -.08em; }
.card-more { margin-left: auto; letter-spacing: 2px; }
.study-card-title { margin: 18px 0 20px; font: 700 17px/1.4 'Manrope', sans-serif; letter-spacing: -.045em; }
.progress-label { display: flex; justify-content: space-between; margin-bottom: 7px; color: #929a93; font-size: 8px; }
.progress-label b { color: #586b58; }
.progress-track { height: 4px; margin-bottom: 12px; overflow: hidden; border-radius: 4px; background: #eff1e9; }
.progress-track span { display: block; width: 50%; height: 100%; border-radius: inherit; background: #a8c769; }
.check-row { display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 7px; padding: 9px 0; border-top: 1px solid #f1f2ee; color: #48534b; font-size: 9px; }
.check-row b { color: #899281; font-size: 8px; font-weight: 500; }
.check-row b.muted { color: #aeb5ae; }
.check { display: grid; width: 14px; height: 14px; place-items: center; border: 1px solid #dfe5d8; border-radius: 50%; color: transparent; font-size: 9px; }
.check.checked { border-color: #e7efd9; background: #e7efd9; color: #637d43; }
.last-row { padding-bottom: 0; }
.floating-chip { position: absolute; right: -10px; bottom: 63px; padding: 11px 14px; border: 1px solid #e7ebe2; border-radius: 6px; background: #fff; box-shadow: 0 9px 25px #25372a12; color: #5d685e; font-size: 9px; transform: rotate(3deg); }
.floating-chip span { margin-right: 7px; color: #9ebc5d; }
.visual-spark { position: absolute; color: #90a95d; }
.spark-a { top: 57px; right: 55px; font-size: 20px; }
.spark-b { bottom: 80px; left: 39px; color: #c5b765; font-size: 15px; }

.library-section { padding: 68px max(9%, calc((100% - 1120px) / 2)) 78px; background: #fff; }
.section-topline { display: flex; align-items: end; justify-content: space-between; margin-bottom: 24px; }
.section-kicker { gap: 7px; font-size: 8px; }
.section-kicker span { width: 6px; height: 6px; border-radius: 50%; background: #a6c86a; }
.section-topline h2 { margin: 11px 0 0; font: 600 29px 'Manrope', sans-serif; letter-spacing: -.06em; }
.section-caption { margin: 0 0 2px; color: #929a93; font-size: 10px; line-height: 1.7; }
.library-controls { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.search-box { display: flex; width: min(335px, 100%); height: 39px; align-items: center; gap: 9px; padding: 0 11px; border: 1px solid #e8ebe6; border-radius: 5px; background: #fff; }
.search-icon { color: #879187; font-size: 22px; line-height: 1; transform: rotate(-20deg); }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); font-size: 9px; }
.search-box input::placeholder { color: #a3aaa4; }
.search-box kbd { display: grid; min-width: 18px; height: 19px; place-items: center; border: 1px solid #e9ece7; border-radius: 3px; color: #8d968e; font: 9px 'DM Sans', sans-serif; }
.filters { display: flex; flex-wrap: wrap; justify-content: end; gap: 6px; }
.filter-button { min-height: 30px; padding: 0 11px; border: 1px solid #e8ebe6; border-radius: 4px; background: #fff; color: #778078; cursor: pointer; font-size: 8px; transition: background .2s, color .2s, border-color .2s; }
.filter-button:hover { border-color: #c8d5bc; color: var(--green); }
.filter-button.selected { border-color: var(--green); background: var(--green); color: #fff; }
.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.resource-card { position: relative; display: flex; min-height: 220px; flex-direction: column; align-items: flex-start; padding: 17px 18px 16px; border: 1px solid transparent; border-radius: 7px; transition: transform .2s, box-shadow .2s; }
.resource-card[hidden] { display: none; }
.resource-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px #23372a12; }
.card-green { background: #eaf0df; }
.card-cream { background: #f5f1e8; }
.card-lilac { background: #efedf6; }
.card-blue { background: #e9f0f3; }
.card-peach { background: #f6eee7; }
.card-dark { background: #e8eee9; }
.card-top { display: flex; width: 100%; align-items: center; gap: 8px; }
.card-icon { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 6px; font-size: 13px; }
.icon-lime { background: #d7e9b6; color: #577138; }
.icon-green { background: #e3e7d9; color: #536a4c; }
.icon-purple { background: #e1ddf0; color: #71649b; }
.icon-blue { background: #d9e7ed; color: #4b7182; }
.icon-orange { background: #f0dfcf; color: #a1754d; }
.icon-dark { background: #d7e3da; color: #3d694d; }
.card-type { color: #79847b; font-size: 7px; font-weight: 700; letter-spacing: .11em; }
.card-arrow { margin-left: auto; color: #8a948a; font-size: 12px; }
.resource-card h3 { margin: 19px 0 8px; font: 600 16px/1.35 'Manrope', sans-serif; letter-spacing: -.04em; }
.resource-card p { max-width: 275px; margin: 0 0 15px; color: #788179; font-size: 9px; line-height: 1.7; }
.card-price { margin: auto 0 11px; color: #304c39; font: 700 15px 'Manrope', sans-serif; letter-spacing: -.035em; }
.card-link { display: inline-flex; gap: 9px; align-items: center; margin-top: auto; color: #405847; font-size: 8px; font-weight: 700; }
.card-link span { font-size: 11px; transition: transform .2s; }
.card-link:hover span { transform: translateX(3px); }
.empty-state { padding: 30px 0; color: var(--muted); font-size: 12px; text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }

.seo-guides { padding: 56px max(9%, calc((100% - 1120px) / 2)); background: #f7f8f5; }
.seo-guides > h2 { margin: 10px 0 7px; font: 600 26px 'Manrope', sans-serif; letter-spacing: -.055em; }
.seo-guides-intro { max-width: 510px; margin: 0 0 24px; color: #858e87; font-size: 10px; line-height: 1.7; }
.seo-guides-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.seo-guide-group { display: flex; align-items: flex-start; flex-direction: column; gap: 9px; }
.seo-guide-group h3 { margin: 0 0 3px; color: #415247; font: 700 10px 'DM Sans', sans-serif; }
.seo-guide-group a { color: #788279; font-size: 9px; line-height: 1.55; text-decoration-color: #ccd5c9; text-underline-offset: 3px; }
.seo-guide-group a:hover { color: var(--green); }

.bot-banner { position: relative; display: flex; min-height: 178px; align-items: center; justify-content: space-between; gap: 25px; overflow: hidden; padding: 35px max(9%, calc((100% - 1120px) / 2)); background: var(--green); color: #fff; }
.banner-decoration { position: absolute; top: -48px; right: 34%; color: #ffffff0c; font-size: 220px; line-height: 1; }
.banner-copy { position: relative; }
.banner-kicker { color: #c3d2bf; font-size: 8px; font-weight: 700; letter-spacing: .14em; }
.banner-copy h2 { margin: 10px 0 7px; font: 600 25px 'Manrope', sans-serif; letter-spacing: -.05em; }
.banner-copy p { margin: 0; color: #c6d0c8; font-size: 10px; }
.banner-button { position: relative; display: inline-flex; min-height: 42px; flex: 0 0 auto; align-items: center; gap: 15px; padding: 0 15px; border-radius: 4px; background: var(--lime); color: #24382c; font-size: 9px; font-weight: 700; transition: transform .2s; }
.banner-button:hover { transform: translateY(-2px); }

.footer { display: flex; min-height: 78px; align-items: center; justify-content: space-between; padding: 0 max(7.2%, calc((100% - 1240px) / 2)); color: #89918a; font-size: 9px; }
.footer-brand { color: var(--ink); font-size: 14px; }
.footer-brand .brand-icon { width: 27px; height: 27px; font-size: 14px; }
.footer > a:last-child { color: #4a5e4e; font-weight: 600; }

@media (min-width: 1200px) {
  .resource-card { min-height: 229px; padding: 19px 20px 17px; }
  .resource-card h3 { font-size: 17px; }
}

@media (max-width: 760px) {
  .topbar { position: relative; height: 68px; padding: 0 21px; }
  .topnav { gap: 17px; }
  .topnav-link { display: none; }
  .topnav-cta { padding: 9px 11px; font-size: 10px; }
  .menu-toggle { display: flex; width: 34px; height: 34px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid #dfe4dd; border-radius: 6px; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 14px; height: 1px; background: var(--ink); }
  .topnav.menu-open { position: absolute; z-index: 5; top: 58px; right: 16px; display: flex; min-width: 180px; align-items: stretch; flex-direction: column; gap: 0; padding: 8px; border: 1px solid #e8ebe6; border-radius: 7px; background: #fff; box-shadow: 0 12px 30px #23372a16; }
  .topnav.menu-open .topnav-link { display: block; padding: 11px; }
  .topnav.menu-open .topnav-cta { margin-top: 5px; text-align: center; }
  .hero { grid-template-columns: 1fr; padding: 0 25px; }
  .hero-copy { padding: 48px 0 0; }
  .hero h1 { font-size: clamp(55px, 12vw, 73px); }
  .hero-lead { max-width: 440px; }
  .hero-visual { min-height: 370px; }
  .visual-glow { width: 270px; height: 270px; }
  .orbit-a { width: 360px; height: 225px; }
  .orbit-b { width: 340px; height: 270px; }
  .study-card { width: min(330px, 84%); }
  .floating-chip { right: 2%; bottom: 44px; }
  .library-section { padding: 51px 21px 57px; }
  .seo-guides { padding: 42px 21px; }
  .seo-guides-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .section-topline { align-items: flex-start; flex-direction: column; gap: 9px; }
  .section-topline h2 { font-size: 26px; }
  .section-caption br { display: none; }
  .library-controls { align-items: stretch; flex-direction: column; }
  .search-box { width: 100%; }
  .filters { justify-content: flex-start; }
  .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-card { min-height: 218px; padding: 15px; }
  .bot-banner { align-items: flex-start; flex-direction: column; padding: 31px 23px; }
  .banner-button { min-height: 40px; }
  .banner-decoration { top: 10px; right: -10px; }
  .footer { min-height: 85px; padding: 14px 21px; }
  .footer > span { display: none; }
}

@media (max-width: 480px) {
  .hero { padding: 0 21px; }
  .hero-copy { padding-top: 41px; }
  .hero h1 { font-size: 55px; }
  .hero-visual { min-height: 340px; }
  .floating-chip { right: -3px; bottom: 29px; }
  .section-topline h2 { font-size: 24px; }
  .filters { gap: 5px; }
  .filter-button { padding: 0 8px; font-size: 7px; }
  .resource-grid { grid-template-columns: 1fr; }
  .resource-card { min-height: 195px; padding: 17px; }
  .seo-guides-grid { grid-template-columns: 1fr; }
  .resource-card h3 { margin-top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
