/* 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); }

/* Privacy, Terms & Legal */
.pt-hero .badge { margin-bottom: .75rem; }
.pt-hero .hero__script { transform: rotate(-8deg); }

.pt-tabs .tabs__list { justify-content: space-between; }
.pt-tabs .tabs__list a { display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: .85rem 1.1rem .75rem; font-size: .86rem; color: var(--ink); }
.pt-tabs .tabs__list a .icon { width: 24px; height: 24px; color: var(--teal-800); }
.pt-tabs .tabs__list a.is-active, .pt-tabs .tabs__list a[aria-current="true"] { background: var(--mint-50); }
.pt-tabs .tabs__list a:hover .icon { color: var(--green-700); }

.pt-main { padding-block: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem); display: grid; gap: 1rem; }
.pt-review { margin: 0 0 .25rem; }
.pt-item {
  display: grid; gap: 1rem 1.5rem; align-items: center; padding: 1rem; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  grid-template-columns: 64px minmax(0, 1fr); scroll-margin-top: calc(var(--header-h) + 90px);
}
@media (min-width: 900px) { .pt-item { grid-template-columns: 96px minmax(0, 1fr) minmax(0, 400px); padding: 1rem 1rem 1rem 1.25rem; } }
.pt-item__icon { align-self: start; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); }
.pt-item__icon .icon { width: 30px; height: 30px; }
@media (min-width: 900px) { .pt-item__icon { width: 84px; height: 84px; margin-top: .25rem; } .pt-item__icon .icon { width: 40px; height: 40px; } }
.pt-item__body h2 { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); margin: 0 0 .4rem; }
.pt-item__body > p { font-size: .92rem; color: var(--text); max-width: 60ch; margin-bottom: .85rem; }
.pt-full > summary { list-style: none; }
.pt-full > summary::-webkit-details-marker { display: none; }
.pt-full[open] > summary .icon { transform: rotate(90deg); }
.pt-full > summary .icon { transition: transform .2s; }
.pt-prose { margin-top: 1rem; padding: 1rem 1.15rem; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .92rem; max-width: none; }
.pt-prose h3 { font-size: 1rem; margin-top: 1.1rem; }
.pt-prose h3:first-child { margin-top: 0; }
.pt-prose > :last-child { margin-bottom: 0; }

.pt-media { position: relative; grid-column: 1 / -1; margin: 0; aspect-ratio: 12 / 5; border-radius: var(--radius-sm); overflow: hidden; }
@media (min-width: 900px) { .pt-media { grid-column: auto; align-self: start; } }
.pt-media img { width: 100%; height: 100%; object-fit: cover; }
.pt-note { position: absolute; margin: 0; color: var(--teal-900); line-height: 1.05; text-align: center; font-size: clamp(1rem, .7rem + 1vw, 1.45rem); }
.pt-note--paper { background: rgba(255, 255, 255, .88); padding: .35rem .7rem .45rem; border-radius: 8px; box-shadow: var(--shadow-xs); }
.pt-note--tl { left: 4%; top: 10%; transform: rotate(-5deg); }
.pt-note--tr { right: 4%; top: 10%; transform: rotate(-5deg); }
.pt-note--terms { right: 4%; top: 40%; font-size: clamp(.85rem, .55rem + .8vw, 1.15rem); text-align: left; transform: rotate(-6deg); }
.pt-note--medical { left: 53%; top: 30%; width: 40%; font-size: clamp(.8rem, .55rem + .8vw, 1.15rem); transform: rotate(-11deg); }
.pt-note--contact { left: 56%; top: 52%; width: 28%; font-size: clamp(.9rem, .6rem + .9vw, 1.3rem); transform: rotate(-6deg); }
.pt-heart { color: var(--green-600); }
.pt-note--glyph { left: 55%; top: 50%; transform: translate(-50%, -50%); font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 2rem + 4vw, 5.5rem); color: rgba(92, 58, 28, .78); text-shadow: 0 1px 0 rgba(255, 255, 255, .35); }

/* Review fixes */
@media (max-width: 480px) { .pt-item__body .btn { font-size: .78rem; padding-inline: .8rem; max-width: 100%; white-space: normal; text-align: left; } }

