/* About: product composition and lifecycle visual. */
.about-page { --about-header-height: 85px; color: #182b3c; background: #fff; }
.about-container { width: min(1180px, calc(100% - 96px)); margin-inline: auto; }
.about-header { border-bottom: 1px solid #e9eef2; }
.about-header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.about-brand { display: inline-block; flex-shrink: 0; }
.about-brand img { width: 155px; height: auto; }
.about-header nav { display: flex; align-items: center; gap: 28px; }
.about-header nav a { color: #455160; font-size: 13px; font-weight: 500; }
.about-header nav a:hover, .about-header nav a:last-child { color: #0759a8; }
.about-header nav span { margin-left: 6px; }
.about-intro { min-height: calc(100svh - var(--about-header-height)); display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 48px; padding-block: 64px 56px; }
.about-hero-copy { min-width: 0; }
.about-eyebrow { margin-bottom: 22px; color: #667b8d; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.about-intro h1 { margin: 0; color: #102b43; font-size: clamp(42px, 4.7vw, 64px); font-weight: 550; letter-spacing: -.035em; line-height: 1.15; }
.about-title-main { display: block; }
.about-title-context { display: block; margin-top: 16px; color: #076bb8; font-size: clamp(23px, 2.3vw, 31px); font-weight: 450; letter-spacing: -.02em; line-height: 1.4; text-wrap: balance; }
.about-summary { max-width: 520px; margin-top: 28px; color: #526170; font-size: 17px; line-height: 1.75; }
.about-system { min-width: 0; margin: 0; }
.about-system svg { display: block; width: 100%; height: auto; overflow: visible; }
.about-system-label { font: 12px var(--font-sans); fill: #4f6478; }
.about-system figcaption { text-align: center; margin-top: 8px; color: #6c7e8e; font-size: 11px; letter-spacing: .04em; }
.about-story { display: grid; grid-template-columns: 1fr 1.6fr; gap: 88px; align-items: start; padding-block: 56px 64px; }
.about-intro + .about-story { border-top: 1px solid #e4ebf1; }
.about-page h2 { margin: 0; color: #142f45; font-size: 32px; font-weight: 550; line-height: 1.22; letter-spacing: -.04em; text-wrap: balance; }
.about-body p { color: #4b5c6a; font-size: 16px; line-height: 1.85; }
.about-body p + p { margin-top: 22px; }
.about-principle { padding-block: 64px; background: #0a2237; }
.about-partnership { display: grid; grid-template-columns: 1fr 1.25fr; gap: 96px; align-items: center; }
.about-principle .about-eyebrow { color: #8aa9c3; margin-bottom: 20px; }
.about-principle h2 { color: #f4f9fd; font-size: 39px; font-weight: 500; line-height: 1.18; }
.about-principle .about-body p { color: #bdcddb; }
.about-start-wrap { padding-bottom: 48px; }
.about-start { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 40px; border-top: 1px solid #e4ebf1; }
.about-start h2 { margin-bottom: 12px; font-size: 34px; }
.about-start p { color: #667785; font-size: 15px; line-height: 1.7; }
.about-cta { display: inline-flex; align-items: center; gap: 26px; flex-shrink: 0; min-height: 52px; color: #0759a8; font-size: 18px; font-weight: 500; }
.about-cta span { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid #b7cddd; border-radius: 50%; transition: background .15s, border-color .15s; }
.about-cta:hover { color: #073b78; }
.about-cta:hover span { background: #edf5fb; border-color: #0759a8; }
.about-more { color: #0759a8; font-weight: 500; }
.about-more span { margin-left: 6px; }
.about-page a:focus-visible { outline: 2px solid #0759a8; outline-offset: 5px; }
@media (max-width: 1000px) and (min-width: 801px) {
  .about-intro { gap: 24px; }
  .about-intro h1 { font-size: 45px; }
  .about-story, .about-partnership { gap: 48px; }
  .about-principle h2 { font-size: 32px; }
}
@media (max-width: 800px) {
  .about-page { --about-header-height: 77px; }
  .about-container { width: calc(100% - 48px); }
  .about-header-inner { min-height: 76px; }
  .about-brand img { width: 140px; }
  .about-header nav { gap: 18px; }
  .about-intro { grid-template-columns: 1fr; gap: 32px; padding-block: 40px; }
  .about-intro h1 { font-size: clamp(39px, 7.5vw, 58px); }
  .about-summary { max-width: 570px; margin-top: 24px; }
  .about-system { width: min(440px, 100%); margin-inline: auto; }
  .about-system-label { font-size: 18px; }
  .about-story { grid-template-columns: 1fr; gap: 22px; padding-block: 36px 40px; }
  .about-page h2 { max-width: 540px; font-size: 28px; }
  .about-principle { padding-block: 40px; }
  .about-partnership { grid-template-columns: 1fr; gap: 24px; }
  .about-principle h2 { font-size: 34px; }
  .about-start-wrap { padding-bottom: 36px; }
  .about-start { align-items: flex-start; flex-direction: column; gap: 24px; padding-top: 32px; }
  .about-start h2 { font-size: 30px; }
  .about-desktop-break { display: none; }
}
@media (max-width: 420px) {
  .about-brand img { width: 130px; }
  .about-header nav { gap: 14px; }
  .about-header nav a { font-size: 12px; }
  .about-intro h1 { font-size: clamp(32px, 9.4vw, 39px); }
  .about-system-label { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { .about-cta span { transition: none; } }
.about-body strong { color: #142f45; font-weight: 600; }
.about-principle .about-more-dark { color: #7cc0f5; }
/* About overview: product cards, phases, tighter reading measure. */
.about-home .about-story { padding-block: 48px; gap: 72px; }
:is(.about-home, .mcp-page) .about-body { max-width: 640px; }
:is(.about-home, .mcp-page) .about-body p { line-height: 1.75; }
.about-products, .about-phases-section { padding-block: 56px; border-top: 1px solid #e4ebf1; }
.about-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.about-product { display: flex; flex-direction: column; padding: 36px; border: 1px solid #dce7f0; border-radius: 20px; background: #f7fafc; scroll-margin-top: 24px; }
.about-product .about-eyebrow { margin-bottom: 14px; }
.about-product h3 { margin: 0 0 16px; color: #102b43; font-size: 24px; font-weight: 550; letter-spacing: -.02em; line-height: 1.3; text-wrap: balance; }
.about-product p:not(.about-eyebrow) { color: #4b5c6a; font-size: 16px; line-height: 1.7; }
.about-product p + p { margin-top: 16px; }
.about-product .about-product-link { margin-top: auto; padding-top: 24px; }
.about-phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 32px; }
.about-phases div { padding-top: 16px; border-top: 2px solid #0d75ca; }
.about-phases h3 { margin: 0 0 10px; color: #142f45; font-size: 17px; font-weight: 600; }
.about-phases p { color: #526170; font-size: 15px; line-height: 1.7; }
.about-products + .about-principle { margin-top: 8px; }
@media (max-width: 1000px) and (min-width: 801px) {
  .about-phases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .about-home .about-story { padding-block: 36px; gap: 18px; }
  .about-products, .about-phases-section { padding-block: 40px; }
  .about-product-grid, .about-phases { grid-template-columns: 1fr; gap: 20px; margin-top: 24px; }
  .about-product { padding: 24px; }
  .about-product h3 { font-size: 21px; }
}
/* About overview: supporting points and source. */
:is(.about-home, .mcp-page) a { color: #0759a8; }
:is(.about-home, .mcp-page) a:hover { color: #073b78; }
:is(.about-home, .mcp-page) .about-header nav a { color: #455160; }
:is(.about-home, .mcp-page) .about-header nav a:hover, :is(.about-home, .mcp-page) .about-header nav a:last-child { color: #0759a8; }
:is(.about-home, .mcp-page) .about-principle .about-more-dark { color: #7cc0f5; }
.about-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; padding-block: 56px; border-top: 1px solid #e4ebf1; }
.about-point { padding-top: 20px; border-top: 2px solid #0d75ca; }
.about-home .about-point h2 { font-size: 24px; letter-spacing: -.02em; }
.about-point p { max-width: 520px; margin-top: 12px; color: #4b5c6a; font-size: 16px; line-height: 1.7; }
.about-point .about-point-link { margin-top: 16px; }
.about-source { padding-block: 56px; border-top: 1px solid #e4ebf1; }
.about-source-head p { margin-top: 10px; color: #526170; font-size: 16px; line-height: 1.7; }
.about-repos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 28px 0 0; padding: 0; list-style: none; }
.about-repos li { display: flex; flex-direction: column; gap: 8px; padding: 24px; border: 1px solid #dce7f0; border-radius: 16px; background: #f7fafc; }
.about-repo-name { font-size: 17px; font-weight: 600; }
.about-repo-name span { margin-left: 6px; }
.about-repos p { flex-grow: 1; color: #526170; font-size: 15px; line-height: 1.6; }
.about-repo-license { font-size: 13px; }
.about-source-note { max-width: 720px; margin-top: 20px; color: #6c7e8e; font-size: 13px; line-height: 1.7; }
@media (max-width: 1000px) and (min-width: 801px) {
  .about-repos { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .about-points { grid-template-columns: 1fr; gap: 32px; padding-block: 40px; }
  .about-home .about-point h2 { font-size: 22px; }
  .about-source { padding-block: 40px; }
  .about-repos { grid-template-columns: 1fr; gap: 14px; margin-top: 20px; }
  .about-repos li { padding: 20px; }
}
.about-products-intro { max-width: none; text-wrap: balance; margin-top: 14px; color: #526170; font-size: 18px; line-height: 1.65; }
/* Lifecycle diagram: arcs draw in, then turn clockwise; each stage lights as a dot passes. */
.about-orbit { transform-box: view-box; transform-origin: 250px 215px; animation: about-orbit 16s linear infinite; }
.about-orbit path { stroke-dasharray: 268; stroke-dashoffset: 268; animation: about-draw 1.4s ease-out .2s forwards; }
.about-orbit-dot { fill: #0d75ca; opacity: 0; animation: about-fade .4s ease-out 1.4s forwards; }
.about-node { transform-box: fill-box; transform-origin: center; animation: about-node 8s ease-in-out infinite; }
.about-node-side { animation-delay: 4s; }
@keyframes about-orbit { to { transform: rotate(360deg); } }
@keyframes about-draw { to { stroke-dashoffset: 0; } }
@keyframes about-fade { to { opacity: 1; } }
@keyframes about-node {
  0%, 100% { fill: #0d75ca; transform: scale(1.3); }
  12%, 88% { fill: #fff; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .about-orbit, .about-orbit path, .about-orbit-dot, .about-node { animation: none; }
  .about-orbit path { stroke-dashoffset: 0; }
  .about-orbit-dot { opacity: 0; }
}
/* About overview: sections settle into place when scrolling stops near their top edge (desktop only). */
@media (min-width: 801px) {
  html:has(.about-home) { scroll-snap-type: y proximity; }
  .about-home .about-intro, .about-home .about-products, .about-home .about-principle, .about-home .about-phases-section,
  .about-home .about-points, .about-home .about-source, .about-home .about-start-wrap { scroll-snap-align: start; }
}
/* About and MCP pages: header stays at the top; anchors and snap points sit below it. */
.about-page .about-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
html:has(.about-page) { scroll-padding-top: 85px; }
@media (max-width: 800px) { html:has(.about-page) { scroll-padding-top: 77px; } }
