/* Privacy Policy, Terms of Use and About Us */

.lg-page,
.ab-page {
  background: var(--color-canvas);
  padding: var(--space-5) 0 var(--space-12);
  flex: 1 0 auto;
  font-size: calc(18px * var(--text-scale));
  line-height: 1.62;
}

.lg-stack { display: flex; flex-direction: column; gap: var(--space-5); }

.lg-hero { align-items: stretch; }
.lg-hero .fs-hero-copy { padding: 28px 26px; }
.lg-hero h1 { font-size: calc(34px * var(--text-scale)); }

.lg-hero .fs-hero-sub {
  max-width: 46ch;
  margin-bottom: 0;
  font-size: calc(18px * var(--text-scale));
  line-height: 1.55;
}

.lg-hero .fs-hero-sub + .fs-hero-sub { margin-top: 12px; }

.lg-updated {
  margin: 18px 0 0;
  font-size: calc(14px * var(--text-scale));
  color: var(--color-ink-600);
}

@media (max-width: 899px) {
  .lg-hero h1 { font-size: calc(28px * var(--text-scale)); }
  .lg-hero .fs-hero-copy { padding: 22px 20px; }
  .lg-hero .fs-hero-sub { font-size: calc(17px * var(--text-scale)); }
}

/* Assurance strip */
.lg-assurance {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
}

.lg-assurance-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-teal-50);
  color: var(--color-teal-700);
}

.lg-assurance-copy { flex: 1; min-width: 230px; }

.lg-assurance strong {
  display: block;
  margin-bottom: 2px;
  font-size: calc(18px * var(--text-scale));
  color: var(--color-ink-900);
}

.lg-assurance p {
  margin: 0;
  font-size: calc(16.5px * var(--text-scale));
  line-height: 1.55;
  color: var(--color-ink-600);
}

.lg-assurance-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-white);
  font-size: calc(15.5px * var(--text-scale));
  font-weight: 700;
  color: var(--color-teal-800);
}

.lg-assurance-badge .icon { width: 18px; height: 18px; }

@media (max-width: 620px) {
  .lg-assurance { padding: 16px; }
  .lg-assurance-badge { width: 100%; justify-content: center; }
}

.lg-intro {
  max-width: 860px;
  margin: 0;
  font-size: calc(18px * var(--text-scale));
  line-height: 1.6;
  color: var(--color-ink-700);
}

/* Two-column layout */
.lg-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

@media (min-width: 1000px) {
  .lg-layout { grid-template-columns: minmax(0, 1fr) 306px; }
}

.lg-sections { display: flex; flex-direction: column; gap: 10px; }

.lg-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
}

.lg-item[open] { border-color: var(--color-border-strong); }

.lg-item summary {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  cursor: pointer;
  list-style: none;
  min-height: 76px;
}

.lg-item summary::-webkit-details-marker { display: none; }
.lg-item summary:hover { background: #FBFDFC; }

.lg-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--color-teal-50);
  color: var(--color-teal-700);
}

.lg-icon .icon { width: 20px; height: 20px; }

.lg-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-teal-800);
  color: #fff;
  font-size: calc(14px * var(--text-scale));
  font-weight: 700;
  flex-shrink: 0;
}

.lg-copy { min-width: 0; }

.lg-copy strong {
  display: block;
  margin-bottom: 2px;
  font-size: calc(19px * var(--text-scale));
  line-height: 1.4;
  color: var(--color-ink-900);
}

.lg-copy span {
  display: block;
  font-size: calc(16px * var(--text-scale));
  line-height: 1.5;
  color: var(--color-ink-600);
}

.lg-item summary > .icon {
  width: 18px;
  height: 18px;
  color: var(--color-ink-600);
  transition: transform var(--motion-fast) ease-out;
}

.lg-item[open] summary > .icon { transform: rotate(180deg); }

.lg-content {
  padding: 2px 18px 18px 74px;
  font-size: calc(18px * var(--text-scale));
  line-height: 1.65;
  color: var(--color-ink-700);
}

.lg-content p { margin: 0 0 10px; }
.lg-content p:last-child { margin-bottom: 0; }

.lg-content ul {
  margin: 8px 0 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lg-content a {
  color: var(--color-teal-700);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 620px) {
  .lg-item summary {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    padding: 13px 14px;
    min-height: 0;
  }
  .lg-icon { width: 38px; height: 38px; }
  .lg-num { display: none; }
  .lg-copy strong { font-size: calc(17px * var(--text-scale)); }
  .lg-copy span { font-size: calc(15px * var(--text-scale)); }
  .lg-content { padding: 0 14px 16px; font-size: calc(17px * var(--text-scale)); }
}

/* Closing note */
.lg-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding: 18px 20px;
  background: #EDF5F3;
  border: 1px solid #D7E7E3;
  border-radius: 12px;
}

