:root { color-scheme: dark; --bg: #060a12; --text: #eaf2ff; --muted: #b8cae4; --cyan: #2af3ff; --purple: #9b5cff; --gold: #ffd24a; font-family: Arial, Helvetica, sans-serif; }
* { box-sizing: border-box; }
html.info-document { height: auto; min-height: 100%; overflow-y: auto; touch-action: auto; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body.info-page { margin: 0; min-height: 100vh; min-height: 100dvh; height: auto; overflow: visible; touch-action: pan-y; color: var(--text); background: radial-gradient(ellipse at 10% 0, #10336490, transparent 650px), radial-gradient(ellipse at 100% 12%, #53247b50, transparent 650px), var(--bg); overflow-wrap: break-word; }
button, a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; cursor: pointer; }
a { color: #94f6ff; text-underline-offset: 4px; }
a:hover { color: #fff; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }
img, svg { max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 60; padding: 16px; background: #0b1230; }
.skip-link:focus { position: fixed; top: 12px; }
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid #8cdfff33; background: linear-gradient(100deg,#0a1b36fa,#1b1235fa); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1200px; margin: 0 auto; padding: 12px 28px; }
.site-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: 18px; line-height: 1.2; font-weight: 800; letter-spacing: -.4px; white-space: nowrap; text-decoration: none; }
.site-mark { width: 30px; height: 30px; flex: 0 0 30px; }
.desktop-nav { display: flex; gap: 18px; align-items: center; }
.desktop-nav a, .site-menu nav a { display: inline-flex; align-items: center; color: #d7e8ff; min-height: 44px; font-size: 14px; line-height: 1.4; text-decoration: none; }
.desktop-nav a:hover, .site-menu nav a:hover { color: #fff; text-decoration: underline; }
[aria-current="page"] { text-decoration: underline !important; text-decoration-color: var(--cyan); }
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.site-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 20px; border-radius: 12px; border: 1px solid #c5f6ff66; background: linear-gradient(180deg,#ffffff29,#ffffff0a 48%,#00000024), linear-gradient(135deg,#126d9e,#5a36a2); box-shadow: inset 0 1px #ffffff35, 0 6px 20px #0004; color: #fff; text-decoration: none; font-size: 15px; line-height: 1.4; font-weight: 700; text-align: center; }
.site-button:hover { color: #fff; border-color: #c5f6ff; filter: brightness(1.1); }
.site-button.secondary { background: linear-gradient(180deg,#ffffff1a,#ffffff05), #102747; border-color: #6c93c666; box-shadow: none; }
.play-link { min-width: 70px; }
.site-menu { display: none; position: relative; }
.site-menu summary { list-style: none; min-height: 44px; padding: 12px 0 12px 4px; font-size: 14px; cursor: pointer; }
.site-menu summary::-webkit-details-marker { display: none; }
.site-menu summary::after { content: ''; display: inline-block; width: 6px; height: 6px; margin: 0 2px 3px 10px; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg); }
.site-menu[open] summary::after { transform: rotate(225deg); margin-bottom: 0; }
.site-menu nav { position: absolute; right: 0; top: calc(100% + 12px); width: min(260px, calc(100vw - 32px)); padding: 10px 16px; border: 1px solid #8cdfff50; border-radius: 14px; background: linear-gradient(135deg,#102c4b,#24173e); box-shadow: 0 14px 40px #0009; display: grid; max-height: 70vh; max-height: 70dvh; overflow-y: auto; }
.page-main { max-width: 960px; margin: 0 auto; padding: 32px 32px 64px; }
.breadcrumbs { display: flex; align-items: center; gap: 10px; font-size: 13px; line-height: 1.5; color: var(--muted); margin-bottom: 40px; }
.breadcrumbs a { color: var(--muted); }
.article-heading { margin-bottom: 48px; }
.eyebrow { color: #83eaff; font-size: 13px; letter-spacing: .12em; line-height: 1.6; text-transform: uppercase; margin: 0 0 18px; font-weight: 700; }
h1 { font-size: clamp(38px,6vw,64px); line-height: 1.07; letter-spacing: -.045em; margin: 0 0 24px; text-wrap: balance; }
.intro { font-size: 20px; line-height: 1.7; color: #d1e4fa; max-width: 770px; margin: 0; }
article section { margin: 44px 0; }
h2 { font-size: 27px; line-height: 1.25; letter-spacing: -.6px; margin: 0 0 18px; text-wrap: balance; }
h3 { font-size: 19px; line-height: 1.4; margin: 0 0 10px; }
p, li, dd { font-size: 17px; line-height: 1.8; color: var(--muted); }
p { margin: 0 0 18px; }
strong { color: var(--text); }
ol, ul { padding-left: 24px; }
li { padding-left: 4px; margin-bottom: 14px; }
.steps { margin: 24px 0; }
.steps li::marker { color: #89f1ff; font-weight: 700; }
.figure-grid, .feature-grid, .link-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.feature-grid { grid-template-columns: repeat(3,minmax(0,1fr)); margin: 28px 0; }
figure { margin: 0; min-width: 0; }
.figure-grid figure { background: linear-gradient(135deg,#0c2e4c80,#2b174b60); border: 1px solid #87bdf02b; border-radius: 18px; padding: 20px; }
.figure-grid svg { width: 100%; height: auto; display: block; margin-bottom: 16px; }
figcaption { color: var(--muted); font-size: 14px; line-height: 1.7; }
.feature-grid > div { padding-top: 18px; border-top: 2px solid #2af3ff70; }
.feature-grid > div:nth-child(2) { border-color: #9b5cffa0; }
.feature-grid > div:nth-child(3) { border-color: #ffd24a90; }
.feature-grid p, .link-card p { font-size: 15px; line-height: 1.75; margin: 0; }
.link-grid { margin: 24px 0; }
.link-card { display: block; padding: 24px; color: var(--text); border: 1px solid #8cdfff35; border-radius: 16px; background: linear-gradient(135deg,#12345770,#3f205b50); text-decoration: none; }
.link-card:hover { border-color: #8cdfff90; background-color: #0c2542; }
.link-card h3 { color: #d9f8ff; }
.table-wrap { width: 100%; overflow-x: auto; margin: 24px 0; border: 1px solid #87bdf033; border-radius: 14px; }
table { border-collapse: collapse; width: 100%; table-layout: fixed; }
th, td { padding: 16px; text-align: left; font-size: 15px; line-height: 1.6; vertical-align: top; border-bottom: 1px solid #87bdf022; overflow-wrap: anywhere; }
thead { background: #12618b2b; }
td { color: var(--muted); }
tr:last-child th, tr:last-child td { border-bottom: 0; }
.question { padding: 18px 0; border-bottom: 1px solid #87bdf033; }
.question summary { cursor: pointer; font-size: 17px; line-height: 1.5; padding: 8px 0; }
.question p { margin: 14px 0 4px; }
.timeline { margin: 24px 0; }
.timeline > div { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid #87bdf033; }
dt { color: #91f0ff; font-size: 16px; line-height: 1.8; font-weight: 700; }
dd { margin: 0; font-size: 16px; }
.source-note, .small-copy { font-size: 14px; line-height: 1.7; }
.related-pages { border-top: 1px solid #8cdfff30; padding-top: 32px; margin-top: 56px; }
.play-callout { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px; border: 1px solid #8cdfff45; border-radius: 18px; background: linear-gradient(120deg,#07547755,#4d23765c); margin-top: 40px; }
.play-callout h2 { font-size: 24px; margin-bottom: 6px; }.play-callout p { margin: 0; font-size: 15px; }
.site-footer { border-top: 1px solid #8cdfff30; background: #071326; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 36px 28px; }
.site-footer nav { display: flex; gap: 4px 24px; flex-wrap: wrap; margin: 20px 0; }
.site-footer nav a { color: #c4dff8; font-size: 14px; display: inline-flex; align-items: center; min-height: 44px; }
.footer-bottom { border-top: 1px solid #8cdfff20; padding-top: 20px; }
.footer-bottom p { font-size: 14px; margin-bottom: 0; }.footer-bottom nav { margin-bottom: 0; }
.app-intro { display: flex; align-items: center; gap: 24px; margin-bottom: 48px; }
.app-intro .small-copy { margin: 12px 0 0; }.app-icon { width: 112px; height: 112px; border-radius: 24px; flex-shrink: 0; }
.app-gallery { display: flex; justify-content: center; align-items: flex-start; gap: 28px; padding: 28px; border: 1px solid #8cdfff33; border-radius: 20px; background: linear-gradient(130deg,#08375866,#3e1f6266); }
.app-gallery figure { width: min(45%,222px); }.app-gallery img { display: block; width: 100%; border-radius: 14px; margin: 0 0 14px; }
.tablet-shot { margin: 28px auto 0; max-width: 620px; }.tablet-shot img { display: block; width: 100%; border-radius: 14px; margin: 0 0 14px; }
.demo { border: 1px solid #8cdfff50; border-radius: 18px; overflow: hidden; background: #0b1e38; margin: 28px 0; }
#voronoiDiagram { display: block; width: 100%; height: auto; aspect-ratio: 8/5; touch-action: pan-y; background: #0b1e38; }
#demoRegions path { stroke: #07101e; stroke-width: 2; stroke-linejoin: round; }
#demoGraph path { fill: none; stroke: #07101e; stroke-width: 4; stroke-dasharray: 8 5; pointer-events: none; }
.seed { cursor: grab; outline: none; touch-action: none; }.seed:active { cursor: grabbing; }
.seed circle { fill: #07101ef0; stroke: #fff; stroke-width: 2; }.seed text { fill: #fff; font: 700 16px Arial, sans-serif; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.seed .seed-hit { fill: transparent; stroke: transparent; stroke-width: 26; vector-effect: non-scaling-stroke; pointer-events: all; }
.seed:focus-visible circle:not(.seed-hit) { stroke: #07101e; stroke-width: 5; fill: #fff; }.seed:focus-visible text { fill: #07101e; }
.demo-controls { display: flex; gap: 12px; flex-wrap: wrap; padding: 20px 20px 0; }
.demo-status { padding: 14px 20px 18px; margin: 0; font-size: 14px; line-height: 1.5; min-height: 54px; }
.demo noscript p { padding: 0 20px; }
@media (max-width: 1080px) { .desktop-nav { gap: 12px; }.desktop-nav a { font-size: 13px; }.header-inner { gap: 16px; } }
@media (max-width: 960px) { .desktop-nav { display: none; }.site-menu { display: block; } }
@media (max-width: 600px) {
  .header-inner { padding: max(10px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) 10px max(16px,env(safe-area-inset-left)); gap: 12px; }
  .site-brand { font-size: 16px; gap: 7px; }.site-mark { width: 24px; height: 24px; flex-basis: 24px; }
  .header-actions { gap: 10px; }.play-link { min-width: 56px; padding: 10px 14px; }.site-menu summary { font-size: 13px; }
  .page-main { padding: 24px 20px 44px; }.breadcrumbs { margin-bottom: 30px; }
  .article-heading { margin-bottom: 36px; }.intro { font-size: 18px; line-height: 1.75; }
  h1 { font-size: 40px; }h2 { font-size: 25px; }p,li { font-size: 16px; }
  .figure-grid, .feature-grid, .link-grid { grid-template-columns: 1fr; gap: 20px; }
  .figure-grid figure { padding: 18px; }.figure-grid svg { max-height: 260px; }
  .feature-grid { gap: 16px; }.link-card { padding: 22px; }
  .timeline > div { grid-template-columns: 1fr; gap: 4px; }
  th,td { padding: 10px; font-size: 13px; line-height: 1.6; }
  .play-callout { flex-direction: column; align-items: stretch; padding: 22px; }
  .footer-inner { padding: 32px 20px max(24px,env(safe-area-inset-bottom)); }.site-footer nav { column-gap: 20px; }
  .app-intro { align-items: flex-start; gap: 18px; }.app-icon { width: 72px; height: 72px; border-radius: 16px; }.app-intro .site-button { width: 100%; font-size: 14px; padding: 12px; }
  .app-gallery { gap: 16px; padding: 18px; }.app-gallery figure { width: calc(50% - 8px); }.app-gallery figcaption { font-size: 13px; }
  .demo-controls { padding: 16px 14px 0; gap: 10px; }.demo-controls .site-button { flex: 1 1 auto; font-size: 14px; padding: 10px 12px; }.demo-status { padding: 14px; }
}
@media (max-width: 350px) { .header-inner { gap: 8px; }.site-brand { font-size: 15px; }.site-brand .site-mark { display: none; }.header-actions { gap: 8px; }h1 { font-size: 36px; }.app-intro { flex-direction: column; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
