/* NUR Audio storefront.
   Titanium + graphite, like the plugin GUIs. One accent at a time: the product you're looking at lights the page. */
:root {
  --ground: #15171B;
  --ground-2: #1A1D22;
  --plate: #20242A;
  --plate-2: #282C33;
  --line: #2E333B;
  --line-2: #3A404A;
  --ti: #E3E6EA;
  --ti-2: #B9BFC8;
  --steel: #8A919C;
  --acc: #D5DAE1;
  --ok: #7FD1A2;
  --warn: #E8C06A;
  --bad: #EF8A7A;
  --r-s: 8px;
  --r-m: 14px;
  --r-l: 22px;
  --display: 'Unbounded', 'Onest', system-ui, sans-serif;
  --body: 'Onest', system-ui, -apple-system, sans-serif;
  --wrap: 1200px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--ground); color: var(--ti); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
/* the hero glow bleeds past the edges on purpose; clip (unlike hidden) also blocks programmatic sideways scroll */
html, body { overflow-x: clip; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.12; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(34px, 5vw, 60px); }
h2 { font-size: clamp(26px, 3.2vw, 40px); }
h3 { font-size: 18px; letter-spacing: 0; }
p { margin: 0; text-wrap: pretty; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--ti); color: var(--ground); padding: 8px 14px; border-radius: var(--r-s); }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }

/* ---------- buttons */
.btn { --bg: var(--plate-2); appearance: none; border: 1px solid var(--line-2); background: var(--bg); color: var(--ti); font: 500 16px/1 var(--body);
  padding: 15px 22px; border-radius: 999px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  transition: background .2s, border-color .2s, transform .15s, box-shadow .2s; }
.btn:hover { border-color: var(--steel); }
.btn:active { transform: translateY(1px); }
.btn-acc { background: var(--acc); border-color: transparent; color: #121418; font-weight: 600;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--acc) 40%, transparent), 0 10px 30px -10px color-mix(in srgb, var(--acc) 70%, transparent); }
.btn-acc:hover { background: color-mix(in srgb, var(--acc) 85%, white); border-color: transparent; }
.btn-ghost { background: transparent; }
.btn-ghost[data-in-cart] { color: var(--acc); border-color: color-mix(in srgb, var(--acc) 50%, transparent); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }
.buy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.buy-row form { margin: 0; }
.link-dl { color: var(--ti-2); font-size: 15px; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; padding: 8px 4px; }
.link-dl:hover { color: var(--ti); text-decoration-color: var(--acc); }
.more { display: inline-block; margin-top: 18px; color: var(--steel); font-size: 15px; text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.more:hover { color: var(--ti); border-color: var(--acc); }

.glyph { width: 20px; height: 20px; fill: none; stroke: var(--acc); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- header */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--ground) 82%, transparent); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.top-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 500 17px var(--display); letter-spacing: .04em; }
.brand b { font-weight: 400; color: var(--steel); }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: 15px; }
.nav > a { text-decoration: none; color: var(--ti-2); }
.nav > a:hover { color: var(--ti); }
.langs { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.langs a { text-decoration: none; font-size: 13px; padding: 4px 9px; border-radius: 999px; color: var(--steel); }
.langs a[aria-current] { background: var(--plate-2); color: var(--ti); }
.cart-btn { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); }
.cart-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--ti); stroke-width: 1.6; stroke-linejoin: round; }
.cart-n { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--acc); color: #121418; font: 600 12px/20px var(--body); text-align: center; }
.cart-n.bump { animation: bump .45s cubic-bezier(.3,1.6,.5,1); }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-btn { display: none; }

/* ---------- hero: the plugin rack */
.hero { position: relative; padding: 64px 0 72px; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: -20% -10% 0; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 55% at 72% 40%, color-mix(in srgb, var(--acc) 16%, transparent), transparent 70%);
  transition: background 1.2s; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(34px, 3.7vw, 52px); }
