/* Inner pages: /features/, /news/. Built on site.css's tokens, top bar and footer. */
.inner { padding-bottom: clamp(3rem, 7vw, 5rem); }
.wrap.narrow { width: min(46rem, 100% - 40px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)); }
.nav a[aria-current="page"] { color: var(--fg); }

.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2.25rem); }
.page-head h1 { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4rem); font-weight: 800; line-height: 1.02; letter-spacing: -.04em; max-width: 18ch; }
.page-head .lede { margin-top: 1.1rem; max-width: 40rem; color: var(--muted); font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); }
.page-head .lede a, .prose a, .news-list .sum a { color: var(--fg); text-decoration-color: rgba(var(--accent-rgb), .7); text-underline-offset: 3px; }
.crumb { display: inline-block; margin-bottom: 1rem; font: 500 .74rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); text-decoration: none; }
.crumb::before { content: "← "; }
.crumb:hover { color: var(--fg); }
.where { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1.4rem; padding: .5rem .9rem; border: 1px solid var(--line-hi); border-radius: 12px; font-size: .95rem; }
.where span { font: 500 .7rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }

.prose { max-width: 46rem; margin-inline: auto; display: flow-root; }
.inner .prose { padding-block: 0; }
.wrap.prose { width: min(46rem, 100% - 40px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)); }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.15; margin-top: 2.6rem; }
.prose p, .prose li { color: #e2d6d9; }
.prose .lede { font-size: 1.2rem; color: var(--fg); }
.prose ul { padding: 0; list-style: none; display: grid; gap: .65rem; }
.prose li { position: relative; padding-left: 1.4rem; }
.prose li::before { content: ""; position: absolute; left: 0; top: .62em; width: .55rem; height: .55rem; border-radius: 2px; background: var(--accent); box-shadow: 0 0 10px rgba(var(--accent-rgb), .6); }
.prose b { color: var(--fg); font-weight: 600; }

.shot, .shots figure { margin: 0; }
.shot img, .shots img { width: 100%; height: auto; border-radius: 26px; border: 1px solid var(--line-hi); background: var(--surface); }
.shot figcaption, .shots figcaption { margin-top: .55rem; font-size: .85rem; color: var(--muted); text-align: center; }
.shot.right { float: right; width: min(240px, 42%); margin: .35rem 0 1.2rem 1.6rem; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; clear: both; padding-top: .6rem; }
.shots:has(> figure:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 220px)); justify-content: center; }
@media (max-width: 560px) {
  .shot.right { float: none; width: min(260px, 80%); margin: 1.2rem auto; }
  .shots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
  .shots img { border-radius: 14px; }
}

.get { display: grid; gap: .35rem; margin-top: 2.6rem; padding: 1.1rem 1.25rem; border: 1px solid var(--line-hi); border-left: 3px solid var(--accent); border-radius: 14px; background: var(--surface); }
.get span { color: var(--muted); }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.pager a { display: grid; gap: .2rem; padding: .9rem 1rem; border: 1px solid var(--line-hi); border-radius: 14px; text-decoration: none; font-weight: 600; }
.pager a:hover { border-color: var(--fg); }
.pager small { font: 500 .7rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.pager .next { text-align: right; }
@media (max-width: 560px) { .pager { grid-template-columns: 1fr; } .pager .next { text-align: left; } }
.subnav { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.5rem; }
.subnav a { padding: .35rem .8rem; border: 1px solid var(--line-hi); border-radius: 99px; font-size: .88rem; color: var(--muted); text-decoration: none; }
.subnav a:hover, .subnav a[aria-current="page"] { color: var(--fg); border-color: var(--fg); }

/* Features index */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.feature-card { display: grid; grid-template-rows: auto auto 1fr; gap: .4rem; padding: .75rem .75rem 1.1rem; border: 1px solid var(--line-hi); border-radius: 20px; background: var(--surface); text-decoration: none; transition: border-color .2s, transform .2s; }
.feature-card:hover { border-color: rgba(var(--accent-rgb), .8); transform: translateY(-2px); }
.feature-card .thumb { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px; background: var(--band); margin-bottom: .45rem; }
.feature-card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 0); }
.feature-card .thumb.art { display: grid; place-items: center; background: radial-gradient(circle at 50% 60%, rgba(var(--accent-rgb), .28), transparent 60%), var(--band); }
.feature-card .thumb.art .mark { width: 38%; height: auto; filter: drop-shadow(0 0 18px rgba(var(--accent-rgb), .7)); }
.feature-card strong { font: 700 1.15rem/1.2 var(--display); letter-spacing: -.015em; padding-inline: .3rem; }
.feature-card > span:last-child { color: var(--muted); font-size: .95rem; padding-inline: .3rem; }
@media (prefers-reduced-motion: reduce) { .feature-card { transition: none; } .feature-card:hover { transform: none; } }

