/* Prisma POS public site. One system refracted into every shop type: night indigo ground, a white beam, a spectrum of shop bands. */
:root {
  --night: #15103d;
  --night-2: #221a5c;
  --night-3: #2e2575;
  --milk: #f5f2ff;
  --milk-2: #ebe6fb;
  --ink: #1a1640;
  --ink-2: #4a4570;
  --on-night: #f3f0ff;
  --on-night-2: #c9c3ec;
  --sun: #ffc933;
  --sun-2: #ffb800;
  --red: #ff5a5f;
  --line-night: rgba(255, 255, 255, .14);
  --line-milk: rgba(26, 22, 64, .14);
  --display: 'Bricolage Grotesque', 'Noto Sans TC', system-ui, sans-serif;
  --body: 'Figtree', 'Noto Sans TC', system-ui, sans-serif;
  --r-s: 8px;
  --r-m: 14px;
  --r-l: 26px;
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--night); color: var(--on-night); font: 400 17px/1.6 var(--body); overflow-x: hidden; text-rendering: optimizeLegibility; }
body[data-lang="zh"] { --display: 'Noto Sans TC', 'Bricolage Grotesque', system-ui, sans-serif; letter-spacing: .01em; }
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; line-height: 1.08; font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
html { scrollbar-color: var(--night-3) var(--night); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.ic { width: 22px; height: 22px; flex: none; }
.ic .mute { display: none; }
.muted { opacity: .75; }

.night { background: var(--night); color: var(--on-night); }
.milk { background: var(--milk); color: var(--ink); }
.milk ::selection { background: var(--ink); color: var(--milk); }
.milk :focus-visible { outline-color: var(--ink); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent; font: 600 16px/1.1 var(--body); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, border-color .2s, color .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: #ffd65c; }
.btn-line { border-color: rgba(255, 255, 255, .5); color: var(--on-night); background: transparent; }
.btn-line:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-ink { background: var(--ink); color: var(--milk); }
.btn-ink:hover { background: var(--night-3); }
.btn-ghost { color: inherit; background: rgba(255, 255, 255, .08); min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .08); color: inherit; cursor: pointer; }
.iconbtn:hover { background: rgba(255, 255, 255, .18); }

/* ---------- header ---------- */
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--sun); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
.top { position: sticky; top: 0; z-index: 50; background: rgba(21, 16, 61, .82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid var(--line-night); }
.top-in { max-width: 1320px; margin-inline: auto; padding: 10px var(--gut); display: flex; align-items: center; gap: 14px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 20px/1 var(--display); letter-spacing: -.01em; color: var(--on-night); }
.mark { width: 40px; height: 32px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a { padding: 10px 12px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 15px; color: var(--on-night-2); }
.nav > a:hover, .nav > a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .08); }
.langs { display: inline-flex; margin-left: 8px; border: 1px solid var(--line-night); border-radius: 999px; padding: 3px; }
.langs a { padding: 6px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; text-decoration: none; color: var(--on-night-2); }
.langs a[aria-current] { background: rgba(255, 255, 255, .14); color: #fff; }
.snd { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-night); background: transparent; color: var(--on-night-2); cursor: pointer; }
.snd:hover { color: #fff; border-color: rgba(255, 255, 255, .4); }
.snd[aria-pressed="false"] .wave { display: none; }
.snd[aria-pressed="false"] .mute { display: inline; }
.snd[aria-pressed="true"] { color: var(--sun); border-color: var(--sun); }
.top-cta { min-height: 44px; font-size: 15px; }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; place-items: center; }
@media (max-width: 1020px) {
  .burger { display: inline-grid; }
  .top-cta { display: none; }
  .snd { margin-left: auto; }
  .nav { position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px var(--gut) 20px; background: var(--night); border-bottom: 1px solid var(--line-night); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s; }
  .nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s var(--ease); }
  .nav > a { padding: 14px 12px; font-size: 17px; }
  .langs { margin: 10px 0 0; align-self: flex-start; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); background: radial-gradient(120% 80% at 30% 20%, var(--night-2) 0%, var(--night) 60%); }
