/* Veda Audio Player section (site_veda.py): the house tokens, a few layout pieces. No script, no animation. */
.veda-hero .wrap > * { min-width: 0; }
.veda-icon { border-radius: 22%; box-shadow: var(--shadow); display: block; }
.veda-phones { display: grid; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.8rem, 3vw, 1.8rem); align-items: start; max-width: 520px; margin-inline: auto; }
/* CSS-only iPhone: titanium rim (gradient border), black bezel, Dynamic Island, side keys, soft shadow. All sizes in cqw of the figure, so it scales whole. */
.vphone { margin: 0; container-type: inline-size; text-align: center; }
.vphone__body { position: relative; padding: 3.1cqw; border: 1cqw solid transparent; border-radius: 17cqw; box-sizing: border-box; background: linear-gradient(#08090b, #08090b) padding-box, linear-gradient(150deg, #8d9096 0%, #3a3d42 18%, #1b1c1f 48%, #4a4d52 78%, #9a9da3 100%) border-box; box-shadow: 0 2.4cqw 4cqw -1cqw rgba(8, 18, 32, .38), 0 14cqw 18cqw -9cqw rgba(8, 18, 32, .45), inset 0 0 0 .3cqw rgba(255, 255, 255, .08); }
.vphone__body::before, .vphone__body::after { content: ""; position: absolute; background: #3b3e43; border-radius: .6cqw; }
.vphone__body::before { left: -1.9cqw; top: 22cqw; width: .9cqw; height: 10cqw; box-shadow: 0 14cqw 0 #3b3e43; } /* volume keys */
.vphone__body::after { right: -1.9cqw; top: 30cqw; width: .9cqw; height: 16cqw; } /* power key */
.vphone__body img { display: block; width: 100%; height: auto; border-radius: 13.6cqw; background: var(--navy); }
.vphone__di { position: absolute; left: 50%; top: 5.6cqw; width: 26cqw; height: 7.4cqw; margin-left: -13cqw; border-radius: 4cqw; background: #000; box-shadow: inset 0 0 0 .25cqw rgba(255, 255, 255, .06); }
.vphone figcaption { margin-top: 1rem; font-weight: 600; font-size: .95rem; line-height: 1.3; color: var(--ink); text-wrap: balance; }
.veda-phone { margin: 0; }
.veda-links { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.1rem; }
.veda-links a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.veda-links a:hover { color: var(--accent-ink); }
.veda-row__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; }
.veda-row--flip .veda-row__text { order: 2; }
.veda-row__shots { display: grid; gap: clamp(.8rem, 3vw, 1.6rem); justify-content: center; align-items: start; }
.veda-row__shots--1 { grid-template-columns: minmax(0, 280px); }
.veda-row__shots--2 { grid-template-columns: repeat(2, minmax(0, 240px)); }
.veda-bullets { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: .7rem; }
.veda-bullets li { position: relative; padding-left: 1.7rem; color: var(--ink-2); }
.veda-bullets li::before { content: ""; position: absolute; left: .15rem; top: .45em; width: .55rem; height: .3rem; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }
.veda-steps { list-style: none; counter-reset: v; padding: 0; margin: 1.2rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.veda-steps li { counter-increment: v; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.4rem; display: grid; gap: .5rem; align-content: start; }
.veda-steps li::before { content: counter(v); width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #13233b; font-weight: 700; }
.veda-steps span { color: var(--ink-2); }
.veda-privacy { text-align: center; }
.veda-chips { list-style: none; padding: 0; margin: 1.2rem 0; display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
.veda-chips li { padding: .7rem 1.3rem; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); font-weight: 600; font-size: 1.1rem; }
.veda-gallery { list-style: none; padding: .8rem 1rem 1.4rem; align-items: flex-start; margin: 1.2rem 0 0; display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x proximity; }
.veda-gallery li { flex: none; width: clamp(168px, 46vw, 230px); scroll-snap-align: start; }
.veda-add { text-align: center; padding-block: clamp(2rem, 6vw, 4rem); }
.veda-add .veda-icon { margin: 0 auto 1.2rem; }
.veda-add .actions { justify-content: center; }
.veda-add .veda-links { justify-content: center; }
.veda-add .veda-file { word-break: break-all; }
.veda-doc .prose details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: .7rem 1rem; margin: .6rem 0; }
.veda-doc .prose summary { cursor: pointer; font-weight: 600; }
.veda-doc .prose .toc { columns: 2; column-gap: 2rem; }
@media (max-width: 800px) {
  .veda-row__in, .veda-steps { grid-template-columns: minmax(0, 1fr); }
  .veda-row--flip .veda-row__text { order: 0; }
  .veda-doc .prose .toc { columns: 1; }
}
.veda-doc .prose { overflow-wrap: anywhere; }
.veda-add h1 { margin-bottom: 1.2rem; } .veda-add p { margin: 1rem 0; } .veda-add h2 { margin-top: 1.8rem; }
.veda-free { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; margin: 0 0 1.2rem; font-size: 1.1rem; font-weight: 600; color: var(--ink); }
.veda-free__badge { padding: .35rem 1rem; border-radius: 999px; background: var(--orange); color: #13233b; font-size: 1.25rem; box-shadow: 0 6px 18px rgba(253, 90, 1, .28); }
.cta .veda-free { color: inherit; }
.veda-phones { position: relative; }
.veda-phones::before { content: ""; position: absolute; inset: 8% -8% -4%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(253, 90, 1, .16), transparent); }
.veda-hero { overflow: hidden; }
/* --- part two: illustrations, what's new, gallery grid + lightbox, feature cards, help topics --- */
.veda-ill { display: block; width: min(100%, 260px); height: auto; aspect-ratio: 1; border-radius: var(--radius); margin: 0 0 1.2rem; box-shadow: var(--shadow); }
.veda-row__shots--1 .veda-ill { width: min(100%, 420px); margin: 0 auto; }
.veda-more { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: 1.2rem 0 0; }
.veda-new { max-width: 52rem; }
.veda-chips--left { justify-content: flex-start; margin: .8rem 0; }
.veda-chips--left li { padding: .45rem 1rem; font-size: 1rem; }
.veda-feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.veda-feat { display: grid; gap: .5rem; align-content: start; text-decoration: none; color: inherit; }
.veda-feat .veda-ill { width: 100%; box-shadow: none; margin: 0 0 .4rem; }
.veda-feat:hover h3 { color: var(--accent-ink); }
.vphone-link { display: block; color: inherit; text-decoration: none; }
@media (min-width: 1000px) {
  .veda-gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem 1.4rem; overflow: visible; padding-inline: 0; }
  .veda-gallery li { width: auto; }
}
@media (max-width: 999px) { .veda-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .veda-feats { grid-template-columns: minmax(0, 1fr); } }
.vlb { display: none; }
.vlb:target { display: grid; position: fixed; inset: 0; z-index: 100; place-items: center; background: rgba(5, 10, 20, .88); padding: 1rem; }
.vlb figure { margin: 0; text-align: center; color: #fff; }
.vlb img { display: block; margin: 0 auto; max-width: 100%; max-height: 82vh; width: auto; height: auto; border-radius: 28px; }
.vlb figcaption { margin-top: .8rem; font-weight: 600; }
.vlb__x { position: absolute; top: .6rem; right: 1rem; z-index: 1; font-size: 2.4rem; line-height: 1; color: #fff; text-decoration: none; padding: .3rem .8rem; }
.veda-topics { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.veda-topics a { display: grid; gap: .25rem; height: 100%; padding: 1rem 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); }
.veda-topics a:hover { border-color: var(--orange); }
.veda-topics span { color: var(--ink-2); font-size: .95rem; }
.veda-pager { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 2rem; }
@media (max-width: 700px) { .veda-topics { grid-template-columns: minmax(0, 1fr); } }
.veda-row__text > p { margin-top: 1.2rem; }
.veda-doc .prose h1 { margin-bottom: 1rem; }
/* Veda logo (docs/brand): horizontal lockup, 56 px high so «Audio Player» stays legible */
.brand .veda-lockup { height: 3.5rem; width: auto; margin: 0; }
.brand.foot-brand .veda-lockup { height: 3.5rem; }
