/* Compact editorial layout. Keep task controls readable; remove empty stage space. */
:root {
  --container: 1320px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 3px 14px rgb(9 24 44 / 0.05);
}

.section { padding-block: 56px; }
.section-heading { max-width: none; margin-bottom: 24px; }
.section-heading--row { gap: 20px; }
.section-heading h2 { font-size: clamp(27px, 2.6vw, 36px); line-height: 1.25; }
.section-heading > p,
.section-heading--row > p { max-width: 520px; font-size: 15px; line-height: 1.6; }
.eyebrow { margin-bottom: 8px; font-family: var(--font-sans); font-size: 12px; letter-spacing: 0; }
.site-header { height: 112px; }
.site-header__inner { grid-template-rows: 64px 48px; }
.primary-nav,
.primary-nav a,
.primary-menu a { min-height: 48px; height: 48px; }
.primary-nav a,
.primary-menu a { font-size: 14px; }

/* Home: visible work choices above the fold, rather than a full-height stage. */
.home .hero {
  min-height: 0;
  padding: 34px 0 36px;
  background: #f3f7f6;
}
.home .hero::before { display: none; }
.home .hero__grid {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 410px);
  gap: clamp(25px, 3vw, 44px);
  align-items: stretch;
}
.home .hero__content { align-self: center; }
.home .hero h1 { max-width: 760px; font-size: clamp(34px, 3.3vw, 46px); line-height: 1.23; }
.home .hero__lead { margin: 16px 0 20px; font-size: 16px; line-height: 1.6; }
.home .hero-search {
  max-width: 660px;
  min-height: 58px;
  padding: 5px 5px 5px 16px;
  border-width: 1px;
  border-radius: 10px;
  box-shadow: none;
}
.home .hero-search input { height: 46px; font-size: 15px; }
.home .hero-search > button { height: 46px; min-width: 78px; border-radius: 7px; }
.home .popular-keywords { margin-top: 10px; font-size: 13px; }
.home .trust-row { margin-top: 15px; gap: 12px; font-size: 13px; }
.home .hero-board {
  padding: 20px 23px;
  color: var(--navy-900);
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  box-shadow: none;
  transform: none;
}
.home .hero-board::before,
.home .hero-board__clip { display: none; }
.home .hero-board__top { padding: 0 0 10px; border-color: var(--slate-200); }
.home .hero-board h2 { font-size: 20px; }
.home .field-checklist { padding: 0; }
.home .field-checklist li {
  position: relative;
  grid-template-columns: 29px minmax(0, 1fr);
  gap: 10px;
  min-height: 63px;
  border-color: var(--slate-200);
}
.home .field-checklist li:last-child { border-bottom: 0; }
.home .field-checklist li > span {
  width: 25px;
  height: 25px;
  color: var(--teal-dark);
  background: var(--teal-soft);
  border: 0;
  border-radius: 6px;
  font-size: 11px;
}
.home .field-checklist li > div { min-width: 0; }
.home .field-checklist a { display: block; padding: 9px 18px 9px 0; }
.home .field-checklist li::after {
  position: absolute;
  right: 2px;
  top: 50%;
  color: var(--teal-dark);
  content: "›";
  font-size: 24px;
  transform: translateY(-50%);
}
.home .field-checklist strong { margin: 0; color: var(--navy-900); font-size: 15px; }
.home .field-checklist small { color: var(--slate-600); font-size: 12px; line-height: 1.5; }

/* Dense directories; labels remain fully readable. */
.quick-grid { gap: 10px; }
.quick-card { grid-template-columns: 36px minmax(0, 1fr) 16px; min-height: 86px; gap: 10px; padding: 13px 14px; border-radius: 10px; }
.quick-card__icon { width: 36px; height: 36px; border-radius: 8px; }
.quick-card__icon svg { width: 19px; height: 19px; }
.quick-card__body small { color: var(--slate-600); font-family: var(--font-sans); font-size: 12px; letter-spacing: 0; }
.quick-card__body strong { font-size: 15px; line-height: 1.35; }
.quick-card__body > span { font-size: 12px; }
.quick-card:hover,
.workflow-step:hover,
.post-card:hover { transform: none; }
.marketing-hub-card { min-height: 92px; padding: 14px 16px; border-radius: 10px; }
.marketing-hub-card__icon { width: 42px; height: 42px; border-radius: 9px; }
.marketing-hub-card small { font-size: 13px; }
.marketing-section .container > p { margin: 16px 0 0; font-size: 14px; }
.home .marketing-section { padding-top: 36px; }
.home .marketing-section .section-heading { margin-bottom: 18px; }

