/* PanelDial landing page. v8 store system: warm graphite ground, studio plate, amber accent,
   condensed title + serif voice line, native captures in dark cards. */
:root {
  --ground: #16130f;
  --ground-2: #1d1914;
  --card: #221d17;
  --card-2: #2a241d;
  --edge: rgba(237, 230, 216, 0.10);
  --edge-2: rgba(237, 230, 216, 0.18);
  --bone: #ede6d8;
  --soft: #ded5c6;
  --ash: #9c9284;
  --amber: #e9a93b;
  --amber-hi: #f6c46a;
  --ember: #7a4e17;
  --ok: #8fc79a;
  --warn: #e9a93b;
  --title: "Bahnschrift", "DIN Condensed", "Roboto Condensed", "Arial Narrow", sans-serif;
  --voice: "Sitka Text", "Sitka", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --w: 1200px;
  --pad: clamp(20px, 4vw, 48px);
  --r: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ground); color: var(--soft);
  font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { color: var(--bone); margin: 0; font-family: var(--title); font-weight: 700; font-stretch: 75%;
  letter-spacing: -0.005em; line-height: 1.02; }
h2 { font-size: clamp(34px, 5vw, 60px); }
h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.1; }
p { margin: 0 0 1em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: #1a1208; padding: 8px 14px; z-index: 99; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.kicker { font: 600 13px/1.2 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ash); margin: 0 0 18px; }
.kicker b { color: var(--amber); font-weight: 700; }
.voice { font: italic 400 clamp(20px, 2.2vw, 28px)/1.3 var(--voice); color: var(--soft); margin: 14px 0 0; }

/* ---------- buttons + price ---------- */
.btn { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; border-radius: 999px;
  font: 650 16px/1 var(--sans); padding: 15px 24px; transition: transform .25s var(--ease), background .25s, box-shadow .25s, border-color .25s; }
.btn--buy { background: var(--amber); color: #1b1307; box-shadow: 0 10px 30px -12px rgba(233, 169, 59, .7), inset 0 1px 0 rgba(255,255,255,.35); }
.btn--buy:hover { background: var(--amber-hi); transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(233, 169, 59, .8), inset 0 1px 0 rgba(255,255,255,.4); }
.btn--ghost { border: 1px solid var(--edge-2); color: var(--bone); }
.btn--ghost:hover { border-color: var(--amber); color: var(--amber-hi); }
.btn--small { padding: 10px 18px; font-size: 15px; }
.btn--wide { width: 100%; justify-content: center; padding: 18px 24px; font-size: 18px; }
.btn--buy .price { padding-left: 14px; border-left: 1px solid rgba(27, 19, 7, .25); }
.price { display: inline-flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.price > span { display: inline-flex; align-items: baseline; gap: 8px; }
.price__now { font-weight: 800; }
.price__was { opacity: .62; font-weight: 500; }
.price__off { font-style: normal; font-weight: 700; font-size: .82em; }
.launch .regular-only, .regular .launch-only { display: none !important; }

/* ---------- top bar ---------- */
.bar { position: fixed; inset: 0 0 auto; z-index: 50; height: 64px; display: flex; align-items: center; gap: 28px;
  padding: 0 var(--pad); transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.bar--solid { background: rgba(22, 19, 15, .82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-color: var(--edge); }
.bar__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--bone);
  font: 700 22px/1 var(--title); font-stretch: 75%; letter-spacing: .01em; }
.logo { width: 26px; height: 26px; color: var(--bone); flex: none; }
.bar__nav { display: flex; gap: 22px; margin-left: 12px; }
.bar__nav a { text-decoration: none; color: var(--ash); font-size: 15px; transition: color .2s; }
.bar__nav a:hover { color: var(--bone); }
.bar__buy { margin-left: auto; display: flex; align-items: center; gap: 16px; color: var(--bone); font-size: 15px; }
.bar__buy .price__off { color: var(--amber); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(100vh, 900px); display: flex; align-items: center; padding: 110px var(--pad) 80px; overflow: hidden; isolation: isolate; }
.hero__plate { position: absolute; inset: 0; z-index: -1; }
.hero__plate img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 220px; z-index: -1;
  background: linear-gradient(to bottom, rgba(22,19,15,0), var(--ground)); }
.hero__inner { width: 100%; max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(54px, 7.4vw, 108px); line-height: .94; letter-spacing: -0.01em; }
.hero__sub { max-width: 30em; margin-top: 22px; color: var(--soft); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 34px; }
.facts { list-style: none; padding: 18px 0 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; border-top: 1px solid var(--edge); font-size: 14px; line-height: 1.4; color: var(--ash); }
.facts b { display: block; color: var(--bone); font: 700 26px/1.1 var(--title); font-stretch: 75%; margin-bottom: 4px; }
.hero__stage { position: relative; padding: 0 0 60px 40px; }
.screen { position: relative; border-radius: 16px; padding: 10px; background: linear-gradient(160deg, #3a3128, #1c1814 60%);
  box-shadow: 0 50px 90px -30px rgba(0,0,0,.85), 0 18px 40px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255, 220, 170, .10), 0 -20px 80px -30px rgba(255, 176, 82, .35);
  transform: perspective(1600px) rotateY(-7deg) rotateX(2deg); transform-origin: 30% 50%; }
.screen__video { width: 100%; border-radius: 9px; background: #1f1f1f; }
.screen__cap { position: absolute; right: 14px; bottom: -34px; margin: 0; font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ash); }
.keycap { position: absolute; left: -8px; bottom: 0; width: clamp(104px, 11vw, 150px); display: flex; flex-direction: column; align-items: center; }
.keycap img { width: 100%; filter: drop-shadow(0 4px 2px rgba(0,0,0,.55)) drop-shadow(0 18px 22px rgba(0,0,0,.6)); }
.keycap::before { content: ""; position: absolute; left: 50%; top: 45%; width: 160%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 190, 100, .38), rgba(255, 190, 100, 0)); opacity: .55; z-index: -1; }
.keycap__label { margin-top: 10px; font: 600 13px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--bone); white-space: nowrap; }
.keycap__label b { color: var(--amber); }
.keycap.press img { animation: keypress .62s var(--ease); }
.keycap.press::before { animation: keyglow 1.4s ease-out; }
@keyframes keypress { 0% { transform: none; } 18% { transform: translateY(7%) scale(.985); filter: drop-shadow(0 1px 1px rgba(0,0,0,.6)) drop-shadow(0 6px 8px rgba(0,0,0,.5)); } 100% { transform: none; } }
@keyframes keyglow { 0% { opacity: .55; } 15% { opacity: 1; } 100% { opacity: .55; } }

