/* Franks Audio — landing page
   视觉令牌直接取自 Simple Sampler 的 "Serum Cool" 主题(plugin/src/gui/ColorScheme.h + Params::layerColour),
   字体为插件内嵌的 Barlow / Barlow Semi Condensed(SIL OFL,自托管,不依赖外部字体服务)。 */

@font-face { font-family: "Barlow"; src: url("../fonts/Barlow-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/Barlow-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/Barlow-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("../fonts/BarlowSemiCondensed-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #0b0d11;
  --page: #12151b;
  --panel: #161a21;
  --panel-head: #1b2029;
  --well: #090b0e;
  --inset: #0d1015;
  --stroke: #242a35;
  --stroke-hi: #343c4b;
  --text: #e4e9f2;
  --dim: #8c95a7;
  --faint: #5c6576;
  --ctl: #1e232c;
  --ctl-hi: #2a313d;
  --accent: #4da3ff;
  --l1: #ffb14a; --l2: #3ddbd9; --l3: #e26bff; --l4: #8bdd5c;
  --l5: #ff7a66; --l6: #a08bff; --l7: #f5d04a; --l8: #ff6fa8;
  --ok: #2fd0a0;

  --cjk: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --f-body: "Barlow", var(--cjk);
  --f-caps: "Barlow Semi Condensed", "Barlow", var(--cjk);
  --f-mono: "Cascadia Mono", "Cascadia Code", "JetBrains Mono", "SF Mono", Consolas, "Liberation Mono", "Microsoft YaHei", "PingFang SC", monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.75 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* 背景:插件网格 + 顶部冷光 + 细噪点 */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1200px 620px at 72% -8%, rgba(77, 163, 255, .14), transparent 62%),
    radial-gradient(900px 520px at -10% 30%, rgba(61, 219, 217, .05), transparent 60%),
    linear-gradient(rgba(140, 170, 210, .045) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(140, 170, 210, .045) 1px, transparent 1px) 0 0 / 64px 64px,
    var(--bg);
  -webkit-mask-image: linear-gradient(#000 0, #000 70%, rgba(0,0,0,.55) 100%);
          mask-image: linear-gradient(#000 0, #000 70%, rgba(0,0,0,.55) 100%);
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
b, strong { font-weight: 600; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; }
::selection { background: rgba(77, 163, 255, .35); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: calc(880px + 2 * var(--gutter)); }

.skip { position: absolute; left: 12px; top: -48px; z-index: 100; padding: 8px 14px; background: var(--accent); color: #04121f; border-radius: 6px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(77, 163, 255, .18), 0 0 12px rgba(77, 163, 255, .6); flex: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 8px;
  font: 600 15px/1 var(--f-caps); letter-spacing: .04em; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease), color .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--accent); color: #04121f; box-shadow: 0 6px 24px -6px rgba(77, 163, 255, .6), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn--primary:hover { background: #6bb4ff; transform: translateY(-1px); box-shadow: 0 10px 30px -6px rgba(77, 163, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn--ghost { background: var(--ctl); color: var(--text); border-color: var(--stroke-hi); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.btn--ghost:hover { background: var(--ctl-hi); border-color: #46505f; }
.btn--sm { height: 36px; padding: 0 16px; font-size: 14px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 13, 17, .74);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--stroke);
}
.nav__inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand__mark { width: 28px; height: 28px; }
.brand__name { font: 600 17px/1 var(--f-caps); letter-spacing: .22em; color: var(--text); }
.brand__name b { color: var(--dim); font-weight: 600; }
.nav__links { display: flex; gap: 4px; margin-left: 16px; }
.nav__links a {
  padding: 8px 12px; border-radius: 6px; text-decoration: none;
  font: 600 14px/1 var(--f-caps); letter-spacing: .06em; color: var(--dim);
  transition: color .15s, background .15s;
}
.nav__links a:hover { color: var(--text); background: var(--ctl); }
.nav__right { margin-left: auto; display: flex; align-items: center; gap: 12px; }


