/* Vaylumi additions on top of base.css (the Dynamiczoom v6.2 theme in black and white).
   Home: hero, the two tool cards, the Dynamiczoom section, the VEIL section, coming next, install, FAQ, last call.
   Product pages: /get/… (one page per platform), thanks, install guide, policies. */

/* brand marks: the Luma disc for Vaylumi, a mono Dynamiczoom mark, a serif V for VEIL */
.brand .mark { color: var(--acc); }
.brand .mark svg { width: 26px; height: 26px; }
.foot .brand .mark svg { width: 22px; height: 22px; }
.p-icon { color: var(--acc); }
.p-icon.veil i, .brand .mark.veil i { font: italic 500 34px/1 var(--serif); color: var(--acc); padding-right: 2px; }
.p-icon.sm.veil i { font-size: 27px; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: 0; font-stretch: 100%; }

/* ── hero (home): same as v6.2, two product chips ──────────────────────── */
.hero h1 .ln:last-child em { color: var(--muted); }
.hero-go { text-decoration: none; }

/* ── the two tools: big glass cards, click one to open its section ────── */
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.choice { display: grid; align-content: start; padding: 10px; border-radius: 28px; box-shadow: inset 0 1px 0 var(--glass-hi), var(--shadow); }
.choice:hover { border-color: var(--line-3); }
.ch-media { position: relative; display: block; aspect-ratio: 3 / 2; border-radius: 20px; overflow: hidden; background: #050505; border: 1px solid var(--line); text-decoration: none; color: var(--fg); }
.ch-media > img, .ch-media .zd { transition: transform 1.2s var(--ease); }
.choice:hover .ch-media > .mosaic { transform: scale(1.02); }
.ch-go { position: absolute; left: 12px; bottom: 12px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(6, 6, 6, .58); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font: 600 13px var(--disp); }
.ch-go svg { width: 15px; height: 15px; transition: transform .6s var(--ease); }
.ch-media:hover .ch-go svg { transform: translateY(3px); }
.ch-body { display: grid; gap: 14px; padding: 20px 14px 12px; }
.ch-top { display: flex; align-items: center; gap: 14px; }
.ch-top h3 { font-size: clamp(28px, 2.6vw, 38px); font-stretch: 110%; }
.ch-top .mono { margin-top: 6px; letter-spacing: .12em; }
.ch-body > p { color: var(--muted); max-width: 46ch; }
.ch-buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--glass-line); }
.ch-price { display: flex; align-items: baseline; gap: 10px; }
.ch-price b { font: 800 32px/1 var(--disp); font-stretch: 108%; letter-spacing: -.03em; }
.ch-price s { color: var(--dim); font: 500 17px var(--disp); }
.ch-price small { color: var(--muted); font: 500 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.ch-cta { display: flex; flex-wrap: wrap; gap: 8px; }
.os { display: inline-flex; align-items: center; gap: 6px; }
.btn .soon { margin-left: 2px; color: var(--dim); font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.btn.primary .soon { color: color-mix(in oklab, var(--on-acc) 60%, transparent); }
@media (max-width: 900px) { .choices { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .choice { padding: 8px; border-radius: 22px; } .ch-media { border-radius: 16px; } .ch-body { padding: 16px 8px 8px; } .ch-buy { display: grid; } .ch-cta .btn { flex: 1 1 0; } }

/* VEIL mosaic: one big square and two small ones, no cropping (3:2 box) */
.mosaic { position: absolute; inset: 0; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; background: #050505; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic img:first-child { grid-row: 1 / 3; }

/* ── zoom demo: the Push in preset on a real frame (1.00× → 1.50×, In-Out ease) ──
   --ox/--oy: the zoom centre. The end frame is what fills the picture at 1.50×: left = ox/3, top = oy/3. */
.zd { position: absolute; inset: 0; overflow: hidden; background: #050505; }
.zd-shot { position: absolute; inset: 0; transform-origin: var(--ox, 50%) var(--oy, 50%); animation: dz-push 5s linear infinite; }
.zd-shot img { width: 100%; height: 100%; object-fit: cover; }
.zd-end { position: absolute; left: calc(var(--ox, 50%) / 3); top: calc(var(--oy, 50%) / 3); width: 66.667%; height: 66.667%; border: 1.5px solid var(--acc); border-radius: 4px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .35); animation: dz-end 5s linear infinite; }
.zd-end span { position: absolute; left: 0; top: 0; padding: 3px 7px; border-radius: 2px 0 4px 0; background: var(--acc); color: var(--on-acc); font: 600 10px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.zd-read { position: absolute; right: 12px; top: 12px; z-index: 2; padding: 6px 10px; border-radius: 999px; background: rgba(6, 6, 6, .58); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #F2F2F0; font: 600 12px/1 var(--mono); font-variant-numeric: tabular-nums; }
.zd.paused .zd-shot, .zd.paused .zd-end { animation-play-state: paused; }
.zdf .zd-box { position: relative; aspect-ratio: 16 / 9; }

/* product card (Dynamiczoom): the film once it exists, the zoom demo until then */
.pcard .zdf { grid-area: film; align-self: start; }
.pcard.has-film .zdf, .pcard:not(.has-film) .film { display: none; }
@media (max-width: 760px) {
  .pcard .zdf { grid-area: demo; margin-top: 16px; }
  .pcard.has-film:not(.watching) .zdf { display: block; }
  .pcard.has-film.watching .zdf { display: none; }
  .pcard:not(.has-film) .film { display: none; }
}

/* sections that belong to one product get a small product label above the heading */
.prod-sec { padding-top: clamp(40px, 6vw, 96px); }
.prod-label { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.prod-label .p-icon { width: 44px; height: 44px; border-radius: 12px; }
.prod-label .p-icon svg { width: 30px; height: 30px; }
.sub-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px 30px; margin: clamp(26px, 3.4vw, 44px) 0 clamp(16px, 2vw, 22px); }
.sub-head h3 { font-size: clamp(26px, 3vw, 40px); }
.sub-head p { color: var(--muted); max-width: 52ch; }

/* steps without video: number, icon, words */
.step.plain { padding: 22px; min-height: 230px; }
.step.plain .step-t { padding: 0; gap: 8px; }
.step-ic { width: 48px; height: 48px; margin-bottom: 18px; border-radius: 13px; display: grid; place-items: center; border: 1px solid var(--glass-line); background: var(--glass); transition: transform .7s var(--ease), background-color .4s, color .4s; }
.step-ic svg { width: 22px; height: 22px; }
.step.plain:hover .step-ic { transform: rotate(-8deg); background: var(--acc); color: var(--on-acc); }
@media (max-width: 640px) { .step.plain { min-height: 0; padding: 18px; } .step-ic { margin-bottom: 12px; } }

/* features: one glass panel, three columns */
.feat-card { padding: clamp(22px, 3vw, 40px); border-radius: 28px; }
.feat-card .feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 34px; margin: 0; padding: 0; list-style: none; }
.feat-card .feats li { display: flex; gap: 14px; }
.feat-card .feats svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--acc-text); }
.feat-card .feats b { display: block; font: 650 17px/1.3 var(--disp); font-stretch: 104%; }
.feat-card .feats span { display: block; margin-top: 4px; color: var(--muted); font-size: 15px; }
.feat-card .fine { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--glass-line); color: var(--muted); font-size: 14px; }
@media (max-width: 1000px) { .feat-card .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .feat-card { border-radius: 22px; } .feat-card .feats { grid-template-columns: minmax(0, 1fr); gap: 18px; } }

/* ── VEIL: compare slider + buy box (same grid as the Dynamiczoom card) ── */
.vcard .cmp { grid-area: film; align-self: start; }
.cmp-box { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #050505; touch-action: pan-y; --pos: 50%; }
.cmp-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp-over { clip-path: inset(0 0 0 var(--pos)); }
.cmp-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--acc); box-shadow: 0 0 0 1px rgba(0, 0, 0, .25); pointer-events: none; }
.cmp-line::after { content: ''; position: absolute; left: 50%; top: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; background: var(--acc);
  -webkit-mask: none; box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .6);
  background-image: linear-gradient(var(--on-acc), var(--on-acc)), linear-gradient(var(--on-acc), var(--on-acc)); background-size: 1.6px 14px, 1.6px 14px; background-position: 17px 14px, 23px 14px; background-repeat: no-repeat; }