.hero-flare { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; mix-blend-mode: screen; z-index: -2; pointer-events: none; }
.hero-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.beams { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: visible; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) 180px minmax(0, .95fr); grid-template-areas: "copy prism picker"; align-items: center; gap: clamp(16px, 3vw, 40px); max-width: 1320px; }
.hero-copy { grid-area: copy; }
.hero h1 { font-size: clamp(40px, 5.4vw, 74px); font-weight: 800; letter-spacing: -.01em; font-variation-settings: 'wdth' 92; }
body[data-lang="zh"] .hero h1 { letter-spacing: 0; font-weight: 900; line-height: 1.15; }
.lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--on-night-2); margin-top: 22px; max-width: 34em; }
.milk .lede, .company .lede { color: var(--ink-2); }
.hero-act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.prism-wrap { grid-area: prism; position: relative; }
.prism { width: 100%; height: auto; filter: drop-shadow(0 0 28px rgba(190, 180, 255, .35)); }
.prism.flash { animation: flash 1.1s var(--ease); }
@keyframes flash { 30% { filter: drop-shadow(0 0 60px rgba(255, 255, 255, .9)); } }
.picker { grid-area: picker; }
.picker-h { font-size: 18px; font-weight: 600; font-family: var(--body); color: var(--on-night-2); margin-bottom: 12px; }
.bands { display: grid; gap: 6px; }
.band { --c: hsl(var(--h) 92% 64%); position: relative; display: grid; grid-template-columns: 14px auto 1fr; align-items: center; gap: 12px; min-height: 46px; padding: 8px 14px; border-radius: var(--r-s); text-decoration: none; color: var(--on-night); background: linear-gradient(90deg, hsl(var(--h) 90% 60% / .16), hsl(var(--h) 90% 60% / .03) 70%); border: 1px solid hsl(var(--h) 90% 70% / .22); transition: transform .25s var(--ease), background-color .25s, border-color .25s; }
.band-sw { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); }
.band-name { font-weight: 700; font-size: 16px; }
.band-line { font-size: 14px; color: var(--on-night-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.band:hover, .band:focus-visible { transform: translateX(6px); border-color: var(--c); background: linear-gradient(90deg, hsl(var(--h) 90% 60% / .34), hsl(var(--h) 90% 60% / .06) 80%); }
.picker-hint { margin-top: 14px; font-size: 14px; color: var(--on-night-2); }
.beam-in path { stroke: #fff; stroke-width: 6; stroke-linecap: round; filter: drop-shadow(0 0 10px #fff); }
.beam-out path { stroke-width: 3; fill: none; opacity: .55; transition: opacity .25s, stroke-width .25s; }
.beam-out path.on { opacity: 1; stroke-width: 5; }
.js .beams path { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.lit .beams path { stroke-dashoffset: 0; transition: stroke-dashoffset 1s var(--ease) var(--d, 0s); }
.js .bands li { opacity: 0; transform: translateX(-10px); }
.lit .bands li { opacity: 1; transform: none; transition: opacity .5s var(--ease) var(--d, 0s), transform .5s var(--ease) var(--d, 0s); }
@media (max-width: 1020px) {
  .hero-in { grid-template-columns: 1fr; grid-template-areas: "copy" "prism" "picker"; }
  .prism-wrap { width: 120px; margin: 0 auto; }
  .beams { display: none; }
  .picker { max-width: 560px; }
}

.facts { border-top: 1px solid var(--line-night); padding: 32px 0; background: var(--night); }
.facts-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.facts li { display: flex; gap: 14px; align-items: flex-start; }
.facts .ic { color: var(--sun); width: 26px; height: 26px; margin-top: 2px; }
.facts h3 { font-size: 17px; font-family: var(--body); font-weight: 700; }
.facts p { font-size: 15px; color: var(--on-night-2); margin-top: 4px; }
@media (max-width: 900px) { .facts-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .facts-in { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- section heads ---------- */
section { position: relative; }
.shops, .inside, .hw, .pricing, .faq, .chain, .offline, .company, .person, .trial, .cmp-sec { padding: clamp(64px, 9vw, 128px) 0; }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head h2 { font-size: clamp(32px, 4.2vw, 56px); letter-spacing: -.02em; font-weight: 800; }
body[data-lang="zh"] .sec-head h2 { letter-spacing: 0; }
.sec-head p { margin-top: 16px; font-size: 18px; color: var(--ink-2); }
.night .sec-head p { color: var(--on-night-2); }
.sec-head .note, .note { font-size: 15px; opacity: .8; margin-top: 14px; }

/* ---------- shops ---------- */
.shop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.shop { --c: hsl(var(--h) 80% 50%); display: flex; flex-direction: column; background: #fff; border-radius: var(--r-m); overflow: hidden; border-top: 5px solid var(--c); box-shadow: 0 1px 0 var(--line-milk); }
.shop-big { grid-column: span 2; }
.shop figure { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: var(--milk-2); }
.shop img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.shop:hover img { transform: scale(1.04); }
.shop-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.shop h3 { font-size: 22px; }
.shop-big h3 { font-size: 28px; }
.shop-body > p { color: var(--ink-2); margin-top: 6px; font-size: 15px; }
.shop-body ul { margin: 12px 0 16px; display: grid; gap: 6px; font-size: 15px; }
.shop-body ul li { padding-left: 18px; position: relative; }
.shop-body ul li::before { content: ''; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.shop-try { margin-top: auto; align-self: flex-start; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--c); text-decoration-thickness: 3px; text-underline-offset: 5px; padding: 8px 0; }
.shop-try:hover { text-decoration-thickness: 5px; }
@media (max-width: 1020px) { .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .shop-grid { grid-template-columns: 1fr; } .shop-big { grid-column: auto; } }

/* ---------- offline ---------- */
.offline { background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); }
.off-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.off-copy h2 { font-size: clamp(32px, 4.2vw, 56px); font-weight: 800; letter-spacing: -.02em; }
.steps { counter-reset: s; margin-top: 32px; display: grid; gap: 18px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; }
.steps li::before { content: counter(s); grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--sun); color: var(--sun); font: 700 16px/1 var(--display); }
.steps h3 { font-size: 18px; font-family: var(--body); font-weight: 700; }
.steps p { color: var(--on-night-2); font-size: 15px; margin-top: 2px; }
.proof { display: flex; gap: 10px; align-items: flex-start; margin-top: 28px; font-size: 15px; color: var(--on-night-2); }
.proof .ic { color: #3fd68b; }
.net { margin: 0; position: relative; padding: clamp(16px, 3vw, 32px); border-radius: var(--r-l); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-night); display: grid; gap: 16px; justify-items: center; }
.net-svg { width: 100%; height: auto; overflow: visible; }
.ln { fill: none; stroke: rgba(255, 255, 255, .45); stroke-width: 3; transition: stroke .3s; }
.ln-cloud { stroke: #22c4e0; }
.net[data-state="off"] .ln-cloud { stroke: var(--red); stroke-dasharray: 6 9; }
.node rect, .node path { fill: #2a2266; stroke: #fff; stroke-width: 2.5; stroke-linejoin: round; }
.node-pc rect { fill: #3a2f5e; stroke: var(--sun); }
.node-cloud path { stroke: #22c4e0; fill: #1d3366; transition: stroke .3s, opacity .3s; }
.net[data-state="off"] .node-cloud { opacity: .45; }
.net[data-state="off"] .node-cloud path { stroke: var(--red); }
.node text { fill: var(--on-night-2); font: 600 15px var(--body); text-anchor: middle; }
.pk { fill: var(--sun); filter: drop-shadow(0 0 6px var(--sun)); }
.pk-cl { fill: #22c4e0; filter: drop-shadow(0 0 6px #22c4e0); }
.net[data-state="off"] .pk-cl { opacity: 0; }
.cut { opacity: 0; transform-box: fill-box; transition: opacity .3s; }
.cut circle { fill: var(--red); }
.cut path { stroke: #fff; stroke-width: 3; stroke-linecap: round; }
.net[data-state="off"] .cut { opacity: 1; }
.net figcaption { font-weight: 600; font-size: 16px; text-align: center; min-height: 1.6em; }
.net[data-state="off"] figcaption { color: #ffb3b5; }
.net-btn[aria-pressed="true"] { background: #fff; }
@media (max-width: 900px) { .off-in { grid-template-columns: 1fr; } }

/* ---------- inside ---------- */
.in-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.in-col { border-top: 4px solid hsl(var(--h) 80% 55%); padding-top: 18px; }
.in-col h3 { font-size: 20px; }
.in-col ul { margin-top: 14px; display: grid; gap: 10px; font-size: 15px; color: var(--ink-2); }
.more { margin-top: 44px; }
@media (max-width: 1020px) { .in-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .in-cols { grid-template-columns: 1fr 1fr; gap: 22px; } }
@media (max-width: 400px) { .in-cols { grid-template-columns: 1fr; } }

/* ---------- hardware ---------- */
.hw { padding-top: 0; }
.hw-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); border-top: 1px solid var(--line-milk); padding-top: clamp(56px, 7vw, 96px); }
.hw-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line-milk); border-radius: var(--r-m); overflow: hidden; background: #fff; }
.hw-list > div { padding: 22px 24px; border-bottom: 1px solid var(--line-milk); }
.hw-list > div:nth-child(odd) { border-right: 1px solid var(--line-milk); }
.hw-list > div:nth-last-child(-n+2) { border-bottom: 0; }
.hw-list dt { font: 700 19px/1.2 var(--display); }
.hw-list dd { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
@media (max-width: 900px) { .hw-in { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .hw-list { grid-template-columns: 1fr; } .hw-list > div { border-right: 0 !important; border-bottom: 1px solid var(--line-milk) !important; } .hw-list > div:last-child { border-bottom: 0 !important; } }

/* ---------- chain ---------- */
.chain { background: var(--night-2); }
.chain-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-night); }
.chain-list li { padding: 24px 24px 0 0; }
.chain-list li + li { padding-left: 24px; border-left: 1px solid var(--line-night); }
.chain-list h3 { font-size: 20px; }
.chain-list p { margin-top: 8px; font-size: 15px; color: var(--on-night-2); }
.chain .note { margin-top: 32px; color: var(--on-night-2); }
@media (max-width: 900px) { .chain-list { grid-template-columns: 1fr 1fr; } .chain-list li:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 520px) { .chain-list { grid-template-columns: 1fr; } .chain-list li, .chain-list li + li { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line-night); } }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { --c: hsl(var(--h) 85% 55%); position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-l); background: #fff; border: 1px solid var(--line-milk); }
.plan-mid { background: var(--night); color: var(--on-night); border-color: var(--night); transform: translateY(-12px); box-shadow: 0 30px 60px -30px rgba(21, 16, 61, .6); }
.plan-free { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--sun); color: var(--ink); font-weight: 700; font-size: 14px; }
.plan h3 { margin-top: 18px; font-size: 30px; font-weight: 800; }
.plan-note { margin-top: 6px; font-size: 15px; color: var(--ink-2); min-height: 3em; }
.plan-mid .plan-note, .plan-mid .plan-after, .plan-mid li { color: var(--on-night-2); }
.plan-price { margin-top: 18px; display: flex; align-items: baseline; gap: 4px; font-family: var(--display); }
.plan-price .cur { font-size: 22px; font-weight: 700; }
.plan-price .num { font-size: 64px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.plan-price .per { font: 500 15px var(--body); margin-left: 6px; opacity: .8; }
.plan-after { font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.plan ul { margin: 22px 0 26px; display: grid; gap: 10px; font-size: 15px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li .ic { width: 18px; height: 18px; color: var(--c); margin-top: 3px; }
.plan .btn { margin-top: auto; }
.plan-mid .btn-ink { background: #fff; color: var(--ink); }
.terms { margin-top: 32px; font-size: 14px; color: var(--ink-2); max-width: 70em; }
.terms a { font-weight: 600; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 480px; } .plan-mid { transform: none; } }

/* ---------- company ---------- */
.company { background: var(--milk-2); color: var(--ink); overflow: hidden; isolation: isolate; }
.co-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .16; z-index: -1; mix-blend-mode: multiply; pointer-events: none; }
.co-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); }
.co-copy h2 { font-size: clamp(32px, 4.2vw, 56px); font-weight: 800; letter-spacing: -.02em; }
.creds { margin: 20px 0 28px; font-size: 15px; color: var(--ink-2); }
.co-side h3 { font-size: 20px; }
.co-list { margin-top: 16px; display: grid; gap: 0; }
.co-list li { padding: 16px 0; border-bottom: 1px solid var(--line-milk); }
.co-list li:first-child { border-top: 1px solid var(--line-milk); }
.co-list h4 { font-size: 18px; }
.co-list p { font-size: 15px; color: var(--ink-2); margin-top: 4px; }
.tech { margin-top: clamp(48px, 6vw, 80px); }
.tech > h3 { font-size: 22px; }
.tech-list { margin-top: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tech-list li { background: rgba(255, 255, 255, .7); border-radius: var(--r-m); padding: 20px; backdrop-filter: blur(6px); }
.tech-list h4 { font-size: 17px; }
.tech-list p { font-size: 14px; color: var(--ink-2); margin-top: 6px; }
@media (max-width: 900px) { .co-in { grid-template-columns: 1fr; } .tech-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .tech-list { grid-template-columns: 1fr; } }

/* ---------- person ---------- */
.person { background: radial-gradient(80% 90% at 20% 50%, var(--night-2), var(--night)); overflow: hidden; }
.person-in { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.jay { position: relative; margin: 0; }
.jay img { position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-l); }
.jay-glow { position: absolute; inset: -10% -14%; z-index: 0; background: conic-gradient(from 200deg, #ff5a5f, #ff8c2b, #ffc933, #3fd68b, #22c4e0, #4d7cff, #a066ff, #ff5a5f); filter: blur(60px); opacity: .45; border-radius: 50%; }
.person h2 { font-size: clamp(30px, 3.8vw, 50px); font-weight: 800; letter-spacing: -.02em; }
.who { margin-top: 18px; font-size: 17px; color: var(--on-night-2); }
.who strong { color: #fff; font: 700 24px/1.3 var(--display); }
.contact { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.contact .btn { white-space: normal; text-align: left; }
@media (max-width: 860px) { .person-in { grid-template-columns: 1fr; } .jay { max-width: 340px; } }

/* ---------- faq ---------- */
.faq-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq .sec-head { position: sticky; top: 100px; }
.faq .sec-head a { font-weight: 700; color: var(--ink); }
.faq-list { border-top: 1px solid var(--line-milk); }
.p-faq .faq-in { grid-template-columns: 1fr; max-width: 880px; }
details { border-bottom: 1px solid var(--line-milk); }
summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 0; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary h3 { font-size: 19px; font-family: var(--body); font-weight: 700; line-height: 1.35; }
summary .ic { transition: transform .3s var(--ease); flex: none; }
details[open] summary .ic { transform: rotate(45deg); }
details p { padding: 0 0 24px; color: var(--ink-2); max-width: 62em; }
summary:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 860px) { .faq-in { grid-template-columns: 1fr; } .faq .sec-head { position: static; } }

/* ---------- trial ---------- */
.trial { background: radial-gradient(100% 120% at 100% 0%, var(--night-3), var(--night) 60%); }
.trial-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.trial h2 { font-size: clamp(36px, 5vw, 64px); font-weight: 800; letter-spacing: -.025em; }
.trial .note { color: var(--on-night-2); margin-top: 20px; }
.trial-form { display: grid; gap: 16px; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-l); background: rgba(255, 255, 255, .06); border: 1px solid var(--line-night); }
.trial-form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.trial-form input, .trial-form select { width: 100%; min-height: 50px; padding: 0 14px; border-radius: var(--r-s); border: 1.5px solid rgba(255, 255, 255, .25); background: rgba(10, 8, 34, .55); color: #fff; font: 400 17px var(--body); }
.trial-form select option { background: var(--night); color: #fff; }
.trial-form input:focus, .trial-form select:focus { outline: none; border-color: var(--sun); box-shadow: 0 0 0 3px rgba(255, 201, 51, .3); }
.trial-form input[aria-invalid="true"] { border-color: var(--red); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-err { color: #ffb3b5; font-weight: 600; }
.trial-form .btn { justify-self: start; margin-top: 4px; }
@media (max-width: 860px) { .trial-in { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .row2 { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { background: #0e0a2c; color: var(--on-night-2); padding: 64px 0 32px; font-size: 15px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot h2 { font: 700 14px var(--body); color: #fff; margin-bottom: 14px; }
.foot ul { display: grid; gap: 10px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-brand p { margin-top: 16px; max-width: 26em; }
.foot-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-night); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
@media (max-width: 860px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- demo dialog ---------- */
.demo { width: min(1240px, 96vw); height: min(860px, 94vh); max-width: none; max-height: none; padding: 0; border: 1px solid var(--line-night); border-radius: var(--r-l); background: var(--night); color: var(--on-night); overflow: hidden; }
.demo[open] { display: flex; flex-direction: column; animation: dlg .35s var(--ease); }
.demo::backdrop { background: rgba(8, 6, 26, .72); backdrop-filter: blur(6px); }
@keyframes dlg { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.demo-bar { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 20px; border-bottom: 1px solid var(--line-night); }
.demo-bar h2 { font-size: 20px; display: flex; align-items: center; gap: 10px; margin-right: auto; min-width: 0; }
.demo-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-dot { width: 14px; height: 14px; border-radius: 50%; background: hsl(var(--h, 45) 92% 64%); box-shadow: 0 0 12px hsl(var(--h, 45) 92% 64%); flex: none; }
.demo-chips { display: flex; gap: 6px; padding: 10px 14px; overflow-x: auto; scrollbar-width: thin; border-bottom: 1px solid var(--line-night); }
.chip { flex: none; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid hsl(var(--h) 80% 70% / .35); background: transparent; color: var(--on-night-2); font: 600 14px var(--body); cursor: pointer; }
.chip:hover { color: #fff; border-color: hsl(var(--h) 85% 65%); }
.chip[aria-pressed="true"] { background: hsl(var(--h) 85% 62%); border-color: transparent; color: var(--ink); }
.demo-stage { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 14px; gap: 10px; background: radial-gradient(70% 70% at 50% 40%, var(--night-2), var(--night)); }
.device { position: relative; flex: 1; min-height: 0; border-radius: 16px; overflow: hidden; background: #fff; border: 8px solid #0b0920; box-shadow: 0 0 0 1px var(--line-night), 0 30px 60px -20px rgba(0, 0, 0, .6); }
.device iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
.device-load { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 12px; background: var(--night); color: var(--on-night-2); font-weight: 600; transition: opacity .3s; }
.device.ready .device-load { opacity: 0; pointer-events: none; }
.spin { width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .2); border-top-color: var(--sun); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.demo-hint { font-size: 14px; color: var(--on-night-2); text-align: center; }
@media (max-width: 640px) { .demo { width: 100vw; height: 100dvh; border-radius: 0; border: 0; } .demo-new span { display: none; } .demo-stage { padding: 6px; } .device { border-width: 4px; } .demo-hint { font-size: 12px; } }

/* ---------- sub pages ---------- */
.sub-hero { padding: clamp(56px, 8vw, 112px) 0 clamp(40px, 5vw, 64px); background: radial-gradient(90% 120% at 10% 0%, var(--night-2), var(--night)); }
.sub-hero h1 { font-size: clamp(40px, 5.4vw, 72px); font-weight: 800; letter-spacing: -.025em; max-width: 18em; }
.fwrap { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); display: grid; gap: clamp(48px, 6vw, 72px); }
.fgroup { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 32px; border-top: 4px solid hsl(var(--h) 80% 55%); padding-top: 24px; }
.fgroup h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.fgroup dl { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; }
.fgroup dt { font-weight: 700; font-size: 17px; }
.fgroup dd { font-size: 15px; color: var(--ink-2); margin-top: 4px; }
.packs { --h: 260; grid-template-columns: 1fr; }
.packs > p { color: var(--ink-2); max-width: 46em; }
.pack-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.pack-list li { background: #fff; border-radius: var(--r-m); padding: 20px; border-left: 5px solid hsl(var(--h) 80% 55%); display: flex; flex-direction: column; gap: 8px; }
.pack-list h3 { font-size: 19px; }
.pack-list p { font-size: 15px; color: var(--ink-2); }
.pack-list a { margin-top: auto; font-weight: 700; color: var(--ink); text-underline-offset: 4px; padding-top: 6px; }
@media (max-width: 860px) { .fgroup { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .fgroup dl { grid-template-columns: 1fr; } }
.pricing .wrap > .plans { margin-top: 16px; }
.p-pricing .pricing { padding-bottom: 32px; }
.trial-terms { padding-bottom: clamp(48px, 6vw, 80px); }
.trial-terms h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.trial-terms ul { margin-top: 18px; display: grid; gap: 12px; max-width: 760px; }
.trial-terms li { display: flex; gap: 10px; }
.trial-terms .ic { color: #1f9e5e; margin-top: 2px; }
.cmp-sec { padding-top: 0; }
.tbl-wrap { overflow-x: auto; border-radius: var(--r-m); border: 1px solid var(--line-milk); background: #fff; }
.cmp { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14px; }
.cmp th, .cmp td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-milk); }
.cmp thead th { font: 700 15px var(--display); background: var(--milk-2); }
.cmp tbody th { font-weight: 700; width: 18%; }
.cmp .us { background: rgba(255, 201, 51, .16); font-weight: 600; }
.cmp .np { color: #6e6990; font-style: italic; }
.cmp sup a { font-size: 11px; margin-left: 2px; }
.sources { margin-top: 18px; padding-left: 20px; list-style: decimal; font-size: 13px; color: var(--ink-2); display: grid; gap: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-flare, .co-video { display: none; }
}
@media print { .top, .hero-fx, .beams, video, .demo, .trial-form { display: none !important; } body { background: #fff; color: #000; } }
