/* ==========================================================================
   Compressor — nerdz.studio/compressor
   Hand-coded, standards-compliant. No framework, no runtime unpacking.
   ========================================================================== */

/* ---- Self-hosted fonts (shared with the studio page) ---- */
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/space-grotesk-latin.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('/assets/fonts/jetbrains-mono-latin.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/instrument-serif-latin.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('/assets/fonts/instrument-serif-italic-latin.woff2') format('woff2'); }

:root {
  --acc:   #ccff00;
  --acc-dim: #a8d400;
  --bg:    #08090a;
  --panel: #0f1115;
  --panel2:#0f1216;
  --ink:   #eceae3;
  --dim:   #a2a6a0;
  --dim2:  #8b8f8a;
  --faint: #6b6f68;
  --line:  rgba(255, 255, 255, 0.10);
  --red:   #e0563f;
  --sans:  'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono:  'JetBrains Mono', ui-monospace, monospace;
  --wrap:  1300px;
  --ease:  cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; max-width: 100%; }
button { font-family: inherit; }
::selection { background: var(--acc); color: var(--bg); }

@keyframes cp-sweep { 0% { background-position: 0% 50%; } 100% { background-position: 300% 50%; } }
@keyframes cp-blink { 0%,100% { opacity: 1; } 50% { opacity: 0.2; } }
@keyframes cp-spin  { to { transform: rotate(360deg); } }
@keyframes cp-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes cp-caret { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes cp-shake { 0%,100% { transform: translateX(0); } 18% { transform: translateX(-5px); } 38% { transform: translateX(5px); } 58% { transform: translateX(-3px); } 78% { transform: translateX(3px); } }
@keyframes cp-pulse-lime { 0%,100% { box-shadow: 0 10px 30px -8px rgba(204,255,0,0.5); } 50% { box-shadow: 0 10px 40px -4px rgba(204,255,0,0.85); } }
@media (prefers-reduced-motion: reduce) { * { animation-duration: 0.001s !important; } }

.wrap { max-width: var(--wrap); margin-inline: auto; }
.mono { font-family: var(--mono); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--acc); }
.kicker { font-family: var(--mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--acc); margin-bottom: 14px; }

/* ---- Ambient ---- */
.amb { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.amb--shader { width: 100%; height: 100%; opacity: 0.34; filter: blur(48px) saturate(130%); }
.amb--grid {
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 90% 75% at 50% 25%, #000 40%, transparent 82%);
  mask-image: radial-gradient(ellipse 90% 75% at 50% 25%, #000 40%, transparent 82%);
}
.amb--vign { background: radial-gradient(ellipse 60% 45% at 50% 0%, transparent 45%, var(--bg) 92%); }

/* ---- Nav ---- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; border-bottom: 1px solid transparent; transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s; }
.nav.is-scrolled { background: rgba(8,9,10,0.78); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); border-bottom-color: rgba(255,255,255,0.08); }
.nav__inner { max-width: var(--wrap); margin-inline: auto; padding: 16px 34px; display: flex; align-items: center; gap: 22px; }
.nav__back { display: flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 0.73rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--dim2); transition: color 0.2s; }
.nav__back:hover { color: var(--ink); }
.nav__back img { height: 26px; width: auto; display: block; opacity: 0.9; transition: opacity 0.2s; }
.nav__back:hover img { opacity: 1; }
.nav__sep { width: 1px; height: 16px; background: rgba(255,255,255,0.14); }
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__brand img { width: 28px; height: 28px; border-radius: 8px; box-shadow: 0 3px 10px rgba(0,0,0,0.5); }
.nav__brand span { font-weight: 700; font-size: 1.02rem; }
.nav__links { display: flex; gap: 26px; margin-left: auto; font-size: 0.9rem; color: var(--dim2); }
.nav__links a { transition: color 0.2s; }
.nav__links a:hover { color: var(--ink); }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 11px; font-weight: 600; font-size: 1rem; border-radius: 999px; cursor: pointer; transition: transform 0.2s, border-color 0.25s, background 0.25s; }
.btn svg { width: 17px; height: 17px; }
.btn--shimmer { padding: 15px 26px; color: var(--bg); background: linear-gradient(110deg, #a8d400, #ccff00, #eaffb0, #ccff00, #a8d400); background-size: 300% 100%; animation: cp-sweep 6s linear infinite; box-shadow: 0 12px 40px -10px rgba(204,255,0,0.55); border: none; }
.btn--ghost { padding: 15px 24px; font-weight: 500; color: var(--ink); border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.03); }
.btn--ghost:hover { border-color: rgba(204,255,0,0.5); background: rgba(204,255,0,0.07); }
.btn--demo { padding: 15px 26px; color: var(--acc); background: rgba(204,255,0,0.1); border: 1px solid rgba(204,255,0,0.3); }
.btn--demo:hover { background: rgba(204,255,0,0.16); border-color: rgba(204,255,0,0.55); }
.price-card__cta.btn--demo { margin-top: 12px; }
.nav__cta { font-size: 0.86rem; padding: 10px 18px; white-space: nowrap; }

/* ---- Layout ---- */
main { position: relative; z-index: 2; }
.section { max-width: var(--wrap); margin-inline: auto; padding: 100px 34px; }
.sec-center { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.sec-title { font-size: clamp(1.9rem, 4.4vw, 3.2rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.04; }
.sec-lead { color: var(--dim); font-size: 1.05rem; margin-top: 16px; }

/* ---- Hero ---- */
.hero { position: relative; max-width: var(--wrap); margin-inline: auto; padding: 150px 34px 70px; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,0.95fr); gap: 52px; align-items: center; }
.hero__badge { display: inline-flex; align-items: center; gap: 11px; font-size: 0.86rem; color: var(--dim); border: 1px solid rgba(255,255,255,0.13); background: rgba(255,255,255,0.03); padding: 7px 14px; border-radius: 999px; margin-bottom: 28px; }
.hero__badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px rgba(204,255,0,0.16); animation: cp-blink 2.2s infinite; }
.hero__title { font-size: clamp(2.7rem, 6.4vw, 5.4rem); line-height: 0.98; font-weight: 700; letter-spacing: -0.035em; }
.hero__title span { display: block; }
.hero__title .serif { font-size: 1.05em; letter-spacing: -0.01em; }
.hero__sub { font-size: clamp(1.05rem, 1.5vw, 1.28rem); color: var(--dim); max-width: 46ch; margin-top: 24px; line-height: 1.55; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; align-items: center; }
.hero__meta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 26px; font-size: 0.9rem; color: var(--faint); }
.hero__meta strong { color: var(--ink); }
.hero__meta em { color: #2a2d28; font-style: normal; }
.hero__actions .btn--demo { margin-top: 0; }

/* hero result card (holo) */
.hcard-wrap { display: flex; justify-content: center; }
.holo { position: relative; border-radius: 24px; padding: 1px; background: linear-gradient(150deg, rgba(204,255,0,0.55), rgba(255,255,255,0.06), rgba(168,212,0,0.4)); box-shadow: 0 40px 100px -35px rgba(204,255,0,0.4); will-change: transform; transition: transform 0.12s ease-out; }
.holo__inner { position: relative; border-radius: 23px; background: rgba(14,16,20,0.92); backdrop-filter: blur(22px); padding: 28px; overflow: hidden; }
.sheen { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(300px circle at var(--mx,50%) var(--my,0%), rgba(255,255,255,0.07), transparent 60%); }
.hcard { width: 100%; max-width: 400px; }
.hcard__icon { display: flex; justify-content: center; margin-bottom: 20px; position: relative; }
.hcard__icon img { width: 104px; height: 104px; border-radius: 22px; filter: drop-shadow(0 16px 30px rgba(0,0,0,0.55)); animation: cp-float 5s ease-in-out infinite; }
.hcard__file { text-align: center; margin-bottom: 7px; position: relative; font-family: var(--mono); font-size: 0.72rem; color: var(--faint); }
.hcard__sizes { display: flex; align-items: baseline; justify-content: center; gap: 12px; position: relative; margin-bottom: 5px; }
.hcard__old { font-size: 1.05rem; color: var(--faint); text-decoration: line-through; }
.hcard__new { font-size: 3rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: var(--acc); }
.hcard__preset { text-align: center; position: relative; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.04em; color: var(--dim2); margin-bottom: 24px; }
.hcard__meterrow { display: flex; justify-content: space-between; margin-bottom: 9px; font-family: var(--mono); font-size: 0.72rem; }
.hcard__meterrow span:first-child { color: var(--dim2); letter-spacing: 0.06em; }
.hcard__meterrow span:last-child { color: var(--acc); font-weight: 600; }
.hcard__track { height: 12px; border-radius: 999px; background: rgba(255,255,255,0.06); overflow: hidden; }
.hcard__bar { height: 100%; width: 87%; border-radius: 999px; background: linear-gradient(90deg, #a8d400, #ccff00); transition: width 1.4s var(--ease); }

/* ---- Trust stats ---- */
.stats { max-width: var(--wrap); margin-inline: auto; padding: 10px 34px 40px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; overflow: hidden; }
.stats__grid > div { background: var(--panel); padding: 24px 22px; }
.stats__num { font-size: 2.2rem; font-weight: 700; letter-spacing: -0.03em; }
.stats__num--acc { color: var(--acc); }
.stats__label { font-size: 0.84rem; color: var(--dim2); margin-top: 4px; }

/* ---- Compress & send flow ---- */
.flow { position: relative; border-radius: 20px; border: 1px solid var(--line); background: rgba(14,16,20,0.7); backdrop-filter: blur(18px); box-shadow: 0 40px 90px -40px rgba(0,0,0,0.8); padding: 46px 40px; overflow: hidden; }
.flow__grid { position: relative; display: grid; grid-template-columns: 1.32fr 0.88fr; gap: 22px; align-items: stretch; }
.composer { position: relative; border-radius: 16px; background: var(--panel2); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.composer__bar { display: flex; align-items: center; gap: 9px; padding: 12px 15px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.composer__bar b { margin-left: 6px; font-size: 0.84rem; color: #c9cdc6; font-weight: 600; }
.composer__bar .tag { margin-left: auto; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--faint); }
.dot-r, .dot-y, .dot-g { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #ff5f57; } .dot-y { background: #febc2e; } .dot-g { background: #28c840; }
.composer__fields { padding: 2px 15px; }
.composer__field { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.9rem; }
.composer__field span:first-child { color: var(--faint); width: 60px; flex-shrink: 0; }
.composer__body { padding: 13px 15px 0; flex: 1; }
.composer__body > p { font-size: 0.9rem; color: #949892; line-height: 1.5; margin-bottom: 13px; }
.att-card { position: relative; border-radius: 12px; border: 1px solid rgba(224,86,63,0.4); background: rgba(224,86,63,0.05); padding: 12px; overflow: hidden; transition: border-color 0.5s, background 0.5s; }
.scan { position: absolute; top: 0; bottom: 0; left: 0; width: 64px; transform: translateX(-90px); background: linear-gradient(90deg, transparent, rgba(204,255,0,0.55), transparent); opacity: 0; pointer-events: none; }
.att-row { display: flex; align-items: center; gap: 11px; position: relative; }
.pdf-thumb { width: 40px; height: 48px; flex-shrink: 0; border-radius: 7px; background: linear-gradient(180deg, #f6f7f4, #e2e5df); box-shadow: 0 6px 14px rgba(0,0,0,0.4); display: flex; flex-direction: column; gap: 3px; padding: 7px 6px; }
.pdf-thumb b { height: 9px; width: 22px; border-radius: 3px; background: #14161a; display: grid; place-items: center; color: var(--acc); font-family: var(--mono); font-size: 6px; font-weight: 700; }
.pdf-thumb i { height: 2.5px; border-radius: 2px; background: #c7cabf; display: block; }
.att-name { flex: 1; min-width: 0; }
.att-name > div:first-child { font-size: 0.9rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.att-name .odo { font-family: var(--mono); font-size: 0.8rem; color: var(--dim); margin-top: 2px; font-variant-numeric: tabular-nums; }
.att-badge { flex-shrink: 0; font-family: var(--mono); font-size: 0.72rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--acc); color: var(--bg); box-shadow: 0 6px 16px rgba(204,255,0,0.45); opacity: 0; transform: scale(0.4); transition: opacity 0.4s, transform 0.45s cubic-bezier(0.34,1.56,0.64,1); }
.meter { margin-top: 13px; position: relative; }
.meter__track { position: relative; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.08); }
.meter__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 96%; border-radius: 999px; background: linear-gradient(90deg, #c9452f, #e0563f); transition: width 1s var(--ease), background 0.6s; }
.meter__marker { position: absolute; left: 50%; top: -5px; bottom: -5px; width: 2px; border-radius: 2px; background: rgba(255,255,255,0.55); }
.meter__labels { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-family: var(--mono); font-size: 0.68rem; }
.meter__labels .lbl { color: var(--red); transition: color 0.4s; }
.meter__labels .max { color: var(--faint); }
.composer__foot { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border-top: 1px solid rgba(255,255,255,0.07); margin-top: 13px; }
.composer__status { font-family: var(--mono); font-size: 0.72rem; color: var(--red); transition: color 0.4s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.send-btn { margin-left: auto; flex-shrink: 0; font-weight: 600; font-size: 0.9rem; padding: 9px 20px; border-radius: 999px; border: none; cursor: default; background: rgba(255,255,255,0.06); color: var(--faint); transition: color 0.4s, background 0.4s; }
/* right rail */
.rail { display: flex; flex-direction: column; gap: 11px; }
.actor { border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,0.03); padding: 13px 14px; display: flex; align-items: center; gap: 11px; transition: border-color 0.4s, background 0.4s; }
.actor img { width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0; }
.actor__name { font-weight: 600; font-size: 0.94rem; }
.actor__status { font-family: var(--mono); font-size: 0.7rem; color: var(--faint); transition: color 0.3s; white-space: nowrap; }
.actor__dot { margin-left: auto; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: #3a3d38; transition: background 0.3s, box-shadow 0.3s; }
.rail__label { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: #919790; padding: 6px 2px 2px; }
.receipt { border-radius: 13px; background: rgba(255,255,255,0.03); border: 1px solid var(--line); padding: 12px 13px; display: flex; align-items: center; gap: 11px; opacity: 0.45; transition: opacity 0.4s, border-color 0.4s, background 0.4s, transform 0.4s; }
.receipt__ic { width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: rgba(204,255,0,0.12); border: 1px solid rgba(204,255,0,0.28); }
.receipt__ic svg { width: 18px; height: 18px; }
.receipt__t { flex: 1; min-width: 0; }
.receipt__t > div:first-child { font-weight: 600; font-size: 0.9rem; }
.receipt__t > div:last-child { font-family: var(--mono); font-size: 0.68rem; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.receipt__check { flex-shrink: 0; opacity: 0; transform: scale(0.4); transition: opacity 0.3s, transform 0.4s cubic-bezier(0.34,1.56,0.64,1); }
.receipt__check svg { width: 18px; height: 18px; }
.plane { position: absolute; top: 0; left: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--acc); display: grid; place-items: center; box-shadow: 0 8px 22px rgba(204,255,0,0.5); opacity: 0; pointer-events: none; z-index: 6; transform: translate(-100px,-100px); }
.plane svg { width: 15px; height: 15px; }

/* ---- Theme duo ---- */
.duo { position: relative; max-width: 1200px; margin: 0 auto; height: clamp(330px, 44vw, 600px); perspective: 1800px; }
.duo__glow { position: absolute; top: 50%; left: 50%; width: 58%; height: 66%; transform: translate(-50%,-50%); background: radial-gradient(ellipse at center, rgba(204,255,0,0.22), transparent 68%); filter: blur(34px); pointer-events: none; z-index: 0; }
.win { position: absolute; margin: 0; transform-style: preserve-3d; will-change: transform; opacity: 0; cursor: pointer; }
.win img { width: 100%; height: auto; pointer-events: none; }
.win--dark { left: 0; top: 11%; width: 62%; transform: translateX(-60px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.4s; z-index: 2; filter: drop-shadow(0 32px 60px rgba(0,0,0,0.55)); }
.win--light { right: 0; top: 0; width: 64%; transform: translateX(60px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.4s; z-index: 3; filter: drop-shadow(0 46px 80px rgba(0,0,0,0.7)); }
.win__tag { position: absolute; left: 18px; bottom: 16px; display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.13em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.win__tag svg { width: 11px; height: 11px; }
.win__tag--dark { background: rgba(8,9,10,0.72); color: var(--acc); border: 1px solid rgba(204,255,0,0.4); }
.win__tag--light { background: rgba(255,255,255,0.9); color: #14161a; font-weight: 600; }
.duo-hint { text-align: center; margin-top: 26px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.05em; color: var(--faint); }

/* ---- Organize ---- */
.org-head { max-width: 660px; margin-bottom: 30px; }
.org-head p strong { color: #cfd2c8; }
.org-tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.org-tab { font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.04em; text-transform: uppercase; padding: 9px 18px; border-radius: 999px; background: rgba(255,255,255,0.04); color: var(--dim); border: 1px solid rgba(255,255,255,0.12); cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.org-tab.is-active { background: var(--acc); color: var(--bg); border-color: var(--acc); }
.org-stage { position: relative; border-radius: 18px; border: 1px solid var(--line); background: rgba(14,16,20,0.7); backdrop-filter: blur(14px); overflow: hidden; }
.org-panel { padding: 26px; }
.deck { position: relative; height: 176px; touch-action: pan-y; }
.deck-hint { margin-top: 18px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--faint); }
.deck-hint span { color: var(--dim); }
.split-row { position: relative; display: flex; align-items: center; justify-content: center; height: 120px; }
.split-tags { display: flex; justify-content: center; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.split-tag { font-family: var(--mono); font-size: 0.78rem; padding: 8px 14px; border-radius: 999px; }
.split-tag--a { background: rgba(204,255,0,0.1); border: 1px solid rgba(204,255,0,0.35); color: var(--acc); }
.split-tag--b { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); color: var(--dim); }
.split-hint { text-align: center; margin-top: 12px; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.04em; color: var(--faint); }
.merge-row { display: flex; align-items: center; justify-content: center; gap: 18px; height: 120px; }
.merge-a, .merge-b { position: relative; width: 80px; height: 96px; transition: opacity 0.55s, transform 0.6s var(--ease); }
.merge-m { position: relative; width: 92px; height: 104px; opacity: 0; transform: scale(0.7); transition: opacity 0.55s, transform 0.6s cubic-bezier(0.34,1.56,0.64,1); }
.merge-plus { font-size: 1.3rem; color: var(--faint); transition: opacity 0.4s; }
.merge-eq { font-size: 1.1rem; color: var(--faint); }
.merge-go-row { text-align: center; margin-top: 14px; }
.merge-go { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.03em; padding: 10px 20px; border-radius: 999px; background: var(--acc); color: var(--bg); border: none; cursor: pointer; font-weight: 600; }

/* ---- Presets ---- */
.presets-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.presets-list { list-style: none; display: grid; gap: 13px; margin-top: 26px; }
.presets-list li { display: flex; gap: 11px; align-items: flex-start; color: #cfd2c8; font-size: 0.98rem; }
.check { flex-shrink: 0; width: 19px; height: 19px; border-radius: 6px; background: rgba(204,255,0,0.15); border: 1px solid rgba(204,255,0,0.4); display: grid; place-items: center; margin-top: 2px; }
.check svg { width: 10px; height: 10px; }
.inspector { border-radius: 20px; padding: 1px; background: linear-gradient(150deg, rgba(204,255,0,0.45), rgba(255,255,255,0.05), rgba(168,212,0,0.3)); box-shadow: 0 40px 90px -40px rgba(0,0,0,0.8); }
.inspector__inner { border-radius: 19px; background: var(--panel); padding: 22px; }
.insp-card-head { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.insp-card-head svg { width: 17px; height: 17px; }
.insp-card-head span { font-weight: 600; font-size: 0.98rem; }
.preset-row { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 11px 13px; border-radius: 12px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.07); cursor: pointer; transition: background 0.2s, border-color 0.2s; color: inherit; }
.preset-list { display: flex; flex-direction: column; gap: 6px; }
.radio { flex-shrink: 0; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.25); transition: border-color 0.2s, box-shadow 0.2s; }
.preset-row__t { display: flex; flex-direction: column; gap: 1px; }
.preset-row__t b { font-weight: 600; font-size: 0.94rem; }
.preset-row__t span { font-family: var(--mono); font-size: 0.72rem; color: var(--faint); }
.insp-images { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 16px; padding-top: 16px; }
.insp-q-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 11px; }
.insp-q-row span:first-child { font-size: 0.9rem; color: #cfd2c8; }
.insp-q-row .qval { font-family: var(--mono); font-size: 0.86rem; color: var(--acc); font-weight: 500; }
.q-slider { position: relative; height: 26px; cursor: ew-resize; touch-action: none; display: flex; align-items: center; margin-bottom: 16px; }
.q-slider__track { position: absolute; left: 0; right: 0; height: 5px; border-radius: 999px; background: rgba(255,255,255,0.09); }
.q-slider__fill { position: absolute; left: 0; height: 5px; width: 70%; border-radius: 999px; background: linear-gradient(90deg, #a8d400, #ccff00); }
.q-slider__thumb { position: absolute; left: 70%; width: 18px; height: 18px; border-radius: 50%; background: var(--acc); transform: translateX(-50%); box-shadow: 0 3px 10px rgba(0,0,0,0.4); }
.insp-row { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-top: 1px solid rgba(255,255,255,0.06); gap: 10px; flex-wrap: wrap; }
.insp-row span.lab { font-size: 0.9rem; color: #cfd2c8; }
.res-opts { display: flex; align-items: center; gap: 5px; }
.res-opt { font-family: var(--mono); font-size: 0.8rem; padding: 5px 9px; border-radius: 8px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: var(--dim); cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.res-unit { font-family: var(--mono); font-size: 0.78rem; color: var(--faint); }
.color-pill { font-family: var(--mono); font-size: 0.84rem; padding: 5px 11px; border-radius: 8px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); }
.insp-result { margin-top: 18px; padding: 13px 15px; border-radius: 12px; background: rgba(204,255,0,0.06); border: 1px solid rgba(204,255,0,0.28); font-family: var(--mono); font-size: 0.9rem; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }

/* ---- Terminal ---- */
.term-card { border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.09); background: rgba(11,13,17,0.7); backdrop-filter: blur(16px); }
.term-card__head { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,0.07); flex-wrap: wrap; }
.term-card__head .caption { font-size: 0.9rem; color: var(--dim); }
.term-card__head .caption span { color: var(--faint); }
.term { font-family: var(--mono); font-size: clamp(0.74rem, 1.4vw, 0.92rem); line-height: 1.85; padding: 22px; min-height: 190px; color: #cfd2c8; }

/* ---- Pricing ---- */
.pricing { position: relative; padding: 20px 34px 130px; }
.price-card { max-width: 440px; margin: 0 auto; }
.price-card__inner { position: relative; border-radius: 23px; background: rgba(14,16,20,0.95); backdrop-filter: blur(22px); padding: 40px 36px; text-align: center; overflow: hidden; }
.price-card img { width: 76px; height: 76px; border-radius: 18px; filter: drop-shadow(0 14px 24px rgba(0,0,0,0.5)); margin: 0 auto 16px; }
.price-card__name { font-size: 1.06rem; font-weight: 600; margin-bottom: 14px; }
.price-card__price { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin-bottom: 26px; }
.price-card__price b { font-size: 3.6rem; font-weight: 700; letter-spacing: -0.04em; color: var(--acc); }
.price-card__price span { font-size: 0.86rem; color: var(--faint); }
.price-features { list-style: none; text-align: left; display: grid; gap: 12px; margin-bottom: 30px; }
.price-features li { display: flex; gap: 11px; align-items: flex-start; color: #cfd2c8; font-size: 0.96rem; }
.price-features li span { flex-shrink: 0; color: var(--acc); margin-top: 2px; }
.price-card__cta { width: 100%; justify-content: center; padding: 15px; }
.price-card__trust { font-size: 0.78rem; color: var(--dim); margin-top: 14px; line-height: 1.5; }
.price-card__fine { font-size: 0.76rem; color: var(--dim2); margin-top: 8px; }

/* ---- Footer ---- */
.footer { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,0.09); padding: 44px 34px; }
.footer__inner { max-width: var(--wrap); margin-inline: auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer__brand { display: flex; align-items: center; gap: 11px; }
.footer__brand img { width: 28px; height: 28px; border-radius: 7px; }
.footer__brand b { font-weight: 700; }
.footer__back { font-family: var(--mono); font-size: 0.72rem; color: var(--faint); margin-left: 8px; transition: color 0.2s; }
.footer__back:hover { color: var(--acc); }
.footer__copy { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.04em; color: var(--faint); }

/* ---- Reveal ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 130px; }
  .hcard-wrap { order: -1; }
  .presets-grid { grid-template-columns: 1fr; gap: 40px; }
  .flow__grid { grid-template-columns: 1fr; }
  .nav__links { display: none; }
}
@media (max-width: 640px) {
  .section, .pricing { padding-left: 22px; padding-right: 22px; }
  .hero { padding: 120px 22px 60px; }
  .nav__inner { padding: 14px 22px; gap: 12px; }
  .nav__back img { height: 20px; }
  .nav__brand span { display: none; }
  .stats { padding-left: 22px; padding-right: 22px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .flow { padding: 26px 18px; }
  .win--dark, .win--light { width: 74%; }
  .win--dark { top: 16%; }
  .footer__copy { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .hcard__icon img { animation: none; }
}
