:root {
  color-scheme: dark;
  --bg: #101010;
  --panel: #181818;
  --ink: #f7f7f7;
  --muted: #b6b6b6;
  --line: #353535;
  --rail: min(1392px, calc(100% - 112px));
  font: 16px/1.5 Inter, "Arial", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--bg); }
img { max-width: 100%; }
a { color: inherit; text-underline-offset: 4px; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 2px solid #b6abfa; outline-offset: 4px; }
h1, h2, h3, p, ul, ol { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.052em; line-height: 1.04; }
.wrap { width: var(--rail); margin-inline: auto; }
.skip-link { position: absolute; top: 12px; left: 12px; z-index: 5; background: white; color: #101010; padding: 10px 16px; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.top { border-bottom: 1px solid #2d2d2d; }
.bar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; text-decoration: none; align-items: center; flex: 0 0 auto; }
.brand img { display: block; width: 58px; height: auto; filter: invert(1); }
.nav { display: flex; gap: clamp(14px, 3vw, 38px); }
.nav a { font-size: 15px; color: var(--muted); text-decoration: none; }
.nav a:hover, .nav [aria-current="page"] { color: white; text-decoration: underline; }
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(245px, 315px); align-items: end; gap: 26px; padding-block: clamp(65px, 9vw, 132px) clamp(36px, 5.1vw, 76px); }
.intro h1 { font-weight: 500; font-size: clamp(53px, 7.8vw, 123px); letter-spacing: -.07em; line-height: .89; margin: 0; }
.intro-side p { color: var(--muted); max-width: 315px; margin: 0 0 22px; font-size: 17px; line-height: 1.45; }
.actions, .card-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.button { display: inline-flex; min-height: 43px; justify-content: center; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 7px; border: 1px solid #484848; color: var(--ink); background: transparent; text-decoration: none; text-align: center; font-size: 14px; font-weight: 600; line-height: 1.35; cursor: pointer; }
.button:hover { background: #282828; border-color: #717171; }
.button.primary { color: #101010; background: #f1f1f1; border-color: #f1f1f1; }
.button.primary:hover { background: #d0d0d0; border-color: #d0d0d0; }
.showcase { display: grid; grid-template-columns: 1.13fr .8fr 1fr; grid-template-areas: "prez prez motion" "print vector motion"; grid-template-rows: clamp(210px, 24vw, 390px) clamp(162px, 17vw, 263px); gap: 9px; width: min(1700px, calc(100% - 18px)); margin-inline: auto; }
.tile { position: relative; isolation: isolate; display: flex; align-items: end; min-width: 0; overflow: hidden; border-radius: 12px; text-decoration: none; transition: filter .24s; }
.tile:hover { filter: brightness(1.13); }
.tile:focus-visible { outline-offset: -5px; }
.tile-copy { position: relative; z-index: 1; display: grid; gap: 4px; padding: clamp(14px, 2.7vw, 39px); }
.tile-copy span { font-size: 13px; font-weight: 500; }
.tile-copy strong { font-size: clamp(24px, 4.6vw, 69px); letter-spacing: -.06em; font-weight: 500; line-height: .96; }
.tile-prez { grid-area: prez; background: #4b100e url("prez-cover.webp") center 54% / cover no-repeat; }
.tile-prez::before { content: ""; position: absolute; inset: 0; background: linear-gradient(78deg, #290300bb, transparent 62%); }
.tile-motion { grid-area: motion; color: white; background: radial-gradient(ellipse at 60% 44%, #7c58f1 0%, #493097 43%, #281960 72%, #170e3b 100%); }
.tile-motion .tile-copy { background: linear-gradient(transparent, #170f35a8); width: 100%; padding-top: 70px; }
.motion-art { position: absolute; inset: 2% 0 9%; display: grid; place-items: center; }
.motion-art b { position: absolute; width: min(71%, 325px); aspect-ratio: 1; border: clamp(9px, 1.4vw, 23px) solid #d4c4ff; border-radius: 43% 57% 62% 38% / 45% 41% 59% 55%; transform: rotate(-24deg) scaleY(.72); box-shadow: inset 0 0 22px #f4e7ff9c, 0 14px 45px #1b075d82; opacity: .91; transition: transform .65s cubic-bezier(.2,.7,.25,1); }
.motion-art b:nth-child(2) { transform: rotate(22deg) scale(.84,.72); opacity: .58; border-color: #efdcff; }
.motion-art b:nth-child(3) { transform: rotate(74deg) scale(.71,.63); opacity: .4; border-color: #f5eeff; }
.tile-motion:hover b:first-child { transform: rotate(-46deg) scale(.94,.78); }
.tile-motion:hover b:nth-child(2) { transform: rotate(49deg) scale(.92,.67); }
.tile-motion:hover b:nth-child(3) { transform: rotate(100deg) scale(.77,.66); }
.tile-print { grid-area: print; background: #eae5e0; color: #1a1a18; }
.tile-vector { grid-area: vector; background: #cae9ac; color: #173a24; }
.tile-print .tile-copy strong, .tile-vector .tile-copy strong { font-size: clamp(21px, 3vw, 43px); }
.paper-sample { position: absolute; right: 4%; top: 10%; width: 42%; height: 85%; transform: rotate(-12deg); border: 1px solid #733c31; background: #f9d6c8; box-shadow: 10px 10px 36px #402e2540; }
.paper-sample b { position: absolute; inset: 11%; border: 1px dashed #753124; background: linear-gradient(145deg, #f9ede4 52%, #ea4a41 52%); }
.paper-sample i { position: absolute; width: 22px; height: 10px; border-top: 1px solid; border-left: 1px solid; top: 4%; left: 4%; }
.paper-sample i:nth-of-type(2) { left: auto; right: 4%; transform: scaleX(-1); }
.paper-sample i:nth-of-type(3) { top: auto; bottom: 4%; transform: scaleY(-1); }
.paper-sample i:nth-of-type(4) { top: auto; bottom: 4%; left: auto; right: 4%; transform: scale(-1); }
.vector-sample { position: absolute; right: 6%; top: 10%; width: 44%; height: 77%; transform: rotate(-15deg); border: 1px solid #33563b; background: #dbeecb; }
.vector-sample::before { content:""; position: absolute; inset: 14%; border: 1px solid #33563b; border-radius: 32% 58% 33% 67%; background: #749d6a; }
.vector-sample b { position: absolute; display: block; width: 7px; height: 7px; border: 1px solid #33563b; background: #edf8e7; left: 15%; top: 48%; }
.vector-sample b:nth-child(2) { left: 39%; top: 13%; }
.vector-sample b:nth-child(3) { left: 81%; top: 49%; }
.vector-sample b:nth-child(4) { left: 48%; top: 81%; }
.tile-print .tile-copy, .tile-vector .tile-copy { background: linear-gradient(90deg, #eae5e0 42%, transparent); padding-right: 7%; }
.tile-vector .tile-copy { background: linear-gradient(90deg, #cae9ac 42%, transparent); }
.section { padding-block: clamp(62px, 8vw, 115px) 0; scroll-margin-top: 20px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 10px 22px; border-bottom: 1px solid var(--line); padding-bottom: 22px; margin-bottom: 22px; }
.section-head h2, .support h2 { font-weight: 500; font-size: clamp(42px, 6.6vw, 90px); margin: 0; }
.section-head p { margin: 0 0 4px; color: var(--muted); font-size: 14px; }
.catalog-tools { display: flex; align-items: start; justify-content: space-between; gap: 12px 20px; margin-bottom: 20px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters button { min-height: 40px; border-radius: 100px; border: 1px solid #404040; background: transparent; color: #ddd; padding: 6px 13px; cursor: pointer; font-size: 14px; }
.filters button:hover { background: #292929; }
.filters [aria-pressed="true"] { background: #ededed; border-color: #ededed; color: #0d0d0d; }
.filters [aria-pressed="true"]:hover { background: #ededed; }
.search { position: relative; min-width: min(220px,100%); }
.search span { position: absolute; left: 14px; top: 13px; pointer-events: none; width: 11px; height: 11px; border: 1.5px solid #c9c9c9; border-radius: 100%; }
.search span::after { content: ""; position: absolute; right: -5px; bottom: -2px; width: 6px; height: 1.5px; background: #c9c9c9; transform: rotate(45deg); }
.search input { width: 100%; min-height: 40px; border-radius: 8px; border: 1px solid #4b4b4b; padding: 6px 12px 6px 36px; color: var(--ink); background: #181818; }
.search input::placeholder { color: #aaa; opacity: 1; }
.empty { color: var(--muted); padding: 20px 0; }
.cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.card { display: flex; flex-direction: column; min-width: 0; padding: clamp(16px, 2.1vw, 30px); background: var(--panel); border: 1px solid #313131; border-radius: 12px; }
.card:hover { border-color: #545454; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.category, .meta, .alias { color: var(--muted); font-size: 14px; }
.badge { display: inline-grid; place-items: center; width: 45px; height: 45px; background: #dce0e3; color: #202020; font-size: 14px; font-weight: 700; border-radius: 9px; }
.badge.lilac { background: #d8caf6; }
.badge.orange, .badge.cream { background: #f3ddce; }
.badge.green { background: #d6edba; }
.badge.red, .badge.pink { background: #ffcccb; }
.card h3 { font-size: clamp(23px, 2.25vw, 34px); font-weight: 500; margin: 0 0 8px; overflow-wrap: anywhere; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card p { color: var(--muted); margin: 0 0 15px; }
.alias { margin-bottom: 4px; }
.meta { margin: auto 0 11px; }
.examples { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.example-card { min-width: 0; border: 1px solid #373737; border-radius: 12px; padding: 12px 12px 19px; }
.example-card h3 { font-size: 25px; font-weight: 500; margin: 11px 0 6px; }
.example-card h3, .example-card p, .example-card a { margin-inline: 4px; }
.example-card p { color: var(--muted); }
.art-check { color: #1d281b; }
.prez-example img { width: 100%; height: 100%; object-fit: cover; }
.support { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(22px, 5vw, 72px); margin-block: clamp(58px,8vw,116px); border-top: 1px solid var(--line); padding-top: 27px; }
.support h2 { max-width: 600px; font-size: clamp(37px, 5.5vw, 78px); }
.support p { color: var(--muted); max-width: 410px; margin: 10px 0 0; }
.support-links { display: grid; align-content: start; }
.support-links a { padding-block: 14px; border-bottom: 1px solid var(--line); text-decoration: none; }
.support-links a:hover { text-decoration: underline; }
.foot { border-top: 1px solid var(--line); padding-block: 25px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 22px; color: var(--muted); font-size: 14px; }
.foot .brand img { width: 44px; }
.foot a:not(.brand) { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.bread { display: inline-flex; margin-top: 28px; font-size: 14px; color: var(--muted); }
.detail-hero { padding-block: 26px 33px; }
.detail-hero h1 { font-size: clamp(43px, 7.5vw, 100px); font-weight: 500; margin-bottom: 11px; overflow-wrap: anywhere; }
.kicker { margin-bottom: 10px; color: var(--muted); font-size: 14px; }
.lead { max-width: 700px; font-size: clamp(17px,2vw,22px); margin-bottom: 18px; color: var(--muted); }
.doc-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(215px, 310px); gap: clamp(24px, 5vw, 70px); align-items: start; padding-bottom: 65px; }
.doc { min-width: 0; }
.doc-block { padding-block: 23px; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.doc-block > :last-child { margin-bottom: 0; }
.doc h2 { font-size: clamp(25px, 3.4vw, 42px); margin-bottom: 12px; font-weight: 500; }
.doc h3 { font-size: 19px; margin: 16px 0 8px; font-weight: 600; letter-spacing: -.02em; }
.doc p, .doc li { color: #d4d4d4; }
.doc ol, .doc ul, .side ul { padding-left: 22px; }
.doc li + li, .side li + li { margin-top: 7px; }
.doc code { font-size: .91em; background: #292929; padding: .08em .25em; border-radius: 4px; overflow-wrap: anywhere; }
.snippet { background: #202020; border-radius: 8px; padding: 12px 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.snippet code { padding: 0; background: transparent; }
.prompt-box, .side { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.prompt-box textarea { display: block; background: #101010; border: 1px solid #555; border-radius: 8px; color: var(--ink); width: 100%; min-height: 130px; padding: 12px; resize: vertical; margin-bottom: 10px; }
.copy-status { color: var(--muted); font-size: 14px; }
.side h2 { font-size: 24px; margin-bottom: 10px; }
.side p, .side li { font-size: 15px; color: #cbcbcb; }
.side p:last-child, .side ul:last-child { margin-bottom: 0; }
.side details + p { margin-top: 12px; }
.checksum { overflow-wrap: anywhere; font-family: monospace; }
.artwork { width: 100%; aspect-ratio: 1.5; border-radius: 12px; overflow: hidden; position: relative; margin-bottom: 10px; }
.art-photo { background: #685563; }
.art-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.art-photo .before { clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.compare-line { position: absolute; top: 0; bottom: 0; left: clamp(1px,var(--split),calc(100% - 1px)); width: 2px; background: #fff; box-shadow: 0 0 6px #25121b38; }
.compare-label { position: absolute; bottom: 10px; font-size: 13px; font-weight: 700; padding: 5px 8px; color: white; background: #1b191de5; border-radius: 4px; }
.label-before { left: 10px; }
.label-after { right: 10px; }
.slider-label { display: block; font-size: 14px; font-weight: 650; }
.split-control { display: block; width: 100%; accent-color: #f66943; margin: 3px 0 10px; min-height: 28px; cursor: ew-resize; }
.art-vector { display: flex; background: #c5e3a3; }
.vector-side { flex: 1; display: grid; place-items: center; position: relative; }
.vector-side + .vector-side { border-left: 1px solid #15372343; }
.vector-curve { width: 55%; aspect-ratio: 1; border-radius: 32% 58% 33% 67%; transform: rotate(-29deg); display: block; background: #193923; box-shadow: inset 6px -7px 0 #244a2a; }
.construction { background-image: linear-gradient(to bottom,#17351828 1px,transparent 1px),linear-gradient(to right,#17351828 1px,transparent 1px); background-size: 12px 12px; }
.construction .vector-curve { background: none; box-shadow: none; border: 1.5px solid #193923; }
.construction i { width: 7px; height: 7px; position: absolute; border: 1px solid #193923; background: white; left: 25%; top: 46%; }
.construction i:nth-of-type(2) { left: 43%; top: 21%; }
.construction i:nth-of-type(3) { left: 70%; top: 52%; }
.construction i:nth-of-type(4) { left: 52%; top: 75%; }
.art-motion { padding: 10%; display: grid; align-content: center; gap: 8%; background: #d9d1fe; color: #2d195f; }
.art-motion.jitter { background: #ffe890; color: #3e3116; }
.motion-ui { display: grid; gap: 4px; align-content: center; min-height: 70%; font-size: clamp(19px,5vw,48px); }
.motion-ui span { border-radius: 100px; height: 7px; width: 30%; background: currentColor; opacity: .65; }
.motion-ui span:last-child { width: 53%; opacity: .36; }
.timeline { height: clamp(27px,5vw,54px); position: relative; border-radius: 5px; padding: 7px 10px; display: flex; flex-direction: column; justify-content: space-between; background: #f5effb; overflow: hidden; }
.timeline i { display: block; width: 69%; height: 20%; border-radius: 2px; background: #7869b5; }
.timeline i:nth-child(2) { width: 42%; margin-left: 13%; }
.timeline i:nth-child(3) { width: 57%; margin-left: 28%; }
.timeline b { display: block; position: absolute; inset: 0 auto 0 72%; width: 2px; background: #5228b4; }
.replay { margin-top: 1px; margin-bottom: 10px; }
.art-motion.playing .motion-ui > * { animation: reveal .8s cubic-bezier(.23,.72,.28,1) both; }
.art-motion.playing .motion-ui > :nth-child(2) { animation-delay: .12s; }
.art-motion.playing .motion-ui > :nth-child(3) { animation-delay: .22s; }
.art-motion.playing .timeline b { animation: timeline 1.15s linear both; }
@keyframes reveal { from { transform: translateY(12px); opacity: 0; } }
@keyframes timeline { from { left: 0; } to { left: 72%; } }
.art-print { display: grid; place-items: center; background: #e4eddf; }
.print-crop { padding: 4%; width: 65%; height: 70%; border: 1px dashed #7e321d; }
.print-body { height: 100%; background: #f7ba9b; font-weight: 700; display: flex; flex-direction: column; align-items: center; padding: 6px; gap: 4px; color: #29251f; }
.print-body div { width: 88%; flex: 1; border: 1px solid #322d29; display: grid; place-items: center; background: #fef6e8; }
.art-check { display: grid; align-content: center; gap: 7px; padding-inline: 10%; background: #d8e8c7; }
.art-check div { display: flex; justify-content: space-between; gap: 6px; padding: 9px 12px; background: #f6fbef; border-radius: 5px; font-size: clamp(12px,2vw,17px); }
.art-check span { color: #376528; }
@media (max-width: 950px) {
  :root { --rail: calc(100% - 64px); }
  .catalog-tools { flex-direction: column; }
  .cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 720px) {
  :root { --rail: calc(100% - 36px); }
  .intro { grid-template-columns: 1fr; align-items: start; gap: 16px; padding-block: 51px 28px; }
  .intro h1 { font-size: clamp(48px, 10.6vw, 76px); }
  .intro-side p { margin-bottom: 14px; }
  .showcase { grid-template-columns: 1fr 1fr; grid-template-areas: "prez prez" "motion print" "motion vector"; grid-template-rows: 210px 130px 130px; }
  .tile-copy strong { font-size: clamp(22px, 5vw, 39px); }
  .tile-prez .tile-copy strong { font-size: clamp(37px, 8vw, 59px); }
  .tile-print .tile-copy strong, .tile-vector .tile-copy strong { font-size: clamp(18px, 4vw, 29px); }
  .examples { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .support { grid-template-columns: 1fr; }
  .doc-layout { grid-template-columns: 1fr; }
  .side { grid-row: 1; }
}
@media (max-width: 460px) {
  .bar { min-height: 61px; gap: 12px; }
  .nav { gap: 11px; }
  .nav a { font-size: 13px; }
  .brand img { width: 42px; }
  .cards, .examples { grid-template-columns: 1fr; }
  .section-head { align-items: start; flex-wrap: wrap; }
  .tile-copy { padding: 11px; }
  .tile-copy span { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile, .motion-art b { transition: none; }
  .art-motion.playing .motion-ui > *, .art-motion.playing .timeline b { animation: none; }
}
.glax-preview { display: grid; place-items: center; background: #18163b; }
.glax-preview span { display: block; width: 36%; aspect-ratio: 1; border: clamp(8px, 2vw, 18px) solid #d8befd; border-right-color: #827cf4; border-radius: 30%; }
.glax-preview.playing span { animation: glax-loop 2s cubic-bezier(.55,.14,.38,.94) both; }
@keyframes glax-loop { 50% { border-radius: 50%; } to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .glax-preview.playing span { animation: none; }
}