/* News */
.news-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.news-list a { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; padding: 1.1rem 1.2rem; border: 1px solid var(--line-hi); border-radius: 16px; background: var(--surface); text-decoration: none; }
.news-list a:hover { border-color: rgba(var(--accent-rgb), .8); }
.news-list time { font: 500 .78rem/1.6 var(--mono); color: var(--muted); }
.news-list .kind { justify-self: start; font: 500 .68rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); padding: .3rem .55rem; border: 1px solid rgba(var(--accent-rgb), .5); border-radius: 99px; }
.news-list strong, .news-list .sum { grid-column: 1 / -1; }
.news-list strong { font: 700 1.2rem/1.25 var(--display); letter-spacing: -.015em; }
.news-list .sum { color: var(--muted); font-size: .97rem; }

/* Status bar icons */
.icon-styles { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .6rem; }
.prose .icon-styles li { padding: .9rem .5rem .7rem; display: grid; gap: .55rem; justify-items: center; border: 1px solid var(--line-hi); border-radius: 14px; background: var(--surface); color: var(--fg); }
.prose .icon-styles li::before { content: none; }
.icon-styles .bar { display: flex; gap: .45rem; color: var(--fg); }
.icon-styles svg { width: 30px; height: 30px; }
.icon-styles .name { font-size: .88rem; }
.icon-styles .tag { margin-left: .35rem; font: 500 .62rem/1 var(--mono); color: var(--accent); vertical-align: .15em; }

/* Now Bar examples */
.nowbar-demo { margin: 1.6rem 0 0; padding: 1.4rem; display: grid; gap: .7rem; justify-items: center; border-radius: 26px; border: 1px solid var(--line-hi); background: radial-gradient(120% 90% at 50% 0%, #3a0b17, #0c0809 70%); }
.nb { width: min(100%, 360px); min-height: 58px; display: flex; align-items: center; gap: .75rem; padding: .55rem .8rem; border-radius: 99px; background: rgba(24, 17, 19, .78); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 8px 30px rgba(0, 0, 0, .45); backdrop-filter: blur(8px); }
.nb-text { display: grid; line-height: 1.2; flex: 1; min-width: 0; }
.nb-text.center { text-align: center; }
.nb-text b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nb-text small { color: var(--muted); font-size: .8rem; }
.nb-art { width: 40px; height: 40px; flex: none; border-radius: 50%; background: conic-gradient(from 200deg, var(--c1), var(--c2), var(--c1)); }
.nb-team { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--t); font: 700 .7rem/1 var(--mono); color: #fff; }
.nb-icon { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: rgba(var(--accent-rgb), .9); font-weight: 700; color: #fff; }
.nb-btn { flex: none; padding: .4rem .75rem; border-radius: 99px; background: var(--fg); color: var(--bg); font-size: .8rem; font-weight: 600; }
.nb-wave { display: flex; align-items: center; gap: 3px; height: 24px; }
.nb-wave i { width: 3px; border-radius: 2px; background: var(--accent); animation: nbwave 1.1s ease-in-out infinite; }
.nb-wave i:nth-child(1) { height: 40%; } .nb-wave i:nth-child(2) { height: 90%; animation-delay: -.3s; } .nb-wave i:nth-child(3) { height: 60%; animation-delay: -.6s; } .nb-wave i:nth-child(4) { height: 100%; animation-delay: -.15s; } .nb-wave i:nth-child(5) { height: 50%; animation-delay: -.45s; }
@keyframes nbwave { 50% { transform: scaleY(.45); } }
@media (prefers-reduced-motion: reduce) { .nb-wave i { animation: none; } }
.nowbar-demo figcaption { margin-top: .3rem; font-size: .85rem; color: var(--muted); }
