/* The About page (/about, server/about-page.js). It builds on app.css, visibility.css and guide.css: the hero,
   tiles, panels and closing are theirs. This file adds the why/how split, the ink tile, the product cards and
   the company's facts. */

/* Why KNWN exists: the words beside one question answered two ways. */
.about-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 64px); }
.about-copy p { margin-top: 16px; max-width: 540px; color: #48454e; font-size: 16px; line-height: 1.75; }
.about-copy h2 + p { margin-top: 20px; }
.about-pair { padding: clamp(16px, 2.4vw, 24px); border-radius: 24px; background: #ffffffa6; box-shadow: var(--card); backdrop-filter: blur(6px); }
.about-pair .guide-q { font-size: 13px; }
.about-pair .guide-src ol { font-size: 12.5px; }

/* How KNWN works: four tiles; the third on ink with the change diagram. */
.about-how .vis-bento .vis-shot { flex: 1 1 276px; height: auto; min-height: 276px; }
.about-shot--engines { padding: 14px 14px 0; background: #f6f4fa; }
.about-tile--ink { background: radial-gradient(90% 70% at 100% 0%, #3d2f78 0%, #232029 52%, #19191b 100%); color: #fff; }
.about-tile--ink h3 svg { color: #d9cffb; }
.about-tile--ink > p { color: #ffffffc7; }
.about-diagram { margin: auto 0 26px; padding-top: 22px; }
.about-diagram .vis-ranges { padding: 18px; }
/* The tile's text already gives the 95% and the 30 answers, so the diagram shows only the two ranges. */
.about-diagram .vis-stats { display: none; }

/* What KNWN makes: one card per product, by its name and its own heading. */
.about-make { margin-top: clamp(48px, 7vw, 88px); }
.about-lead { max-width: 640px; margin-top: 12px; color: #5b5560; font-size: 16px; line-height: 1.7; }
.about-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.about-products li { display: flex; min-width: 0; }
.about-product { display: flex; width: 100%; flex-direction: column; gap: 6px; padding: 20px 20px 18px; border-radius: 20px; background: var(--surface); color: var(--ink); text-decoration: none; box-shadow: var(--card); transition: box-shadow 200ms var(--ease-out), transform 200ms var(--ease-out); }
.about-product:hover { box-shadow: var(--pop); transform: translateY(-2px); }
.about-product:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 3px; }
.about-product-icon { display: grid; width: 40px; height: 40px; place-items: center; margin-bottom: 10px; border-radius: 12px; background: var(--lavender-soft); color: var(--accent); }
.about-product-icon svg { width: 21px; height: 21px; }
.about-product small { color: var(--accent-dark); font-size: 11px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.about-product strong { font: 560 17px/1.35 var(--heading); letter-spacing: -.01em; }
.about-product .arrow { margin-top: auto; padding-top: 12px; color: var(--accent-dark); }

/* The company: its facts as a card on ink. */
.about-company { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(28px, 5vw, 64px); margin-top: clamp(48px, 7vw, 88px); }
.about-company-copy p { margin-top: 16px; color: #ffffffc7; font-size: 16px; line-height: 1.7; }
.about-mark { display: grid; width: 56px; height: 56px; place-items: center; margin-bottom: 22px; border-radius: 16px; background: #ffffff14; box-shadow: inset 0 0 0 1px #ffffff1f; color: #fff; }
.about-mark svg, .about-mark .vis-mark { width: 28px; height: 28px; color: #d9cffb; }
.about-facts { display: grid; margin: 0; padding: 6px 22px; border-radius: 22px; background: #ffffff0d; box-shadow: inset 0 0 0 1px #ffffff1a; }
.about-facts > div { display: grid; grid-template-columns: minmax(120px, .4fr) minmax(0, 1fr); align-items: baseline; gap: 6px 18px; padding: 14px 0; }
.about-facts > div + div { border-top: 1px solid #ffffff17; }
.about-facts dt { color: #ffffff99; font-size: 13px; }
.about-facts dd { min-width: 0; margin: 0; font-size: 15px; overflow-wrap: anywhere; }
.about-facts strong { font-weight: 600; }
.about-facts a { color: #fff; text-decoration: underline; text-decoration-color: #ffffff59; text-underline-offset: 3px; }
.about-facts a:hover { text-decoration-color: #fff; }
.about-fact-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.about-languages { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.about-languages span { padding: 3px 9px; border-radius: 99px; background: #ffffff14; color: #ffffffd9; font-size: 12px; line-height: 1.5; }

@media (max-width: 1020px) {
  .about-split, .about-company { grid-template-columns: minmax(0, 1fr); }
  .about-pair { max-width: 560px; }
  .about-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .about-products { grid-template-columns: minmax(0, 1fr); }
  .about-facts { padding: 4px 16px; }
  .about-facts > div { grid-template-columns: minmax(0, 1fr); }
  .about-diagram { margin-bottom: 20px; }
}
