/* blixa.dev — same night palette and block buttons as the Reaper Scripts store, with the blx blue. */
@font-face { font-family: "Bricolage Grotesque"; src: url(/fonts/bricolage.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Manrope"; src: url(/fonts/manrope.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(/fonts/jetbrains-mono.woff2) format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --night: #08080a; --deep: #0f0f12; --raise: #16161a; --raise-2: #1d1d22; --edge: #1d1d22; --edge-2: #2a2a31;
  --ink: #f4f4f6; --ink-2: #a3a3ad; --ink-3: #6f6f7a;
  --blue: #4c8dff; --blue-hi: #6fa3ff; --blue-lo: #2f62cc;
  --hood: #7c5cf0; --hood-hi: #9a7dff; --hood-lo: #4f35c8;
  --good: #5eb0ff; --warn: #fbbf24;
  --r-s: 10px; --r-m: 14px; --r-l: 18px;
  --f-display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--night); color: var(--ink); }
body { font-family: var(--f-body); font-size: 15.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
code { font-family: var(--f-mono); font-size: 0.86em; background: var(--raise); border: 1px solid var(--edge); padding: 1px 6px; border-radius: 6px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
::selection { background: color-mix(in srgb, var(--blue) 40%, transparent); }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--ink-3); }
.sub { color: var(--ink-2); }

