*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--ui); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--mark); outline-offset: 3px; border-radius: 3px; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 clamp(20px, 4.4vw, 64px); }
[data-cover] { position: relative; overflow: hidden; }
[data-cover] svg { display: block; width: 100%; height: 100%; }
.lit-beam { transition: transform .9s cubic-bezier(.2,.8,.2,1), opacity .9s; transform-origin: 600px 350px; }
.cover-hover:hover .lit-beam, .cover-hover:focus-visible .lit-beam { transform: rotate(-3deg) translateY(-12px); }

.appendix { margin-top: 120px; padding: 72px 0 120px; border-top: 1px solid var(--line); background: var(--bg-2, var(--bg)); }
.ap-head { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin-bottom: 8px; }
.ap-head h2 { font-family: var(--ui); font-size: 15px; font-weight: 600; letter-spacing: .01em; }
.ap-head p { color: var(--muted); font-size: 15px; }
.ap-sec { padding-top: 72px; }
.ap-label { display: flex; gap: 14px; align-items: baseline; margin-bottom: 26px; flex-wrap: wrap; }
.ap-label span { color: var(--mark); font-size: 14px; font-variant-numeric: tabular-nums; }
.ap-label h3 { font-family: var(--ui); font-size: 21px; font-weight: 600; letter-spacing: -.015em; }
.ap-label p { color: var(--muted); font-size: 15px; flex-basis: 100%; max-width: 52em; }

.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.sw { border-radius: 12px; overflow: hidden; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.sw i { display: block; height: 92px; }
.sw div { padding: 12px 14px 14px; font-size: 13.5px; color: var(--muted); }
.sw b { display: block; color: var(--text); font-size: 14.5px; font-weight: 600; }

.type-rows > div { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: baseline; padding: 24px 0; border-top: 1px solid var(--line); }
.tm { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.tm b { display: block; color: var(--text); font-size: 14.5px; font-weight: 600; }

.demo { padding: 32px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.demo + .demo { margin-top: 16px; }
.demo h4 { font-family: var(--ui); font-size: 14px; font-weight: 500; color: var(--faint); margin-bottom: 20px; }
.row-btns { display: flex; flex-wrap: wrap; gap: 16px 22px; align-items: center; }

.ix { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.ix li { padding: 18px 0; border-top: 1px solid var(--line); }
.ix b { display: block; font-weight: 600; font-size: 16px; }
.ix p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.ix em { font-style: normal; color: var(--mark); font-size: 13.5px; }

.pending { display: inline-flex; gap: 10px; align-items: center; padding: 14px 18px; border-radius: 12px; background: var(--raise); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); font-size: 15px; }
.pending::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--muted); flex: none; }

@media (max-width: 900px) {
  .type-rows > div { grid-template-columns: 1fr; gap: 8px; }
  .ix { grid-template-columns: 1fr; }
  .appendix { margin-top: 80px; padding: 56px 0 80px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