.workflow-section { color: var(--navy-900); background: #eef4f2; }
.workflow-section .eyebrow { color: var(--teal-dark); }
.workflow-section .section-heading h2 { color: var(--navy-950); }
.workflow-section .section-heading > p { color: var(--slate-700); }
.workflow-section .section-heading a { color: var(--teal-dark); }
.workflow-step {
  min-height: 178px;
  padding: 17px;
  color: var(--navy-900);
  background: var(--white);
  border-color: var(--slate-200);
  border-radius: 10px;
}
.workflow-step:hover { background: var(--white); border-color: var(--teal); }
.workflow-step__number { margin-bottom: 16px; color: var(--teal-dark); font-family: var(--font-sans); font-size: 12px; }
.workflow-step strong { margin-bottom: 5px; font-size: 17px; }
.workflow-step p { color: var(--slate-600); font-size: 13px; }
.workflow-step__link { right: 17px; bottom: 14px; left: 17px; color: var(--teal-dark); font-size: 13px; }
.data-layout { grid-template-columns: minmax(0, .72fr) minmax(0, 1fr); gap: 40px; }
.data-copy h2 { font-size: clamp(30px, 3vw, 40px); }
.data-copy > p:not(.eyebrow) { margin: 14px 0 18px; }
.insight-links { gap: 10px; }
.insight-links a { min-height: 105px; padding: 16px; border-radius: 10px; }
.insight-links span { min-width: 44px; height: 44px; padding-top: 13px; border-radius: 8px; font-size: 11px; }
.insight-links strong { font-size: 16px; }
.insight-links small { font-size: 12px; }
.calculator-panel { min-height: 0; }
.calculator-shell { border-radius: 12px; box-shadow: none; }
.calculator-panel__intro,
.calculator-panel form,
.calculator-result { padding: 25px; }
.post-grid { gap: 12px; }
.post-card { border-radius: 10px; }
.standards-section { padding-block: 48px; }
.standards-card { gap: 35px; padding: 32px; border-radius: 12px; background: var(--navy-900); }
.standards-card h2 { font-size: clamp(28px, 2.6vw, 36px); }

/* Inner pages share a compact title area. Existing addresses and anchors stay intact. */
.content-header,
.archive-header,
.search-header { padding: 38px 0 32px; }
.content-header h1,
.archive-header h1,
.search-header h1 { font-size: clamp(32px, 3.4vw, 44px); }
.content-wrap,
.archive-content,
.search-content { padding: 38px 0 64px; }
.practice-hub { min-height: 0; }
.practice-hub__hero { padding: 36px 0 42px; background: var(--navy-900); }
.practice-hub__hero-grid { gap: 24px; }
.practice-breadcrumb { margin-bottom: 16px; }
.practice-hub__hero h1 { margin: 7px 0 10px; font-size: clamp(34px, 3.7vw, 48px); line-height: 1.2; }
.practice-hub__lead { max-width: 920px; font-size: 16px; line-height: 1.6; }
.practice-hub__actions { margin-top: 18px; }
.practice-card-grid { gap: 10px; }
.practice-card { min-height: 180px; padding: 20px; border-radius: 10px; box-shadow: none; }
.practice-card__number { color: var(--teal-dark); background: var(--teal-soft); border-radius: 6px; }
.practice-card h3,
.practice-card h4 { margin: 12px 0 7px; font-size: 19px; }
.practice-card p { margin-bottom: 14px; font-size: 14px; }
.practice-card a { color: var(--teal-dark); font-size: 14px; }
.tool-directory-nav { gap: 7px; margin-bottom: 17px; }
.tool-directory-nav a { padding-inline: 12px; font-size: 14px; border-radius: 8px; }
.tool-directory-heading { margin-top: 14px; }
.tool-directory-heading h3 { font-size: 20px; }
.tool-directory-heading p { font-size: 14px; }
.practice-next-card { padding: 26px; border-radius: 10px; }
.real-price-hero { padding: 40px 0 36px; background: var(--navy-900); }
.real-price-hero h1 { margin: 8px 0 12px; font-size: clamp(34px, 3.8vw, 50px); }
.real-filter { margin-bottom: 32px; border-radius: 10px; box-shadow: none; }
.real-section-heading--transactions { margin-top: 40px; }
.site-footer__main,
.footer-main,
.site-footer__inner { gap: 32px; padding-top: 35px; padding-bottom: 30px; }
.site-footer__inner { min-height: 0; }
.site-footer__brand img,
.footer-brand img { width: 220px; margin-bottom: 10px; }
.site-footer__bottom,
.footer-bottom { min-height: 54px; }

@media (max-width: 920px) {
  .section { padding-block: 46px; }
  .site-header { height: 112px; }
  .site-header .site-header__inner { grid-template-rows: 64px 48px; }
  .primary-nav { height: 48px; }
  .primary-nav a,
  .primary-menu a { min-height: 48px; height: 48px; }
  .menu-toggle,
  [data-menu-toggle] { height: 48px; }
  .menu-open .primary-nav,
  .primary-nav.is-open { top: 112px; height: auto; }
  .admin-bar .primary-nav.is-open,
  .admin-bar.menu-open .primary-nav { top: 144px; }
  .home .hero { padding-block: 36px; }
  .home .hero__grid { grid-template-columns: 1fr; gap: 22px; }
  .home .hero-board { width: 100%; }
  .home .field-checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
  .home .field-checklist li:nth-last-child(2) { border-bottom: 0; }
  .data-layout { grid-template-columns: 1fr; gap: 28px; }
  .practice-hub__hero { padding-block: 34px; }
}

@media (max-width: 680px) {
  .section { padding-block: 34px; }
  .site-header { height: 106px; }
  .site-header .site-header__inner { grid-template-rows: 60px 46px; }
  .primary-nav { height: 46px; }
  .primary-nav a,
  .primary-menu a { min-height: 46px; height: 46px; }
  .menu-toggle,
  [data-menu-toggle] { height: 46px; }
  .menu-open .primary-nav,
  .primary-nav.is-open { top: 106px; height: auto; }
  .admin-bar .primary-nav.is-open,
  .admin-bar.menu-open .primary-nav { top: 152px; }
  .section-heading { margin-bottom: 18px; }
  .section-heading h2 { font-size: clamp(25px, 6.4vw, 31px); }
  .home .hero { padding: 28px 0 30px; }
  .home .hero h1 { font-size: clamp(28px, 7.4vw, 35px); }
  .home .hero__lead { margin: 12px 0 15px; font-size: 14px; }
  .home .hero-search input { font-size: 14px; }
  .home .hero-board { padding: 15px 17px; }
  .home .field-checklist { grid-template-columns: 1fr; }
  .home .field-checklist li:nth-last-child(2) { border-bottom: 1px solid var(--slate-200); }
  .home .field-checklist li { min-height: 58px; }
  .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-card { grid-template-columns: minmax(0, 1fr) 14px; min-height: 94px; gap: 6px; }
  .quick-card__icon { display: none; }
  .quick-card__body strong { font-size: 14px; overflow-wrap: anywhere; }
  .quick-card__body > span { white-space: normal; line-height: 1.35; }
  .workflow-track { gap: 7px; }
  .workflow-step { min-height: 0; padding: 13px; }
  .workflow-step__link { color: var(--teal-dark); }
  .marketing-hub-card { min-height: 84px; }
  .insight-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .insight-links a { grid-template-columns: 1fr; min-height: 103px; gap: 3px; padding: 13px; }
  .insight-links span { grid-row: auto; min-width: 0; width: fit-content; height: auto; padding: 2px 6px; font-size: 10px; }
  .insight-links strong { font-size: 14px; }
  .insight-links small { font-size: 12px; }
  .content-header,
  .archive-header,
  .search-header { padding: 27px 0 23px; }
  .content-wrap,
  .archive-content,
  .search-content { padding: 28px 0 45px; }
  .practice-hub__hero { padding: 27px 0 30px; }
  .practice-hub__hero h1 { font-size: 32px; }
  .practice-hub__lead { font-size: 15px; }
  .practice-card { min-height: 0; padding: 18px; }
  .real-price-hero { padding: 30px 0; }
  .real-price-hero h1 { font-size: 34px; }
}

@media (max-width: 380px) {
  .home .quick-grid,
  .insight-links { grid-template-columns: 1fr; }
  .quick-card { min-height: 72px; }
}
