/* The DRONAR page (Dan, 29 Nov 2026: "much more like a high quality, refined music software page ... keep the overall
   colour scheme"). Only the DRONAR page loads this file, so the home, Hand and download pages are untouched. Hyperbeam
   tokens only (site.css); both themes. */

/* Section rhythm: a hairline with a short gradient lead, the kicker and title on the left, the line on the right */
.pg-dronar section{padding-top:clamp(84px,9vw,128px)}
.pg-dronar h2{font-size:clamp(32px,4.2vw,54px);line-height:1.04;letter-spacing:-.04em;margin-top:14px;text-wrap:balance}
.dr-head{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px 56px;align-items:end;margin-bottom:clamp(28px,3.4vw,44px);padding-top:26px;border-top:1px solid var(--line)}
.dr-head::before{content:"";position:absolute;top:-1px;left:0;width:56px;height:1px;background:var(--hyperbeamLogo)}
.dr-head>p{max-width:46ch;justify-self:end;color:var(--muted);font-size:16.5px;line-height:1.55}

/* Demos: one card per cue, its own waveform as the seek bar. 4 across, 2 x 2, then 1 on phones */
.demos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
@media (min-width:1040px){.demos{grid-template-columns:repeat(4,minmax(0,1fr))}}
.demo{display:flex;flex-direction:column;gap:16px;min-width:0;padding:18px 18px 16px;border:1px solid var(--line);border-radius:18px;background:var(--surfacePanel);box-shadow:var(--shadow);transition:border-color .3s,box-shadow .4s}
.demo.playing{border-color:color-mix(in srgb,var(--accent) 55%,var(--line));box-shadow:0 22px 60px -28px rgb(139 92 246 / 60%)}
.demo-top{display:flex;align-items:center;gap:12px;min-width:0}
.demo .play{width:42px;height:42px;box-shadow:0 8px 22px -10px rgb(139 92 246 / 80%);transition:transform .2s}
.demo .play:hover{transform:scale(1.06)}
.demo .play svg{width:15px;height:15px}
.demo .play .go{margin-left:2px}
.demo-t{min-width:0}
.demo-t strong,.demo-t span{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.demo-t strong{font-size:15.5px;font-weight:560;letter-spacing:-.01em;line-height:1.3}
.demo-t span{font-size:12.5px;color:var(--muted);line-height:1.4}

.wave{position:relative;height:64px;cursor:pointer;touch-action:pan-y;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}
.wave:focus-visible{outline:2px solid var(--focus);outline-offset:5px;border-radius:6px}
.wave svg{position:absolute;inset:0;display:block;width:100%;height:100%;overflow:visible}
.wave>svg path{fill:color-mix(in srgb,color-mix(in srgb,var(--v) 28%,var(--text)) 26%,transparent)}
.w-prog{position:absolute;inset:0;clip-path:inset(0 calc(100% - var(--p,0%)) 0 0);pointer-events:none}
.demo[data-mix="mix"] .w-dry,.demo[data-mix="dry"] .w-mix{display:none}
/* The playhead while playing, and a hairline under the pointer */
.wave::after{content:"";position:absolute;top:2px;bottom:2px;left:var(--p,0%);width:2px;margin-left:-1px;border-radius:1px;background:var(--text);opacity:0;transition:opacity .25s;pointer-events:none}
.demo.playing .wave::after{opacity:.9}
.w-at{position:absolute;top:0;bottom:0;left:var(--h,0%);width:1px;background:color-mix(in srgb,var(--text) 45%,transparent);opacity:0;transition:opacity .15s;pointer-events:none}
@media (hover:hover){.wave:hover .w-at{opacity:1}}
.demo-time{display:flex;justify-content:space-between;margin-top:-8px;font-size:12px;line-height:1;font-variant-numeric:tabular-nums;color:var(--muted)}
.demo.playing .t-now{color:var(--text)}

.mixes{display:grid;grid-template-columns:1fr 1fr;gap:3px;margin-top:auto;padding:3px;border:1px solid var(--line);border-radius:10px}
.mixes button{min-height:32px;padding:6px 8px;border:0;border-radius:7px;background:transparent;color:var(--muted);font:500 12.5px/1.2 Inter,-apple-system,sans-serif;white-space:nowrap;cursor:pointer;transition:color .2s,background .2s}
.mixes button:hover{color:var(--text)}
.mixes button[aria-pressed="true"]{background:color-mix(in srgb,var(--accent) 16%,transparent);color:var(--text);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 38%,transparent)}