/* top bar */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--night) 82%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--edge); }
.top-in { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-display); font-weight: 800; font-size: 20px; letter-spacing: -0.03em; }
.brand em { font-style: normal; font-weight: 500; color: var(--ink-3); margin-left: -6px; }
.brand.small { font-size: 16px; gap: 7px; }
.logo { color: #e6e8eb; flex: none; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 7px 12px; border-radius: var(--r-s); color: var(--ink-2); font-weight: 600; font-size: 14.5px; }
.nav a:hover { color: var(--ink); background: var(--raise); }
.top-right { margin-left: auto; }

/* buttons: blocks that press down */
.btn { --face: var(--raise); --lip: #0a0c18; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px;
  border-radius: var(--r-s); font: inherit; font-size: 14.5px; font-weight: 700; white-space: nowrap; color: var(--ink); background: var(--face);
  border: 1px solid var(--edge-2); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 3px 0 var(--lip); transition: transform .06s, box-shadow .06s, background .12s; }
.btn:hover { --face: #20232c; }
.btn:active { transform: translateY(3px); box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 0 0 var(--lip); }
.btn.primary { --face: var(--blue); --lip: var(--blue-lo); color: #fff; border-color: #7aa9ff; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 3px 0 var(--lip), 0 10px 30px -10px rgba(76,141,255,.6); }
.btn.primary:hover { --face: var(--blue-hi); }
.btn.violet { --face: var(--hood); --lip: var(--hood-lo); color: #fff; border-color: #8f82ff; box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 3px 0 var(--lip), 0 10px 30px -10px rgba(124,92,240,.7); }
.btn.violet:hover { --face: var(--hood-hi); }
.btn.ghost { --face: transparent; --lip: transparent; border-color: transparent; box-shadow: none; color: var(--ink-2); }
.btn.ghost:hover { --face: var(--raise); color: var(--ink); }
.btn.small { height: 36px; padding: 0 14px; font-size: 13.5px; }
.btn.big { height: 52px; padding: 0 26px; font-size: 16px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* labels */
.badge { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 99px; font-size: 13px; font-weight: 700;
  color: var(--blue-hi); border: 1px solid color-mix(in srgb, var(--blue) 45%, transparent); background: color-mix(in srgb, var(--blue) 8%, transparent); margin-bottom: 24px; }
.kicker { display: inline-block; font: 600 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--blue-hi); margin-bottom: 12px; }
.kicker.violet { color: var(--hood-hi); margin-bottom: 6px; }
.pill { display: inline-flex; align-items: center; gap: 7px; height: 25px; padding: 0 10px; border-radius: 99px; font-size: 12.5px; font-weight: 700; white-space: nowrap;
  border: 1px solid var(--edge-2); color: var(--ink-2); }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: currentColor; }
.pill.good { color: var(--good); border-color: color-mix(in srgb, var(--good) 35%, transparent); background: color-mix(in srgb, var(--good) 8%, transparent); }
.pill.warn { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 35%, transparent); background: color-mix(in srgb, var(--warn) 8%, transparent); }
.pill.blue { color: var(--blue-hi); border-color: color-mix(in srgb, var(--blue) 40%, transparent); background: color-mix(in srgb, var(--blue) 9%, transparent); }

/* hero */
.hero { position: relative; padding: 88px 0 56px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .4;
  background-image: linear-gradient(var(--edge) 1px, transparent 1px), linear-gradient(90deg, var(--edge) 1px, transparent 1px); background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 35%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 35%, #000 20%, transparent 75%); }
.hero::after { content: ""; position: absolute; width: 700px; height: 700px; right: -120px; top: -260px; pointer-events: none;
  background: radial-gradient(circle, rgba(76,141,255,.16), rgba(124,92,240,.08) 45%, transparent 70%); }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6.4vw, 80px); font-weight: 800; letter-spacing: -.045em; line-height: .98; margin-bottom: 24px; }
.grad { background: linear-gradient(100deg, #ffffff 0%, #c9dbff 40%, var(--blue-hi) 75%, #a993ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--ink-2); font-size: 18.5px; max-width: 540px; margin-bottom: 34px; }
.hero-art { position: relative; justify-self: center; display: grid; place-items: center; width: 340px; height: 340px; }
.hero-art::before { content: ""; position: absolute; inset: 12%; border-radius: 40px; background: linear-gradient(145deg, #15171d, #0c0d11); border: 1px solid var(--edge-2);
  box-shadow: 0 40px 100px -20px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.06), 0 0 80px -10px rgba(76,141,255,.35); transform: rotate(-6deg); }
.orbit { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--blue) 30%, transparent); animation: spin 40s linear infinite; }
.orbit::after { content: ""; position: absolute; top: 14%; left: 12%; width: 10px; height: 10px; border-radius: 3px; background: var(--blue); box-shadow: 0 0 14px var(--blue); }
.logo-big { position: relative; color: #e6e8eb; filter: drop-shadow(0 10px 30px rgba(76,141,255,.35)); animation: bob 4.5s ease-in-out infinite; }
.hero-art .floor { position: absolute; bottom: 44px; width: 40%; height: 14px; border-radius: 50%; background: rgba(0,0,0,.5); filter: blur(7px); }
@keyframes bob { 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }
.facts { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--edge); border-radius: var(--r-l); background: var(--deep); overflow: hidden; position: relative; z-index: 1; }
.facts li { padding: 20px 24px; border-left: 1px solid var(--edge); display: flex; align-items: baseline; gap: 10px; }
.facts li:first-child { border-left: 0; }
.facts b { font-family: var(--f-display); font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.facts span { color: var(--ink-2); font-size: 14px; font-weight: 600; }

/* sections */
.section { padding: 88px 0; }
.section-h { max-width: 640px; margin-bottom: 36px; }
.section-h h2, .band h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -.035em; margin-bottom: 12px; }

/* reaper feature */
.reaper-card { position: relative; display: grid; grid-template-columns: .95fr 1.05fr; gap: 44px; align-items: center; padding: 40px; border-radius: 24px; overflow: hidden;
  background: radial-gradient(800px 400px at 0% 0%, rgba(124,92,240,.16), transparent 60%), var(--deep); border: 1px solid color-mix(in srgb, var(--hood) 30%, var(--edge)); }
.reaper-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.reaper-head h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; letter-spacing: -.035em; }
.mascot { image-rendering: pixelated; filter: drop-shadow(0 0 16px rgba(124,242,224,.28)); flex: none; }
.reaper .sub { font-size: 16.5px; margin-bottom: 22px; }
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.feats div { padding: 14px; border-radius: var(--r-m); background: var(--raise); border: 1px solid var(--edge-2); }
.feats b { display: block; font-size: 14.5px; margin-bottom: 2px; }
.feats span { color: var(--ink-2); font-size: 13.5px; line-height: 1.45; }
.price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 22px; color: var(--ink-2); }
.price b { font-family: var(--f-display); font-size: 26px; color: var(--ink); letter-spacing: -.02em; }
.or { color: var(--ink-3); font-size: 14px; }
.fine { color: var(--ink-3); font-size: 13px; margin-top: 18px; }
.shot { margin: 0; border-radius: var(--r-l); border: 1px solid var(--edge-2); background: var(--night); padding: 8px; box-shadow: 0 50px 120px rgba(3,4,12,.7); transform: perspective(1600px) rotateY(-5deg); }
.shot img { border-radius: 10px; }

