/* Senior Media Hub - Clean Static Site Styles */

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ===== BASE ===== */
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #1e293b;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: #0F766E; text-decoration: underline; text-decoration-color: rgba(15,118,110,.3); text-underline-offset: 2px; transition: color .2s, text-decoration-color .2s; }
a:hover { color: #0d9488; text-decoration-color: rgba(13,148,136,.6); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  color: #004d49;
  line-height: 1.3;
  margin-bottom: .5em;
}
h1 { font-size: 2.2rem; font-weight: 700; }
h2 { font-size: 1.6rem; font-weight: 700; margin-top: 2rem; }
h3 { font-size: 1.3rem; font-weight: 600; margin-top: 1.5rem; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { margin-bottom: 1.2em; }

ul, ol { margin: 0 0 1.2em 1.5em; }
li { margin-bottom: .4em; }

blockquote {
  border-left: 4px solid #0F766E;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: #f0fdfa;
  color: #334155;
  font-style: italic;
}

strong { font-weight: 600; }

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: #0F766E;
  color: #fff;
  padding: .5rem 1rem;
  z-index: 9999;
  font-weight: 600;
}
.skip-link:focus { top: 0; color: #fff; text-decoration: none; }

/* ===== CONTAINER ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container--narrow { max-width: 800px; }

/* ===== HEADER ===== */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-brand a {
  font-size: 1.4rem;
  font-weight: 700;
  color: #004d49;
  text-decoration: none;
  white-space: nowrap;
}
.site-brand a:hover { color: #0F766E; text-decoration: none; }

.main-nav { display: flex; align-items: center; gap: .2rem; flex-wrap: wrap; }
.main-nav a {
  padding: .4rem .8rem;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 500;
  color: #334155;
  white-space: nowrap;
  text-decoration: none;
}
.main-nav a:hover { background: #f0fdfa; color: #0F766E; text-decoration: none; }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: .5rem .7rem;
  cursor: pointer;
  font-size: 1.3rem;
  color: #334155;
  line-height: 1;
}

.header-actions { display: flex; align-items: center; gap: .5rem; order: 3; }
.search-toggle {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: .45rem .9rem;
  cursor: pointer;
  color: #0F766E;
  font-size: .9rem;
  font-weight: 500;
  line-height: 1;
}
.search-toggle:hover { background: #f0fdfa; border-color: #0F766E; }
.search-toggle svg { display: block; }

/* ===== Search overlay ===== */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, .6);
  z-index: 2000;
  padding: 4rem 1rem 2rem;
  overflow-y: auto;
}
body.search-open { overflow: hidden; }
.search-overlay__panel {
  background: #fff;
  border-radius: 12px;
  max-width: 720px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .35);
}
.search-overlay__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .5rem;
}
.search-overlay__label {
  font-size: 1.05rem;
  font-weight: 600;
  color: #004d49;
}
.search-overlay__close {
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  padding: .2rem .5rem;
  border-radius: 6px;
}
.search-overlay__close:hover { background: #f1f5f9; color: #0f172a; }
.search-overlay__inputwrap { margin-bottom: 1rem; }
.search-overlay__input {
  width: 100%;
  padding: .9rem 1rem;
  font-size: 1.1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
}
.search-overlay__input:focus { outline: none; border-color: #0F766E; box-shadow: 0 0 0 3px rgba(15, 118, 110, .15); }
.search-overlay__results { max-height: 60vh; overflow-y: auto; }
.search-overlay__empty { color: #64748b; padding: 1rem 0; margin: 0; }
.search-overlay__list { list-style: none; padding: 0; margin: 0; }
.search-overlay__item { border-top: 1px solid #f1f5f9; }
.search-overlay__item:first-child { border-top: none; }
.search-overlay__item a {
  display: block;
  padding: .8rem .25rem;
  color: inherit;
  text-decoration: none;
  border-radius: 6px;
}
.search-overlay__item a:hover, .search-overlay__item a:focus {
  background: #f0fdfa;
  text-decoration: none;
}
.search-overlay__item strong {
  display: block;
  font-size: 1.05rem;
  color: #004d49;
  margin-bottom: .15rem;
}
.search-overlay__excerpt {
  display: block;
  font-size: .92rem;
  color: #475569;
  line-height: 1.45;
  margin-bottom: .25rem;
}
.search-overlay__meta { display: flex; gap: .8rem; font-size: .8rem; color: #64748b; }
.search-overlay__cat { color: #0F766E; font-weight: 500; }
.search-overlay__count { font-size: .85rem; color: #64748b; margin: .8rem 0 0; }
.search-overlay__hint { font-size: .8rem; color: #94a3b8; margin: 1rem 0 0; }
.search-overlay__hint kbd {
  display: inline-block;
  padding: 1px 6px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: .75rem;
}

/* ===== Pager (paginated homepage) ===== */
.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 2.5rem 0 1rem;
  padding: 1rem 1.25rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}
.pager__link {
  font-size: 1rem;
  font-weight: 500;
  color: #0F766E;
  padding: .5rem .9rem;
  border-radius: 6px;
  text-decoration: none;
}
.pager__link:hover { background: #f0fdfa; text-decoration: none; }
.pager__link--disabled { color: #cbd5e1; cursor: default; }
.pager__pos { font-size: .95rem; color: #475569; }
.section-cta {
  margin: 1.5rem 0 0;
  text-align: center;
  font-size: 1.05rem;
}
.section-cta a {
  color: #0F766E;
  font-weight: 500;
  border-bottom: 1px solid transparent;
}
.section-cta a:hover { border-bottom-color: #0F766E; text-decoration: none; }

/* ===== Archive page (/articles/) ===== */
.archive { padding: 2rem 0 3rem; }
.archive__year + .archive__year { margin-top: 2.5rem; }
.archive__year-heading {
  font-size: 1.6rem;
  color: #004d49;
  margin: 0 0 .75rem;
  padding-bottom: .35rem;
  border-bottom: 2px solid #0F766E;
}
.archive__list { list-style: none; padding: 0; margin: 0; }
.archive__item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .25rem 1rem;
  padding: .65rem 0;
  border-bottom: 1px solid #f1f5f9;
}
.archive__title {
  font-size: 1.05rem;
  color: #0f172a;
  flex: 1 1 60%;
  min-width: 0;
}
.archive__title:hover { color: #0F766E; text-decoration: underline; }
.archive__meta {
  font-size: .85rem;
  color: #64748b;
  flex: 0 0 auto;
}
.archive__cat { color: #0F766E; }
@media (max-width: 600px) {
  .archive__item { flex-direction: column; gap: .15rem; }
  .pager { flex-direction: column; gap: .5rem; padding: 1rem; }
  .pager__pos { order: -1; }
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #004d49 0%, #0F766E 100%);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}
.hero h1 { color: #fff; font-size: 2.5rem; margin-bottom: .3em; }
.hero p { color: #ccfbf1; font-size: 1.15rem; max-width: 600px; margin: 0 auto; }

/* ===== ARTICLE GRID ===== */
.section-title {
  font-size: 1.5rem;
  color: #004d49;
  margin-bottom: 1.5rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid #0F766E;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.article-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.article-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  transform: translateY(-2px);
}

.article-card__image {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: #f1f5f9;
}

.article-card__body { padding: .4rem 1.2rem 1.2rem; }

.article-card__category {
  font-size: .78rem;
  color: #64748b;
}

.article-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #004d49;
  margin-bottom: .5rem;
  line-height: 1.4;
}
.article-card__title a { color: inherit; text-decoration: none; }
.article-card__title a:hover { color: #0F766E; text-decoration: none; }

.article-card__excerpt {
  font-size: .88rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: .7rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card__meta {
  font-size: .78rem;
  color: #64748b;
}
.article-card__meta a { color: #64748b; text-decoration: none; }
.article-card__meta a:hover { color: #0F766E; }

/* ===== CATEGORY GRID ===== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

.category-card {
  display: block;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  text-decoration: none;
  transition: all .2s;
}
.category-card:hover {
  background: #f0fdfa;
  border-color: #0F766E;
  text-decoration: none;
  transform: translateY(-2px);
}
.category-card__name {
  font-size: 1rem;
  font-weight: 600;
  color: #004d49;
  margin-bottom: .3rem;
}
.category-card:hover .category-card__name { color: #0F766E; }
.category-card__count {
  font-size: .8rem;
  color: #64748b;
}

/* ===== SINGLE ARTICLE ===== */
.article-header { margin-bottom: 2rem; }
.article-header h1 { font-size: 2rem; margin-bottom: .5rem; }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  font-size: .88rem;
  color: #64748b;
  margin-bottom: 1rem;
}
.article-meta a { color: #0F766E; font-weight: 500; }
.article-updated { color: #0F766E; font-weight: 500; }

.breadcrumbs {
  font-size: .85rem;
  color: #64748b;
  margin-bottom: 1.5rem;
}
.breadcrumbs a { color: #0F766E; }
.breadcrumbs .separator { margin: 0 .4rem; color: #cbd5e1; }

.article-content { margin-bottom: 3rem; }
.article-content h2 { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid #f1f5f9; }
.article-content h3 { margin-top: 2rem; }
.article-content ul, .article-content ol { margin-left: 1.5rem; margin-bottom: 1.5em; }
.article-content li { margin-bottom: .5em; }

.article-featured-image {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 2rem;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* Share buttons */
.share-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 2rem 0;
  padding: 1.2rem 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}
.share-bar__label {
  font-size: .88rem;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  margin-right: .5rem;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .4rem .8rem;
  border-radius: 6px;
  font-size: .8rem;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
}
.share-btn:hover { opacity: .85; color: #fff; text-decoration: none; }
.share-btn--facebook { background: #1264cc; }
.share-btn--x { background: #000; }
.share-btn--linkedin { background: #0A66C2; }
.share-btn--email { background: #64748b; }

/* Related articles */
.related-articles { margin-top: 3rem; }
.related-articles .section-title { font-size: 1.3rem; }
.more-from-author { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid #e2e8f0; }
.more-from-author .section-title { font-size: 1.3rem; }
.more-from-author .section-title a { color: #0F766E; text-decoration: none; }
.more-from-author .section-title a:hover { text-decoration: underline; }

/* ===== CATEGORY / AUTHOR PAGE ===== */
.page-hero {
  background: #f8fafc;
  padding: 3rem 0;
  margin-bottom: 2rem;
  border-bottom: 1px solid #e2e8f0;
}
.page-hero h1 { margin-bottom: .3em; }
.page-hero p { color: #64748b; font-size: 1.05rem; max-width: 600px; }

/* Author profile */
.author-profile {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  align-items: flex-start;
}
.author-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 4px solid #0F766E;
}
.author-info {
  flex: 1;
}
.author-role {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0F766E;
  margin-bottom: .5rem;
}
.author-bio {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #334155;
  max-width: 700px;
}
.author-expertise {
  margin-top: 1rem;
}
.author-expertise strong {
  color: #334155;
  font-size: .95rem;
}
.author-expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .5rem;
}
.author-expertise-tag {
  background: #0F766E;
  color: #fff;
  padding: .25rem .75rem;
  border-radius: 1rem;
  font-size: .85rem;
}
.author-articles-heading {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
}
.author-topics {
  background: #f0fdfa;
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}
.author-topics h2 {
  color: #004d49;
  margin-top: 0;
  font-size: 1.25rem;
}
.author-topics ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .5rem 1.5rem;
}
.author-topics li {
  padding: .35rem 0;
  font-size: .95rem;
}
.author-topics a {
  color: #0F766E;
  font-weight: 600;
  text-decoration: none;
}
.author-topics a:hover { text-decoration: underline; }
@media (max-width: 768px) {
  .author-profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .author-photo {
    width: 150px;
    height: 150px;
  }
  .author-expertise-tags {
    justify-content: center;
  }
}

/* ===== STATIC PAGES ===== */
.page-content {
  padding: 3rem 0;
}
.page-content h1 { margin-bottom: 1rem; }
.page-content h2 { margin-top: 2rem; }

/* ===== FOOTER ===== */
.site-footer {
  background: #004d49;
  color: #e2e8f0;
  padding: 3rem 0 0;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .3rem;
}
.footer-tagline { color: #94d5cf; font-size: .9rem; margin-bottom: 1rem; }

.footer-heading {
  font-size: .9rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .4rem; }
.footer-links a { color: #a7f3d0; font-size: .9rem; text-decoration: none; }
.footer-links a:hover { color: #fff; }

.footer-categories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .3rem;
}
.footer-categories-grid a {
  color: #a7f3d0;
  font-size: .85rem;
  padding: .2rem 0;
  display: block;
  text-decoration: none;
}
.footer-categories-grid a:hover { color: #fff; }

.social-icons {
  display: flex;
  gap: .7rem;
  margin-top: .8rem;
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  color: #fff;
  transition: background .2s;
}
.social-icon:hover { background: rgba(255,255,255,.25); color: #fff; text-decoration: none; }
.social-icon svg { width: 18px; height: 18px; fill: currentColor; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding: 1.2rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: .82rem;
  color: #a8e0da;
}
.footer-disclaimer {
  width: 100%;
  margin-top: .5rem;
  font-size: .75rem;
  color: #b0e6e0;
}
.footer-disclaimer a { color: #b0e6e0; text-decoration: underline; }
.footer-disclaimer a:hover { color: #fff; }

/* ===== NEWSLETTER ===== */
.newsletter-form {
  display: flex;
  gap: .5rem;
  margin-top: .5rem;
}
.newsletter-form input[type="email"] {
  flex: 1;
  padding: .6rem .8rem;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 6px;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: .9rem;
}
.newsletter-form input[type="email"]::placeholder { color: #94d5cf; }
.newsletter-form button {
  padding: .6rem 1.2rem;
  background: #0d9488;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.newsletter-form button:hover { background: #14b8a6; }
.newsletter-privacy { font-size: .75rem; color: #94d5cf; margin-top: .3rem; }

/* Newsletter CTA (in-article) */
.newsletter-cta {
  margin: 2.5rem 0;
  border: 2px solid #0F766E;
  border-radius: 12px;
  background: linear-gradient(135deg, #f0fdfa 0%, #e6f7f5 100%);
  position: relative;
  overflow: hidden;
}
.newsletter-cta__inner {
  padding: 2rem 2rem 1.5rem;
  text-align: center;
}
.newsletter-cta__badge {
  display: inline-block;
  background: #0F766E;
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .25rem .75rem;
  border-radius: 20px;
  margin-bottom: .75rem;
}
.newsletter-cta__title {
  font-size: 1.5rem;
  color: #004d49;
  margin-bottom: .5rem;
  margin-top: 0;
}
.newsletter-cta__desc {
  color: #475569;
  font-size: .95rem;
  margin-bottom: 1.2rem;
  line-height: 1.6;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.newsletter-cta__btn {
  display: inline-block;
  padding: .8rem 2.2rem;
  background: #0F766E;
  color: #fff;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, transform .15s;
}
.newsletter-cta__btn:hover { background: #0d9488; color: #fff; text-decoration: none; transform: translateY(-1px); }
.newsletter-cta__embed { margin: .5rem auto; max-width: 500px; }
.newsletter-cta__embed iframe { border-radius: 8px; }
.newsletter-cta__proof {
  font-size: .8rem;
  color: #64748b;
  margin-top: .75rem;
  margin-bottom: 0;
}

/* ===== NEWSLETTER LANDING PAGE ===== */

/* Hero — clean white, left-aligned, bold typography */
.nl-hero {
  padding: 4rem 0 3.5rem;
  border-bottom: 1px solid #e2e8f0;
}
.nl-hero__container {
  max-width: 1100px; margin: 0 auto; padding: 0 2rem;
}
.nl-hero__content { max-width: 560px; }
.nl-hero__badge {
  display: inline-block; font-size: .75rem; font-weight: 700;
  color: #0F766E; text-transform: uppercase; letter-spacing: .1em;
  border: 2px solid #0F766E; border-radius: 20px;
  padding: .3rem .9rem; margin-bottom: 1.5rem;
}
.nl-hero__headline {
  font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1.08; color: #0f172a;
  margin: 0 0 1.25rem; font-weight: 800; letter-spacing: -.03em;
}
.nl-hero__sub {
  font-size: 1.1rem; line-height: 1.75; color: #475569;
  margin: 0 0 2rem; max-width: 460px;
}
.nl-hero__form-wrap { max-width: 440px; }
.nl-hero__label {
  display: block; font-size: .8rem; font-weight: 700;
  color: #0f172a; margin-bottom: .5rem; text-transform: uppercase;
  letter-spacing: .04em;
}
.nl-hero__form-wrap iframe { display: block; }
.nl-hero__fine {
  font-size: .78rem; color: #94a3b8; margin-top: .75rem;
}

/* Social proof testimonial strip */
.nl-social-strip {
  background: #f8fafc; border-bottom: 1px solid #e2e8f0;
  padding: 1.5rem 0;
}
.nl-social-strip__inner {
  max-width: 1100px; margin: 0 auto; padding: 0 2rem;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem;
}
.nl-testimonial-mini {
  display: flex; align-items: flex-start; gap: .75rem;
}
.nl-testimonial-mini img {
  border-radius: 50%; flex-shrink: 0; margin-top: .15rem;
}
.nl-testimonial-mini p {
  font-size: .88rem; line-height: 1.5; color: #475569; margin: 0;
}
.nl-testimonial-mini strong { color: #0f172a; font-weight: 600; white-space: nowrap; }

/* What you get */
.nl-what { padding: 3.5rem 0; }
.nl-what__inner {
  max-width: 900px; margin: 0 auto; padding: 0 2rem;
}
.nl-what__title {
  text-align: center; font-size: 1.75rem; color: #0f172a;
  margin: 0 0 2rem; font-weight: 700; letter-spacing: -.02em;
}
.nl-what__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: #e2e8f0; border: 1px solid #e2e8f0; border-radius: 12px;
  overflow: hidden;
}
.nl-what__item {
  background: #fff; padding: 1.5rem 1.75rem;
}
.nl-what__item h3 {
  font-size: 1rem; color: #0F766E; margin: 0 0 .35rem;
  font-weight: 700;
}
.nl-what__item p {
  font-size: .92rem; color: #475569; line-height: 1.6; margin: 0;
}
.nl-what__sample {
  text-align: center; margin-top: 2rem; margin-bottom: 0;
}
.nl-what__sample a {
  font-weight: 600; font-size: 1rem; color: #0F766E;
}
.nl-what__sample a:hover { text-decoration: underline; }

/* Authors */
.nl-authors {
  padding: 3rem 0; background: #f8fafc;
  border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0;
}
.nl-authors__inner {
  max-width: 700px; margin: 0 auto; padding: 0 2rem; text-align: center;
}
.nl-authors__title {
  font-size: 1.75rem; color: #0f172a; margin: 0 0 .5rem; font-weight: 700;
}
.nl-authors__sub {
  font-size: 1rem; color: #64748b; margin: 0 0 2rem;
}
.nl-authors__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.nl-author-card {
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
}
.nl-author-card img {
  border-radius: 50%; border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.nl-author-card strong { font-size: .9rem; color: #0f172a; }
.nl-author-card span { font-size: .8rem; color: #64748b; }

/* Bottom CTA */
.nl-bottom-cta {
  padding: 3.5rem 0 4rem;
}
.nl-bottom-cta__inner {
  max-width: 560px; margin: 0 auto; padding: 0 2rem; text-align: center;
}
.nl-bottom-cta__inner h2 {
  font-size: 2rem; color: #0f172a; margin: 0 0 .75rem; font-weight: 800;
}
.nl-bottom-cta__inner p {
  font-size: 1.05rem; color: #475569; line-height: 1.7;
  margin: 0 0 1.5rem;
}
.nl-bottom-cta__form { max-width: 420px; margin: 0 auto; }
.nl-bottom-cta__fine {
  font-size: .8rem; color: #94a3b8; margin-top: .75rem;
}

@media (max-width: 768px) {
  .nl-hero { padding: 2.5rem 0 2rem; }
  .nl-hero__headline { font-size: 2.2rem; }
  .nl-social-strip__inner { grid-template-columns: 1fr; gap: 1rem; }
  .nl-what__grid { grid-template-columns: 1fr; }
  .nl-authors__grid { grid-template-columns: 1fr 1fr; }
}

/* ===== FUNNEL / TOOLKIT PAGES ===== */

/* Hero — split layout with image */
.ft-hero {
  padding: 4rem 0 3.5rem;
  border-bottom: 1px solid #e2e8f0;
}
.ft-hero__container {
  max-width: 1100px; margin: 0 auto; padding: 0 2rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.ft-hero__badge {
  display: inline-block; font-size: .75rem; font-weight: 700;
  color: #0F766E; text-transform: uppercase; letter-spacing: .1em;
  border: 2px solid #0F766E; border-radius: 20px;
  padding: .3rem .9rem; margin-bottom: 1.5rem;
}
.ft-hero__headline {
  font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.08; color: #0f172a;
  margin: 0 0 1.25rem; font-weight: 800; letter-spacing: -.03em;
}
.ft-hero__sub {
  font-size: 1.05rem; line-height: 1.75; color: #475569;
  margin: 0 0 1rem; max-width: 480px;
}
.ft-hero__value-tag {
  font-size: 1.15rem; color: #0f172a; margin: 0 0 1.5rem; font-weight: 500;
}
.ft-value-strike {
  text-decoration: line-through; color: #94a3b8; font-weight: 400;
}
.ft-hero__form-wrap { max-width: 420px; }
.ft-hero__label {
  display: block; font-size: .8rem; font-weight: 700;
  color: #0f172a; margin-bottom: .5rem; text-transform: uppercase;
  letter-spacing: .04em;
}
.ft-hero__fine {
  font-size: .78rem; color: #94a3b8; margin-top: .75rem;
}
.ft-hero__image { text-align: center; }
.ft-hero__image img {
  max-width: 100%; height: auto; border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,.1);
}

/* Shared section titles */
.ft-section-title {
  text-align: center; font-size: 1.75rem; color: #0f172a;
  margin: 0 0 .75rem; font-weight: 700; letter-spacing: -.02em;
}
.ft-section-sub {
  text-align: center; font-size: 1.05rem; color: #64748b;
  margin: 0 auto 2.5rem; max-width: 600px; line-height: 1.7;
}

/* Value stack — guide cards */
.ft-value-stack {
  padding: 4rem 0; background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}
.ft-value-stack__inner {
  max-width: 800px; margin: 0 auto; padding: 0 2rem;
}
.ft-guide-card {
  display: grid; grid-template-columns: 80px 1fr auto; gap: 1.25rem;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
  padding: 1.5rem; margin-bottom: 1rem; align-items: start;
  transition: box-shadow .2s;
}
.ft-guide-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
.ft-guide-card__img { flex-shrink: 0; }
.ft-guide-card__img img {
  width: 80px; height: 100px; object-fit: cover; border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.ft-guide-card__content h3 {
  font-size: 1.1rem; color: #0f172a; margin: 0 0 .35rem; font-weight: 700;
}
.ft-guide-card__content p {
  font-size: .9rem; color: #64748b; line-height: 1.6; margin: 0 0 .5rem;
}
.ft-guide-card__content ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: .25rem .75rem;
}
.ft-guide-card__content li {
  font-size: .85rem; color: #475569; padding-left: 1.2em;
  position: relative;
}
.ft-guide-card__content li::before {
  content: "\2713"; position: absolute; left: 0; color: #0F766E; font-weight: 700;
}
.ft-guide-card__value {
  font-size: .9rem; white-space: nowrap; padding-top: .2rem;
}
.ft-value-total {
  text-align: center; padding: 1.5rem 0; font-size: 1.3rem; color: #0f172a;
}
.ft-value-total strong { color: #0F766E; font-size: 1.5rem; }
.ft-cta-center {
  max-width: 420px; margin: 0 auto; text-align: center;
}
.ft-cta-label {
  display: block; font-size: .8rem; font-weight: 700; color: #0f172a;
  margin-bottom: .5rem; text-transform: uppercase; letter-spacing: .04em;
}
.ft-cta-fine {
  font-size: .78rem; color: #94a3b8; margin-top: .75rem;
}

/* Why / problem section */
.ft-why { padding: 4rem 0; border-bottom: 1px solid #e2e8f0; }
.ft-why__inner {
  max-width: 900px; margin: 0 auto; padding: 0 2rem;
}
.ft-why__grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem;
  margin-bottom: 2rem;
}
.ft-why__item {
  text-align: center; padding: 1.5rem;
  background: #f8fafc; border-radius: 12px; border: 1px solid #e2e8f0;
}
.ft-why__stat {
  font-size: 2.5rem; font-weight: 800; color: #0F766E;
  margin-bottom: .5rem; line-height: 1;
}
.ft-why__item p {
  font-size: .95rem; color: #475569; line-height: 1.6; margin: 0;
}
.ft-why__closer {
  text-align: center; font-size: 1.05rem; color: #64748b;
  max-width: 640px; margin: 0 auto; line-height: 1.7;
}

/* Social proof / testimonials */
.ft-social-proof {
  padding: 4rem 0; background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}
.ft-social-proof__inner {
  max-width: 900px; margin: 0 auto; padding: 0 2rem;
}
.ft-testimonials {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.ft-testimonial {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
  padding: 1.5rem; text-align: center;
}
.ft-testimonial img {
  border-radius: 50%; margin-bottom: .75rem;
  border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.ft-testimonial blockquote {
  font-size: .95rem; color: #475569; line-height: 1.65;
  margin: 0 0 .75rem; font-style: italic;
}
.ft-testimonial cite {
  font-size: .85rem; color: #0f172a; font-weight: 600; font-style: normal;
}
.ft-social-proof__note {
  text-align: center; font-size: .85rem; color: #94a3b8; margin: 0;
}

/* Trust / authors */
.ft-trust {
  padding: 3.5rem 0; border-bottom: 1px solid #e2e8f0;
}
.ft-trust__inner {
  max-width: 700px; margin: 0 auto; padding: 0 2rem; text-align: center;
}
.ft-trust__authors {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  margin-top: 1.5rem;
}
.ft-trust__author {
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
}
.ft-trust__author img {
  border-radius: 50%; border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.ft-trust__author strong { font-size: .9rem; color: #0f172a; }
.ft-trust__author span { font-size: .8rem; color: #64748b; }

/* FAQ */
.ft-faq {
  padding: 4rem 0; background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}
.ft-faq__inner {
  max-width: 700px; margin: 0 auto; padding: 0 2rem;
}
.ft-faq__list { margin-top: 1rem; }
.ft-faq__item {
  border: 1px solid #e2e8f0; border-radius: 8px;
  margin-bottom: .75rem; background: #fff; overflow: hidden;
}
.ft-faq__item summary {
  padding: 1rem 1.25rem; font-size: 1rem; font-weight: 600;
  color: #0f172a; cursor: pointer; list-style: none;
}
.ft-faq__item summary::-webkit-details-marker { display: none; }
.ft-faq__item summary::before {
  content: "+"; display: inline-block; width: 1.5rem;
  font-weight: 700; color: #0F766E; font-size: 1.2rem;
}
.ft-faq__item[open] summary::before { content: "\2212"; }
.ft-faq__item p {
  padding: 0 1.25rem 1rem 2.75rem;
  font-size: .95rem; color: #475569; line-height: 1.7; margin: 0;
}

/* Final CTA */
.ft-final-cta {
  padding: 4rem 0 4.5rem;
}
.ft-final-cta__inner {
  max-width: 560px; margin: 0 auto; padding: 0 2rem; text-align: center;
}
.ft-final-cta__inner h2 {
  font-size: 2rem; color: #0f172a; margin: 0 0 .75rem; font-weight: 800;
}
.ft-final-cta__inner p {
  font-size: 1.05rem; color: #475569; line-height: 1.7;
  margin: 0 0 1.5rem;
}
.ft-final-cta__form { max-width: 420px; margin: 0 auto; }
.ft-final-cta__fine {
  font-size: .8rem; color: #94a3b8; margin-top: .75rem;
}

/* Download / thank-you page */
.ft-download { padding: 3rem 0 4rem; }
.ft-download__inner {
  max-width: 700px; margin: 0 auto; padding: 0 2rem;
}
.ft-download__header { text-align: center; margin-bottom: 2.5rem; }
.ft-download__check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: #0F766E; color: #fff; font-size: 2rem; font-weight: 700;
  margin-bottom: 1rem;
}
.ft-download__header h1 {
  font-size: 2rem; color: #0f172a; margin: 0 0 .75rem; font-weight: 800;
}
.ft-download__sub {
  font-size: 1.05rem; color: #64748b; line-height: 1.7;
}
.ft-dl-card {
  display: grid; grid-template-columns: 48px 1fr 32px; gap: 1rem;
  padding: 1.25rem; border: 1px solid #e2e8f0; border-radius: 10px;
  margin-bottom: .75rem; text-decoration: none; align-items: center;
  transition: border-color .2s, box-shadow .2s; background: #fff;
}
.ft-dl-card:hover {
  border-color: #0F766E; box-shadow: 0 4px 12px rgba(15,118,110,.1);
  text-decoration: none;
}
.ft-dl-card__img { flex-shrink: 0; }
.ft-dl-card__img img {
  width: 48px; height: 60px; object-fit: cover; border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,.1);
}
.ft-dl-card__content h3 {
  font-size: 1rem; color: #0f172a; margin: 0 0 .2rem; font-weight: 700;
}
.ft-dl-card__content p {
  font-size: .85rem; color: #64748b; line-height: 1.5; margin: 0;
}
.ft-dl-card__arrow {
  font-size: 1.25rem; color: #0F766E; font-weight: 700; text-align: center;
}
.ft-download__footer {
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0; text-align: center;
}
.ft-download__footer p {
  font-size: .95rem; color: #64748b; line-height: 1.7; margin: .5rem 0;
}
.ft-download__footer a { color: #0F766E; font-weight: 600; }

/* Guide pages (individual toolkit guides) */
.ft-guide {
  max-width: 800px; margin: 0 auto; padding: 0 2rem;
}
.ft-guide__header {
  text-align: center; padding: 3rem 0 2rem;
  border-bottom: 1px solid #e2e8f0; margin-bottom: 2.5rem;
}
.ft-guide__badge {
  display: inline-block; font-size: .72rem; font-weight: 700;
  color: #0F766E; text-transform: uppercase; letter-spacing: .1em;
  border: 2px solid #0F766E; border-radius: 20px;
  padding: .25rem .75rem; margin-bottom: 1rem;
}
.ft-guide__header h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem); color: #0f172a;
  margin: 0 0 .75rem; font-weight: 800; letter-spacing: -.02em;
}
.ft-guide__subtitle {
  font-size: 1.1rem; color: #64748b; line-height: 1.6; margin: 0 0 .75rem;
  max-width: 560px; margin-left: auto; margin-right: auto;
}
.ft-guide__meta {
  font-size: .85rem; color: #94a3b8; margin: 0;
}
.ft-guide__meta a { color: #0F766E; }
.ft-guide__body {
  font-size: 1.05rem; line-height: 1.8; color: #1e293b;
}
.ft-guide__body h2 {
  font-size: 1.5rem; color: #0f172a; margin: 2.5rem 0 1rem;
  font-weight: 700; border-bottom: 2px solid #0F766E;
  padding-bottom: .4rem;
}
.ft-guide__body h3 {
  font-size: 1.15rem; color: #0f172a; margin: 2rem 0 .75rem;
  font-weight: 700;
}
.ft-guide__body ul, .ft-guide__body ol {
  padding-left: 1.5rem; margin: 1rem 0;
}
.ft-guide__body li { margin-bottom: .5rem; }
.ft-guide__body strong { color: #0f172a; }
.ft-guide__body blockquote {
  border-left: 4px solid #0F766E; background: #f0fdfa;
  padding: 1rem 1.25rem; margin: 1.5rem 0; border-radius: 0 8px 8px 0;
  font-style: italic; color: #475569;
}
.ft-guide__footer {
  margin-top: 3rem; padding: 2rem; text-align: center;
  background: #f0fdfa; border-radius: 12px; border: 1px solid #d1e7e5;
}
.ft-guide__footer p {
  font-size: 1rem; color: #475569; line-height: 1.7; margin: .5rem 0;
}
.ft-guide__cta-btn {
  display: inline-block; padding: .8rem 2rem;
  background: #0F766E; color: #fff; border-radius: 8px;
  font-size: 1.05rem; font-weight: 600; text-decoration: none;
  transition: background .2s, transform .15s;
}
.ft-guide__cta-btn:hover {
  background: #0d9488; color: #fff; text-decoration: none;
  transform: translateY(-1px);
}

/* Post-subscribe access link */
.ft-post-sub {
  font-size: .82rem; color: #64748b; margin-top: .75rem;
}
.ft-post-sub a { color: #0F766E; font-weight: 600; }
.ft-post-sub a:hover { text-decoration: underline; }

/* Success banner (shown after subscribe via JS) */
.ft-success-banner {
  display: none; margin-top: 1rem; padding: 1rem 1.5rem;
  background: #f0fdfa; border: 2px solid #0F766E; border-radius: 10px;
  text-align: center;
}
.ft-success-banner.is-visible { display: block; }
.ft-success-banner p {
  font-size: 1rem; color: #0f172a; margin: 0 0 .5rem; font-weight: 600;
}
.ft-success-banner a {
  display: inline-block; padding: .65rem 1.75rem;
  background: #0F766E; color: #fff; border-radius: 8px;
  font-size: 1rem; font-weight: 600; text-decoration: none;
  transition: background .2s;
}
.ft-success-banner a:hover { background: #0d9488; color: #fff; }

/* Toolkit print styles */
@media print {
  .ft-guide__header { border-bottom: 2px solid #000; }
  .ft-guide__badge { border-color: #000; color: #000; }
  .ft-guide__footer { display: none !important; }
  .ft-guide__meta { display: none !important; }
  .ft-guide__body { orphans: 4; widows: 4; }
  .ft-guide__body h2 { border-bottom-color: #000; break-after: avoid; page-break-after: avoid; }
  .ft-guide__body h3 { break-after: avoid; page-break-after: avoid; }
  .ft-guide__body strong { break-after: avoid; page-break-after: avoid; }
  .ft-guide__body p { orphans: 3; widows: 3; }
  .ft-guide__body ul, .ft-guide__body ol { break-inside: avoid; page-break-inside: avoid; }
  .ft-guide__body blockquote { break-inside: avoid; page-break-inside: avoid; }
  .ft-guide__body p + ul, .ft-guide__body p + ol { break-before: avoid; page-break-before: avoid; }
  header, footer, .back-to-top { display: none !important; }
}

/* Toolkit responsive */
@media (max-width: 768px) {
  .ft-hero__container { grid-template-columns: 1fr; gap: 2rem; }
  .ft-hero__image { order: -1; }
  .ft-hero__image img { max-width: 320px; }
  .ft-hero { padding: 2.5rem 0 2rem; }
  .ft-hero__headline { font-size: 2rem; }
  .ft-guide-card { grid-template-columns: 64px 1fr; }
  .ft-guide-card__img img { width: 64px; height: 80px; }
  .ft-guide-card__value { grid-column: 2; }
  .ft-guide-card__content ul { grid-template-columns: 1fr; }
  .ft-why__grid { grid-template-columns: 1fr; gap: 1rem; }
  .ft-testimonials { grid-template-columns: 1fr; }
  .ft-trust__authors { grid-template-columns: 1fr 1fr; }
  .ft-dl-card { grid-template-columns: 40px 1fr 24px; }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #0F766E;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  transition: opacity .2s;
  z-index: 999;
}
.back-to-top:hover { background: #0d9488; }

/* ===== 404 ===== */
.error-page { text-align: center; padding: 5rem 1.5rem; }
.error-page h1 { font-size: 4rem; color: #0F766E; }
.error-page p { color: #64748b; font-size: 1.1rem; margin-bottom: 2rem; }
.error-page a {
  display: inline-block;
  background: #0F766E;
  color: #fff;
  padding: .8rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}
.error-page a:hover { background: #0d9488; color: #fff; text-decoration: none; }

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin: 2rem 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  body { font-size: 17px; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }

  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    flex-direction: column;
    padding: .5rem 1.5rem 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: .6rem 0; width: 100%; }
  .search-toggle__label { display: none; }
  .search-toggle { padding: .45rem .55rem; }
  .search-overlay { padding-top: 2rem; }
  .search-overlay__panel { padding: 1rem; }

  .hero { padding: 2.5rem 0; }
  .hero h1 { font-size: 2rem; }

  .article-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: .3rem; text-align: center; }

  .share-bar { justify-content: center; }
}

@media (max-width: 480px) {
  .category-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .article-card__body { padding: 1rem; }
}

/* ===== TOOLS ===== */
.tool-header { margin: 2rem 0 1.5rem; }
.tool-header h1 { font-size: 2rem; margin-bottom: .5rem; }
.tool-header__sub { font-size: 1.1rem; color: #64748b; line-height: 1.6; }

/* Explainer */
.tool-explainer { margin-bottom: 2rem; }
.tool-explainer h2 { font-size: 1.4rem; margin-top: 0; margin-bottom: .5rem; }
.tool-explainer h3 { font-size: 1.1rem; margin-top: 1.25rem; margin-bottom: .4rem; }
.tool-explainer p, .tool-explainer li { font-size: 1rem; line-height: 1.7; }
.tool-explainer ul { margin-bottom: .75rem; }

/* Tool FAQ */
.tool-faq { margin: 2rem 0; padding: 1.5rem; background: #f8fafc; border-radius: 12px; border: 1px solid #e2e8f0; }
.tool-faq h2 { font-size: 1.4rem; margin-top: 0; margin-bottom: 1rem; color: #0F766E; }
.tool-faq__item { border-bottom: 1px solid #e2e8f0; padding: .875rem 0; }
.tool-faq__item:last-child { border-bottom: none; }
.tool-faq__item summary { font-weight: 600; font-size: 1.05rem; cursor: pointer; padding: .25rem 0; color: #1e293b; list-style: none; }
.tool-faq__item summary::-webkit-details-marker { display: none; }
.tool-faq__item summary::before { content: "+ "; color: #0F766E; font-weight: 700; }
.tool-faq__item[open] summary::before { content: "− "; }
.tool-faq__body { padding: .5rem 0 .25rem 1.25rem; line-height: 1.7; color: #334155; font-size: 1rem; }
.tool-faq__body p { margin: 0 0 .5rem 0; }
.tool-faq__body p:last-child { margin-bottom: 0; }

/* Calculator form */
.tool-calc { background: #f8fffe; border: 2px solid #e0f2f1; border-radius: 12px; padding: 2rem; margin-bottom: 2rem; }
.tool-calc__form { max-width: 480px; }

.tool-field { margin-bottom: 1.5rem; }
.tool-field label { display: block; font-weight: 600; color: #004d49; margin-bottom: .4rem; font-size: 1rem; }

.tool-field select,
.tool-field input {
  width: 100%;
  padding: .75rem 1rem;
  font-size: 1.1rem;
  border: 2px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #1e293b;
  transition: border-color .2s;
}
.tool-field select:focus,
.tool-field input:focus { outline: none; border-color: #0F766E; box-shadow: 0 0 0 3px rgba(15,118,110,.15); }

.tool-field__input-wrap { position: relative; }
.tool-field__prefix {
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  font-size: 1.1rem; color: #64748b; font-weight: 600; pointer-events: none;
}
.tool-field__input-wrap input { padding-left: 1.75rem; }

.tool-field__help-toggle {
  background: none; border: none; color: #0F766E; font-size: .9rem;
  cursor: pointer; padding: .25rem 0; text-decoration: underline;
  text-decoration-color: rgba(15,118,110,.3); margin-top: .25rem;
}
.tool-field__help-toggle:hover { color: #0d9488; }

.tool-field__help {
  background: #f0fdfa; border-left: 3px solid #0F766E; padding: 1rem 1.25rem;
  margin-top: .75rem; border-radius: 0 8px 8px 0; font-size: .95rem;
}
.tool-field__help ul { margin: .5rem 0 .5rem 1.25rem; }
.tool-field__help li { margin-bottom: .25rem; font-size: .9rem; }
.tool-field__help p:last-child { margin-bottom: 0; }

.tool-calc__btn {
  background: #0F766E; color: #fff; border: none; padding: .9rem 2.5rem;
  font-size: 1.1rem; font-weight: 600; border-radius: 8px; cursor: pointer;
  transition: background .2s, transform .1s; width: 100%;
}
.tool-calc__btn:hover { background: #004d49; }
.tool-calc__btn:active { transform: scale(.98); }

/* Results */
.tool-results { margin-top: 2rem; padding-top: 2rem; border-top: 2px solid #e0f2f1; }
.tool-results h2 { color: #004d49; margin-bottom: 1.25rem; }

.tool-results__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }

.tool-results__card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 10px;
  padding: 1.25rem; text-align: center;
}
.tool-results__card--primary { border-color: #0F766E; border-width: 2px; background: #f0fdfa; }
.tool-results__label { display: block; font-size: .85rem; color: #64748b; text-transform: uppercase; letter-spacing: .5px; margin-bottom: .3rem; }
.tool-results__value { display: block; font-size: 1.6rem; font-weight: 700; color: #004d49; }
.tool-results__card--primary .tool-results__value { color: #0F766E; }
.tool-results__note { display: block; font-size: .8rem; color: #94a3b8; margin-top: .3rem; }

/* Cliff warning */
.tool-cliff {
  background: #fff7ed; border: 1px solid #fed7aa; border-radius: 10px;
  padding: 1.25rem 1.5rem; margin-bottom: 1.5rem;
}
.tool-cliff h3 { color: #9a3412; font-size: 1rem; margin-bottom: .5rem; margin-top: 0; }
.tool-cliff p { margin-bottom: 0; font-size: .95rem; color: #7c2d12; }

/* Couple section */
.tool-couple {
  background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 10px;
  padding: 1.25rem 1.5rem; margin-bottom: 1.5rem;
}
.tool-couple h3 { color: #0369a1; font-size: 1rem; margin-top: 0; }
.tool-couple ul { margin-bottom: 0; }

/* Bracket table */
.tool-brackets { margin-bottom: 1.5rem; }
.tool-brackets summary {
  cursor: pointer; font-weight: 600; color: #0F766E; padding: .5rem 0;
}
.tool-brackets summary:hover { color: #004d49; }
.tool-brackets__inner { margin-top: 1rem; overflow-x: auto; }
.tool-brackets table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tool-brackets th { background: #004d49; color: #fff; padding: .6rem .75rem; text-align: left; font-weight: 600; }
.tool-brackets td { padding: .6rem .75rem; border-bottom: 1px solid #e2e8f0; }
.tool-brackets tr:nth-child(even) td { background: #f8fafc; }
.tool-brackets__active td { background: #f0fdfa !important; font-weight: 600; border-left: 3px solid #0F766E; }

/* PLF matrix table */
.tool-plf-matrix { width: 100%; border-collapse: collapse; font-size: .9rem; margin-top: .5rem; }
.tool-plf-matrix th { background: #004d49; color: #fff; padding: .55rem .65rem; text-align: right; font-weight: 600; white-space: nowrap; }
.tool-plf-matrix thead th:first-child { text-align: left; }
.tool-plf-matrix tbody th { background: #f0fdfa; color: #004d49; text-align: left; }
.tool-plf-matrix td { padding: .55rem .65rem; border-bottom: 1px solid #e2e8f0; text-align: right; font-variant-numeric: tabular-nums; }
.tool-plf-matrix td small { color: #475569; font-size: .8rem; }
.tool-plf-matrix tr:nth-child(even) td { background: #f8fafc; }
.tool-plf-matrix tr:nth-child(even) tbody th { background: #ecfdf5; }

/* Tips section */
.tool-tips { background: #f0fdfa; border-radius: 10px; padding: 1.5rem; margin-bottom: 1.5rem; }
.tool-tips h3 { color: #004d49; margin-top: 0; }
.tool-tips li { margin-bottom: .5rem; font-size: .95rem; }
.tool-tips p:last-child { margin-bottom: 0; }

/* Disclaimer */
.tool-disclaimer { font-size: .85rem; color: #475569; margin-bottom: 2rem; padding: 1rem; background: #f1f5f9; border-radius: 8px; }
.tool-disclaimer p { margin-bottom: 0; }

/* Tools index */
.tool-index { display: grid; gap: 1.25rem; margin-bottom: 3rem; }
.tool-index__card {
  display: block; background: #fff; border: 2px solid #e2e8f0; border-radius: 12px;
  padding: 1.75rem; text-decoration: none; transition: border-color .2s, box-shadow .2s;
}
.tool-index__card:hover { border-color: #0F766E; box-shadow: 0 4px 12px rgba(15,118,110,.1); text-decoration: none; }
.tool-index__card h2,
.tool-index__card h3 { font-size: 1.3rem; margin-top: .5rem; margin-bottom: .5rem; color: #004d49; }
.tool-index__card p { color: #64748b; margin-bottom: .5rem; font-size: .95rem; }
.tool-index__card p:last-child { margin-bottom: 0; }
.tool-index__use { color: #0F766E !important; font-size: .9rem !important; padding-top: .5rem; border-top: 1px solid #e2e8f0; }
.tool-index__icon { font-size: 2rem; }
.category-tools {
  background: #f0fdfa;
  border-radius: 12px;
  padding: 2rem;
  margin-top: 2rem;
}
.category-tools h2 {
  color: #004d49;
  margin-top: 0;
  font-size: 1.4rem;
}
.category-tools > p {
  color: #475569;
  margin-bottom: 1.25rem;
  font-size: .95rem;
}
.category-tools .tool-index { margin-bottom: 0; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.category-tools .tool-index__card { padding: 1.25rem; }

/* ===== REVERSE MORTGAGE OPTIONS ===== */
.rm-options { margin-bottom: 1.5rem; }
.rm-options h3 { margin-bottom: 1rem; }
.rm-options__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.rm-option { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 1.25rem; }
.rm-option h4 { margin: 0 0 .25rem; font-size: 1rem; color: #004d49; }
.rm-option__amount { font-size: 1.3rem; font-weight: 700; color: #0F766E; margin: .25rem 0 .5rem; }
.rm-option__desc { font-size: .85rem; color: #64748b; margin: 0; line-height: 1.5; }

.tool-field__note { font-size: .85rem; color: #475569; margin-top: .25rem; }

@media (max-width: 768px) {
  .rm-options__grid { grid-template-columns: 1fr; }
}

/* ===== HOME SAFETY CHECK ===== */
.hsc-room { margin-bottom: 2rem; }
.hsc-room__header { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: 1rem; }
.hsc-room__icon { font-size: 2rem; line-height: 1; flex-shrink: 0; margin-top: .1rem; }
.hsc-room__header h2 { margin: 0; font-size: 1.4rem; }
.hsc-room__why { font-size: .9rem; color: #64748b; margin: .15rem 0 0; }

.hsc-q { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 1rem 1.25rem; margin-bottom: .75rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.hsc-q__text { font-size: 1rem; margin: 0; flex: 1; line-height: 1.5; }

.hsc-q__toggle { display: flex; gap: .4rem; flex-shrink: 0; }
.hsc-q__toggle label { cursor: pointer; }
.hsc-q__toggle input { position: absolute; opacity: 0; width: 0; height: 0; }

.hsc-btn { display: inline-block; padding: .45rem 1rem; border-radius: 6px; font-size: .9rem; font-weight: 600; border: 2px solid #cbd5e1; color: #64748b; transition: all .15s; user-select: none; }
.hsc-btn--yes { border-color: #bbf7d0; color: #15803d; }
.hsc-btn--no { border-color: #fecaca; color: #dc2626; }

input:checked + .hsc-btn--yes { background: #15803d; color: #fff; border-color: #15803d; }
input:checked + .hsc-btn--no { background: #dc2626; color: #fff; border-color: #dc2626; }

.hsc-progress { text-align: center; font-size: .95rem; color: #64748b; margin: 1.5rem 0 1rem; font-weight: 500; }
.hsc-btn-hint { text-align: center; font-size: .85rem; color: #94a3b8; margin-top: .5rem; }

/* Score card */
.hsc-score { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1.5rem; padding: 1.5rem; background: #fff; border-radius: 12px; border: 2px solid #e2e8f0; }
.hsc-score__circle { width: 100px; height: 100px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hsc-score__pct { font-size: 1.8rem; font-weight: 700; color: #fff; }
.hsc-score--green { background: #15803d; }
.hsc-score--yellow { background: #ca8a04; }
.hsc-score--orange { background: #ea580c; }
.hsc-score--red { background: #dc2626; }
.hsc-score__text h3 { margin: 0 0 .25rem; font-size: 1.3rem; }
.hsc-score__text p { margin: 0; color: #64748b; font-size: .95rem; }

/* Room bars */
.hsc-rooms-summary { margin-bottom: 1.5rem; }
.hsc-room-bar { display: flex; align-items: center; gap: .75rem; margin-bottom: .5rem; }
.hsc-room-bar__label { font-size: .9rem; font-weight: 500; width: 140px; flex-shrink: 0; }
.hsc-room-bar__track { flex: 1; height: 12px; background: #f1f5f9; border-radius: 6px; overflow: hidden; }
.hsc-room-bar__fill { height: 100%; border-radius: 6px; transition: width .3s; }
.hsc-bar--green { background: #15803d; }
.hsc-bar--yellow { background: #ca8a04; }
.hsc-bar--red { background: #dc2626; }
.hsc-room-bar__score { font-size: .85rem; color: #64748b; width: 30px; text-align: right; flex-shrink: 0; }

/* Fix items */
.hsc-fixes { margin-bottom: 1.5rem; }
.hsc-fixes h3 { margin-bottom: .5rem; }
.hsc-fix { background: #fff; border-radius: 10px; padding: 1.25rem; margin-bottom: .75rem; border-left: 4px solid #e2e8f0; }
.hsc-fix--high { border-left-color: #dc2626; }
.hsc-fix--medium { border-left-color: #ca8a04; }
.hsc-fix__header { display: flex; gap: .5rem; align-items: center; margin-bottom: .5rem; }
.hsc-fix__prio { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; padding: .2rem .5rem; border-radius: 4px; }
.hsc-fix--high .hsc-fix__prio { background: #fef2f2; color: #dc2626; }
.hsc-fix--medium .hsc-fix__prio { background: #fefce8; color: #a16207; }
.hsc-fix__room { font-size: .8rem; color: #94a3b8; }
.hsc-fix__question { font-weight: 600; margin-bottom: .5rem; font-size: .95rem; }
.hsc-fix__action { margin-bottom: .5rem; font-size: .9rem; }
.hsc-fix__meta { display: flex; gap: 1.5rem; font-size: .85rem; color: #64748b; flex-wrap: wrap; }
.hsc-fix__risk { flex: 1; min-width: 200px; }

/* Perfect score */
.hsc-perfect { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px; padding: 1.5rem; margin-bottom: 1.5rem; }
.hsc-perfect h3 { color: #15803d; margin-top: 0; }

/* Print button */
.hsc-print-btn { background: #fff; border: 2px solid #0F766E; color: #0F766E; padding: .75rem 2rem; font-size: 1rem; font-weight: 600; border-radius: 8px; cursor: pointer; display: block; margin: 0 auto 2rem; }
.hsc-print-btn:hover { background: #f0fdfa; }

@media print {
  .site-header, .site-footer, .newsletter-cta, .hsc-print-btn, .tool-disclaimer, .tool-explainer, #hsc-form { display: none !important; }
  .hsc-results { border: none !important; }
}

/* Tools responsive */
@media (max-width: 768px) {
  .tool-results__grid { grid-template-columns: 1fr; }
  .tool-calc { padding: 1.25rem; }
  .tool-header h1 { font-size: 1.5rem; }
  .tool-results__value { font-size: 1.3rem; }
  .tool-brackets table { font-size: .8rem; }
  .tool-brackets th, .tool-brackets td { padding: .4rem .5rem; }

  .hsc-q { flex-direction: column; align-items: flex-start; }
  .hsc-q__toggle { align-self: flex-end; }
  .hsc-score { flex-direction: column; text-align: center; }
  .hsc-room-bar__label { width: 110px; font-size: .8rem; }
  .hsc-fix__meta { flex-direction: column; gap: .5rem; }
}
