/* Company / legal page pieces (shared pattern: photo hero, policy cards, trust sidebar) */
.lg-hero.hero--bleed .hero__inner { min-height: clamp(300px, 26vw, 390px); padding-block: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); }
.lg-hero .hero__title { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); }
.lg-hero .hero__title .accent { display: inline; }
.lg-hero .hero__lead { max-width: 35rem; margin-bottom: 0; }
.lg-hero .breadcrumb { margin-bottom: .75rem; }
.lg-hero .hero__script { right: clamp(.75rem, 2vw, 2.5rem); top: clamp(1rem, 2.5vw, 2rem); font-size: clamp(1.45rem, .9rem + 1.4vw, 2.3rem); line-height: 1.05; text-align: left; text-shadow: 0 0 14px rgba(255, 255, 255, .95), 0 0 4px rgba(255, 255, 255, .9); }
.lg-hero .hero__script .heart { color: var(--orange-500); }
@media (min-width: 900px) and (max-width: 1150px) { .lg-hero .hero__script { display: none; } }

.lg-trust .trust-strip__list, .trust-strip .trust-strip__list.container { margin-inline: auto; }   /* .trust-strip__list margin:0 would cancel .container centring */
.lg-trust .trust-item__icon { width: 50px; height: 50px; }
.lg-trust .trust-item__icon .icon { width: 25px; height: 25px; }

.lg-main { padding-block: clamp(2rem, 1.5rem + 2vw, 3rem); }
.lg-block + .lg-block { margin-top: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem); }
.lg-block > .section-head { margin-bottom: 1.1rem; }
.lg-block > .section-head p { max-width: 46rem; }

/* Policy cards */
.lg-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.lg-card {
  display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: .9rem; align-items: start;
  padding: 1.1rem 1.15rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-xs);
}
.lg-card .feature__icon { width: 52px; height: 52px; }
.lg-card .feature__icon .icon { width: 24px; height: 24px; }
.lg-card h3 { font-size: 1.02rem; margin: .15rem 0 .4rem; }
.lg-card p { font-size: .86rem; color: var(--muted); margin: 0 0 .4rem; }
.lg-card p:last-child { margin-bottom: 0; }
.lg-card .check-list { gap: .3rem; }
.lg-card .check-list li { font-size: .84rem; color: var(--muted); }
.lg-card .check-list .icon { width: 1.05em; height: 1.05em; }

/* Four-step flow */
.lg-content { container-type: inline-size; min-width: 0; }
.lg-flow { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.lg-flow > li { position: relative; display: flex; gap: .6rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .7rem .75rem; }
.lg-flow__num { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--green-700); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--font-head); }
.lg-flow__icon { flex: none; color: var(--green-700); }
.lg-flow__icon .icon { width: 28px; height: 28px; }
.lg-flow h3 { font-size: .88rem; margin: 0 0 .1rem; }
.lg-flow p { font-size: .76rem; color: var(--muted); margin: 0; line-height: 1.4; }
@container (max-width: 940px) { .lg-flow__icon { display: none; } }
@media (min-width: 1100px) {
  .lg-flow { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; }
  .lg-flow > li:not(:last-child)::after {
    content: ""; position: absolute; right: -16px; top: 50%; width: 8px; height: 8px; margin-top: -4px;
    border-top: 2px solid var(--green-600); border-right: 2px solid var(--green-600); transform: rotate(45deg);
  }
}