.hero-sub { color: var(--ti-2); margin-top: 20px; max-width: 34em; }
.hook-card { margin-top: 36px; padding: 24px 24px 24px 22px; border-left: 2px solid var(--acc); background: linear-gradient(90deg, color-mix(in srgb, var(--acc) 7%, transparent), transparent 80%); border-radius: 0 var(--r-m) var(--r-m) 0; transition: border-color .8s; }
.hook-q { font: 500 clamp(20px, 2vw, 25px)/1.3 var(--display); letter-spacing: -0.01em; min-height: 2.6em; }
.hook-a { margin: 12px 0 20px; color: var(--ti-2); font-size: 15px; }
.hook-a > span:first-child { color: var(--acc); font-weight: 600; margin-right: 4px; }
.hook-card.swap .hook-q, .hook-card.swap .hook-a { animation: swap .6s ease; }
@keyframes swap { 0% { opacity: 0; transform: translateY(8px); } 100% { opacity: 1; transform: none; } }

.rack { position: relative; }
.rack-screen { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-l); overflow: hidden; background: #0f1114;
  border: 1px solid var(--line-2);
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 8px var(--ground-2), 0 0 0 9px var(--line), 0 30px 120px -40px color-mix(in srgb, var(--acc) 55%, transparent);
  transition: box-shadow 1s; }
.rack-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: opacity .7s ease, transform 1.2s ease; }
.rack-screen img.off { opacity: 0; transform: scale(1.02); }
.rack-sheen { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.09) 48%, transparent 60%); transform: translateX(-100%); }
.rack.sweep .rack-sheen { animation: sheen 1.1s ease; }
@keyframes sheen { to { transform: translateX(100%); } }
.rack-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; margin-top: 26px; padding: 6px; border-radius: 999px; background: var(--ground-2); border: 1px solid var(--line); }
.rack-tabs button { --acc: var(--a); appearance: none; border: 0; background: transparent; color: var(--steel); font: 500 14px var(--body); padding: 10px 8px; border-radius: 999px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 7px; position: relative; overflow: hidden; transition: color .2s, background .2s; }
.rack-tabs button .glyph { width: 17px; height: 17px; stroke: currentColor; }
.rack-tabs button:hover { color: var(--ti); }
.rack-tabs button[aria-selected="true"] { background: var(--plate-2); color: var(--ti); }
.rack-tabs button[aria-selected="true"] .glyph { stroke: var(--a); }
.rack-tabs button::after { content: ''; position: absolute; left: 18px; right: 18px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--a); transform: scaleX(0); transform-origin: left; }
.rack-tabs button[aria-selected="true"]::after { animation: progress var(--dur, 6s) linear forwards; }
.rack.paused .rack-tabs button::after { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }

/* ---------- trust strip */
.trust { border-block: 1px solid var(--line); background: var(--ground-2); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { padding: 26px 24px 26px 0; }
.trust-grid > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.trust h3 { font: 600 16px var(--body); }
.trust p { color: var(--steel); font-size: 14px; margin-top: 4px; line-height: 1.5; }

/* ---------- product rows */
.prow { position: relative; padding: 110px 0; }
.prow + .prow { border-top: 1px solid var(--line); }
.prow::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40% 60% at 25% 50%, color-mix(in srgb, var(--acc) 7%, transparent), transparent 70%); }
.prow.flip::before { background: radial-gradient(40% 60% at 75% 50%, color-mix(in srgb, var(--acc) 7%, transparent), transparent 70%); }
.prow-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: center; position: relative; }
.prow.flip .prow-shot { order: 2; }
.prow-shot { display: block; border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 30px 70px -35px rgba(0,0,0,.9), 0 20px 80px -50px var(--acc); transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s; }
.prow-shot:hover { transform: translateY(-4px); box-shadow: 0 40px 80px -35px rgba(0,0,0,.9), 0 20px 90px -40px var(--acc); }
.prow-name { display: flex; align-items: center; gap: 10px; font: 500 15px var(--display); letter-spacing: .03em; color: var(--acc); margin-bottom: 18px; }
.prow h2 { font-size: clamp(26px, 2.8vw, 36px); }
.prow-tag { color: var(--ti-2); margin-top: 14px; font-size: 18px; }
.ticks { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; color: var(--ti); font-size: 16px; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 12px; height: 2px; background: var(--acc); border-radius: 2px; }