/* ---------- hero ---------- */
.hero { padding: 28px 0 40px; position: relative; }
.ruler {
  display: flex; justify-content: space-between;
  padding: 6px 0 0; margin-bottom: clamp(40px, 7vw, 84px);
  font: 400 11.5px/1 var(--f-body); color: var(--faint); letter-spacing: .02em;
  background:
    repeating-linear-gradient(90deg, var(--stroke-hi) 0 1px, transparent 1px calc(100% / 24)) top left / 100% 6px no-repeat,
    repeating-linear-gradient(90deg, #4a5466 0 1px, transparent 1px calc(100% / 6)) top left / 100% 10px no-repeat;
  border-top: 1px solid var(--stroke);
}
.ruler span { padding-top: 12px; }
.ruler span:nth-child(n+5) { display: none; }
@media (min-width: 720px) { .ruler span:nth-child(n+5) { display: inline; } }

.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: end; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 26px;
  font: 600 13px/1.3 var(--f-caps); letter-spacing: .2em; text-transform: uppercase; color: var(--dim);
}
.eyebrow { letter-spacing: .12em; font-size: 14px; }
.hero__title {
  font: 600 clamp(44px, 7.4vw, 96px)/.96 var(--f-caps);
  letter-spacing: -.012em; color: var(--text);
  max-width: 14ch;
}
.hero__title { font-weight: 700; line-height: 1.12; letter-spacing: .01em; max-width: 12em; font-size: clamp(38px, 6.4vw, 80px); }
.hero__title em {
  font-style: normal; color: transparent;
  background: linear-gradient(92deg, #8fc5ff 0%, var(--accent) 45%, var(--l2) 100%);
  -webkit-background-clip: text; background-clip: text;
}
.hero__lede { margin-top: 28px; max-width: 60ch; color: var(--dim); font-size: clamp(17px, 1.5vw, 19px); line-height: 1.65; }
.hero__lede strong { color: var(--text); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* datasheet */
.spec { background: var(--panel); border: 1px solid var(--stroke); border-radius: var(--r); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 30px 60px -30px rgba(0, 0, 0, .8); overflow: hidden; }
.spec__head, .phead {
  display: flex; align-items: center; gap: 10px;
  font: 600 12.5px/1 var(--f-caps); letter-spacing: .18em; color: var(--accent);
}
.spec__head { padding: 0 16px; height: 36px; background: var(--panel-head); border-bottom: 1px solid var(--stroke); }
.spec__sub, .phead__sub { font: 400 13px/1 var(--f-body); letter-spacing: .01em; color: var(--faint); text-transform: none; }
.spec dl { margin: 0; padding: 6px 0; }
.spec dl > div { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 9px 16px; border-bottom: 1px dashed rgba(52, 60, 75, .55); }
.spec dl > div:last-child { border-bottom: 0; }
.spec dt { font: 600 13px/1.5 var(--f-caps); letter-spacing: .08em; color: var(--faint); padding-top: 1px; }
.spec dd { margin: 0; font-size: 15px; color: var(--text); }

/* hero screenshot */
.hero__shot { margin: clamp(48px, 7vw, 88px) 0 0; position: relative; }
.hero__shot::before {
  content: ""; position: absolute; inset: 8% 6% -4%; z-index: -1;
  background: radial-gradient(closest-side, rgba(77, 163, 255, .28), transparent 75%);
  filter: blur(40px);
}
.shot {
  position: relative; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--stroke-hi);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 50px 120px -40px rgba(0, 0, 0, .95), 0 0 0 6px rgba(22, 26, 33, .55);
  background: var(--well);
}
.shot img { width: 100%; }
.shot__cap { margin-top: 14px; font-size: 13.5px; color: var(--faint); text-align: center; }

/* 编号节点(插件 EQ 频段节点同款) */
.hotspots { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; pointer-events: none; }
.hotspots li {
  position: absolute; left: var(--x); top: var(--y);
  width: clamp(16px, 2.1vw, 28px); height: clamp(16px, 2.1vw, 28px); margin: calc(clamp(16px, 2.1vw, 28px) / -2) 0 0 calc(clamp(16px, 2.1vw, 28px) / -2);
  border-radius: 50%; background: var(--c);
  border: 2px solid rgba(9, 11, 14, .9);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--c) 60%, transparent), 0 4px 14px rgba(0, 0, 0, .6);
  display: grid; place-items: center;
  font: 600 clamp(9px, 1vw, 13px)/1 var(--f-caps); color: #0b0d11;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.hotspots li.is-hot { transform: scale(1.35); box-shadow: 0 0 0 8px color-mix(in srgb, var(--c) 28%, transparent), 0 4px 14px rgba(0, 0, 0, .6); }
