/* Generated by scripts/build.mjs — edit site/styles/about.css */
/* About page (/gioi-thieu). Loaded after site.css, scoped to body.ab.
   Same look as the home page and the solution pages (owner, 2026-11-20 and 2026-11-25):
   Bricolage Grotesque everywhere, bright teal #00BBA7 with navy, two-colour headings (.hl),
   centred section headers, white and Apple-grey sections, soft rounded frames, teal pill buttons.
   One motion moment: the 2026 quarter line draws in as it scrolls into view. */

body.ab {
  --ab-teal: #00BBA7; --ab-teal-dk: #0e9ab3; --ab-teal-text: #0D6E6B; --ab-navy: #0B2545; --ab-blue: #0074FF;
  --ab-grey: #F5F5F7; --ab-muted: #6E6E73; --ab-line: rgba(0, 0, 0, .08);
  --ab-shadow-sm: 0 2px 12px rgba(0, 0, 0, .06), 0 1px 3px rgba(0, 0, 0, .04);
  --ab-shadow-md: 0 8px 28px rgba(0, 0, 0, .09), 0 2px 8px rgba(0, 0, 0, .04);
  /* the site's five type steps: display, heading, title, body, small */
  --t-display: 32px; --t-heading: 26px; --t-title: 20px; --t-body: 16px; --t-small: 14px;
  --bs-font: 'Bricolage Grotesque', 'Inter', system-ui, -apple-system, sans-serif; --bs-font-head: var(--bs-font);
  background-image: none; font: 400 var(--t-body)/1.75 var(--bs-font); color: var(--ab-muted);
}
body.ab h1, body.ab h2, body.ab h3, body.ab h4 { font-family: var(--bs-font); color: var(--ab-navy); margin: 0; text-wrap: balance; }
body.ab p { max-width: 68ch; }
body.ab :focus-visible { outline: 3px solid var(--ab-blue); outline-offset: 3px; border-radius: 6px; }
.ab-wrap { max-width: 1184px; margin: 0 auto; padding: 0 20px; }
.ab-nb { white-space: nowrap; }
.ab-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ab-lead { font-size: var(--t-body); line-height: 1.75; }
.ab-label { margin: 0 auto 18px !important; text-align: center; font-size: var(--t-small); font-weight: 600; color: var(--ab-muted); }
body.ab h2 { font-size: var(--t-heading); line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
body.ab h2 .hl { color: var(--ab-teal); }

/* Section header: centred, as on the home page */
.ab-head { max-width: 820px; margin: 0 auto 40px; text-align: center; }
.ab-head p { margin: 16px auto 0; font-size: var(--t-body); line-height: 1.75; max-width: 62ch; }

/* Buttons: teal pill, and the outlined pill */
.ab-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 28px 0 0 !important; max-width: none !important; }
body.ab main .ab-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 30px; border: 1px solid var(--ab-teal); border-radius: 980px; background: var(--ab-teal); color: #fff; font: 700 var(--t-body)/1.2 var(--bs-font); text-decoration: none; box-shadow: 0 4px 16px rgba(0, 187, 167, .25); transition: background-color .25s, border-color .25s, color .25s, box-shadow .25s; }
body.ab main .ab-btn:hover { background: var(--ab-teal-dk); border-color: var(--ab-teal-dk); box-shadow: 0 8px 28px rgba(0, 187, 167, .30); }
body.ab main .ab-btn--line { background: #fff; color: var(--ab-teal-text); border-color: rgba(11, 37, 69, .35); box-shadow: none; }
body.ab main .ab-btn--line:hover { background: var(--ab-teal); color: #fff; border-color: var(--ab-teal); }

/* Hero: teal and blue headline over the pale blue of the home hero, with the real product picture */
.ab-hero { padding: 44px 0 48px; background: linear-gradient(180deg, #EAF5F8 0%, #F4FAFB 60%, #fff 100%); }
.ab-hero__grid { display: grid; gap: 36px; align-items: center; }
body.ab h1 { font-size: var(--t-display); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; color: var(--ab-teal); }
body.ab h1 .hl { color: var(--ab-blue); }
.ab-hero .ab-lead { margin-top: 20px; max-width: 54ch; }
.ab-hero__img img { width: 100%; }

/* Proof numbers, as on the home page: teal figures in a centred row with thin dividers */
.ab-facts { padding: 48px 0 56px; }
.ab-facts dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 32px 0; text-align: center; }
.ab-facts dl > div { padding: 0 14px; }
.ab-facts dl > div:nth-child(even) { border-left: 1px solid var(--ab-line); }
.ab-facts dt { font: 700 var(--t-title)/1.2 var(--bs-font); color: var(--ab-teal-text); }
.ab-facts__n { display: block; margin-bottom: 4px; font-size: var(--t-display); line-height: 1.05; letter-spacing: -0.02em; color: var(--ab-teal); font-variant-numeric: tabular-nums; }
.ab-facts dd { margin: 10px auto 0; max-width: 24ch; font-size: var(--t-body); line-height: 1.5; }

/* Story */
.ab-story { padding: 72px 0 32px; background: var(--ab-grey); }
.ab-ch { display: grid; gap: 14px; margin-bottom: 24px; padding: 28px 22px 32px; background: #fff; border-radius: 28px; box-shadow: var(--ab-shadow-sm); }
.ab-ch__when { display: flex; align-items: baseline; gap: 12px; }
.ab-ch__year { font: 700 var(--t-heading)/1 var(--bs-font); letter-spacing: -0.02em; color: var(--ab-teal); font-variant-numeric: tabular-nums; }
.ab-ch__note { font-size: var(--t-small); font-weight: 600; color: var(--ab-muted); }
.ab-ch h3 { font-size: var(--t-title); line-height: 1.25; font-weight: 700; letter-spacing: -0.015em; max-width: 30ch; }
.ab-prose { margin-top: 16px; }
.ab-prose p { margin: 0 0 14px; }
.ab-fig { margin: 30px 0 0; }
.ab-fig img { width: 100%; border-radius: 20px; box-shadow: var(--ab-shadow-md); background: #fff; }
.ab-fig figcaption { margin-top: 12px; font-size: var(--t-small); line-height: 1.5; }
.ab-video > div { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; box-shadow: var(--ab-shadow-md); background: var(--ab-navy); }
.ab-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* 2026: one solution per quarter. A real sequence, so it is drawn as a line with four stops. */
.ab-rail { position: relative; list-style: none; margin: 32px 0 0 !important; padding: 0; display: grid; gap: 0; }
.ab-rail::before, .ab-rail::after { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: #DDE5E8; }
.ab-rail::after { background: var(--ab-teal); transform-origin: top; }
.ab-rail li { position: relative; padding: 0 0 26px 34px; }
.ab-rail li:last-child { padding-bottom: 0; }
.ab-rail li::before { content: ""; position: absolute; z-index: 1; left: 0; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--ab-teal); box-shadow: 0 0 0 4px #fff; }
.ab-rail__q { display: block; font-size: var(--t-small); font-weight: 700; color: var(--ab-teal-text); }
.ab-rail__img { display: block; margin: 8px 0 6px; }
.ab-rail__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; }
.ab-rail h4 { margin-top: 0; font-size: var(--t-title); line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
body.ab main .ab-rail h4 a { display: inline-block; padding: 9px 0; color: var(--ab-navy); text-decoration: none; }
body.ab main .ab-rail h4 a:hover { color: var(--ab-teal-text); text-decoration: underline; text-underline-offset: 5px; }
.ab-rail p { margin: 0; font-size: var(--t-body); line-height: 1.55; }

/* Partner clinics: logos in white rounded tiles, as on the device page */
.ab-partners { padding: 72px 0; }
.ab-logos { list-style: none; margin: 0 !important; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ab-logos li { display: grid; place-items: center; min-height: 92px; padding: 16px; border: 1px solid #E1E7EA; border-radius: 12px; background: #fff; }
.ab-logos img { width: auto; height: auto; max-height: 40px; max-width: min(160px, 100%); object-fit: contain; }
.ab-logos .is-tall img { max-height: 60px; }

/* Vision and mission: two frames */
.ab-direction { padding: 64px 0; background: var(--ab-grey); }
.ab-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 16px; background: #DDF6F2; color: var(--ab-teal-text); }
.ab-direction__grid { display: grid; gap: 20px; }
.ab-direction__grid > div { padding: 30px 26px 32px; background: #fff; border-radius: 28px; box-shadow: var(--ab-shadow-sm); }
body.ab .ab-direction h2 { font-size: var(--t-body); line-height: 1.3; letter-spacing: 0; color: var(--ab-teal-text); }
.ab-direction__line { margin: 10px 0 14px !important; font: 700 var(--t-title)/1.25 var(--bs-font); letter-spacing: -0.015em; color: var(--ab-navy); max-width: 24ch !important; text-wrap: balance; }

/* The introduction letter, in full: a sheet of paper on the navy band */
.ab-letter { background: var(--ab-navy); padding: 64px 0; }
.ab-paper { max-width: 880px; margin: 0 auto; padding: 32px 24px 34px; background: #fff; border-radius: 28px; box-shadow: var(--ab-shadow-md); color: #3F4A55; }
.ab-paper__logo { width: 170px; height: auto; margin-bottom: 26px; }
body.ab .ab-paper h2 { margin-bottom: 22px; color: var(--ab-navy); }
.ab-paper p { margin: 0 0 16px; max-width: none; }
.ab-paper ul { list-style: none; margin: 0 0 18px !important; padding: 0; }
.ab-paper li { position: relative; padding: 4px 0 4px 26px; }
.ab-paper li::before { content: ""; position: absolute; left: 4px; top: .85em; width: 9px; height: 9px; border-radius: 3px; background: var(--ab-teal); }
.ab-paper li strong { color: var(--ab-teal-text); }
.ab-paper__close { margin-top: 26px !important; }
.ab-paper__sig { width: 250px; max-width: 70%; height: auto; margin: 0 0 6px -14px; }
.ab-paper__sign { margin: 0 !important; }
.ab-paper__sign strong { display: block; font-size: var(--t-title); color: var(--ab-navy); }
.ab-paper__sign span { display: block; font-size: var(--t-small); color: var(--ab-muted); }

/* Values */
.ab-values { padding: 72px 0; }
.ab-defs { margin: 0; display: grid; gap: 16px; }
.ab-defs > div { padding: 26px 26px 28px; background: var(--ab-grey); border-radius: 20px; }
.ab-defs dt { font: 700 var(--t-title)/1.3 var(--bs-font); color: var(--ab-navy); }
.ab-defs dt::before { content: ""; display: block; width: 36px; height: 4px; margin-bottom: 16px; border-radius: 4px; background: var(--ab-teal); }
.ab-defs dd { margin: 8px 0 0; font-size: var(--t-body); line-height: 1.65; }
.ab-eg { display: block; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(11, 37, 69, .12); color: #3F4A55; }
.ab-eg b { font-weight: 700; color: var(--ab-teal-text); }

/* Closing band */
.ab-cta { padding: 80px 0; text-align: center; background: linear-gradient(180deg, #fff 0%, #F4FAFB 40%, #EAF5F8 100%); }
body.ab .ab-cta h2 { max-width: 24ch; margin: 0 auto; }
.ab-cta p { margin: 16px auto 0; font-size: var(--t-body); }
.ab-cta .ab-actions { justify-content: center; }

@media (min-width: 720px) {
  .ab-facts dl { grid-template-columns: repeat(4, 1fr); }
  .ab-facts dl > div { border-left: 1px solid var(--ab-line); }
  .ab-facts dl > div:first-child { border-left: 0; }
  .ab-logos { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .ab-direction__grid, .ab-defs { grid-template-columns: 1fr 1fr; gap: 24px; }
  .ab-direction__grid > div { padding: 40px 40px 44px; }
  .ab-ch { padding: 40px 40px 44px; }

  /* the quarter line turns horizontal */
  .ab-rail { grid-template-columns: repeat(4, 1fr); gap: 0 24px; }
  .ab-rail::before, .ab-rail::after { left: 0; right: 0; top: 6px; bottom: auto; width: auto; height: 2px; }
  .ab-rail::after { transform-origin: left; }
  .ab-rail li { padding: 32px 0 0; }
  .ab-rail li::before { top: 0; }
}

@media (min-width: 1000px) {
  body.ab { --t-display: 46px; --t-heading: 36px; --t-title: 24px; --t-body: 18px; --t-small: 14px; }
  .ab-hero { padding: 72px 0 64px; }
  .ab-hero__grid { grid-template-columns: 6fr 7fr; gap: 48px; }
  .ab-facts { padding: 64px 0 80px; }
  .ab-story { padding: 104px 0 80px; }
  .ab-head { margin-bottom: 56px; }
  .ab-ch { grid-template-columns: 200px minmax(0, 1fr); gap: 40px; padding: 52px 56px 56px; margin-bottom: 28px; }
  .ab-ch__when { flex-direction: column; gap: 8px; }
  .ab-values, .ab-letter { padding: 104px 0; }
  .ab-direction { padding: 88px 0; }
  .ab-paper { padding: 64px 72px 60px; }
  .ab-partners { padding: 104px 0; }
  .ab-cta { padding: 112px 0; }
}

/* The one motion moment: the teal quarter line draws in as the list scrolls into view. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .ab-rail::after { animation: ab-draw-y linear both; animation-timeline: view(); animation-range: entry 10% cover 45%; }
    @media (min-width: 720px) { .ab-rail::after { animation-name: ab-draw-x; } }
  }
}
@keyframes ab-draw-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ab-draw-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