/* ---------- examples note ---------- */
.note { max-width: 1040px; margin: 40px auto 0; padding: clamp(32px, 5vw, 64px) var(--pad); border: 1px solid rgba(233, 169, 59, .32); border-radius: 22px;
  background: radial-gradient(120% 140% at 0% 0%, rgba(233, 169, 59, .12), rgba(233, 169, 59, 0) 60%), var(--ground-2); }
.note .kicker { color: var(--amber); }
.note h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.05; }
.note h2 em { font: italic 400 .62em/1.3 var(--voice); color: var(--soft); display: inline-block; margin-top: 14px; }
.note p { margin: 22px 0 0; max-width: 46em; color: var(--ash); }

/* ---------- shared section frame ---------- */
main > section { padding-left: var(--pad); padding-right: var(--pad); }
.ba, .modes, .tour, .chapter, .lists, .compat, .buy, .faq { max-width: calc(var(--w) + 2 * var(--pad)); margin-left: auto; margin-right: auto; }
.ba, .modes, .tour, .faq { padding-top: clamp(90px, 11vw, 150px); }

/* ---------- before / after ---------- */
.ba__head { text-align: center; margin-bottom: 44px; }
.ba h2 { font-size: clamp(48px, 7vw, 92px); }
.ba h2 .arrow { color: var(--amber); font-family: var(--sans); font-weight: 300; }
.ba__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(14px, 2.4vw, 34px); align-items: center; }
.ba__card { position: relative; margin: 0; }
.ba__card img { width: 100%; border-radius: 14px; background: #262626; box-shadow: 0 40px 80px -40px rgba(0,0,0,.9), 0 0 0 1px var(--edge-2); }
.ba__card--before img { filter: saturate(.85) brightness(.9); }
.ba__card--after img { box-shadow: 0 40px 80px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(233,169,59,.5), 0 0 60px -20px rgba(233,169,59,.45); }
.ba__tag { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 7px 12px; border-radius: 8px; background: rgba(15, 12, 9, .82); color: var(--bone);
  font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.ba__card--after .ba__tag { color: var(--amber); }
.ba__card figcaption { margin-top: 14px; font-size: 15px; color: var(--ash); }
.ba__arrow { color: var(--amber); font: 300 clamp(36px, 4vw, 56px)/1 var(--sans); }

/* ---------- three modes ---------- */
.modes__head { margin-bottom: 40px; }
.modes__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); gap: 36px; align-items: center; }
.modes__list { list-style: none; counter-reset: m; margin: 0; padding: 0; display: grid; gap: 14px; }
.modes__list li { counter-increment: m; position: relative; padding: 18px 18px 18px 58px; border-radius: 12px; background: var(--card); border: 1px solid var(--edge); transition: border-color .25s, transform .25s var(--ease); }
.modes__list li:hover { border-color: rgba(233,169,59,.45); transform: translateX(4px); }
.modes__list li::before { content: counter(m, decimal-leading-zero); position: absolute; left: 18px; top: 19px; color: var(--amber); font: 700 15px/1.4 var(--sans); }
.modes__list b { display: block; color: var(--bone); font: 700 24px/1.1 var(--title); font-stretch: 75%; }
.modes__list span { font-size: 15px; color: var(--ash); }
.modes > .how { margin-top: 24px; }