.js .hotspots li { opacity: 0; transform: scale(.4); }
.js .hero__shot.in .hotspots li { opacity: 1; transform: scale(1); transition: opacity .4s var(--ease), transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.js .hero__shot.in .hotspots li.is-hot { transform: scale(1.35); }
.js .hero__shot.in .hotspots li:nth-child(1) { transition-delay: .55s; }
.js .hero__shot.in .hotspots li:nth-child(2) { transition-delay: .63s; }
.js .hero__shot.in .hotspots li:nth-child(3) { transition-delay: .71s; }
.js .hero__shot.in .hotspots li:nth-child(4) { transition-delay: .79s; }
.js .hero__shot.in .hotspots li:nth-child(5) { transition-delay: .87s; }
.js .hero__shot.in .hotspots li:nth-child(6) { transition-delay: .95s; }
.js .hero__shot.in .hotspots li:nth-child(7) { transition-delay: 1.03s; }
.js .hero__shot.in .hotspots.settled li { transition-delay: 0s; }

.legend { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 268px), 1fr)); gap: 2px 28px; }
.legend li { display: flex; gap: 14px; padding: 14px 10px; border-radius: 8px; transition: background .2s; cursor: default; }
.legend li.is-hot { background: rgba(255, 255, 255, .035); }
.legend i, .card__head i {
  flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--c);
  display: grid; place-items: center; font: 600 12.5px/1 var(--f-caps); font-style: normal; color: #0b0d11;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 20%, transparent);
  margin-top: 1px;
}
.legend b { display: block; font: 600 14px/1.3 var(--f-caps); letter-spacing: .12em; text-transform: uppercase; color: var(--text); margin-bottom: 3px; }
.legend b { letter-spacing: .04em; font-size: 15px; }
.legend p { font-size: 14.5px; line-height: 1.55; color: var(--dim); }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section--page { background: linear-gradient(180deg, rgba(18, 21, 27, 0), rgba(18, 21, 27, .85) 12%, rgba(18, 21, 27, .85) 88%, rgba(18, 21, 27, 0)); }
.section--page::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(77, 163, 255, .45), transparent); }

.phead { margin-bottom: 22px; }
.phead__sub { font-size: 14px; }
.h2 { font: 600 clamp(36px, 5.2vw, 64px)/1.02 var(--f-caps); letter-spacing: -.008em; margin-bottom: clamp(36px, 5vw, 56px); }
.h2 { font-weight: 700; line-height: 1.18; letter-spacing: .01em; font-size: clamp(32px, 4.6vw, 56px); }

/* ---------- catalogue ---------- */
.cat { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 900px) { .cat { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); } }
.cat__card {
  position: relative; padding: 28px; border-radius: var(--r);
  background: var(--panel); border: 1px solid var(--stroke);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
  display: flex; flex-direction: column; gap: 14px;
}
.cat__card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; border-radius: var(--r) var(--r) 0 0; background: var(--c, var(--stroke-hi)); opacity: .9; }
.cat__top { display: flex; align-items: center; justify-content: space-between; }
.cat__num { font: 600 15px/1 var(--f-caps); letter-spacing: .2em; color: var(--faint); }
.cat__card h3 { font: 600 clamp(30px, 3.4vw, 40px)/1 var(--f-caps); letter-spacing: .01em; }
.cat__kind { font: 600 13px/1.4 var(--f-caps); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.cat__kind { letter-spacing: .04em; font-size: 14px; }
.cat__card p { color: var(--dim); max-width: 62ch; }
.cat__thumb { margin-top: 6px; border-radius: 8px; overflow: hidden; border: 1px solid var(--stroke); background: var(--well); }
.link { margin-top: auto; align-self: flex-start; text-decoration: none; font: 600 13px/1 var(--f-caps); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); padding: 8px 0; }
.link span[aria-hidden] { display: inline-block; transition: transform .2s var(--ease); }
.link:hover span[aria-hidden] { transform: translateX(4px); }