/* Sidebar */
.lg-aside { display: grid; gap: 1.25rem; }
.lg-aside .panel h2 { font-size: 1.2rem; margin: 0 0 .5rem; }
.lg-aside__head { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-bottom: .5rem; }
.lg-aside__head h2 { margin: 0; }
.lg-aside__head > .icon { width: 30px; height: 30px; color: var(--green-700); }
.lg-news p { font-size: .9rem; color: var(--muted); }
.lg-news .form { gap: .65rem; }
.lg-news .field input { min-height: 44px; }
.lg-news .notice { text-align: center; margin: 0; }
.lg-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.lg-links a {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: .75rem; align-items: center;
  padding: .6rem .7rem; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--text); background: #fff;
  transition: border-color .2s, background-color .2s;
}
.lg-links a:hover { border-color: var(--green-200); background: var(--mint-50); color: var(--text); }
.lg-links__icon { color: var(--green-700); display: grid; place-items: center; }
.lg-links__icon .icon { width: 28px; height: 28px; }
.lg-links strong { display: block; color: var(--ink); font-size: .92rem; font-family: var(--font-head); font-weight: 600; line-height: 1.3; }
.lg-links__text { display: block; font-size: .78rem; color: var(--muted); line-height: 1.35; }
.lg-links a > .icon { width: 16px; height: 16px; color: var(--muted); }
.lg-links--thumbs a { grid-template-columns: 76px minmax(0, 1fr) auto; padding: .45rem .6rem .45rem .45rem; }
.lg-links--thumbs img { width: 76px; height: 56px; object-fit: cover; border-radius: var(--radius-xs); }
.lg-links--thumbs strong { font-size: .86rem; }
.lg-promise { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--mint-50), #fff 70%); border-color: var(--mint-100); }
.lg-promise__head { display: flex; gap: .75rem; align-items: center; margin-bottom: .5rem; }
.lg-promise__head .icon { width: 40px; height: 40px; color: var(--green-700); }
.lg-promise__head h2 { margin: 0; }
.lg-promise p { position: relative; z-index: 1; font-size: .9rem; color: var(--muted); margin: 0; }
.lg-promise .leaf-deco { left: auto; right: -20px; top: auto; bottom: -22px; opacity: .3; transform: none; }

/* FAQ */
.lg-faq .accordion { gap: .5rem; }
.lg-faq .accordion summary { font-size: .92rem; padding: .75rem 1rem; }

/* Review note for legal templates */
.lg-note { margin-top: 1.25rem; }
.lg-note strong { color: var(--ink); }