/* ---------- shots ---------- */
.shot { margin: 0; }
.shot img, .shot video { width: 100%; border-radius: 12px; background: #262626; box-shadow: 0 30px 60px -30px rgba(0,0,0,.9), 0 0 0 1px var(--edge-2); transition: transform .4s var(--ease), box-shadow .4s; }
.shot:hover img, .shot:hover video { transform: translateY(-3px); box-shadow: 0 40px 70px -30px rgba(0,0,0,.95), 0 0 0 1px rgba(233,169,59,.35); }
.shot figcaption, .quad figcaption, .pair figcaption { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--ash); }
.shot--hero img, .shot--hero video { border-radius: 14px; }

/* ---------- tour (gallery) ---------- */
.tour__head { margin-bottom: 30px; }
.tour { max-width: none; padding-left: 0; padding-right: 0; }
.tour__head { max-width: var(--w); margin-left: auto; margin-right: auto; padding: 0 var(--pad); }
.tour__track { display: grid; grid-auto-flow: column; grid-auto-columns: min(62vw, 980px); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 10px max(var(--pad), calc((100vw - var(--w)) / 2)) 26px; scroll-padding: 0 max(var(--pad), calc((100vw - var(--w)) / 2)); scrollbar-width: thin; scrollbar-color: var(--ember) transparent; }
.tour__item { margin: 0; scroll-snap-align: start; }
.tour__item img { width: 100%; border-radius: 14px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.9), 0 0 0 1px var(--edge); }
.tour__item figcaption { margin-top: 14px; font-size: 15px; color: var(--ash); max-width: 46em; }
.tour__item figcaption b { color: var(--amber); margin-right: 8px; font-weight: 700; }

/* ---------- chapters ---------- */
.chapter { padding-top: clamp(100px, 12vw, 170px); }
.chapter__head { margin-bottom: clamp(36px, 5vw, 64px); }
.chapter__banner img { width: 100%; border-radius: 18px; box-shadow: 0 0 0 1px var(--edge); }
.chapter__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.chapter__lead { max-width: 40em; margin: 26px 0 0; font: italic 400 clamp(19px, 1.8vw, 23px)/1.45 var(--voice); color: var(--soft); }
.feat { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding: clamp(36px, 4.5vw, 60px) 0; border-top: 1px solid var(--edge); }
.feat--flip .feat__text { order: 2; }
.feat__text h3 { margin-bottom: 14px; }
.feat__text p { color: var(--soft); }
.how { display: flex; gap: 12px; align-items: baseline; margin: 18px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--card); border: 1px solid var(--edge); font-size: 14px; line-height: 1.5; color: var(--soft); }
.how span { flex: none; font: 700 11px/1.9 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--amber); }
.quad { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.quad figure, .pair figure { margin: 0; }
.quad img, .pair img { width: 100%; border-radius: 8px; box-shadow: 0 0 0 1px var(--edge-2); }
.quad figcaption, .pair figcaption { margin-top: 8px; font-size: 13px; }
.quad__cap { margin: 12px 0 0; font-size: 14px; color: var(--ash); }

/* ---------- lists ---------- */
.lists { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 30px; }
.list { border-radius: 16px; padding: 30px 30px 18px; background: var(--card); border: 1px solid var(--edge); }
.list h3 { margin-bottom: 18px; }
.list ul { list-style: none; margin: 0; padding: 0; }
.list li { position: relative; padding: 0 0 14px 32px; font-size: 15px; line-height: 1.55; }
.list li::before { position: absolute; left: 0; top: 0; font: 700 15px/1.55 var(--sans); }
.list--ok li::before { content: "✓"; color: var(--ok); }
.list--no li::before { content: "—"; color: var(--warn); }

/* ---------- compat ---------- */
.compat { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 4vw, 64px); align-items: start; padding-top: clamp(100px, 12vw, 160px); }
.compat__badge { border-radius: 22px; padding: 34px 30px; text-align: center; background: radial-gradient(100% 100% at 50% 0%, rgba(233,169,59,.18), rgba(233,169,59,0) 70%), var(--card); border: 1px solid rgba(233,169,59,.3); }
.compat__badge span { display: block; font: 600 12px/1.6 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ash); }
.compat__badge b { display: block; margin: 8px 0 10px; color: var(--bone); font: 700 clamp(56px, 6vw, 80px)/1 var(--title); font-stretch: 75%; }
.compat h2 { margin-bottom: 26px; }
.compat dl { margin: 0; display: grid; gap: 0; }
.compat dl div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 16px; padding: 13px 0; border-top: 1px solid var(--edge); }
.compat dt { color: var(--bone); font-weight: 600; }
.compat dd { margin: 0; color: var(--soft); }