/* Walkthrough */
.dr-video{border-radius:18px}

/* Play: the Hand video beside the words */
.dr-split{display:grid;grid-template-columns:1.1fr 1fr;gap:clamp(36px,5vw,72px);align-items:center}
.dr-split p:not(.kicker){margin-top:16px;color:var(--muted);font-size:16.5px;line-height:1.6}
.dr-split h2+p:not(.kicker){margin-top:20px}
.dr-split p a{color:var(--text);text-decoration-color:color-mix(in srgb,var(--accent) 60%,transparent);text-underline-offset:3px}
.dr-hand{display:block;border-radius:18px;transition:transform .4s cubic-bezier(.2,.8,.2,1),box-shadow .4s}
.dr-hand img{width:100%}
.dr-hand:hover{transform:translateY(-3px)}

/* Inside: the Master Edition in numbers */
.dr-master{position:relative;margin-top:clamp(64px,8vw,104px);padding:clamp(28px,4.2vw,56px);border:1px solid var(--line);border-radius:28px;background:var(--surfacePanel);box-shadow:var(--shadow);overflow:hidden;isolation:isolate}
.dr-master::before{content:"";position:absolute;z-index:-1;width:820px;height:820px;top:-460px;right:-300px;border-radius:50%;background:radial-gradient(circle,var(--orbA),transparent 65%);pointer-events:none}
.dr-master-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px 56px;align-items:end}
.dr-master-head h2{font-size:clamp(28px,3.4vw,42px)}
.dr-master-head>p{max-width:48ch;justify-self:end;color:var(--muted);font-size:16px;line-height:1.55}
.dr-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:clamp(32px,4vw,48px);border-top:1px solid var(--line)}
.dr-stats>div{padding:clamp(22px,2.6vw,32px) clamp(18px,2.6vw,32px) 0}
.dr-stats>div:first-child{padding-left:0}
.dr-stats>div+div{border-left:1px solid var(--line)}
.dr-stats b{display:block;font-size:clamp(42px,5vw,64px);font-weight:640;line-height:1;letter-spacing:-.045em;font-variant-numeric:tabular-nums}
.dr-stats strong{display:block;margin-top:12px;font-size:15px;font-weight:560}
.dr-stats span{display:block;margin-top:4px;font-size:14px;line-height:1.5;color:var(--muted)}
.dr-modules{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px 28px;align-items:center;margin-top:clamp(32px,4vw,44px);padding-top:clamp(22px,2.6vw,28px);border-top:1px solid var(--line)}
.dr-modules>p{font-size:11px;font-weight:550;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
.dr-modules ul{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
.dr-modules li{padding:6px 13px;border:1px solid var(--line);border-radius:999px;background:var(--surfaceInset);font-size:13.5px;line-height:1.4}
.dr-credits{margin-top:24px;font-size:13.5px;line-height:1.6;color:var(--muted)}

/* New in 1.5: the two screens, then the list as a hairline grid */
.dr-shots{display:grid;grid-template-columns:1fr 1fr;gap:clamp(18px,2.4vw,28px)}
.dr-shots figure{margin:0}
.dr-shots .window{border-radius:16px}
.dr-shots img{width:100%}
.dr-shots figcaption{margin-top:16px}
.dr-shots figcaption strong{display:block;font-size:16px;font-weight:560}
.dr-shots figcaption span{display:block;margin-top:4px;font-size:14.5px;line-height:1.5;color:var(--muted)}
.dr-new{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;list-style:none;margin:clamp(40px,5vw,60px) 0 0;padding:0;border:1px solid var(--line);border-radius:20px;background:var(--line);overflow:hidden}
.dr-new li{padding:26px 24px 28px;background:var(--surfacePanel)}
.dr-new li::before{content:"";display:block;width:22px;height:2px;margin-bottom:20px;border-radius:2px;background:var(--hyperbeamLogo)}
.dr-new strong{display:block;font-size:15.5px;font-weight:580;letter-spacing:-.01em}
.dr-new span{display:block;margin-top:8px;font-size:14.5px;line-height:1.55;color:var(--muted)}
.dr-new .dr-plus{background:linear-gradient(150deg,color-mix(in srgb,var(--v) 15%,var(--surfacePanel)),color-mix(in srgb,var(--m) 9%,var(--surfacePanel)))}
.dr-new .dr-plus::before{display:none}
.dr-plus b{display:block;margin-top:-6px;font-size:44px;font-weight:680;line-height:1;letter-spacing:-.045em;background:var(--hyperbeamLogo);-webkit-background-clip:text;background-clip:text;color:transparent}
.dr-plus strong{margin-top:8px}

/* Preset previews: one card per category, quiet rows inside */
.previews{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:14px;margin-top:0}
.previews>div{padding:16px 12px 12px;border:1px solid var(--line);border-radius:16px;background:var(--surfacePanel)}
.previews h5{margin:0 8px 8px;font-size:11px;letter-spacing:.14em}
.previews ul{gap:2px}
.previews .pv{padding:7px 8px;border:0;border-radius:9px;background:transparent;font-size:13.5px;line-height:1.35;transition:background .2s}
.previews .pv:hover{background:var(--surfaceInset)}
.previews .pv .dot{background:var(--surfaceInset)}
.previews .pv:hover .dot{background:color-mix(in srgb,var(--accent) 16%,var(--surfaceInset))}
.previews .pv.playing{background:color-mix(in srgb,var(--accent) 14%,transparent)}
.previews .pv.playing .dot{background:var(--hyperbeamPrimary)}

/* Buy: the facts on the left, the edition card on the right */
.dr-buy{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,440px);gap:clamp(32px,5vw,64px);align-items:start;padding:clamp(28px,4.2vw,56px);border:1px solid color-mix(in srgb,var(--accent) 32%,var(--line));border-radius:28px;background:var(--surfacePanel);box-shadow:var(--shadowLift);overflow:hidden;isolation:isolate}
.dr-buy::before{content:"";position:absolute;z-index:-1;width:900px;height:900px;bottom:-560px;left:-320px;border-radius:50%;background:radial-gradient(circle,var(--orbA),transparent 62%);pointer-events:none}
.dr-buy::after{content:"";position:absolute;z-index:-1;width:700px;height:700px;top:-420px;right:-260px;border-radius:50%;background:radial-gradient(circle,var(--orbB),transparent 62%);pointer-events:none}
.dr-buy h2{font-size:clamp(30px,3.6vw,46px)}
.dr-deal{margin-top:18px;font-size:18px;line-height:1.45;letter-spacing:-.01em}
.dr-buy .owners{margin-top:16px}
.dr-buy .dl-note{margin-top:22px;font-size:13px}
.dr-buy .editions{grid-template-columns:1fr;margin-top:0}
.dr-buy .edition{padding:28px;border-radius:20px;background:color-mix(in srgb,var(--accent) 6%,var(--surfaceInset))}
.dr-buy .edition h4{margin:8px 0 0}
.dr-buy .price-line{margin-top:14px}
.dr-buy .price-line .now{font-size:40px;line-height:1.15;letter-spacing:-.035em}

/* Manual and questions side by side */
.dr-end{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:0 clamp(40px,6vw,88px);align-items:start}
.dr-end h2{font-size:clamp(28px,3vw,38px);margin-top:12px}
.dr-end section>div>p:not(.kicker){margin-top:12px;color:var(--muted);font-size:16px;line-height:1.55}
.dr-doc{display:flex;align-items:center;gap:14px;max-width:420px;margin-top:24px;padding:16px 18px;border:1px solid var(--line);border-radius:14px;background:var(--surfacePanel);color:var(--text);text-decoration:none;transition:border-color .2s,transform .2s}
.dr-doc:hover{border-color:color-mix(in srgb,var(--accent) 50%,var(--line));transform:translateY(-1px)}
.dr-doc>svg:first-child{width:26px;height:26px;flex:none;color:var(--accent)}
.dr-doc>span{flex:1;min-width:0}
.dr-doc strong{display:block;font-size:15px;font-weight:550}
.dr-doc small{display:block;font-size:12.5px;color:var(--muted)}
.dr-doc>svg:last-child{width:14px;height:14px;flex:none;color:var(--muted)}
.dr-end .faq{gap:0;max-width:none;margin-top:24px;border-top:1px solid var(--line)}
.dr-end .faq details{padding:0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:none}
.dr-end .faq summary{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding:19px 0;font-size:16px;font-weight:520;line-height:1.45;list-style:none}
.dr-end .faq summary::-webkit-details-marker{display:none}
.dr-end .faq summary::after{content:"";flex:none;width:12px;height:12px;margin-top:6px;color:var(--muted);background:linear-gradient(currentColor,currentColor) center/12px 1.5px no-repeat,linear-gradient(currentColor,currentColor) center/1.5px 12px no-repeat;transition:transform .25s}
.dr-end .faq details[open] summary::after{transform:rotate(45deg)}
.dr-end .faq summary:hover::after{color:var(--text)}
.dr-end .faq summary:focus-visible{outline:2px solid var(--focus);outline-offset:2px;border-radius:6px}
.dr-end .faq p{margin:-4px 0 20px;padding-right:36px}

@media (max-width:980px){
  .dr-head,.dr-master-head{grid-template-columns:1fr;align-items:start}
  .dr-head>p,.dr-master-head>p{justify-self:start}
  .dr-split{grid-template-columns:1fr;gap:32px}
  .dr-new{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dr-buy{grid-template-columns:1fr}
  .dr-buy .editions{max-width:520px}
  .dr-end{grid-template-columns:1fr}
}
@media (max-width:600px){
  .dr-buy .price-line .now{font-size:clamp(28px,9vw,40px)}   /* "$99 / €99 / £99" stays on one line down to 320 px */
  .dr-master,.dr-buy{padding:22px;border-radius:20px}
  .dr-stats{grid-template-columns:1fr}
  .dr-stats>div,.dr-stats>div:first-child{padding:22px 0}
  .dr-stats>div+div{border-left:0;border-top:1px solid var(--line)}
  .dr-stats>div:last-child{padding-bottom:0}
  .dr-modules{grid-template-columns:1fr}
  .dr-shots{grid-template-columns:1fr;gap:32px}
  .dr-new{grid-template-columns:1fr;border-radius:16px}
  .dr-new li{padding:22px 20px}
  .dr-buy .edition{padding:22px}
  .dr-deal{font-size:16.5px}
}
@media (max-width:560px){.demos{grid-template-columns:1fr}}

/* The DRONAR story: the same rule and gradient tick as the other section heads */
.pg-dronar .story{position:relative;padding-top:26px;border-top:1px solid var(--line)}
.pg-dronar .story::before{content:"";position:absolute;top:-1px;left:0;width:56px;height:1px;background:var(--hyperbeamLogo)}
.pg-dronar .story h2.kicker{font-size:11px;line-height:1.5;letter-spacing:.14em;margin-top:0;font-weight:500}
.pg-dronar .story-text p{font-size:16.5px}
.pg-dronar .story-text p:first-child{font-size:clamp(18px,1.7vw,21px)}

/* The module owners' voucher box in the buy panel (Dan, 1 Dec 2026; voucher.js). It spans both columns, with the drop
   zone under the edition card. Drop zone dots as AGENTS.md says: 2 px round dots every 6 px on the centre line of a
   transparent 2 px border, muted at 65%, full muted colour while a file is dragged over (voucher.js sizes the rect). */
.dr-voucher{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,440px);grid-template-areas:"q drop" "note drop";column-gap:clamp(24px,4vw,56px);row-gap:14px;align-items:center;padding:clamp(22px,3vw,32px);border:1px solid color-mix(in srgb,var(--accent) 55%,var(--line));border-radius:20px;background:color-mix(in srgb,var(--accent) 11%,var(--surfacePanel));box-shadow:0 22px 60px -28px rgb(139 92 246 / 60%)}
.dr-voucher-q{grid-area:q;align-self:end}
.dr-voucher h3{margin:0;font-size:clamp(21px,2.2vw,26px);line-height:1.2;letter-spacing:-.02em}
.dr-voucher-q p{margin-top:8px;font-size:16px;line-height:1.5;color:var(--muted)}
.dr-voucher-q .dr-voucher-eg{margin-top:4px;font-size:14.5px}
.dr-voucher-note{grid-area:note;align-self:start;margin-top:0}
.dr-drop{grid-area:drop;position:relative;display:grid;place-items:center;min-height:156px;padding:20px;border:2px solid transparent;border-radius:14px;background:var(--surfaceInset);text-align:center;transition:background .2s}
.dr-drop .dots{position:absolute;inset:-2px;width:calc(100% + 4px);height:calc(100% + 4px);overflow:visible;pointer-events:none}
.dr-drop .dots rect{fill:none;stroke:var(--muted);stroke-opacity:.65;stroke-width:2;stroke-linecap:round;stroke-dasharray:0 1}
.dr-drop.over{background:color-mix(in srgb,var(--accent) 10%,var(--surfaceInset))}
.dr-drop.over .dots rect{stroke-opacity:1}
.dr-drop-in{display:grid;justify-items:center;gap:10px}
.dr-drop-in[hidden]{display:none}
.dr-drop-in p{font-size:14.5px;line-height:1.55;color:var(--muted)}
.dr-drop-in p strong{color:var(--text);font-weight:600}
.dr-drop-in a{color:var(--text)}
.dr-drop label.btn{cursor:pointer}
.dr-drop label.btn:has(input:focus-visible){outline:2px solid var(--focus);outline-offset:2px}
.dr-drop-hint{font-size:12.5px;color:var(--muted)}
.dr-checking{display:flex;align-items:center;gap:10px;font-size:15px;color:var(--text)}
.dr-pulse{width:10px;height:10px;border-radius:50%;background:var(--hyperbeamPrimary);animation:pulse 1.2s ease-in-out infinite}
.dr-voucher-yes{font-size:24px;font-weight:600;line-height:1.2;letter-spacing:-.02em;color:var(--text)}
.dr-drop-in .dr-voucher-yes{color:var(--text);font-size:24px}
.dr-code{display:inline-block;padding:3px 9px;border:1px solid color-mix(in srgb,var(--accent) 50%,var(--line));border-radius:6px;background:var(--surfacePanel);color:var(--text);font:600 16px/1.3 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.06em}
@media (hover:none){.dr-drop-hint{display:none}}
@media (max-width:760px){
  .dr-voucher{grid-template-columns:1fr;grid-template-areas:"q" "drop" "note";row-gap:16px}
  .dr-voucher-q{align-self:start}
}
@media (max-width:600px){.dr-voucher{padding:20px;border-radius:16px}.dr-drop{min-height:140px}}