.cat__card--next { background: transparent; border: 1.5px dashed #3a4352; box-shadow: none; justify-content: flex-start; }
.cat__card--next::before { display: none; }
.cat__plus { flex: 1; min-height: 160px; display: grid; place-items: center; font: 300 72px/1 var(--f-body); color: #3a4352; }

.badge {
  display: inline-flex; align-items: center; gap: 8px; height: 26px; padding: 0 12px; border-radius: 13px;
  font: 600 11.5px/1 var(--f-caps); letter-spacing: .14em; text-transform: uppercase;
  background: var(--inset); border: 1px solid var(--stroke-hi); color: var(--dim);
}
.badge { letter-spacing: .04em; font-size: 12.5px; }
.badge--live { color: var(--ok); border-color: rgba(47, 208, 160, .35); background: rgba(47, 208, 160, .08); }
.badge--live .dot { width: 7px; height: 7px; background: var(--ok); box-shadow: 0 0 0 3px rgba(47, 208, 160, .18), 0 0 10px rgba(47, 208, 160, .7); }

/* ---------- showcase viewer ---------- */
.viewer { border-radius: 12px; border: 1px solid var(--stroke-hi); background: var(--bg); overflow: hidden; box-shadow: 0 50px 120px -50px rgba(0, 0, 0, .95); }
.tabs { display: flex; gap: 6px; padding: 8px 8px 0; background: var(--bg); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative; flex: none; display: inline-flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 18px 0 12px; border: 0; border-radius: 8px 8px 0 0; cursor: pointer;
  background: transparent; color: var(--dim);
  font: 600 13px/1 var(--f-caps); letter-spacing: .14em;
  transition: background .2s, color .2s;
}
.tab::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; border-radius: 2px; background: var(--c); opacity: .55; }
.tab:hover { color: var(--text); background: rgba(22, 26, 33, .6); }
.tab.is-active { background: var(--page); color: var(--text); }
.tab.is-active::before { opacity: 1; }
.tab svg { width: 16px; height: 16px; fill: var(--c); }
.tab i { width: 20px; height: 20px; border-radius: 4px; display: grid; place-items: center; background: var(--c); color: #0b0d11; font: 600 12px/1 var(--f-caps); font-style: normal; }
.viewer__stage { background: var(--page); padding: 8px; border-top: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); position: relative; }
.viewer__stage img { width: 100%; border-radius: 6px; transition: opacity .25s var(--ease); }
.viewer__stage img.is-swapping { opacity: .25; }
.viewer__caps { padding: 18px 22px 22px; background: var(--page); border-top: 1px solid var(--stroke); min-height: 84px; }
.viewer__caps p { display: none; color: var(--dim); font-size: 15.5px; max-width: 90ch; }
.viewer__caps p.is-active { display: block; animation: fade .35s var(--ease); }
.viewer__caps b { font-family: var(--f-caps); letter-spacing: .12em; color: var(--text); }

/* ---------- features bento ---------- */
.bento { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 0 0 22px; border-radius: var(--r); overflow: hidden;
  background: var(--panel); border: 1px solid var(--stroke);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.card:hover { border-color: color-mix(in srgb, var(--c) 45%, var(--stroke)); }
.card > p { padding: 0 22px; color: var(--dim); font-size: 15.5px; line-height: 1.62; }
.card__head { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 22px; background: var(--panel-head); border-bottom: 1px solid var(--stroke); }
.card__head h3 { font: 600 14.5px/1.2 var(--f-caps); letter-spacing: .14em; text-transform: uppercase; }
.card__head h3 { letter-spacing: .04em; font-size: 16px; }
.card .well { margin: 4px 22px 0; border-radius: 8px; overflow: hidden; border: 1px solid var(--stroke); background: var(--well); }
@media (min-width: 760px) { .card--wide { grid-column: 1 / -1; } }
@media (min-width: 1080px) {
  .card--half { grid-column: span 2; }
  .card--wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); grid-template-rows: auto 1fr; column-gap: 0; }
  .card--wide .card__head { grid-column: 1 / -1; }
  .card--wide > p { padding-top: 22px; align-self: start; }
  .card--wide .well { margin: 22px 22px 0 0; align-self: center; }
}