/* cards */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--r-l); background: var(--deep); border: 1px solid var(--edge);
  transition: border-color .15s, transform .15s, box-shadow .15s; }
.card:hover { border-color: var(--edge-2); transform: translateY(-3px); box-shadow: 0 24px 50px -24px rgba(0,0,0,.8); }
.card.big { padding: 30px; }
.card p { color: var(--ink-2); font-size: 14.5px; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.card h3 { font-size: 20px; font-weight: 700; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--raise); border: 1px solid var(--edge-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 3px 0 #0a0c18; margin-bottom: 4px; }
.icon svg { width: 22px; height: 22px; fill: none; stroke: var(--blue-hi); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon.blx svg { stroke: none; color: #e6e8eb; }
.mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 13.5px; color: var(--ink-3); }
.mini li { display: flex; gap: 8px; }
.mini li::before { content: ""; width: 5px; height: 5px; margin-top: 9px; border-radius: 2px; background: var(--edge-2); flex: none; }
.more { margin-top: auto; padding-top: 8px; color: var(--blue-hi); font-weight: 700; font-size: 14.5px; }
.more:hover { color: #fff; }
.more.off { color: var(--ink-3); font-weight: 600; }

/* templates band */
.band { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding: 44px; border-radius: 24px; position: relative; overflow: hidden;
  background: radial-gradient(700px 300px at 100% 100%, rgba(76,141,255,.14), transparent 60%), var(--deep); border: 1px solid color-mix(in srgb, var(--blue) 25%, var(--edge)); }
.band-cta { padding: 26px; border-radius: var(--r-l); background: var(--raise); border: 1px solid var(--edge-2); }
.band-cta p { font-weight: 700; margin-bottom: 16px; }

/* footer */
.foot { border-top: 1px solid var(--edge); padding: 30px 0 44px; }
.foot-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 14px; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; margin-left: auto; }
.foot-links a { color: var(--ink-2); }
.foot-links a:hover { color: var(--ink); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .grid4 { grid-template-columns: 1fr 1fr; }
  .reaper-card { grid-template-columns: 1fr; padding: 28px; }
  .shot { transform: none; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .hero { padding: 56px 0 40px; }
  .hero-in { grid-template-columns: 1fr; gap: 24px; }
  .hero-art { width: 240px; height: 240px; order: -1; justify-self: start; }
  .logo-big { width: 130px; height: 130px; }
  .hero-art .floor { bottom: 28px; }
  .facts { grid-template-columns: 1fr 1fr; margin-top: 44px; }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--edge); }
  .section { padding: 60px 0; }
  .grid4, .grid2 { grid-template-columns: 1fr; }
  .feats { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; padding: 28px; gap: 24px; }
  .reaper-card { padding: 22px; }
  .foot-links { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* plugins: BuiltByBit + custom request */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; }
.split h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.03em; }
.split .kicker { margin: 6px 0 0; }
.card.bbb { background: radial-gradient(600px 260px at 0% 0%, rgba(76,141,255,.14), transparent 60%), var(--deep); border-color: color-mix(in srgb, var(--blue) 25%, var(--edge)); }
.card.custom { background: radial-gradient(500px 260px at 100% 0%, rgba(124,92,240,.12), transparent 60%), var(--deep); }
.split .cta { margin-top: auto; padding-top: 8px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 99px; font-size: 13.5px; font-weight: 700; color: var(--ink);
  background: var(--raise); border: 1px solid var(--edge-2); }
.chip:hover { border-color: var(--blue); color: var(--blue-hi); }

/* request form */
.form { gap: 8px; }
.form fieldset { border: 0; margin: 0; padding: 0 0 22px; display: flex; flex-direction: column; gap: 14px; }
.form fieldset + fieldset { border-top: 1px solid var(--edge); padding-top: 22px; }
.form legend { font-family: var(--f-display); font-weight: 700; font-size: 19px; letter-spacing: -.02em; padding: 0; margin-bottom: 14px; float: left; width: 100%; }
.fields { display: grid; gap: 14px; }
.fields.two { grid-template-columns: 1fr 1fr; }
.fields.three { grid-template-columns: repeat(3, 1fr); }
.field { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; color: var(--ink-2); font-weight: 600; }
.form input:not([type=checkbox]), .form select, .form textarea { font: inherit; font-size: 14.5px; font-weight: 500; color: var(--ink); background: var(--night);
  border: 1px solid var(--edge-2); border-radius: var(--r-s); padding: 10px 13px; width: 100%; outline: none; transition: border-color .12s, box-shadow .12s; }
.form textarea { resize: vertical; min-height: 84px; line-height: 1.5; }
.form select { appearance: none; padding-right: 34px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.form input::placeholder, .form textarea::placeholder { color: var(--ink-3); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 25%, transparent); }
.form .bad { border-color: #f87171 !important; }
.checks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.checks label { display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: var(--r-s); background: var(--raise); border: 1px solid var(--edge-2);
  color: var(--ink); font-weight: 600; font-size: 13.5px; cursor: pointer; }
.checks label:has(input:checked) { border-color: var(--blue); background: color-mix(in srgb, var(--blue) 10%, var(--raise)); }
.form input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--blue); flex: none; margin: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 14px; }
.consent input { margin-top: 3px !important; }
.consent a { color: var(--blue-hi); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 10px; }
.form-msg { font-weight: 600; font-size: 14.5px; }
.form-msg.ok { color: var(--blue-hi); }
.form-msg.err { color: #f87171; }
.form button[disabled] { opacity: .6; pointer-events: none; }
.sent { text-align: center; padding: 48px 24px; }
.sent h3 { font-size: 26px; margin: 14px 0 8px; }

@media (max-width: 1000px) { .checks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .split, .fields.two, .fields.three { grid-template-columns: 1fr; }
}
@media (max-width: 420px) { .checks { grid-template-columns: 1fr; } }

/* simple text pages (privacy) */
.page { max-width: 760px; padding: 64px 24px 88px; }
.page h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 800; letter-spacing: -.035em; margin-bottom: 18px; }
.page h2 { font-size: 21px; margin: 30px 0 10px; }
.page p, .page li { color: var(--ink-2); }
.page a { color: var(--blue-hi); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.page .back { margin-top: 28px; }

/* ---------- no text selection (form fields stay selectable) */
body { -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
input, textarea { -webkit-user-select: text; user-select: text; }
img, svg { -webkit-user-drag: none; }
html.lock { overflow: hidden; }

/* ---------- popup */
.modal { padding: 0; border: 0; background: transparent; color: var(--ink); max-width: min(720px, calc(100vw - 24px)); width: 100%; max-height: calc(100dvh - 32px); overflow: visible; }
.modal::backdrop { background: rgba(4, 5, 10, .72); backdrop-filter: blur(6px); }
.modal[open] { animation: modal-in .22s cubic-bezier(.2,.9,.3,1.2); }
.modal[open]::backdrop { animation: fade-in .2s ease; }
.modal.closing { animation: modal-out .16s ease forwards; }
.modal.closing::backdrop { animation: fade-out .16s ease forwards; }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.97); } }
@keyframes modal-out { to { opacity: 0; transform: translateY(10px) scale(.97); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
.modal-box { display: flex; flex-direction: column; max-height: calc(100dvh - 32px); border-radius: 22px; background: var(--deep); border: 1px solid var(--edge-2);
  box-shadow: 0 40px 120px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.02), 0 0 80px -30px rgba(76,141,255,.45);
  background-image: radial-gradient(600px 200px at 0% 0%, rgba(76,141,255,.10), transparent 60%); }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 24px 26px 6px; }