/* Affiliate Disclosure — do / never panels, promise icons */
.ad-h2-sm { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); }
.ad-dos { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.ad-do, .ad-dont { padding: 1.1rem 1.25rem; border-radius: var(--radius); border: 1px solid var(--mint-100); background: var(--mint-50); }
.ad-dont { background: var(--red-100); border-color: #f8cdc8; }
.ad-do h2, .ad-dont h2 { display: flex; align-items: center; gap: .6rem; font-size: 1.15rem; margin-bottom: .75rem; }
.ad-do h2 .icon { color: var(--green-700); width: 30px; height: 30px; }
.ad-dont h2 { color: #a3221c; }
.ad-dont h2 .icon { color: var(--red-600); width: 30px; height: 30px; }
.ad-do .check-list li, .ad-dont .x-list li { font-size: .86rem; color: var(--text); }
.ad-viewall { font-size: .8rem; white-space: nowrap; }
.ad-promise { text-align: center; }
.ad-promise .lg-promise__head { justify-content: center; }
.ad-promise__icons { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; font-size: .76rem; color: var(--ink); line-height: 1.3; }
.ad-promise__icons li { display: flex; flex-direction: column; align-items: center; gap: .35rem; }
.ad-promise__icons .icon { width: 26px; height: 26px; color: var(--green-700); }

/* Review fixes */
.community .community__consent { margin-top: .45rem; font-size: .74rem; }
.community__consent a { color: #fff; text-decoration: underline; }
.lg-news .notice a { color: inherit; text-decoration: underline; }

/* ===== Push-95 density pass: match the design's scale at 1280 (H1 44, H2 26-28, card text 13.5, small print 12) ===== */
.lg-hero.hero--bleed .hero__inner { min-height: 0; padding-block: 1rem 1.6rem; }
.lg-hero .breadcrumb { margin-bottom: .5rem; font-size: .8rem; }
.lg-hero .hero__title { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.75rem); margin-bottom: .28em; }
.lg-hero .hero__lead { font-size: .97rem; line-height: 1.5; max-width: 31.5rem; }
@media (min-width: 900px) {
  .lg-hero.hero--bleed .hero__inner { min-height: 222px; padding-block: .85rem 1.4rem; }
  .lg-hero .hero__script { top: 1.1rem; font-size: 2.35rem; transform: rotate(-8deg); }
}

.lg-trust .trust-strip__list { padding-block: .7rem; }
.lg-trust .trust-item__icon { width: 44px; height: 44px; background: none; box-shadow: none; }
.lg-trust .trust-item__icon .icon { width: 34px; height: 34px; stroke-width: 2.1; }
.lg-trust .trust-item__title { font-size: 1rem; }
.lg-trust .trust-item__text { font-size: .8rem; }

.lg-main { padding-block: 1.2rem 1.9rem; }
.lg-block + .lg-block { margin-top: 1rem; }
.lg-block > .section-head { margin-bottom: .8rem; }
.lg-block > .section-head h2 { font-size: clamp(1.4rem, 1rem + 1.1vw, 1.65rem); }
.lg-block > .section-head p { font-size: .92rem; line-height: 1.5; max-width: 51rem; margin-top: .3rem; }

.lg-cards { gap: .75rem; }
.lg-card { grid-template-columns: 50px minmax(0, 1fr); gap: .8rem; padding: .85rem 1rem .9rem; }
.lg-card .feature__icon { width: 50px; height: 50px; }
.lg-card h3 { font-size: .98rem; margin: .05rem 0 .3rem; }
.lg-card p { font-size: .845rem; line-height: 1.42; }

.panel.lg-block:has(.lg-flow) { padding: .9rem 1.15rem 1rem; }
.lg-block:has(.lg-flow) h2 { font-size: 1.4rem; margin: 0; }
.lg-block:has(.lg-flow) > .muted { font-size: .86rem; margin: 0 0 .7rem; }
.lg-flow > li { gap: .45rem; padding: .55rem .6rem; }
.lg-flow__num { width: 28px; height: 28px; font-size: .85rem; }
.lg-flow__icon .icon { width: 24px; height: 24px; }
.lg-flow h3 { font-size: .8rem; line-height: 1.25; }
.lg-flow p { font-size: .75rem; line-height: 1.35; }
@container (min-width: 700px) { .lg-content .lg-flow__icon { display: block; } }
@media (min-width: 1100px) {
  .lg-flow { gap: 1.1rem; }
  .lg-flow > li:not(:last-child)::after { right: -12px; }
}

.ad-dos { gap: .75rem; }
.ad-do, .ad-dont { padding: .8rem 1rem .9rem; }
.ad-do h2, .ad-dont h2 { font-size: 1.08rem; margin-bottom: .5rem; gap: .5rem; }
.ad-do h2 .icon, .ad-dont h2 .icon { width: 26px; height: 26px; }
.ad-do .check-list, .ad-dont .x-list { gap: .3rem; }
.ad-do .check-list li, .ad-dont .x-list li { font-size: .82rem; line-height: 1.4; gap: .5rem; }

.lg-faq .ad-h2-sm { font-size: 1.35rem; margin-bottom: .5rem; }
.lg-faq .accordion { gap: .3rem; }
.lg-faq .accordion summary { font-size: .86rem; padding: .4rem .9rem; min-height: 34px; }
.lg-faq .accordion summary::after { font-size: 1.1rem; }
.lg-faq .accordion .accordion__body { padding: .6rem .9rem .75rem; font-size: .86rem; }
@media (max-width: 899px) { .lg-faq .accordion summary { min-height: 44px; } }

/* Programs + sponsored + template notice as compact small print (kept: FTC-required facts and legal-review notice) */
.ad-legal { padding: .7rem .95rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fafcf9; font-size: .78rem; line-height: 1.5; color: var(--muted); }
.ad-legal p { margin: 0; }
.ad-legal p + p { margin-top: .35rem; }
.ad-legal strong { color: var(--ink); }
.ad-legal__tpl { display: flex; gap: .45rem; align-items: flex-start; color: #7a4a12; }
.ad-legal__tpl .icon { flex: none; width: 15px; height: 15px; margin-top: .15rem; color: var(--orange-600); }

/* Sidebar density */
.lg-aside { gap: .9rem; }
.lg-aside .panel { padding: .95rem 1rem; }
.lg-aside .panel h2 { font-size: 1.12rem; margin-bottom: .45rem; }
.lg-aside__head { margin-bottom: .4rem; }
.lg-aside__head > .icon { width: 26px; height: 26px; }
.lg-news p { font-size: .86rem; line-height: 1.45; margin: 0 0 .6rem; }
.lg-news .form { gap: .5rem; }
.lg-news .field input { min-height: 40px; padding-block: .45rem; }
.lg-news .btn { min-height: 40px; padding-block: .45rem; }
.lg-news .notice { font-size: .75rem; line-height: 1.4; margin-top: .5rem; }
.lg-links { gap: .45rem; }
.lg-links a { grid-template-columns: 30px minmax(0, 1fr) auto; gap: .6rem; padding: .45rem .6rem; }
.lg-links__icon .icon { width: 25px; height: 25px; }
.lg-links strong { font-size: .86rem; }
.lg-links__text { font-size: .75rem; }
.lg-links--thumbs a { grid-template-columns: 92px minmax(0, 1fr) auto; padding: .35rem .55rem .35rem .35rem; }
.lg-links--thumbs img { width: 92px; height: 50px; }
.lg-links--thumbs strong { font-size: .8rem; }
.lg-aside__head h2 { white-space: nowrap; }
.lg-aside__head:has(.ad-viewall) h2 { font-size: .98rem; }
.ad-viewall { font-size: .75rem; }
.lg-promise__head .icon { width: 34px; height: 34px; }
.lg-promise p { font-size: .84rem; line-height: 1.45; }
.ad-promise__icons { margin-top: .7rem; font-size: .75rem; }
.ad-promise__icons .icon { width: 24px; height: 24px; }

/* Community band — design shows a slim one-row band */
.community { padding-block: .95rem; }
.community h2 { font-size: 1.3rem; margin-bottom: .15rem; }
.community p { font-size: .84rem; }
.community .inline-form input[type="email"], .community .inline-form .btn { height: 42px; }
.community .check-inline { margin-top: .4rem; }
.community .community__consent { margin-top: .2rem; font-size: .75rem; }
@media (min-width: 900px) { .community__inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2rem; } }
/* pass 2 */
.lg-hero .hero__lead { max-width: 33rem; }
.lg-card { padding: .8rem .95rem .85rem; }
.lg-card h3 { margin-bottom: .25rem; }
.lg-card p { font-size: .83rem; line-height: 1.38; }
.ad-do .check-list li, .ad-dont .x-list li { font-size: .8rem; line-height: 1.38; }
.ad-do .check-list, .ad-dont .x-list { gap: .2rem; }
/* FAQ as one joined list (design: thin rows separated by rules) */
.lg-faq .accordion { gap: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.lg-faq .accordion details { border: 0; border-radius: 0; }
.lg-faq .accordion details + details { border-top: 1px solid var(--line); }
.lg-faq .accordion summary { padding: .3rem .9rem; min-height: 31px; font-weight: 500; }
.ad-legal { padding: .6rem .9rem; }
.ad-legal p + p { margin-top: .25rem; }
/* pass 3: programs/template small print lives in the sidebar's free space (both columns now end together, as in the design) */
.lg-aside .ad-legal { padding: .85rem .95rem; background: #fafcf9; border-color: var(--line); }
.lg-aside .ad-legal h2 { font-size: .98rem; margin-bottom: .35rem; }
.lg-main { padding-bottom: 1.4rem; }
.lg-flow > li { gap: .4rem; padding: .5rem .5rem; }
.lg-flow__num { width: 26px; height: 26px; font-size: .8rem; }
.lg-flow__icon .icon { width: 22px; height: 22px; }
@media (min-width: 1100px) { .lg-flow { gap: .9rem; } .lg-flow > li:not(:last-child)::after { right: -10px; } }
.panel.lg-block:has(.lg-flow) { padding: .8rem 1rem .9rem; }
.ad-tpl { display: flex; gap: .5rem; align-items: flex-start; margin-bottom: 0; padding: .5rem .85rem; border: 1px solid #fde3c4; border-radius: var(--radius-sm); background: #fff7ed; font-size: .78rem; line-height: 1.45; color: #7a4a12; }
.ad-tpl .icon { flex: none; width: 15px; height: 15px; margin-top: .12rem; color: var(--orange-600); }
.ad-tpl strong { color: var(--ink); }
.lg-block + .ad-tpl { margin-top: .75rem; }
.lg-faq .accordion summary { min-height: 29px; padding-block: .2rem; }
.lg-faq .ad-h2-sm { margin-bottom: .4rem; }
.ad-do, .ad-dont { padding: .7rem .95rem .75rem; }
.ad-do h2, .ad-dont h2 { margin-bottom: .4rem; }
.lg-card .feature__icon .icon { width: 26px; height: 26px; stroke-width: 2.2; }
@media (max-width: 899px) { .lg-faq .accordion summary { min-height: 44px; } }
.lg-links--thumbs a { padding: .3rem .5rem .3rem .3rem; }
.lg-links--thumbs img { height: 46px; }
.lg-links a { padding-block: .4rem; }
.lg-links { gap: .4rem; }
.lg-aside { gap: .8rem; }
.lg-promise p { line-height: 1.42; }
.ad-promise .leaf-deco { width: 110px; right: -26px; bottom: -26px; opacity: .28; }
.ad-promise > :not(.leaf-deco) { position: relative; z-index: 1; }
.community .leaf-deco { width: 92px; opacity: .55; }
.community .container { position: relative; z-index: 1; }
@media (max-width: 899px) { .community .leaf-deco { display: none; } }
/* Solid two-tone icons, as drawn in the design (trust strip + promise panel) */
.lg-trust .trust-item:nth-child(1) .icon > :first-child,
.lg-promise__head .icon > :first-child { fill: currentColor; }
.lg-trust .trust-item:nth-child(1) .icon > :nth-child(2),
.lg-promise__head .icon > :nth-child(2) { stroke: #fff; stroke-width: 2.4; }
.lg-trust .trust-item:nth-child(2) .icon > * { fill: currentColor; }
.lg-trust .trust-item:nth-child(2) .icon > ellipse,
.lg-trust .trust-item:nth-child(2) .icon > :nth-child(3) { stroke: #fff; stroke-width: 1.5; }
.lg-trust .trust-item:nth-child(3) .icon > *,
.lg-trust .trust-item:nth-child(4) .icon > *,
.ad-promise__icons li:nth-child(2) .icon > *,
.ad-promise__icons li:nth-child(3) .icon > * { fill: currentColor; }
.ad-promise__icons li:nth-child(1) .icon > :first-child { fill: currentColor; }
.ad-promise__icons li:nth-child(1) .icon > :nth-child(2) { stroke: #fff; }
.lg-trust .trust-item__icon .icon { color: var(--green-600); }
@media (min-width: 900px) { .lg-hero .hero__bg img { object-position: 70% 14%; } }
/* Column split as in the design (main ≈ 811 : sidebar 323, gap 24 at 1280) */
@media (min-width: 1000px) { .lg-main .layout-sidebar { grid-template-columns: minmax(0, 1fr) 324px; gap: 1.6rem; } }
@media (min-width: 1000px) {
  .lg-aside { min-width: 0; }
  .lg-aside .panel { padding-inline: .85rem; }
  .lg-aside__head:has(.ad-viewall) { gap: .4rem; }
  .lg-aside__head:has(.ad-viewall) h2 { font-size: .9rem; }
}
.ad-small { margin-top: .75rem; padding: .5rem .85rem .55rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fafcf9; font-size: .78rem; line-height: 1.45; color: var(--muted); }
.ad-small p { margin: 0; }
.ad-small strong { color: var(--ink); }
.ad-small .ad-tpl { margin-top: .3rem; padding: 0; border: 0; background: none; }
/* Card icons the design draws solid: coins (2), leaf (3), people (4) */
#how-commissions-work .icon > *, #independence .icon > *, #why-they-help .icon > :first-child { fill: currentColor; }
#how-commissions-work .icon > ellipse, #how-commissions-work .icon > :nth-child(3) { stroke: var(--green-100); stroke-width: 1.5; }
#why-they-help .icon > :nth-child(2) { stroke: var(--green-100); }
