/* About is a visual walkthrough; shared site styles and tokens stay intact. */
.about-visual [hidden] { display: none !important; }
.about-visual main { overflow: clip; }
.about-visual h1, .about-visual h2 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; letter-spacing: .025em; line-height: 1.05; }
.about-visual h1 { font-size: clamp(42px, 4.8vw, 64px); max-width: 480px; }
.about-visual h2 { font-size: clamp(34px, 3.6vw, 46px); }
.about-visual h1 em, .about-visual h2 em { color: var(--coral); font-style: normal; }
.about-visual p { color: var(--text-muted); font-size: 16px; line-height: 1.7; }
.about-visual section { scroll-margin-top: 85px; }
.about-visual .av-section > .container, .about-visual .av-hero > .av-hero-grid { padding: 0; }
.av-hero { padding: 105px 24px 0; background: radial-gradient(ellipse at 0 0, var(--coral-soft), transparent 65%); }
.av-hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 55px; align-items: center; }
.av-intro p { margin: 24px 0; max-width: 430px; font-size: 18px; }
.av-primary-link { display: inline-flex; align-items: center; gap: 25px; min-height: 48px; padding: 11px 18px; border-radius: 7px; background: var(--coral); color: #fff; text-decoration: none; font-weight: 700; }
.av-primary-link svg, .av-code-link svg { width: 22px; height: 22px; }
.about-visual .about-quick-links { gap: 10px 32px; margin: 36px auto 0; padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-visual .about-quick-links a { color: var(--text-muted); font-size: 14px; text-decoration: none; }
.about-visual .about-quick-links a:hover { color: var(--coral); }
.av-collage { height: 430px; position: relative; margin: 0; }
.av-signal-grid { position: absolute; inset: 25px 0 30px; border-radius: 50% 45% 42% 52%; background: radial-gradient(circle, #115e5933 1px, transparent 1.5px) 0 0 / 17px 17px, #e3e9dc; }
.av-input { position: absolute; z-index: 2; left: 0; display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 12px 16px; background: #fffaf1; color: #433727; border: 1px solid #d8cfbd; border-radius: 9px; font-size: 13px; box-shadow: 0 8px 18px #241a0e0a; }
.av-input svg { width: 24px; height: 24px; color: #115e59; }
.av-input-one { top: 62px; left: 9px; transform: rotate(-4deg); }
.av-input-two { top: 169px; left: -12px; }
.av-input-three { top: 278px; left: 11px; transform: rotate(4deg); }
.av-connector { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #7a9c89; stroke-width: 1.6; stroke-dasharray: 4 5; }
.av-connector circle { fill: #115e59; stroke: none; }
.av-poster { position: absolute; right: 22px; top: 15px; width: 235px; background: var(--bg-card); border-radius: 12px; padding: 8px; box-shadow: 0 18px 40px #193e3524; transform: rotate(4deg); border: 1px solid var(--border); }
.av-poster > img { width: 100%; height: 275px; display: block; object-fit: cover; border-radius: 7px; }
.av-poster > div { display: flex; flex-direction: column; padding: 12px 7px 7px; gap: 3px; }
.av-poster strong { font-size: 18px; }
.av-poster span { font-size: 12px; color: var(--text-muted); }
.av-score-stamp { position: absolute; z-index: 3; width: 100px; height: 100px; top: 260px; right: 0; border-radius: 14px; background: var(--bg-card); color: var(--text); display: grid; place-content: center; text-align: center; box-shadow: 0 4px 15px #173e3720; transform: rotate(-7deg); }
.av-score-stamp strong { position: absolute; inset: 0; display: grid; place-items: center; font-size: 27px; line-height: 1; font-weight: 600; }
.av-score-stamp > div { position: absolute; inset: 0; }
.av-score-stamp > div, .av-score-stamp svg { width: 100%; height: 100%; }
.av-collage figcaption { position: absolute; bottom: 3px; right: 25px; font-size: 12px; color: var(--text-muted); }
.av-section { padding: 70px 24px; }
.av-section-intro { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 30px; }
.av-section-intro p { max-width: 390px; }
.av-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border-bottom: 1px solid var(--border-hi); }
.av-steps button { position: relative; display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center; background: transparent; color: var(--text-muted); border: 0; padding: 16px 4px 20px; font: inherit; min-height: 90px; cursor: pointer; }
.av-steps button > svg { width: 30px; height: 30px; }
.av-steps button > span { font-size: 11px; display: flex; gap: 7px; align-items: baseline; }
.av-steps strong { font-size: 14px; font-weight: 600; }
.av-steps button[aria-selected="true"] { color: var(--coral); }
.av-steps button[aria-selected="true"]::after { content: ''; position: absolute; height: 3px; bottom: -1px; left: 14%; right: 14%; background: var(--coral); }
.av-process-panel { display: grid; grid-template-columns: 1fr 1.15fr; min-height: 260px; background: var(--bg-card); border-bottom: 1px solid var(--border); }
.av-process-art { display: grid; place-items: center; padding: 24px; background: color-mix(in srgb, var(--teal) 6%, transparent); min-width: 0; }
.av-process-copy { padding: 40px; align-self: center; }
.av-process-copy h3 { font-size: 24px; line-height: 1.2; margin-bottom: 12px; font-weight: 600; }
.av-process-copy p { font-size: 15px; }
.av-source-stack { width: min(280px, 100%); position: relative; padding: 5px 0; }
.av-source-stack > div { background: var(--bg-card); border: 1px solid var(--border); box-shadow: 0 6px 12px #241a0e08; border-radius: 6px; padding: 10px 14px; margin-bottom: -3px; font-size: 12px; }
.av-source-stack > div:nth-child(1) { transform: rotate(-4deg); }
.av-source-stack > div:nth-child(3) { transform: rotate(3deg); }
.av-source-stack span { color: var(--teal); margin-right: 10px; font-size: 10px; }
.av-lines { height: 14px; margin-top: 5px; background: repeating-linear-gradient(to bottom, var(--border) 0 1px, transparent 1px 7px); width: 75%; }
.av-merge { width: 100%; display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; }
.av-merge > div { display: grid; gap: 7px; }
.av-merge span { display: block; border: 1px solid var(--border); padding: 9px; border-radius: 5px; background: var(--bg-card); font-size: 10px; }
.av-merge > strong { background: var(--teal); color: #fff; padding: 18px 10px; border-radius: 8px; font-size: 12px; }
.av-merge > b { color: var(--teal); }
.av-merge small { grid-column: 1 / -1; color: var(--text-muted); font-size: 11px; }
.av-score-art { width: 210px; height: 210px; position: relative; }
.av-score-art svg { width: 100%; height: 100%; }
.av-score-art > strong { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 40px; }
.av-score-art small { font-size: 15px; }
.av-enrich-art { display: flex; align-items: center; gap: 20px; width: 300px; max-width: 100%; }
.av-enrich-art img { width: 110px; height: 150px; object-fit: cover; border-radius: 5px; transform: rotate(-5deg); box-shadow: 0 8px 18px #241a0e20; }
.av-enrich-art > div { display: flex; flex-direction: column; gap: 9px; font-size: 12px; }
.av-enrich-art strong { font-size: 17px; }
.av-detail-line { height: 1px; width: 90px; background: var(--border-hi); }
.av-check-art { position: relative; text-align: center; width: 100%; }
.av-check-art > svg { width: 40px; height: 40px; color: var(--teal); display: inline-block; margin-right: 12px; }
.av-check-art > strong { display: inline-flex; flex-direction: column; vertical-align: middle; line-height: 1; font-size: 45px; color: var(--teal); }
.av-check-art strong span { font-size: 13px; margin-top: 4px; font-weight: 500; }
.av-check-art p { font-size: 13px; margin: 15px 0; }
.av-check-art > div { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 15px; font-size: 11px; }
.av-check-art > div span:first-child { color: var(--teal); border-bottom: 3px solid var(--teal); padding-bottom: 7px; }
.av-share-art { width: min(270px, 100%); }
.av-share-art > div:first-child { padding: 17px; border: 1px solid var(--border-hi); background: var(--bg-card); border-radius: 10px; display: grid; gap: 10px; font-size: 12px; }
.av-share-art strong { font-size: 14px; }
.av-share-art span { display: flex; align-items: center; gap: 10px; }
.av-share-art i { width: 8px; height: 8px; border: 1px solid var(--teal); border-radius: 50%; }
.av-reply { margin: 12px 0 0 24px; padding: 13px; color: #fff; background: #115e59; border-radius: 12px 12px 2px 12px; display: flex; gap: 12px; align-items: center; font-size: 11px; }
.av-reply svg { width: 18px; height: 18px; flex: none; }
.av-details { border-bottom: 1px solid var(--border); }
.av-details summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; min-height: 56px; cursor: pointer; font-size: 15px; font-weight: 600; list-style: none; }
.av-details summary::-webkit-details-marker { display: none; }
.av-details summary::after { content: '+'; color: var(--coral); font-size: 23px; font-weight: 400; }
.av-details[open] > summary::after { content: '−'; }
.av-details > p { font-size: 14px; max-width: 820px; margin: 0 0 18px; }
.av-taste { background: color-mix(in srgb, var(--teal) 5%, var(--bg)); }
.av-score-layout { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; align-items: center; }
.av-score-heading > p { margin-top: 22px; font-size: 16px; }
.av-sample-event { display: flex; align-items: center; gap: 14px; padding-top: 28px; }
.av-sample-event img { width: 62px; height: 82px; object-fit: cover; border-radius: 4px; }
.av-sample-event div { min-width: 0; }
.av-sample-event strong { display: block; font-size: 17px; }
.av-sample-event span { display: block; font-size: 12px; color: var(--text-muted); margin-top: 3px; }
.av-sample-event p { font-size: 13px; line-height: 1.5; margin-top: 8px; }
.av-score-figure { margin: 0; text-align: center; padding: 15px 0; }
.av-chart-top { display: flex; align-items: center; justify-content: center; gap: 12px; }
.av-chart-top > span { font-size: 14px; color: var(--text-muted); }
.av-radar-wrap { max-width: 265px; margin: 5px auto 0; }
.av-radar-wrap .score-radar { width: 100%; height: auto; display: block; }
.av-radar-wrap .av-example-score { fill: var(--text); font: 600 16px 'DM Sans', sans-serif; stroke: var(--bg); stroke-width: 2px; paint-order: stroke; }
.about-visual .score-radar-grid { stroke: var(--border-hi); stroke-width: .45; fill: none; }
.about-visual .score-radar-shape { fill: color-mix(in srgb, var(--teal) 20%, transparent); stroke: var(--teal); stroke-width: 1.2; }
.av-score-figure figcaption { font-size: 11px; color: var(--text-muted); max-width: 220px; margin: -7px auto 0; line-height: 1.5; }
.av-axis-bars { display: grid; gap: 18px; }
.av-axis-row > div:first-child { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; margin-bottom: 7px; }
.av-axis-row strong { font-size: 15px; font-weight: 500; }
.av-axis-track { height: 5px; border-radius: 2px; background: var(--border); overflow: hidden; }
.av-axis-track > span { display: block; height: 100%; background: var(--teal); }
.av-score-notes { grid-column: 1 / -1; width: 100%; }
.av-architecture { display: grid; grid-template-columns: 1fr 115px 1fr; align-items: stretch; }
.av-system { padding: 30px; border-radius: 12px; min-height: 300px; position: relative; overflow: hidden; }
.av-system-private { background: #173e37; color: #faf3e6; }
.av-system-private p { color: #c5d4cb; }
.av-system-public { background: var(--bg-card); border: 1px solid var(--border-hi); }
.av-system-icon { width: 42px; height: 42px; margin-bottom: 20px; }
.av-system-icon svg { width: 100%; height: 100%; }
.av-system h3 { font-size: 25px; font-weight: 500; }
.av-tech { font-size: 13px; margin: 10px 0 22px; }
.av-tech span { margin: 0 6px; opacity: .5; }
.av-system p { font-size: 14px; }
.av-database { position: absolute; width: 120px; height: 75px; bottom: 30px; right: -5px; opacity: .22; }
.av-database span { position: absolute; width: 110px; height: 45px; border: 1.5px solid #d3e6d6; border-radius: 50%; }
.av-database span:nth-child(2) { top: 15px; }
.av-database span:nth-child(3) { top: 30px; }
.av-export { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; color: var(--teal); text-align: center; font-size: 12px; }
.av-export svg { width: 45px; height: 30px; }
.av-export strong { max-width: 75px; }
.av-output-icons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.av-output-icons span { padding: 6px 9px; border: 1px solid var(--border-hi); font-size: 11px; border-radius: 4px; }
.av-release-flow { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; padding: 27px 0 10px; }
.av-release-flow li { color: var(--text-muted); font-size: 12px; }
.av-release-flow li:not(:last-child)::after { content: '→'; margin-left: 28px; color: var(--coral); }
.av-code { border-top: 1px solid var(--border); }
.av-open-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; }
.av-code-window, .av-json-window { border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.av-code-window { background: #183b34; color: #f6eedc; }
.av-json-window { background: var(--bg-card); border: 1px solid var(--border-hi); }
.av-window-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 20px; font-size: 11px; border-bottom: 1px solid #ffffff24; }
.av-json-window .av-window-bar { border-color: var(--border); }
.av-file-tree { position: relative; display: grid; gap: 2px; padding: 24px; font: 12px/1.7 ui-monospace, SFMono-Regular, Consolas, monospace; }
.av-file-tree > svg { width: 34px; height: 34px; margin-bottom: 10px; color: #e6bd87; }
.av-file-tree a { color: #c7dacd; text-decoration: none; min-height: 44px; display: flex; align-items: center; overflow-wrap: anywhere; }
.av-file-tree a:hover { text-decoration: underline; }
.av-code-window > p, .av-json-window > p { font-size: 12px; line-height: 1.6; padding: 0 24px 20px; }
.av-code-window > p { color: #c3d3c9; }
.av-code-link { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 54px; text-decoration: none; font-size: 14px; font-weight: 600; border-top: 1px solid #ffffff24; padding: 13px 24px; margin-top: auto; color: #fff6e5; }
.av-json-window .av-code-link { color: var(--coral); border-color: var(--border); }
.av-json-window pre { padding: 22px 24px; font: 13px/1.8 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; }
.av-json-window code span { color: var(--teal); }
.av-sources { border-top: 1px solid var(--border); padding-top: 55px; }
.av-logo-strip { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; padding: 10px 0 28px; }
.av-logo-strip img { width: auto; max-width: 110px; height: 37px; object-fit: contain; filter: grayscale(1); opacity: .7; }
.av-source-initial { font-size: 15px; color: var(--teal); font-weight: 600; letter-spacing: .08em; }
.about-visual .sources-meta { padding-bottom: 20px; }
.about-visual #scan-receipts > div { border-top: 1px solid var(--border); padding: 18px 0; max-width: none; }
.about-visual #scan-receipts > div > div { margin-top: 6px; line-height: 1.7; }
:root[data-theme="dark"] .av-signal-grid { background-color: #15382f; }
:root[data-theme="dark"] .av-logo-strip img { filter: grayscale(1) brightness(1.6); }
@media (max-width: 900px) {
  .av-hero-grid { gap: 20px; }
  .av-collage { transform: scale(.9); transform-origin: right center; margin-left: -25px; }
  .av-score-layout { grid-template-columns: 1fr 1fr; }
  .av-score-heading { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 15px 30px; }
  .av-score-heading > p { margin: 0; }
  .av-sample-event { grid-column: 1 / -1; padding-top: 5px; }
}
@media (max-width: 600px) {
  .av-hero { padding: 95px 20px 0; }
  .av-hero-grid { grid-template-columns: 1fr; gap: 15px; }
  .about-visual h1 { font-size: 43px; max-width: 310px; }
  .av-intro p { font-size: 16px; margin: 17px 0; }
  .av-collage { height: 300px; transform: none; margin: 0; }
  .av-signal-grid { inset: 18px 0 20px; }
  .av-poster { width: 160px; right: 19px; top: 8px; padding: 6px; }
  .av-poster > img { height: 186px; }
  .av-poster > div { padding: 8px 5px 5px; }
  .av-poster strong { font-size: 14px; }
  .av-poster span { font-size: 9px; }
  .av-input { font-size: 10px; padding: 9px; gap: 6px; min-height: 45px; }
  .av-input svg { width: 19px; height: 19px; }
  .av-input-one { left: 0; top: 35px; }
  .av-input-two { left: -4px; top: 117px; }
  .av-input-three { left: 0; top: 200px; }
  .av-score-stamp { width: 72px; height: 72px; right: 0; top: 197px; }
  .av-score-stamp strong { font-size: 22px; }
  .av-collage figcaption { font-size: 10px; bottom: 5px; }
  .about-visual .about-quick-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; margin-top: 10px; padding: 8px 0; }
  .about-visual .about-quick-links a { font-size: 13px; }
  .av-section { padding: 45px 20px; }
  .av-section-intro { display: block; margin-bottom: 22px; }
  .av-section-intro p { margin-top: 16px; font-size: 15px; }
  .av-steps { grid-template-columns: repeat(3, 1fr); }
  .av-steps button { min-height: 85px; padding: 12px 2px; gap: 9px; }
  .av-steps button > svg { width: 25px; height: 25px; }
  .av-steps strong { font-size: 12px; }
  .av-steps button > span { font-size: 9px; gap: 4px; }
  .av-process-panel { grid-template-columns: 1fr; }
  .av-process-art { min-height: 200px; padding: 22px; }
  .av-process-copy { padding: 24px; }
  .av-process-copy h3 { font-size: 21px; }
  .av-process-copy p { font-size: 14px; }
  .av-score-art { width: 160px; height: 160px; }
  .av-details summary { font-size: 14px; }
  .av-score-layout { grid-template-columns: 1fr; gap: 25px; }
  .av-score-heading { display: block; grid-column: auto; }
  .av-score-heading > p { margin-top: 16px; }
  .av-sample-event { padding-top: 24px; }
  .av-score-figure { padding: 5px 0 0; }
  .av-radar-wrap { max-width: 230px; }
  .av-axis-bars { gap: 16px; }
  .av-score-notes { grid-column: auto; }
  .av-architecture { grid-template-columns: 1fr; }
  .av-system { min-height: 245px; padding: 25px; }
  .av-system-icon { width: 36px; height: 36px; margin-bottom: 15px; }
  .av-tech { margin-bottom: 16px; }
  .av-export { flex-direction: row; min-height: 78px; gap: 15px; }
  .av-export svg { transform: rotate(90deg); width: 30px; }
  .av-export strong { max-width: none; }
  .av-release-flow { gap: 10px 14px; justify-content: start; }
  .av-release-flow li:not(:last-child)::after { margin-left: 14px; }
  .av-open-grid { grid-template-columns: 1fr; }
  .av-file-tree { padding: 22px 18px; font-size: 11px; }
  .av-window-bar { padding: 12px 18px; font-size: 10px; }
  .av-code-window > p, .av-json-window > p { padding-left: 18px; padding-right: 18px; }
  .av-logo-strip { gap: 24px 20px; justify-content: center; }
  .av-logo-strip img { max-width: 85px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .about-visual *, .about-visual *::before, .about-visual *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