.modal-head .kicker { margin-bottom: 8px; }
.modal-head h2 { font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.x { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--raise); border: 1px solid var(--edge-2); color: var(--ink-2); cursor: pointer;
  transition: background .12s, color .12s, transform .12s; }
.x:hover { color: var(--ink); background: var(--raise-2); transform: rotate(90deg); }
.x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 26px 4px; padding: 0; counter-reset: s; }
.steps li { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink-3); padding-top: 10px; border-top: 3px solid var(--edge-2); transition: color .2s, border-color .2s; }
.steps li span { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 7px; background: var(--raise); border: 1px solid var(--edge-2); font-size: 12px; transition: all .2s; }
.steps li.on { color: var(--ink); border-color: var(--blue); }
.steps li.on span { background: var(--blue); border-color: var(--blue-hi); color: #fff; box-shadow: 0 0 14px rgba(76,141,255,.55); }
.steps li.done { color: var(--ink-2); border-color: color-mix(in srgb, var(--blue) 50%, var(--edge-2)); }
.steps li.done span { color: var(--blue-hi); border-color: color-mix(in srgb, var(--blue) 50%, var(--edge-2)); }

.modal .form { display: flex; flex-direction: column; min-height: 0; flex: 1; gap: 0; }
.modal-body { overflow-y: auto; overscroll-behavior: contain; padding: 18px 26px 22px; min-height: 0; flex: 1; scrollbar-width: thin; scrollbar-color: var(--edge-2) transparent; }
.modal .step { display: none; border: 0 !important; padding: 0 !important; margin: 0; gap: 16px; flex-direction: column; }
.modal .step.on { display: flex; animation: step-in .22s ease; }
@keyframes step-in { from { opacity: 0; transform: translateX(12px); } }
.modal .step legend { display: none; }
.modal-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 26px 22px; border-top: 1px solid var(--edge); }
.modal-foot .cta { margin-left: auto; }
.modal-foot [hidden] { display: none !important; }
.sent { text-align: center; padding: 40px 26px 34px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.sent h3 { font-size: 26px; margin: 6px 0 0; }
.sent .btn { margin-top: 16px; }
.sent-ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: color-mix(in srgb, var(--blue) 15%, var(--raise)); border: 1px solid var(--blue);
  box-shadow: 0 0 40px -6px rgba(76,141,255,.6); animation: pop-in .35s cubic-bezier(.2,.9,.3,1.4); }