.cmp-tag { position: absolute; bottom: 12px; z-index: 2; padding: 6px 10px; border-radius: 999px; background: rgba(6, 6, 6, .58); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #F2F2F0; font: 600 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.cmp-tag.l { left: 12px; }
.cmp-tag.r { right: 12px; }
.cmp-box input { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.cmp-box input:focus-visible + .cmp-focus { position: absolute; inset: 0; outline: 2px solid var(--acc); outline-offset: -4px; border-radius: 4px; pointer-events: none; }
.seg { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--glass-line); border-radius: 999px; background: var(--glass); }
.seg button { height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: 600 13px var(--disp); cursor: pointer; transition: background-color .3s, color .3s; }
.seg button[aria-pressed="true"] { background: var(--acc); color: var(--on-acc); }
.cmp-under-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--surface); }
.cmp-under-row span { color: var(--dim); font: 500 12px var(--mono); }
@media (max-width: 760px) {
  .vcard { grid-template-areas: "head" "price" "ctas" "film" "ticks" "note"; }
  .vcard .cmp { margin-top: 16px; }
  .cmp-box { aspect-ratio: 4 / 3; }
  .cmp-under-row span { display: none; }
}

/* VEIL gallery: the six squares. Desktop 3 × 2, phones swipe one at a time */
.vgal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.vg { margin: 0; padding: 8px; border-radius: 22px; }
.vg:hover { border-color: var(--line-3); }
.vg img { width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 14px; background: #050505; }
.vg figcaption { display: flex; align-items: baseline; gap: 10px; padding: 12px 8px 6px; font: 650 15.5px/1.3 var(--disp); }
.vg figcaption .num { flex: none; }
.vg figcaption em { margin-left: auto; color: var(--muted); font: 500 11.5px var(--mono); font-style: normal; letter-spacing: .1em; text-transform: uppercase; }
.vgal-note { margin-top: 14px; color: var(--muted); font-size: 14px; }
.swipe-hint { display: none; }
@media (max-width: 900px) and (min-width: 641px) { .vgal { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .vgal { display: flex; gap: 10px; margin-inline: -16px; padding: 0 16px 4px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .vgal::-webkit-scrollbar { display: none; }
  .vgal > li { flex: 0 0 84%; scroll-snap-align: start; }
  .vgal > li .vg { opacity: 1; translate: none; }
  .vg { border-radius: 18px; }
  .swipe-hint { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
  .swipe-hint svg { width: 14px; height: 14px; }
}

/* ── coming next: three small cards and one form ───────────────────────── */
.next { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.next .door { min-height: 0; }
.next .state { margin-top: auto; padding-top: 14px; }
.next-form { display: grid; gap: 12px; justify-items: start; margin-top: 14px; padding: clamp(20px, 2.6vw, 30px); border-radius: 22px; }
.next-form h3 { font-size: 22px; }
.next-form p { color: var(--muted); }
.notify select { height: 40px; padding: 0 36px 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--glass) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23A2A2A0' stroke-width='2' d='M6.5 9.5 12 15l5.5-5.5'/%3E%3C/svg%3E") right 12px center / 16px no-repeat; color: var(--fg); font: 500 14.5px var(--body); -webkit-appearance: none; appearance: none; }
.notify select option { background: var(--surface); }
@media (max-width: 860px) { .next { grid-template-columns: minmax(0, 1fr); gap: 10px; } }

/* last call: the VEIL picture in a frame */
.last-shot img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.last .cta-row .btn { min-width: 200px; }

/* footer: more links */
.foot nav { row-gap: 8px; }

/* ── /get pages: what you get and the pay button, one platform per page ── */
.get-top { padding-top: clamp(18px, 3vw, 40px); }
.get { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, 430px); gap: 14px; align-items: start; }
.get-media { padding: 10px; border-radius: 28px; box-shadow: inset 0 1px 0 var(--glass-hi), var(--shadow); }
.get-media .frame { border-radius: 18px; }
.get-pic { display: block; width: 100%; }
.get-pic img { width: 100%; height: auto; }
.get-box { position: sticky; top: 96px; display: grid; gap: 18px; padding: clamp(20px, 2.4vw, 30px); border-radius: 28px; box-shadow: inset 0 1px 0 var(--glass-hi), var(--shadow); }
.get-box h1 { font-size: clamp(34px, 3.6vw, 52px); font-stretch: 112%; letter-spacing: -.03em; line-height: .98; }
.get-box .lead { font-size: 16.5px; }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font: 500 13.5px var(--body); text-decoration: none; transition: color .3s; }
.back svg { width: 15px; height: 15px; transform: rotate(180deg); transition: transform .5s var(--ease); }
.back:hover { color: var(--fg); }
.back:hover svg { transform: rotate(180deg) translateX(4px); }
.get-box .price { margin-top: 0; padding-top: 18px; }
.req { display: grid; margin: 0; padding: 0; list-style: none; }
.req li { display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; border-top: 1px solid var(--glass-line); font-size: 14.5px; line-height: 1.45; }
.req li:last-child { border-bottom: 1px solid var(--glass-line); }
.req svg { flex: none; width: 17px; height: 17px; margin-top: 1px; color: var(--acc-text); }
.req small { display: block; color: var(--muted); font-size: 13px; }
.pay-note { color: var(--muted); font-size: 13.5px; line-height: 1.5; text-align: center; }
.pay-note.warn { color: var(--err); }
.get-box .btn.lg { width: 100%; }
.get-box .pick-after { margin-top: 2px; }
.plat { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border: 1px solid var(--glass-line); border-radius: 999px; }
.plat a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; border-radius: 999px; color: var(--muted); font: 600 13.5px var(--disp); text-decoration: none; transition: background-color .3s, color .3s; }
.plat a svg { width: 16px; height: 16px; }
.plat a:hover { color: var(--fg); background: var(--glass); }
.plat a[aria-current="page"] { background: var(--acc); color: var(--on-acc); }
.get-more { margin-top: 14px; }
.tall-pic { justify-self: center; width: min(100%, calc(70svh * 1449 / 2576)); }
@media (max-width: 900px) {
  .get { grid-template-columns: minmax(0, 1fr); }
  .get-box { position: static; }
}
@media (max-width: 520px) { .get-media { padding: 8px; border-radius: 22px; } .get-box { border-radius: 22px; padding: 18px; } }

/* thanks page */
.dlp-card .pick-after { width: 100%; text-align: left; }
.dlp-card .cta-row { justify-content: center; }

/* policies: a wider prose card, things still to fill marked */
.prose { max-width: 860px; }
.prose ul { padding-left: 20px; }
.prose .upd { color: var(--dim); font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
mark.todo { padding: 0 4px; border-radius: 4px; background: rgba(255, 156, 138, .16); color: var(--err); }
.policy-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.policy-nav a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--glass-line); color: var(--muted); font: 500 13.5px var(--body); text-decoration: none; transition: color .3s, border-color .3s; }
.policy-nav a:hover { color: var(--fg); border-color: var(--line-3); }
.policy-nav a[aria-current="page"] { background: var(--acc); border-color: var(--acc); color: var(--on-acc); }

/* install guide: two products, one under the other */
.guide + .sub-head { margin-top: clamp(40px, 5vw, 70px); }
.d-ic b { font: 800 15px/1 var(--disp); font-stretch: 110%; }
.next .door:hover .d-ic { transform: rotate(-8deg); }

/* fixes on top of the base theme */
.get-box > *, .get-box .ctas { grid-area: auto; }        /* base names these areas for the product card grid */
.feat-card .feats { max-width: none; }
.feat-card .feats li { padding: 0; border: 0; }
.last-shot img { height: auto; }
.vg img, .mosaic img, .get-pic img { height: auto; }
.mosaic img { height: 100%; }
@media (max-width: 420px) { .nav .brand b { display: inline; } }
@media (max-width: 760px) { .get-pic img { width: auto; max-width: 100%; max-height: 62svh; margin-inline: auto; } }
@media (max-width: 760px) {
  .next .door { grid-template-columns: 44px minmax(0, 1fr); }
  .next .d-ic { grid-row: 1 / 4; align-self: start; }
  .next .state { grid-column: 2; grid-row: 3; margin: 6px 0 0; padding: 0; }
}

/* creator code box on the Dynamiczoom buy page */
.code { display: grid; gap: 8px; margin: 0 0 12px; }
.code label { color: var(--muted); font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.code-row { display: flex; gap: 8px; }
.code-row input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: var(--fg); font: 500 15px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.code-row input:focus { outline: none; border-color: var(--line-3); }
.code-row .btn, .get-box .code-row .btn { flex: none; width: auto; height: 44px; padding: 0 18px; }
.code-msg { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.code-msg.ok { color: var(--acc-hi); }
.code-msg.warn { color: var(--err); }