/* ---------- price ---------- */
.buy { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding-top: clamp(100px, 12vw, 160px); }
.buy__card { position: relative; border-radius: 24px; padding: clamp(30px, 4vw, 48px); text-align: center; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, rgba(233,169,59,.22), rgba(233,169,59,0) 65%), linear-gradient(180deg, #2a231b, #1d1914);
  border: 1px solid rgba(233,169,59,.45); box-shadow: 0 50px 100px -40px rgba(0,0,0,.9), 0 0 60px -30px rgba(233,169,59,.6); }
.buy__flag { display: inline-block; margin: 0 0 18px; padding: 8px 14px; border-radius: 999px; background: var(--amber); color: #1b1307; font: 700 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.buy__card h2 { font-size: clamp(36px, 4vw, 52px); }
.price--big { display: flex; justify-content: center; margin: 18px 0 10px; color: var(--bone); }
.price--big .price__now { font: 700 clamp(88px, 10vw, 128px)/1 var(--title); font-stretch: 75%; }
.price--big .price__was { font: 500 36px/1 var(--title); font-stretch: 75%; color: var(--ash); opacity: 1; }
.price--big .price__off { color: var(--amber); font: 700 30px/1 var(--title); font-stretch: 75%; }
.buy__line { color: var(--soft); font-size: 15px; margin-bottom: 24px; }
.buy__small { margin: 16px 0 0; font-size: 13px; color: var(--ash); }
.buy__get h3 { margin-bottom: 18px; }
.buy__get ul { margin: 0 0 22px; padding: 0; list-style: none; }
.buy__get li { position: relative; padding: 12px 0 12px 30px; border-top: 1px solid var(--edge); }
.buy__get li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); }
.buy__get b { color: var(--bone); }
.buy__support { font-size: 14px; color: var(--ash); }

/* ---------- faq ---------- */
.faq { padding-bottom: 40px; }
.faq__head { margin-bottom: 30px; }
.faq__list { border-top: 1px solid var(--edge); }
details { border-bottom: 1px solid var(--edge); }
summary { list-style: none; cursor: pointer; position: relative; padding: 22px 48px 22px 0; color: var(--bone); font: 600 18px/1.4 var(--sans); transition: color .2s; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); color: var(--amber); font: 300 30px/1 var(--sans); transition: transform .3s var(--ease); }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
summary:hover { color: var(--amber-hi); }
details p { margin: -6px 0 22px; max-width: 52em; color: var(--soft); }
.changelog { margin-top: 64px; padding: 26px 28px; border-radius: 16px; background: var(--card); border: 1px solid var(--edge); }
.changelog h3 { margin-bottom: 10px; }
.changelog p:last-child { margin: 0; color: var(--soft); font-size: 15px; }

/* ---------- footer ---------- */
.foot { max-width: calc(var(--w) + 2 * var(--pad)); margin: 80px auto 0; padding: 40px var(--pad) 56px; border-top: 1px solid var(--edge); color: var(--ash); font-size: 14px; }
.foot__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--bone); font: 700 20px/1 var(--title); font-stretch: 75%; }
.foot p { max-width: 46em; margin: 0 0 8px; }
.foot__small { font-size: 13px; opacity: .8; }

/* ---------- reveals (JS on and motion allowed only) ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-reveal .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .bar__nav { display: none; }
}
@media (max-width: 900px) {
  .hero__inner, .modes__grid, .feat, .compat, .buy, .lists { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 96px; min-height: 0; }
  .hero__stage { padding: 0 0 56px 0; max-width: 640px; }
  .screen { transform: none; }
  .keycap { left: auto; right: 8px; bottom: -6px; }
  .feat--flip .feat__text { order: 0; }
  .feat__media { order: 2; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .bar { height: 58px; gap: 12px; }
  .bar__buy .price__was { display: none; }
  .bar__brand span { font-size: 20px; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .facts li { display: flex; align-items: baseline; gap: 10px; }
  .facts b { display: inline; font-size: 22px; margin: 0; min-width: 4.2em; }
  .hero__cta .btn { flex: 1 1 100%; justify-content: center; }
  .chapter__banner { display: none; }
  .chapter__title { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .ba__grid { grid-template-columns: minmax(0, 1fr); }
  .ba__arrow { transform: rotate(90deg); justify-self: center; }
  .quad { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tour__track { grid-auto-columns: 86vw; gap: 14px; }
  .compat dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .price--big .price__was { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