.sent-ico svg { width: 30px; height: 30px; fill: none; stroke: var(--blue-hi); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw .4s .15s ease forwards; }
@keyframes pop-in { from { transform: scale(.6); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- custom dropdown */
.sel { position: relative; }
.sel .native { position: absolute; inset: 0; opacity: 0; pointer-events: none; width: 100%; height: 100%; }
.sel-btn { width: 100%; height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 12px 0 14px; border-radius: var(--r-s);
  background: var(--night); border: 1px solid var(--edge-2); color: var(--ink); font: inherit; font-size: 14.5px; font-weight: 600; text-align: left; cursor: pointer;
  transition: border-color .12s, box-shadow .12s, background .12s; }
.sel-btn:hover { border-color: #3a3a44; background: #0b0b0e; }
.sel-btn.empty .sel-label { color: var(--ink-3); font-weight: 500; }
.sel-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sel-chev { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--ink-3); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s; }
.sel.open .sel-btn, .sel-btn:focus-visible { border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 25%, transparent); outline: none; }
.sel.open .sel-chev { transform: rotate(180deg); stroke: var(--blue-hi); }
.sel-btn.bad { border-color: #f87171; }
.sel-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; max-height: 260px; overflow-y: auto;
  background: var(--raise); border: 1px solid var(--edge-2); border-radius: 12px; box-shadow: 0 24px 60px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top; transition: opacity .14s, transform .14s, visibility .14s; }
.sel.up .sel-list { top: auto; bottom: calc(100% + 6px); transform-origin: bottom; transform: translateY(6px) scale(.98); }
.sel.open .sel-list { opacity: 1; visibility: visible; transform: none; }
.sel-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 10px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.sel-list li.hi, .sel-list li:hover { background: var(--raise-2); color: var(--ink); }
.sel-list li.on { color: var(--blue-hi); }
.sel-list li.on::after { content: ""; width: 10px; height: 6px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg) translateY(-2px); flex: none; }