/* ---------- source ---------- */
.src { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
@media (min-width: 1000px) { .src { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; } }
.src__tree { border-radius: var(--r); overflow: hidden; border: 1px solid var(--stroke); background: var(--well); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.src__bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: var(--panel-head); border-bottom: 1px solid var(--stroke); }
.src__bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--ctl-hi); }
.src__bar code { margin-left: 8px; font: 500 13px/1 var(--f-mono); color: var(--dim); }
.tree { display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: 28px; row-gap: 4px; padding: 22px 20px 24px; font: 400 13.5px/1.7 var(--f-mono); color: #c3cad8; }
.tree__path { white-space: pre; }
.tree__path b { color: var(--accent); font-weight: 600; }
.tree__note { color: var(--faint); }

.deps { display: flex; align-items: stretch; gap: 0; margin-bottom: 26px; flex-wrap: wrap; row-gap: 10px; }
.deps__box {
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  padding: 12px 16px; min-width: 96px; border-radius: 8px;
  background: var(--panel); border: 1px solid var(--stroke-hi);
  font: 600 14px/1 var(--f-mono);
}
.deps__box small { font: 400 12px/1 var(--f-body); color: var(--faint); }
.deps__box--core { border-color: rgba(77, 163, 255, .55); background: rgba(77, 163, 255, .08); color: var(--accent); box-shadow: 0 0 24px -6px rgba(77, 163, 255, .45); }
.deps__arrow { position: relative; width: 40px; align-self: center; height: 2px; background: var(--stroke-hi); margin: 0 4px; }
.deps__arrow::after { content: ""; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left: 7px solid var(--stroke-hi); border-right: 0; }

.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.points li { padding: 16px 0 16px 22px; border-bottom: 1px solid var(--stroke); position: relative; color: var(--dim); font-size: 15.5px; }
.points li:last-child { border-bottom: 0; }
.points li::before { content: ""; position: absolute; left: 0; top: 23px; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); opacity: .8; }
.points b { display: block; color: var(--text); font: 600 14.5px/1.3 var(--f-caps); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.points b { letter-spacing: .04em; font-size: 16px; }

.stats { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--stroke); border-radius: var(--r); background: var(--panel); overflow: hidden; }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stats > div { padding: 26px 24px; border-right: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); display: flex; flex-direction: column; gap: 6px; }
.stats b { font: 600 clamp(38px, 4.4vw, 54px)/1 var(--f-caps); letter-spacing: -.01em; color: var(--text); font-variant-numeric: tabular-nums; }
.stats > div:nth-child(1) b { color: var(--ok); }
.stats > div > span { font-size: 14px; color: var(--dim); }

/* ---------- licensing ---------- */
.steps { position: relative; }
.steps__curve, .steps__node { display: none; }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; counter-reset: s; }
@media (min-width: 640px) { .steps ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .steps { padding-top: 132px; }
  .steps__curve { display: block; position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 120px; }
  .steps__node {
    display: block; position: absolute; left: var(--x); top: var(--y); width: 12px; height: 12px; margin: -6px 0 0 -6px;
    border-radius: 50%; background: var(--well); border: 2px solid var(--accent); box-shadow: 0 0 12px rgba(77, 163, 255, .7);
  }
  .steps__node::after {
    content: ""; position: absolute; left: 3px; top: 10px; height: calc(132px - var(--y) - 4px);
    border-left: 1px dashed rgba(77, 163, 255, .45);
  }
  .steps ol { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.steps li { padding: 22px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--stroke); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); }
.steps i { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--accent); color: var(--accent); background: var(--well); font: 600 13px/1 var(--f-caps); font-style: normal; letter-spacing: .04em; margin-bottom: 16px; box-shadow: 0 0 18px -4px rgba(77, 163, 255, .6); }
.steps b { display: block; font: 600 17px/1.2 var(--f-caps); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.steps b { letter-spacing: .04em; }
.steps p { color: var(--dim); font-size: 15px; }

.note { margin-top: 28px; padding: 20px 22px 20px 24px; border-radius: var(--r); background: rgba(245, 208, 74, .05); border: 1px solid rgba(245, 208, 74, .22); border-left: 3px solid var(--l7); }
.note b { display: block; font: 600 13px/1 var(--f-caps); letter-spacing: .16em; text-transform: uppercase; color: var(--l7); margin-bottom: 10px; }
.note b { letter-spacing: .06em; font-size: 14px; }
.note p { color: var(--dim); font-size: 15px; max-width: 100ch; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--r); background: var(--panel); border: 1px solid var(--stroke); transition: border-color .2s; }
.faq details[open] { border-color: var(--stroke-hi); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 18px 22px; font: 500 17px/1.4 var(--f-body); color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--dim); border-bottom: 2px solid var(--dim); transform: rotate(45deg) translate(-2px, -2px); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); border-color: var(--accent); }
.faq details p { padding: 0 22px 20px; color: var(--dim); font-size: 15.5px; max-width: 72ch; }
.faq a { color: var(--accent); text-underline-offset: 3px; }

