/* 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); }

/* Editorial Policy — team cards */
.ep-team { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.ep-member { display: flex; gap: .7rem; align-items: flex-start; padding: .9rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-xs); }
.ep-member__avatar { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--green-200); }
.ep-member__avatar .icon { width: 28px; height: 28px; }
.ep-member__name { font-size: .9rem; margin: 0 0 .1rem; }
.ep-member__name a { color: var(--ink); text-decoration: none; }
.ep-member__name a:hover { color: var(--green-700); text-decoration: underline; }
.ep-member__role { font-size: .8rem; font-weight: 600; color: var(--green-700); margin: 0 0 .35rem; }
.ep-member__bio { font-size: .82rem; color: var(--muted); margin: 0; }

/* 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; }
.ep-template-note { margin-top: 1rem; }

/* ---------- Push to 95: sample team portraits ---------- */
.ep-member { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: .75rem; row-gap: .45rem; align-items: start; }
.ep-member__photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--green-200); }
.ep-member__role { color: var(--teal-700); }
.ep-member__sample { grid-column: 1 / -1; margin: 0; padding-top: .35rem; border-top: 1px dashed var(--line-strong); font-size: .75rem; line-height: 1.35; color: var(--muted); }

/* ---------- Push to 95: the design's density and type scale at desktop ---------- */
.lg-trust .trust-item__icon { background: none; box-shadow: none; width: 44px; height: 44px; }
.lg-trust .trust-item__icon .icon { width: 40px; height: 40px; }
.lg-trust .trust-item:nth-child(1) .icon, .lg-trust .trust-item:nth-child(2) .icon, .lg-trust .trust-item:nth-child(4) .icon { fill: var(--green-600); stroke: #fff; stroke-width: 1.6; }
.lg-trust .trust-item:nth-child(3) .icon { color: var(--green-600); stroke-width: 1.8; }
.ep-community .leaf-deco { opacity: .55; }
.ep-community .ep-leaf-right { right: -18px; bottom: -14px; transform: scaleX(-1); }
@media (max-width: 899px) { .ep-community .leaf-deco { display: none; } }

@media (min-width: 1000px) {
  .lg-hero.hero--bleed .hero__inner { min-height: 0; padding-block: .85rem 1.5rem; }
  .lg-hero .breadcrumb { margin-bottom: .55rem; font-size: .8rem; }
  .lg-hero .eyebrow { margin-bottom: .35rem; }
  .lg-hero .hero__title { font-size: 2.75rem; line-height: 1.1; margin-bottom: .3em; }
  .lg-hero .hero__lead { font-size: 1rem; line-height: 1.55; max-width: 31rem; }
  .lg-hero .hero__script { font-size: 2.05rem; top: 1rem; right: 4.5rem; }

  .lg-trust .trust-strip__list { padding: .8rem 0; }
  .lg-trust .trust-item__title { font-size: 1.02rem; }
  .lg-trust .trust-item__text { font-size: .8rem; }

  .lg-main { padding-block: 1.1rem 1.4rem; }
  .lg-main .layout-sidebar { grid-template-columns: minmax(0, 1fr) 330px; gap: 1.5rem; }
  .lg-block + .lg-block { margin-top: 1.1rem; }
  .lg-block > .section-head { margin-bottom: .7rem; }
  .lg-block > .section-head h2, .lg-block > h2 { font-size: 1.75rem; line-height: 1.15; margin-bottom: .2rem; }
  .lg-block > .section-head p { font-size: .95rem; line-height: 1.45; margin-top: .2rem; max-width: none; }

  .lg-cards { gap: .7rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg-card { padding: .9rem 1rem .85rem; grid-template-columns: 50px minmax(0, 1fr); gap: .85rem; }
  .lg-card .feature__icon { width: 50px; height: 50px; }
  .lg-card h3 { font-size: 1rem; margin: .1rem 0 .3rem; }
  .lg-card p { font-size: .8rem; line-height: 1.45; margin-bottom: .3rem; }
  .lg-card .check-list { gap: .12rem; }
  .lg-card .check-list li { font-size: .8rem; line-height: 1.45; gap: .45rem; }

  .lg-block.panel--mint { padding: .95rem 1.1rem 1rem; }
  .lg-block.panel--mint > h2 { font-size: 1.45rem; margin-bottom: .1rem; }
  .lg-block.panel--mint > .muted { font-size: .9rem; margin-bottom: .7rem; }
  .lg-flow > li { padding: .5rem .55rem; gap: .45rem; }
  .lg-flow__num { width: 30px; height: 30px; font-size: .9rem; }
  .lg-flow__icon .icon { width: 24px; height: 24px; }
  .lg-flow h3 { font-size: .8rem; }
  .lg-flow p { font-size: .75rem; line-height: 1.35; }

  .lg-block > .section-head + .ep-team { margin-top: 0; }
  .ep-team { gap: .7rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ep-member { padding: .75rem .8rem .65rem; }
  .ep-member__name { font-size: .92rem; }
  .ep-member__role { font-size: .78rem; margin-bottom: .2rem; }
  .ep-member__bio { font-size: .78rem; line-height: 1.4; }

  .lg-faq > h2 { margin-bottom: .55rem; }
  .lg-faq .accordion { gap: .3rem; }
  .lg-faq .accordion summary { font-size: .86rem; padding: .45rem 1rem; min-height: 40px; }
  .lg-faq .lg-note { margin: .6rem 0 0; font-size: .78rem; }
  .ep-template-note { margin-top: .5rem; padding: .55rem .85rem; font-size: .8rem; line-height: 1.45; }

  .lg-aside { gap: 1rem; }
  .lg-aside .panel { padding: 1rem 1.1rem; }
  .lg-aside .panel h2 { font-size: 1.15rem; margin-bottom: .45rem; }
  .lg-aside__head { margin-bottom: .35rem; }
  .lg-news p { font-size: .9rem; line-height: 1.5; margin-bottom: .7rem; }
  .lg-news .form { gap: .5rem; }
  .lg-news .field input { min-height: 42px; }
  .lg-news .btn { min-height: 42px; }
  .lg-news .form-status:empty { display: none; }
  .lg-news .notice { font-size: .75rem; line-height: 1.4; margin-top: .5rem; }
  .lg-links { gap: .5rem; }
  .lg-links a { grid-template-columns: 36px minmax(0, 1fr) auto; gap: .65rem; padding: .55rem .65rem; }
  .lg-links__icon .icon { width: 26px; height: 26px; }
  .lg-links strong { font-size: .86rem; }
  .lg-links__text { font-size: .76rem; }
  .lg-links--thumbs a { grid-template-columns: 84px minmax(0, 1fr) auto; padding: .4rem .55rem .4rem .4rem; }
  .lg-links--thumbs img { width: 84px; height: 58px; }
  .lg-links--thumbs strong { font-size: .84rem; }
  .lg-promise p { font-size: .88rem; line-height: 1.5; }
  .lg-promise__head .icon { width: 36px; height: 36px; }

  .ep-community { padding-block: 1.1rem; }
  .ep-community .community__inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); padding-inline: 4rem; }
  .ep-community h2 { font-size: 1.4rem; }
  .ep-community p { font-size: .86rem; }
}
@media (min-width: 1000px) {
  .lg-card { padding: .8rem .9rem .75rem; grid-template-columns: 46px minmax(0, 1fr); gap: .75rem; }
  .lg-card .feature__icon { width: 46px; height: 46px; }
  .lg-card h3 { font-size: .97rem; margin-bottom: .25rem; }
  .lg-card p, .lg-card .check-list li { font-size: .78rem; line-height: 1.42; }
  .lg-card .check-list { gap: .05rem; }
  .lg-flow { gap: 1.1rem; }
  .lg-flow > li:not(:last-child)::after { right: -13px; }
  .ep-member { grid-template-columns: 58px minmax(0, 1fr); column-gap: .65rem; padding: .7rem .75rem .6rem; }
  .ep-member__photo { width: 58px; height: 58px; }
  .ep-member__name { font-size: .8rem; line-height: 1.3; }
  .ep-member__role { font-size: .75rem; margin-bottom: .1rem; }
  .ep-member__bio { font-size: .75rem; line-height: 1.35; }
  .ep-member__sample { padding-top: .3rem; }
  .lg-faq .accordion { gap: .25rem; }
  .lg-faq .accordion summary { min-height: 34px; padding: .3rem 1rem; font-size: .84rem; }
  .lg-faq .accordion summary::after { font-size: 1.15rem; }
  .lg-faq .lg-note { margin-top: .45rem; }
  .ep-template-note { margin-top: .4rem; padding: .45rem .8rem; font-size: .78rem; }
}
@media (min-width: 1000px) {
  .lg-faq > h2 { margin-bottom: .45rem; }
  .lg-faq .accordion { gap: .2rem; }
  .lg-faq .accordion summary { min-height: 32px; padding: .2rem 1rem; }
  .lg-block.panel--mint { padding: .8rem 1.1rem .85rem; }
  .lg-block.panel--mint > .muted { margin-bottom: .55rem; }
  .lg-flow p { line-height: 1.3; }
  .lg-hero.hero--bleed .hero__inner { padding-block: .7rem 1.25rem; }
  .lg-news p { margin-bottom: .6rem; }
  .ep-community .community__inner { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); padding-inline: 3rem; gap: 2rem; }
  .ep-community p { font-size: .84rem; }
  .ep-community .leaf-deco { width: 96px; }
}
@media (min-width: 1000px) {
  .lg-card { padding: .7rem .9rem .65rem; }
  .lg-card h3 { margin-top: .05rem; }
  .lg-faq > h2, .lg-block > .section-head h2 { font-size: 1.65rem; }
  .lg-faq .accordion summary { min-height: 30px; }
  .ep-community { padding-block: .9rem; }
  .ep-community h2 { font-size: 1.3rem; }
  .ep-community p { font-size: .82rem; line-height: 1.5; }
  .ep-community .check-inline { margin-top: .4rem; }
  .ep-community .inline-form .btn, .ep-community .inline-form input[type="email"] { height: 46px; }
}
/* Hero photo (regenerated wide shot): keep her head-to-chest in the short band, subject right of the copy as in the design */
@media (min-width: 900px) { .lg-hero.hero--bleed .hero__bg img { object-position: 50% 14%; } }
@media (min-width: 1000px) {
  .lg-hero.hero--bleed .hero__bg { left: 25%; }
  .lg-hero.hero--bleed .hero__bg::after { background: linear-gradient(90deg, #f4f8f2 0%, rgba(244, 248, 242, .55) 12%, rgba(244, 248, 242, 0) 30%); }
  .lg-hero.hero--bleed { background: linear-gradient(90deg, #fbfdfb 0%, #f4f8f2 100%); }
}
.lg-trust .trust-item:nth-child(2) .icon { fill: var(--green-600); stroke: var(--green-600); stroke-width: 2.2; }
@media (min-width: 1000px) {
  .lg-hero.hero--bleed { background: #f4f8f2; }
  .lg-hero.hero--bleed .hero__bg { left: 22%; }
  .lg-hero.hero--bleed .hero__bg::after { background: linear-gradient(90deg, #f4f8f2 0%, rgba(244, 248, 242, .85) 10%, rgba(244, 248, 242, .35) 24%, rgba(244, 248, 242, 0) 36%); }
}
@media (min-width: 1000px) {
  /* FAQ as one tight stacked list (design) */
  .lg-faq .accordion { gap: 0; }
  .lg-faq .accordion details { border-radius: 0; }
  .lg-faq .accordion details + details { border-top: 0; }
  .lg-faq .accordion details:first-child { border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
  .lg-faq .accordion details:last-child { border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
  .lg-faq .accordion summary { min-height: 30px; padding-block: .15rem; }
}