/* ---------- toggle chips */
.toggles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.tog { position: relative; cursor: pointer; }
.tog input { position: absolute; opacity: 0; pointer-events: none; }
.tog span { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 10px; border-radius: 99px; background: var(--raise); border: 1px solid var(--edge-2);
  color: var(--ink-2); font-size: 13.5px; font-weight: 700; transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .08s; }
.tog span::before { content: ""; width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid #3a3a44; background: var(--night) center / 12px no-repeat; transition: all .15s; }
.tog:hover span { border-color: #3a3a44; color: var(--ink); }
.tog:active span { transform: scale(.97); }
.tog input:checked + span { color: #fff; border-color: var(--blue); background: color-mix(in srgb, var(--blue) 16%, var(--raise)); box-shadow: 0 0 18px -6px rgba(76,141,255,.7); }
.tog input:checked + span::before { background-color: var(--blue); border-color: var(--blue-hi);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.tog input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ---------- switch (consent) */
.switch { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; padding: 14px; border-radius: var(--r-m); background: var(--raise); border: 1px solid var(--edge-2); transition: border-color .15s; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch .track { flex: none; position: relative; width: 44px; height: 26px; border-radius: 99px; background: #2a2a31; border: 1px solid #34343c; transition: background .2s, border-color .2s; margin-top: 1px; }
.switch .knob { position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #d9dbe1; box-shadow: 0 2px 6px rgba(0,0,0,.4); transition: transform .2s cubic-bezier(.3,1.4,.5,1); }
.switch input:checked + .track { background: var(--blue); border-color: var(--blue-hi); box-shadow: 0 0 16px -4px rgba(76,141,255,.7); }
.switch input:checked + .track .knob { transform: translateX(18px); background: #fff; }
.switch input:focus-visible + .track { outline: 2px solid var(--blue); outline-offset: 2px; }
.switch-text { color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.switch-text a { color: var(--blue-hi); }
.switch.bad { border-color: #f87171; }

@media (max-width: 600px) {
  .modal { max-width: 100vw; margin: auto 0 0; max-height: 92dvh; }
  .modal-box { border-radius: 22px 22px 0 0; max-height: 92dvh; }
  .modal[open] { animation: sheet-in .26s cubic-bezier(.2,.9,.3,1); }
  @keyframes sheet-in { from { transform: translateY(40px); opacity: 0; } }
  .modal-head, .modal-body, .modal-foot { padding-left: 18px; padding-right: 18px; }
  .steps { margin: 12px 18px 2px; }
  .steps li { font-size: 0; gap: 0; }
  .modal .fields.two { grid-template-columns: 1fr; }
}

/* ---------- request form: expands under the plugin cards */
.req-drop { display: grid; grid-template-rows: 0fr; margin-top: 0; transition: grid-template-rows .42s cubic-bezier(.2,.8,.2,1), margin-top .42s ease; }
.req-drop.open { grid-template-rows: 1fr; margin-top: 16px; }
.req-clip { min-height: 0; overflow: hidden; }
.req-drop.open .req-clip { animation: clip-free 0s .42s forwards; } /* let dropdown lists overflow once it's fully open */
@keyframes clip-free { to { overflow: visible; } }
.req-drop .modal-box { max-height: none; opacity: 0; transform: translateY(-10px); transition: opacity .3s ease, transform .35s ease; }
.req-drop.open .modal-box { opacity: 1; transform: none; transition-delay: .08s; }
.req-drop .modal-body { overflow: visible; }
.req-drop .form { display: flex; flex-direction: column; gap: 0; }
.req-drop .step { display: none; border: 0 !important; padding: 0 !important; margin: 0; gap: 16px; flex-direction: column; }
.req-drop .step.on { display: flex; animation: step-in .22s ease; }
.req-drop .step legend { display: none; }
.req-drop .modal-foot [hidden] { display: none !important; }
.req-drop .fields.two { grid-template-columns: 1fr 1fr; }
.btn .chev { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; margin-right: -4px; }
.req-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.card.custom { scroll-margin-top: 90px; }
.req-drop { scroll-margin-top: 84px; }
@media (max-width: 600px) {
  .req-drop .modal-head, .req-drop .modal-body, .req-drop .modal-foot { padding-left: 18px; padding-right: 18px; }
  .req-drop .steps { margin: 12px 18px 2px; }
  .req-drop .steps li { font-size: 0; gap: 0; }
  .req-drop .fields.two { grid-template-columns: 1fr; }
}
.req-drop:not(.open) .req-clip { visibility: hidden; transition: visibility 0s .42s; }

/* ---------- shared login: account button in the top bar */
.top-right { display: flex; align-items: center; gap: 10px; }
.acct { position: relative; }
.acct-btn { display: inline-flex; align-items: center; gap: 9px; height: 38px; padding: 0 10px 0 5px; border-radius: 99px; border: 1px solid var(--edge-2); background: var(--raise);
  color: var(--ink); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; transition: border-color .12s; }
.acct-btn:hover, .acct.open .acct-btn { border-color: var(--blue); }
.acct-btn .chev { width: 16px; height: 16px; fill: none; stroke: var(--ink-3); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.acct.open .acct-btn .chev { transform: rotate(180deg); }
.ava { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--hood)); }
.acct-name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-menu { position: absolute; right: 0; top: calc(100% + 10px); width: 250px; padding: 6px; background: var(--deep); border: 1px solid var(--edge-2); border-radius: var(--r-m);
  box-shadow: 0 24px 60px rgba(0,0,0,.6); opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top right;
  transition: opacity .14s, transform .14s, visibility .14s; z-index: 40; }
.acct.open .acct-menu { opacity: 1; visibility: visible; transform: none; }
.acct-head { padding: 10px 10px 12px; border-bottom: 1px solid var(--edge); margin-bottom: 4px; }
.acct-head b { display: block; font-size: 15px; }
.acct-head span { display: block; color: var(--ink-3); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-menu a, .acct-menu button { display: block; width: 100%; text-align: left; padding: 9px 10px; border-radius: 8px; font: inherit; font-size: 14px; font-weight: 600;
  color: var(--ink-2); background: none; border: 0; cursor: pointer; }
.acct-menu a:hover, .acct-menu button:hover { background: var(--raise); color: var(--ink); }
.acct-menu .acct-out:hover { color: #f87171; }
.signed-in { margin: 0 0 2px; padding: 10px 14px; border-radius: var(--r-s); background: color-mix(in srgb, var(--blue) 10%, var(--raise)); border: 1px solid color-mix(in srgb, var(--blue) 35%, var(--edge-2));
  color: var(--ink-2); font-size: 14px; }
.signed-in b { color: var(--ink); }
.other-field[hidden] { display: none; }
.other-field:not([hidden]) { animation: step-in .2s ease; }
@media (max-width: 760px) { .acct-name { display: none; } .acct-btn { padding-right: 8px; } }

/* ---------- language menu (shared with reaper.blixa.dev through the "lang" cookie) */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px; border-radius: 10px; border: 1px solid transparent; background: none; color: var(--ink-2);
  font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: background .12s, color .12s, border-color .12s; }
.lang-btn:hover, .lang.open .lang-btn { background: var(--raise); color: var(--ink); border-color: var(--edge-2); }
.lang-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lang-btn .chev { width: 14px; height: 14px; stroke-width: 2.4; transition: transform .2s; }
.lang.open .lang-btn .chev { transform: rotate(180deg); }
.lang-list { position: absolute; right: 0; top: calc(100% + 10px); width: 170px; padding: 6px; background: var(--deep); border: 1px solid var(--edge-2); border-radius: var(--r-m);
  box-shadow: 0 24px 60px rgba(0,0,0,.6); opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top right; transition: opacity .14s, transform .14s, visibility .14s; z-index: 40; }
.lang.open .lang-list { opacity: 1; visibility: visible; transform: none; }
.lang-list button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 9px 10px; border-radius: 8px; border: 0; background: none; color: var(--ink-2);
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-align: left; }
.lang-list button:hover { background: var(--raise); color: var(--ink); }
.lang-list button[aria-checked="true"] { color: var(--blue-hi); }
.lang-list button[aria-checked="true"]::after { content: ""; width: 10px; height: 6px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg) translateY(-2px); }
.acct { display: flex; align-items: center; gap: 8px; }
@media (max-width: 520px) { .acct .btn:not(#login-link) { display: none; } .lang-btn b { display: none; } }