/* ---------- contact ---------- */
.contact { padding-bottom: clamp(80px, 10vw, 120px); }
.contact__panel {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center;
  padding: clamp(28px, 5vw, 56px); border-radius: 16px; overflow: hidden;
  background: linear-gradient(135deg, rgba(77, 163, 255, .12), rgba(22, 26, 33, .9) 46%), var(--panel);
  border: 1px solid rgba(77, 163, 255, .3);
  box-shadow: 0 60px 140px -60px rgba(77, 163, 255, .45), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.contact__panel::after {
  content: ""; position: absolute; right: -120px; bottom: -160px; width: 460px; height: 460px; border-radius: 50%;
  border: 1px solid rgba(77, 163, 255, .14); box-shadow: 0 0 0 60px rgba(77, 163, 255, .03), 0 0 0 120px rgba(77, 163, 255, .02);
  pointer-events: none;
}
@media (min-width: 860px) { .contact__panel { grid-template-columns: minmax(0, 1fr) auto; gap: 56px; } }
.contact__copy .h2 { margin-bottom: 20px; }
.contact__copy > p { color: var(--dim); max-width: 52ch; font-size: 17px; }
.wxid { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 30px; padding: 14px 16px; border-radius: 10px; background: var(--inset); border: 1px solid var(--stroke); width: fit-content; max-width: 100%; }
.wxid__label { font: 600 12px/1 var(--f-caps); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.wxid__label { letter-spacing: .06em; font-size: 13px; }
.wxid code { font: 600 22px/1 var(--f-mono); letter-spacing: .04em; color: var(--text); user-select: all; }
.copy-done { display: none; }
[data-copy].is-done .copy-idle { display: none; }
[data-copy].is-done .copy-done { display: inline; color: var(--ok); }

.qr { position: relative; z-index: 1; margin: 0 auto; padding: 18px 18px 14px; background: #fff; border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 0 0 8px rgba(255, 255, 255, .06); text-align: center; }
.qr img { width: 208px; height: auto; image-rendering: pixelated; }
.qr figcaption { margin-top: 8px; font: 600 12.5px/1 var(--f-caps); letter-spacing: .14em; text-transform: uppercase; color: #3d4654; }
.qr figcaption { letter-spacing: .08em; font-size: 13.5px; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--stroke); padding: 32px 0 40px; }
.foot__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.brand--foot .brand__name { font-size: 15px; }
.foot p { color: var(--faint); font-size: 13px; max-width: 80ch; }

/* ---------- reveal ---------- */
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero__copy.reveal { transition-delay: .05s; }
.js .spec.reveal { transition-delay: .18s; }
.js .hero__shot.reveal { transform: translateY(36px) scale(.985); transition-duration: 1.1s; transition-delay: .25s; }
.js .hero__shot.reveal.in { transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 999px) {
  .nav__links { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav__inner { gap: 12px; height: 58px; }
  .brand__name { font-size: 15px; letter-spacing: .16em; }
  .tree { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .tree__note { padding: 0 0 8px 2ch; font-size: 12.5px; }
  .tree__note:empty { display: none; }
  .hero__cta .btn { flex: 1 1 100%; }
  .spec dl > div { grid-template-columns: 80px 1fr; }
  .tab { padding: 0 12px 0 10px; letter-spacing: .08em; font-size: 12px; }
  .deps__arrow { width: 22px; }
  .deps__box { min-width: 0; padding: 10px 12px; }
  .wxid code { font-size: 19px; }
  .qr img { width: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hotspots li { opacity: 1 !important; transform: none !important; }
}