.lg-note > .icon { width: 30px; height: 30px; flex-shrink: 0; color: var(--color-teal-700); }
.lg-note-copy { flex: 1; min-width: 220px; }
.lg-note strong { display: block; font-size: calc(18px * var(--text-scale)); color: var(--color-teal-900); }
.lg-note p { margin: 2px 0 0; font-size: calc(16.5px * var(--text-scale)); line-height: 1.5; color: var(--color-ink-700); }
.lg-note .btn { flex-shrink: 0; }

/* Rail */
.lg-rail { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

@media (min-width: 1000px) {
  .lg-rail { position: sticky; top: calc(var(--topbar-height) + 12px); }
}

.lg-rail-card {
  padding: 18px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.lg-rail-card h2 {
  margin: 0 0 10px;
  font-size: calc(18px * var(--text-scale));
  line-height: 1.35;
  color: var(--color-ink-900);
}

.lg-onpage ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lg-onpage button {
  display: flex;
  align-items: baseline;
  gap: 8px;
  width: 100%;
  min-height: 34px;
  padding: 6px 4px;
  border: 0;
  border-radius: 5px;
  background: none;
  font: inherit;
  font-size: calc(16px * var(--text-scale));
  line-height: 1.45;
  text-align: left;
  color: var(--color-teal-700);
  cursor: pointer;
}

.lg-onpage button:hover { background: var(--color-teal-50); text-decoration: underline; }
.lg-onpage button span { min-width: 15px; color: var(--color-ink-500); font-variant-numeric: tabular-nums; }

.lg-help p, .lg-related p { margin: 0 0 8px; font-size: calc(16px * var(--text-scale)); line-height: 1.5; color: var(--color-ink-600); }

.lg-contact-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}

.lg-contact-row:last-of-type { border-bottom: 0; padding-bottom: 0; }
.lg-contact-row .icon { width: 18px; height: 18px; flex-shrink: 0; color: var(--color-teal-700); margin-top: 3px; }
.lg-contact-row strong { display: block; font-size: calc(16px * var(--text-scale)); color: var(--color-ink-900); }
.lg-contact-row span { display: block; font-size: calc(15px * var(--text-scale)); line-height: 1.45; color: var(--color-ink-600); }
.lg-contact-row a { color: inherit; }

.lg-related-list { display: flex; flex-direction: column; }

.lg-related-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 40px;
  padding: 8px 2px;
  border-bottom: 1px solid var(--color-border);
  font-size: calc(16px * var(--text-scale));
  color: var(--color-teal-700);
  text-decoration: none;
}

.lg-related-list a:last-child { border-bottom: 0; padding-bottom: 0; }
.lg-related-list a:hover { text-decoration: underline; }
.lg-related-list .icon { width: 15px; height: 15px; color: var(--color-ink-500); flex-shrink: 0; }

/* About us */
.ab-hero .fs-hero-copy { padding: 26px; }
.ab-hero h1 { font-size: calc(34px * var(--text-scale)); max-width: 20ch; }

.ab-hero .fs-hero-sub {
  max-width: 48ch;
  margin-bottom: 12px;
  font-size: calc(18px * var(--text-scale));
  line-height: 1.6;
}

.ab-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

@media (max-width: 899px) {
  .ab-hero h1 { font-size: calc(28px * var(--text-scale)); }
  .ab-hero .fs-hero-copy { padding: 22px 20px; }
  .ab-hero .fs-hero-sub { font-size: calc(17px * var(--text-scale)); }
}

.ab-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ab-card {
  display: flex;
  gap: 14px;
  padding: 20px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
}

.ab-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-teal-50);
  color: var(--color-teal-700);
}

.ab-card h2 { margin: 0 0 4px; font-size: calc(20px * var(--text-scale)); color: var(--color-ink-900); }
.ab-card p { margin: 0; font-size: calc(16px * var(--text-scale)); line-height: 1.55; color: var(--color-ink-600); }

@media (max-width: 860px) {
  .ab-cards { grid-template-columns: minmax(0, 1fr); }
}

/* Impact numbers */
.ab-numbers {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 20px 22px;
}

.ab-numbers h2 { margin: 0 0 16px; font-size: calc(20px * var(--text-scale)); color: var(--color-ink-900); }

.ab-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 4px;
}

.ab-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3px;
  padding: 4px 10px;
}

.ab-stat + .ab-stat { border-left: 1px solid var(--color-border); }
.ab-stat .icon { width: 24px; height: 24px; color: var(--color-teal-700); stroke-width: 1.6; }

.ab-stat strong {
  font-size: calc(26px * var(--text-scale));
  line-height: 1.2;
  color: var(--color-teal-900);
  font-variant-numeric: tabular-nums;
}

.ab-stat span { font-size: calc(15px * var(--text-scale)); line-height: 1.35; color: var(--color-ink-600); }