/* Push-to-95 pass: proportions matched to the design at 1280 px */
.pt-hero.hero--bleed .hero__inner { min-height: 275px; padding-block: .8rem 1rem; }
.pt-hero .breadcrumb { font-size: .75rem; margin-bottom: .35rem; line-height: 1.4; }
.pt-hero .badge { margin-bottom: .5rem; font-size: .8rem; padding: .2rem .65rem; }
.pt-hero .hero__title { font-size: clamp(2rem, 1.2rem + 3vw, 3.45rem); line-height: 1.08; margin-bottom: .3em; color: #0f2233; }
.pt-hero .hero__lead { font-size: clamp(1rem, .95rem + .3vw, 1.1rem); line-height: 1.3; max-width: 33rem; color: var(--text); }
.pt-hero .hero__bg img { object-position: 50% 30%; }
@media (min-width: 900px) {
  .pt-hero .hero__bg { left: 36%; }
  .pt-hero .hero__bg::after { background: linear-gradient(90deg, rgba(250, 252, 249, 1) 0%, rgba(250, 252, 249, .6) 14%, rgba(250, 252, 249, 0) 34%); }
}
.pt-hero .hero__script { top: 1.6rem; right: 1.6rem; font-size: clamp(1.45rem, .9rem + 1.4vw, 2.15rem); color: var(--green-800); }

.pt-tabs .tabs__list a { padding: .8rem 1.1rem .7rem; font-size: .9rem; }
.pt-tabs .tabs__list a .icon { width: 26px; height: 26px; }

.pt-main { padding-block: .9rem 1rem; gap: .85rem; }
.pt-review { margin: 0; padding: .4rem .8rem; font-size: .8rem; line-height: 1.45; align-items: center; }
.pt-review .icon { width: 16px; height: 16px; flex: none; }
.pt-item { box-shadow: var(--shadow-xs); }
@media (min-width: 900px) {
  .pt-item { grid-template-columns: 96px minmax(0, 1fr) minmax(0, 400px); gap: 1rem 2.4rem; padding: .5rem .5rem .5rem 1.4rem; align-items: center; }
  .pt-item__icon { width: 96px; height: 96px; margin-top: 0; align-self: center; }
  .pt-item__icon .icon { width: 44px; height: 44px; }
  .pt-media { align-self: center; }
}
.pt-media { aspect-ratio: 5 / 2; }
.pt-item__body h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.65rem); margin: 0 0 .3rem; line-height: 1.2; }
.pt-item__body > p { font-size: .97rem; line-height: 1.33; max-width: 37rem; margin-bottom: .7rem; }
.pt-item__body .btn--sm { min-height: 40px; padding: .45rem 1.3rem; font-size: .92rem; }
@media (max-width: 899px) { .pt-item__body .btn--sm { min-height: 44px; } }
@media (min-width: 900px) {
  .pt-hero .hero__copy { max-width: 660px; }
  .pt-hero .hero__title { font-size: 3.25rem; white-space: nowrap; }
  .pt-item { padding: .35rem .35rem .35rem 1.4rem; }
}
.pt-review { font-size: .78rem; padding: .35rem .75rem; }
.pt-item__icon .icon { stroke-width: 2.2; }
@media (min-width: 900px) {
  .pt-note--terms { font-size: 1.35rem; right: 3%; top: 30%; }
  .pt-note--contact { font-size: 1.55rem; }
  .pt-note--tl { font-size: 1.6rem; }
}
@media (max-width: 899px) {
  .pt-item { grid-template-columns: 52px minmax(0, 1fr); gap: .75rem .9rem; padding: 1rem; }
  .pt-item__icon { width: 52px; height: 52px; align-self: center; }
  .pt-item__icon .icon { width: 26px; height: 26px; }
  .pt-item__body { display: contents; }
  .pt-item__body h2 { margin: 0; align-self: center; }
  .pt-item__body > p, .pt-item__body > .pt-full, .pt-item__body > .btn { grid-column: 1 / -1; margin: 0; }
  .pt-item__body > .btn, .pt-full > summary { justify-self: start; }
  .pt-item__body .btn--sm { font-size: .9rem; padding-inline: 1.1rem; white-space: nowrap; }
}
@media (min-width: 900px) { .pt-item:has(.pt-full[open]) > .pt-item__icon, .pt-item:has(.pt-full[open]) > .pt-media { align-self: start; margin-top: .8rem; } }
