/* aiolilabs.com — page layout only; everything visual is tokens.css + bundle.css */
html{scroll-behavior:smooth}
.wrap{max-width:var(--container);margin:0 auto;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
.sec{padding:var(--space-12) 0;border-top:var(--stroke-hair) solid var(--rule)}
.sec--first{border-top:0;padding-top:var(--space-8)}
.ai-open--text{padding-top:var(--space-16)}
.ai-open--text .ai-display{font-size:48px;line-height:52px}
.themes{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:var(--space-6) var(--space-8)}
.theme{display:grid;gap:var(--space-2);align-content:start}
.theme img{width:40px;height:40px;display:block}
.theme h3{font-family:var(--font-display);font-weight:700;font-size:18px;line-height:24px;margin:0}
.theme p{margin:0;max-width:34ch}
.values{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:var(--space-6)}
.values h3{font-family:var(--font-display);font-weight:700;font-size:18px;line-height:24px;margin:0 0 var(--space-1)}
.values p{margin:0;max-width:36ch}
.paper-body{max-width:62ch}
.paper-body h2{font-family:var(--font-display);font-weight:700;font-size:26px;line-height:30px;letter-spacing:-.015em;margin:var(--space-8) 0 var(--space-2)}
.paper-body p{font-family:var(--font-voice);font-size:15px;line-height:24px;margin:0 0 var(--space-4)}
.paper-body ul{font-family:var(--font-voice);font-size:15px;line-height:24px;padding-left:22px;margin:0 0 var(--space-4)}
.ai-prompt--big{font-size:26px;line-height:32px}
/* the img's height attribute would otherwise fix it at 640px and letterbox the drawing */
.ai-figure__frame img{height:auto}
.ai-paper{align-items:center}
/* ten themes: 5 by 2, never a lone last item */
.themes--ten{grid-template-columns:repeat(5,minmax(0,1fr))}
/* section number in the same 40px column as the index numbers, so headings line up with row titles */
.ai-sec{grid-template-columns:40px 1fr;gap:var(--space-3)}
.ai-index--history li{grid-template-columns:40px 1fr auto}
.next{display:flex;justify-content:space-between;gap:var(--space-4);flex-wrap:wrap;padding-top:var(--space-6);border-top:var(--stroke-hair) solid var(--rule)}
@media (max-width:860px){.ai-open--shape{grid-template-columns:1fr}.ai-open__shape{justify-self:start;max-width:260px}.ai-paper{grid-template-columns:1fr}.ai-display{font-size:44px;line-height:48px}.ai-open--text .ai-display{font-size:36px;line-height:40px}.ai-prompt--big{font-size:22px;line-height:28px}.themes--ten{grid-template-columns:repeat(2,minmax(0,1fr))}.ai-open,.ai-open--text{padding-top:var(--space-12)}}
@media (max-width:480px){.ai-nav__links{flex-wrap:wrap;row-gap:var(--space-2)}.ai-nav__links .ai-hl{white-space:nowrap}}