.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 20px; }
.price-usd { font: 500 34px/1 var(--display); letter-spacing: -0.02em; }
.price s { color: var(--steel); font-size: 18px; }
.price-kzt { color: var(--steel); font-size: 15px; }
.price-big .price-usd { font-size: 46px; }

/* ---------- bundle */
.bundle { padding: 110px 0; background: linear-gradient(180deg, var(--ground-2), var(--ground)); border-block: 1px solid var(--line); }
.bundle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.bundle .prow-tag { margin-bottom: 28px; }
.bundle-math { background: var(--plate); border: 1px solid var(--line-2); border-radius: var(--r-l); padding: 28px 30px; }
.bundle-math ul { list-style: none; padding: 0; margin: 0 0 14px; }
.bundle-math li { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--ti-2); }
.bundle-math li span:first-child::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--a); margin-right: 12px; vertical-align: 1px; }
.bm-row { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; color: var(--steel); }
.bm-row s { font-size: 18px; }
.bm-total { color: var(--ti); font-size: 18px; }
.bm-total b { font: 500 40px/1 var(--display); }
.bm-kzt { text-align: right; color: var(--steel); font-size: 14px; margin-top: 4px; }

/* ---------- how / faq / channel */
.how { padding: 110px 0 90px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.steps li { counter-increment: s; position: relative; padding: 52px 28px 0 0; color: var(--ti-2); }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font: 500 14px var(--display); color: var(--ti); background: var(--ground); z-index: 1; }
.steps li::after { content: ''; position: absolute; top: 17px; left: 34px; right: 0; height: 1px; background: var(--line); }
.steps li:last-child::after { display: none; }
.faq { padding: 40px 0 110px; }
.faq-grid { display: grid; grid-template-columns: 4fr 8fr; gap: 64px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; font-weight: 500; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 1.5px solid var(--steel); border-bottom: 1.5px solid var(--steel); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { color: var(--ti-2); padding: 0 40px 24px 0; }
.channel { padding: 80px 0; border-top: 1px solid var(--line); background: radial-gradient(60% 120% at 50% 100%, color-mix(in srgb, #5FB4EC 10%, transparent), transparent 70%); }
.channel-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.channel-in p { font: 500 clamp(22px, 2.4vw, 30px)/1.25 var(--display); max-width: 20em; }

/* ---------- product page */
.phero { position: relative; padding: 40px 0 80px; isolation: isolate; }
.phero::before { content: ''; position: absolute; inset: -10% 0 0; z-index: -1; background: radial-gradient(45% 60% at 75% 35%, color-mix(in srgb, var(--acc) 14%, transparent), transparent 70%); }
.phero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.back { display: inline-block; color: var(--steel); text-decoration: none; font-size: 14px; margin-bottom: 26px; }
a.back::before { content: '‹ '; }
.back:hover { color: var(--ti); }
.phero h1 { font-size: clamp(28px, 2.8vw, 40px); }
.phero .prow-tag { margin-bottom: 28px; }
.fine { color: var(--steel); font-size: 14px; margin-top: 16px; }
.gallery-main { border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 90px -40px rgba(0,0,0,.9), 0 30px 110px -50px var(--acc); aspect-ratio: 16 / 10; background: #0f1114; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { flex: none; width: 104px; padding: 0; border: 1px solid var(--line); border-radius: var(--r-s); overflow: hidden; background: none; cursor: pointer; opacity: .6; transition: opacity .2s, border-color .2s; }
.thumbs button[aria-pressed="true"], .thumbs button:hover { opacity: 1; border-color: var(--acc); }
.bundle-stack { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.bundle-stack a { grid-column: span 2; border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 20px 50px -30px var(--a); transition: transform .3s; }
.bundle-stack a:nth-child(4), .bundle-stack a:nth-child(5) { grid-column: span 3; }
.bundle-stack a:hover { transform: translateY(-3px); }
.bundle-stack img { aspect-ratio: 16/10; object-fit: cover; object-position: top; }

.pbody { padding: 90px 0; border-top: 1px solid var(--line); }
.pbody-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 64px; }
.pbody h2 { margin-bottom: 22px; }
.lead { font-size: 20px; line-height: 1.6; color: var(--ti); max-width: 38em; }
.pbody h3 { margin: 34px 0 10px; font: 600 16px var(--body); color: var(--steel); }
.pbody-lead > p:not(.lead) { color: var(--ti-2); max-width: 40em; }
.note { margin-top: 24px; padding: 14px 18px; border-radius: var(--r-s); background: color-mix(in srgb, var(--warn) 9%, transparent); border: 1px solid color-mix(in srgb, var(--warn) 30%, transparent); color: var(--ti) !important; font-size: 15px; }
.specs { margin: 0; align-self: start; border: 1px solid var(--line); border-radius: var(--r-m); padding: 6px 22px; background: var(--ground-2); }
.specs div { padding: 16px 0; }
.specs div + div { border-top: 1px solid var(--line); }
.specs dt { color: var(--steel); font-size: 13px; }
.specs dd { margin: 4px 0 0; font-weight: 500; }

.features { padding: 90px 0; background: var(--ground-2); border-block: 1px solid var(--line); }
.feat-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 64px; margin-top: 40px; }
.feat { padding: 30px 0; border-top: 1px solid var(--line); position: relative; text-decoration: none; display: block; }
.feat::before { content: ''; position: absolute; top: -1px; left: 0; width: 48px; height: 2px; background: var(--acc); }
.feat h3 { font-size: 20px; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.feat p { color: var(--ti-2); }
.feat-link:hover h3 { color: var(--acc); }
.feat-price { margin-left: auto; font: 500 16px var(--body); color: var(--steel); }
.uses { padding: 80px 0; }
.chips { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 12px 20px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ti); background: var(--ground-2); }
.pcta { padding: 70px 0; border-top: 1px solid var(--line); }
.pcta-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.pcta h2 { font-size: clamp(22px, 2.4vw, 30px); max-width: 22em; margin-bottom: 14px; }
.pcta .price { margin: 0; }
.upsell { padding: 26px 0; background: var(--plate); border-block: 1px solid var(--line); }
.upsell-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.upsell p { color: var(--ti-2); }
.upsell b { color: var(--ti); }
.related { padding: 90px 0 110px; }
.rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.rel { text-decoration: none; display: flex; flex-direction: column; gap: 8px; }
.rel img { border-radius: var(--r-m); border: 1px solid var(--line); aspect-ratio: 16/10; object-fit: cover; object-position: top; margin-bottom: 8px; transition: border-color .2s; }
.rel:hover img { border-color: var(--acc); }
.rel-name { display: flex; align-items: center; gap: 8px; font: 500 15px var(--display); color: var(--acc); }
.rel-hook { color: var(--ti-2); font-size: 15px; line-height: 1.45; }
.rel-price { font-weight: 600; }

.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: color-mix(in srgb, var(--plate) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line-2); padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .3s; }
.sticky-buy.show { transform: none; }
.sticky-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.sticky-in form { margin: 0; }

/* ---------- checkout / order / keys */
.narrow { padding: 56px 0 110px; min-height: 60vh; }
.narrow h1 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 28px; }
.empty { color: var(--ti-2); margin-bottom: 28px; }
.notice { padding: 16px 20px; border-radius: var(--r-m); background: color-mix(in srgb, var(--acc) 10%, transparent); border: 1px solid color-mix(in srgb, var(--acc) 35%, transparent); margin: 0 0 24px; }
.err { padding: 12px 16px; border-radius: var(--r-s); background: color-mix(in srgb, var(--bad) 12%, transparent); border: 1px solid color-mix(in srgb, var(--bad) 40%, transparent); color: var(--ti); margin-bottom: 18px; }
.co-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.co-items { list-style: none; padding: 0; margin: 0; }
.co-items li { display: grid; grid-template-columns: 96px 1fr auto auto; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.co-items li:first-child { border-top: 1px solid var(--line); }
.co-items img { border-radius: 8px; border: 1px solid var(--line); aspect-ratio: 16/10; object-fit: cover; object-position: top; }
.co-ph { display: grid; place-items: center; aspect-ratio: 16/10; border-radius: 8px; border: 1px solid var(--line); background: var(--plate); }
.co-items b { display: block; font-weight: 600; }
.co-items div span { color: var(--steel); font-size: 14px; line-height: 1.4; display: block; }
.co-price { font: 500 18px var(--display); }
.x { appearance: none; background: none; border: 1px solid transparent; color: var(--steel); width: 34px; height: 34px; border-radius: 50%; font-size: 20px; cursor: pointer; }
.x:hover { border-color: var(--line-2); color: var(--ti); }
.co-total { display: flex; align-items: baseline; gap: 14px; justify-content: flex-end; padding: 22px 0 0; font-size: 18px; color: var(--ti-2); }
.co-total b { font: 500 34px var(--display); color: var(--ti); }
.co-form { background: var(--plate); border: 1px solid var(--line-2); border-radius: var(--r-l); padding: 28px; display: grid; gap: 18px; position: sticky; top: 92px; }
.co-form label { display: grid; gap: 7px; font-size: 14px; color: var(--ti-2); font-weight: 500; }
.co-form label em { font-style: normal; color: var(--steel); font-weight: 400; }
.co-form small { color: var(--steel); font-size: 13px; }
input, textarea, select { font: 400 17px var(--body); color: var(--ti); background: var(--ground); border: 1px solid var(--line-2); border-radius: 10px; padding: 13px 14px; width: 100%; transition: border-color .2s, box-shadow .2s; }
input:focus, textarea:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 22%, transparent); }
.keys { max-width: 560px; }
.keys .lead { margin: -10px 0 28px; font-size: 17px; color: var(--ti-2); }
.keys .co-form { position: static; }

.order { max-width: 760px; }
.order .back { margin-bottom: 8px; }
.order-code { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 10px !important; }
.status { font-weight: 600; margin-bottom: 26px; display: inline-flex; align-items: center; gap: 8px; }
.status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-new { color: var(--warn); } .status-claimed { color: #8FC8F0; } .status-paid { color: var(--ok); } .status-cancelled { color: var(--steel); }
.status-claimed::before { animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.track { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.track li { font-size: 13px; color: var(--steel); padding-top: 12px; border-top: 3px solid var(--line); }
.track li.done { border-color: var(--ok); color: var(--ti-2); }
.track li.now { border-color: var(--acc); color: var(--ti); font-weight: 600; }
.paybox, .keybox { background: var(--plate); border: 1px solid var(--line-2); border-radius: var(--r-l); padding: 28px; margin-bottom: 24px; }
.paybox h2, .keybox h2 { font-size: 22px; margin-bottom: 18px; }
.keybox > p { color: var(--ti-2); margin-bottom: 18px; }
.keybox h3 { margin: 28px 0 12px; font: 600 15px var(--body); color: var(--steel); }
.kv { display: grid; grid-template-columns: 130px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.kv span { color: var(--steel); font-size: 14px; }
.kv b { font-weight: 600; font-size: 18px; word-break: break-word; }
.paybox .buy-row { margin-top: 22px; }
.copy { appearance: none; border: 1px solid var(--line-2); background: var(--ground); color: var(--ti-2); font: 500 13px var(--body); padding: 8px 13px; border-radius: 999px; cursor: pointer; transition: all .2s; }
.copy:hover { color: var(--ti); border-color: var(--steel); }
.copy.done { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 50%, transparent); }
.btn.copy { padding: 10px 16px; }
.copy-inline { font-family: var(--body); letter-spacing: 0; }
.key { display: flex; gap: 12px; align-items: flex-start; background: var(--ground); border: 1px solid var(--line-2); border-radius: var(--r-m); padding: 14px; }
.key code { flex: 1; font: 13px/1.5 ui-monospace, 'SF Mono', Menlo, monospace; word-break: break-all; color: var(--ti-2); max-height: 7.5em; overflow: auto; }
.dl-list { list-style: none; padding: 0; margin: 0; }
.dl-list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.dl-list li span { flex: 1; }
.dl-list small { color: var(--steel); }
.order-items { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; padding: 18px 0; color: var(--ti-2); font-size: 15px; }
.order-items span { display: inline-flex; align-items: center; gap: 6px; }
.order-items b { margin-left: auto; color: var(--ti); }
.contact-row { margin-top: 18px; }

/* ---------- footer, toast */
.foot { border-top: 1px solid var(--line); padding: 48px 0 60px; background: var(--ground-2); }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot-brand { display: flex; gap: 14px; align-items: center; }
.foot-brand p { font: 500 16px var(--display); }
.foot-brand span { font: 400 14px var(--body); color: var(--steel); }
.foot-links { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.foot-links a { color: var(--ti-2); text-decoration: none; }
.foot-links a:hover { color: var(--ti); }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 40; transform: translate(-50%, 0); display: flex; align-items: center; gap: 18px; padding: 10px 10px 10px 22px;
  background: var(--plate-2); border: 1px solid var(--line-2); border-radius: 999px; box-shadow: 0 20px 50px -15px rgba(0,0,0,.8); animation: toast .35s cubic-bezier(.2,.9,.3,1.2); }
@keyframes toast { from { opacity: 0; transform: translate(-50%, 16px); } }
.page-product .toast { bottom: 90px; }

/* ---------- responsive */
@media (max-width: 1000px) {
  .hero-grid, .phero-grid, .prow-grid, .bundle-grid, .co-grid, .pbody-grid, .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .prow.flip .prow-shot { order: 0; }
  .rel-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .steps li:nth-child(2)::after { display: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .trust-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .co-form { position: static; }
  .hero .rack { order: -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .menu-btn { display: grid; gap: 5px; appearance: none; border: 0; background: none; padding: 10px 4px; cursor: pointer; }
  .menu-btn span { display: block; width: 22px; height: 1.6px; background: var(--ti); transition: transform .25s; }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.3px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.3px) rotate(-45deg); }
  .top-in { gap: 12px; height: 60px; }
  .cart-btn { margin-left: auto; }
  .nav { position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 18px; background: var(--ground); border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: flex; }
  .nav > a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .langs { align-self: flex-start; margin-top: 14px; }
  .hero { padding: 28px 0 48px; }
  .rack-tabs { grid-auto-columns: auto; overflow-x: auto; border-radius: 14px; scrollbar-width: none; }
  .rack-tabs button { padding: 10px 12px; font-size: 13px; }
  .rack-screen { box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), 0 0 0 5px var(--ground-2), 0 0 0 6px var(--line); }
  .hook-card { padding: 18px; margin-top: 28px; }
  .prow, .bundle, .how, .pbody, .features, .related { padding: 64px 0; }
  .faq { padding: 20px 0 64px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid > div { padding: 18px 12px 18px 0 !important; border-left: 0 !important; }
  .trust-grid > div:nth-child(even) { padding-left: 12px !important; border-left: 1px solid var(--line) !important; }
  .steps { grid-template-columns: 1fr; }
  .steps li { padding: 0 0 0 52px; min-height: 34px; }
  .steps li::after { display: none; }
  .feat-list { grid-template-columns: 1fr; }
  .rel-grid { grid-template-columns: 1fr; }
  .co-items li { grid-template-columns: 64px 1fr auto; gap: 12px; }
  .co-items li form { grid-column: 3; grid-row: 1; }
  .co-items li .co-price { grid-column: 2; font-size: 16px; }
  .kv { grid-template-columns: 1fr auto; }
  .kv span { grid-column: 1 / -1; }
  .foot-in { grid-template-columns: 1fr; }
  .buy-row .btn { flex: 1 1 auto; justify-content: center; }
  .price-big .price-usd { font-size: 38px; }
  .bundle-math { padding: 20px; }
  .toast { left: 16px; right: 16px; transform: none; justify-content: space-between; }
  @keyframes toast { from { opacity: 0; transform: translateY(16px); } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* OS label on download buttons (only when a product has a Windows build) */
.os { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; font-size: 0.78em; letter-spacing: .02em; border: 1px solid currentColor; opacity: .75; vertical-align: 1px; }
.dl-list li .btn + .btn { margin-left: 8px; }