@media (max-width: 900px) {
  .ab-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 0; }
  .ab-stat:nth-child(4) { border-left: 0; }
}

@media (max-width: 520px) {
  .ab-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-stat:nth-child(odd) { border-left: 0; }
  .ab-stat:nth-child(even) { border-left: 1px solid var(--color-border); }
}

/* Core values */
.ab-values {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
}

.ab-value {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
  padding: 20px 12px;
  border-right: 1px solid var(--color-border);
}

.ab-value:last-child { border-right: 0; }
.ab-value .icon { width: 26px; height: 26px; color: var(--color-teal-700); stroke-width: 1.6; }
.ab-value h3 { margin: 2px 0 0; font-size: calc(17px * var(--text-scale)); color: var(--color-ink-900); }
.ab-value p { margin: 0; font-size: calc(14.5px * var(--text-scale)); line-height: 1.45; color: var(--color-ink-600); }

@media (max-width: 980px) {
  .ab-values { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ab-value { border-bottom: 1px solid var(--color-border); }
  .ab-value:nth-child(3n) { border-right: 0; }
}

@media (max-width: 600px) {
  .ab-values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-value:nth-child(3n) { border-right: 1px solid var(--color-border); }
  .ab-value:nth-child(2n) { border-right: 0; }
}

/* Who we work with + journey */
.ab-lower {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.ab-lower--single { grid-template-columns: minmax(0, 1fr); }

.ab-section-title { margin: 0 0 4px; font-size: calc(24px * var(--text-scale)); color: var(--color-ink-900); }
.ab-section-sub { margin: 0 0 16px; font-size: calc(16px * var(--text-scale)); line-height: 1.55; color: var(--color-ink-600); }

.ab-works {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ab-work {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  min-height: 94px;
  padding: 16px 12px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-size: calc(15px * var(--text-scale));
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-ink-900);
}

.ab-work .icon { width: 26px; height: 26px; color: var(--color-teal-700); stroke-width: 1.6; }

@media (max-width: 980px) {
  .ab-lower { grid-template-columns: minmax(0, 1fr); }
}

.ab-journey { display: flex; flex-direction: column; position: relative; }

.ab-step {
  display: grid;
  grid-template-columns: 78px 16px minmax(0, 1fr);
  gap: 12px;
  align-items: flex-start;
  padding: 0 0 22px;
  position: relative;
}

.ab-step:last-child { padding-bottom: 0; }

.ab-year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  border: 1px solid var(--color-border-strong);
  border-radius: 6px;
  background: var(--color-white);
  font-size: calc(14px * var(--text-scale));
  font-weight: 700;
  color: var(--color-ink-900);
  font-variant-numeric: tabular-nums;
}

.ab-dot {
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 12px;
}

.ab-dot::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-teal-700);
  flex-shrink: 0;
}

.ab-step:not(:last-child) .ab-dot::after {
  content: "";
  position: absolute;
  top: 24px;
  bottom: -10px;
  width: 1px;
  background: var(--color-border-strong);
}

.ab-step-copy h3 { margin: 0 0 2px; font-size: calc(17px * var(--text-scale)); color: var(--color-ink-900); }
.ab-step-copy p { margin: 0; font-size: calc(16px * var(--text-scale)); line-height: 1.55; color: var(--color-ink-600); }

@media (max-width: 480px) {
  .ab-works { grid-template-columns: minmax(0, 1fr); }
  .ab-step { grid-template-columns: 68px 14px minmax(0, 1fr); gap: 10px; }
}

/* About CTA */
.ab-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: #E7F1EE;
  border: 1px solid #D3E4DF;
  border-radius: 12px;
}

.ab-cta > .icon { width: 44px; height: 44px; flex-shrink: 0; color: var(--color-teal-700); stroke-width: 1.4; }
.ab-cta-copy { flex: 1; min-width: 240px; }
.ab-cta h2 { margin: 0 0 2px; font-size: calc(20px * var(--text-scale)); color: var(--color-teal-900); }
.ab-cta p { margin: 0; font-size: calc(16px * var(--text-scale)); line-height: 1.5; color: var(--color-ink-600); }
.ab-cta .btn { flex-shrink: 0; }

@media (max-width: 560px) {
  .ab-cta .btn { width: 100%; }
}

/* Story dialog poster */
.story-media {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #0A3B39;
}

.story-media img { display: block; width: 100%; height: auto; opacity: 0.55; }

.story-play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-size: calc(15px * var(--text-scale));
  font-weight: 700;
}

.story-play .icon { width: 46px; height: 46px; }

[data-contrast="high"] .lg-item,
[data-contrast="high"] .lg-rail-card,
[data-contrast="high"] .lg-assurance,
[data-contrast="high"] .ab-card,
[data-contrast="high"] .ab-numbers,
[data-contrast="high"] .ab-values,
[data-contrast="high"] .ab-work {
  border-color: #000;
}
