/* Shelvo site. No scripts (the CSP forbids them), so every bit of motion is CSS. */

:root {
  color-scheme: light dark;
  --bg: #fbfbfd;
  --bg-alt: #f2f2f7;
  --surface: #ffffff;
  --text: #0c0c18;
  --muted: #54546a;
  --line: rgba(12, 12, 40, .09);
  --accent: #5b4cf0;
  --accent-2: #2f7cf6;
  --accent-text: #4535d6;
  --shadow: 0 1px 2px rgba(16, 16, 40, .05), 0 12px 32px -12px rgba(16, 16, 60, .16);
  --night: #07061a;
  --night-text: #f3f2ff;
  --night-muted: #b9b6d8;
  --radius: 18px;
  --max: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #09091a;
    --bg-alt: #0f0f22;
    --surface: #15152b;
    --text: #ededf7;
    --muted: #a3a3bf;
    --line: rgba(255, 255, 255, .09);
    --accent: #7c6ff7;
    --accent-text: #aaa1ff;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@supports (overflow-x: clip) { body { overflow-x: clip; } }

a { color: var(--accent-text); text-underline-offset: 3px; }
:focus-visible { outline: 2.5px solid var(--accent-2); outline-offset: 3px; border-radius: 8px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: 10px; background: #fff; color: #000; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

kbd {
  font: 600 .82em/1 var(--font);
  padding: .2em .45em;
  border-radius: 6px;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  background: var(--surface);
  white-space: nowrap;
}

h1, h2, h3 { margin: 0; letter-spacing: -.025em; line-height: 1.08; }
h2 { font-size: clamp(32px, 5vw, 54px); font-weight: 750; letter-spacing: -.035em; max-width: 18ch; text-wrap: balance; }
h3 { font-size: 19px; font-weight: 650; letter-spacing: -.015em; line-height: 1.3; }
p { margin: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20; margin-bottom: -61px;
  background: rgba(7, 6, 26, .72);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  color: var(--night-text);
}
.bar { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -.02em; color: inherit; text-decoration: none; }
.brand-icon {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(140deg, #7c6ff7, #3b82f6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 4px 14px -4px rgba(91, 76, 240, .7);
  color: #fff;
}
.brand-icon svg { width: 18px; height: 18px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: rgba(243, 242, 255, .78); text-decoration: none; font-size: 15px; padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav .nav-cta { color: #0b0a1f; background: #fff; font-weight: 600; margin-left: 6px; }
.nav .nav-cta:hover { color: #0b0a1f; background: #e7e5ff; }
@media (max-width: 640px) { .nav-opt { display: none; } }

/* ---------- Buttons ---------- */
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; padding: 0 24px; border-radius: 14px;
  font: 600 16px/1.2 var(--font); letter-spacing: -.01em; text-decoration: none; text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-apple { width: 15px; height: 18px; margin-top: -3px; }
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #7466ff, #5240ef);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 0 0 1px rgba(82, 64, 239, .6), 0 10px 30px -8px rgba(98, 80, 255, .75);
}
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 0 0 1px rgba(82, 64, 239, .6), 0 14px 40px -8px rgba(98, 80, 255, .95); }
.btn-ghost { color: var(--night-text); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.btn-ghost:hover { background: rgba(255, 255, 255, .11); }
.btn-soft { color: var(--text); background: var(--bg-alt); box-shadow: inset 0 0 0 1px var(--line); }
.btn-soft:hover { box-shadow: inset 0 0 0 1px var(--accent); }
@media (max-width: 420px) { .cta .btn { width: 100%; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--night); color: var(--night-text);
  padding: 148px 0 0;
}
.glow {
  position: absolute; inset: -10% -20% auto; height: 900px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 45% at 30% 30%, rgba(99, 72, 255, .55), transparent 70%),
    radial-gradient(35% 40% at 72% 26%, rgba(59, 130, 246, .42), transparent 70%),
    radial-gradient(30% 35% at 50% 62%, rgba(168, 85, 247, .32), transparent 70%);
  filter: blur(20px);
  animation: drift 18s ease-in-out infinite alternate;
}
.hero::after {
  /* faint grid fading out under the headline */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 55% at 50% 20%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 55% at 50% 20%, #000 20%, transparent 75%);
}
@keyframes drift { to { transform: translate3d(3%, 4%, 0) scale(1.06); } }

.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px;
  padding: 5px 14px 5px 5px; border-radius: 999px; font-size: 14px; color: var(--night-muted);
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.pill { padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 650; color: #fff; background: linear-gradient(90deg, #6d5cff, #3b82f6); }
.hero h1 {
  font-size: clamp(40px, 6.6vw, 86px); font-weight: 800; letter-spacing: -.045em; line-height: 1.02;
  text-wrap: balance;
}
.grad {
  background: linear-gradient(92deg, #b4a9ff 0%, #8fb5ff 45%, #e2a8ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { margin: 26px 0 36px; max-width: 600px; font-size: clamp(17px, 2vw, 20px); line-height: 1.55; color: var(--night-muted); text-wrap: pretty; }
.fine { margin-top: 18px; font-size: 14px; color: rgba(185, 182, 216, .85); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* ---------- Hero stage: a little macOS desktop ---------- */
.stage {
  position: relative; margin: 64px auto 0; max-width: 1040px;
  padding: 10px 10px 0; border-radius: 26px 26px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .03));
  box-shadow: 0 -30px 120px -30px rgba(110, 90, 255, .55);
  animation: rise 1.1s .15s cubic-bezier(.2, .7, .2, 1) both;
}
.stage-in {
  position: relative; container-type: inline-size; aspect-ratio: 16 / 8.9; overflow: hidden;
  border-radius: 18px 18px 0 0;
  background:
    radial-gradient(60% 80% at 15% 100%, rgba(255, 140, 190, .55), transparent 60%),
    radial-gradient(60% 70% at 85% 20%, rgba(96, 165, 250, .6), transparent 60%),
    linear-gradient(160deg, #2a1f6e 0%, #4b2fa3 45%, #7c4dc9 75%, #c56fb7 100%);
  font-family: var(--font);
}
.mbar {
  position: absolute; inset: 0 0 auto; height: 3.4cqw; padding: 0 1.6cqw;
  display: flex; align-items: center; justify-content: space-between;
  font-size: max(9px, 1.35cqw); color: #fff;
  background: rgba(20, 14, 50, .35);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.mbar span, .mbar b { margin-right: 1.8cqw; white-space: nowrap; }
.mbar-l, .mbar-r { display: flex; align-items: center; }
.mbar-r span:last-child { margin-right: 0; }
.mbar-apple { width: 1.3cqw; height: 1.6cqw; margin-right: 2cqw; color: #fff; }
.mbar-shelvo { display: grid; place-items: center; width: 2.7cqw; height: 2.4cqw; border-radius: .5cqw; background: rgba(255, 255, 255, .25); }
.mbar-shelvo svg { width: 1.6cqw; height: 1.6cqw; color: #fff; }

/* tiny fake screenshots, painted with gradients */
.t { display: block; border-radius: 4px; background-repeat: no-repeat; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); }
.t-code { background-color: #1d1b2e; background-image: linear-gradient(#ff7ab2, #ff7ab2), linear-gradient(#7dd3fc, #7dd3fc), linear-gradient(#a3e635, #a3e635), linear-gradient(#c4b5fd, #c4b5fd), linear-gradient(#f87171, #f87171); background-size: 40% 7%, 55% 7%, 35% 7%, 60% 7%, 70% 9%; background-position: 10% 15%, 22% 32%, 22% 49%, 10% 66%, 10% 86%; }
.t-receipt { background-color: #fff; background-image: linear-gradient(#5b4cf0, #5b4cf0), linear-gradient(#d4d4e2, #d4d4e2), linear-gradient(#d4d4e2, #d4d4e2), linear-gradient(#d4d4e2, #d4d4e2), linear-gradient(#22223a, #22223a); background-size: 30% 10%, 80% 6%, 70% 6%, 75% 6%, 40% 9%; background-position: 12% 14%, 12% 38%, 12% 52%, 12% 66%, 88% 88%; }
.t-design { background-color: #fdf2ff; background-image: radial-gradient(circle at 30% 40%, #f472b6 0 18%, transparent 19%), linear-gradient(#60a5fa, #60a5fa), linear-gradient(#fbbf24, #fbbf24), linear-gradient(#c4b5fd, #c4b5fd); background-size: 100% 100%, 38% 30%, 38% 22%, 80% 8%; background-position: 0 0, 88% 22%, 88% 70%, 50% 92%; }
.t-slide { background-color: #3b2a8f; background-image: linear-gradient(#fff, #fff), linear-gradient(rgba(255, 255, 255, .5), rgba(255, 255, 255, .5)), linear-gradient(rgba(255, 255, 255, .5), rgba(255, 255, 255, .5)), linear-gradient(135deg, #f0abfc, #818cf8); background-size: 55% 11%, 45% 6%, 38% 6%, 32% 48%; background-position: 12% 22%, 12% 50%, 12% 64%, 88% 70%; }
.t-paper { background-color: #faf7f0; background-image: linear-gradient(#2a2a3a, #2a2a3a), repeating-linear-gradient(#bdbacb 0 2px, transparent 2px 9%); background-size: 55% 9%, 80% 60%; background-position: 50% 12%, 50% 80%; }
.t-chat { background-color: #eef1f8; background-image: linear-gradient(#d9dde9, #d9dde9), linear-gradient(#3b82f6, #3b82f6), linear-gradient(#d9dde9, #d9dde9), linear-gradient(#3b82f6, #3b82f6); background-size: 50% 14%, 45% 14%, 60% 14%, 35% 14%; background-position: 10% 14%, 90% 36%, 10% 60%, 90% 84%; }

.pile .shot {
  position: absolute; z-index: 3; width: 12.5cqw; text-align: center;
  transform: rotate(var(--r));
  animation: file 12s cubic-bezier(.55, .1, .3, 1) infinite;
}
.shot .t { width: 100%; aspect-ratio: 16 / 11; border: .35cqw solid #fff; border-radius: .5cqw; box-shadow: 0 1.2cqw 2.4cqw -1cqw rgba(10, 5, 40, .55); }
.shot span { display: inline-block; margin-top: .6cqw; padding: .15cqw .6cqw; border-radius: .4cqw; font-size: 1.05cqw; line-height: 1.3; color: #fff; background: rgba(0, 0, 0, .28); text-shadow: 0 1px 2px rgba(0, 0, 0, .4); }
.s1 { left: 5cqw;  top: 6.5cqw;  --r: -6deg; --tx: 54.75cqw; --ty: 4.6cqw;  animation-delay: -10s; }
.s2 { left: 20cqw; top: 9.5cqw; --r: 5deg;  --tx: 39.75cqw; --ty: 6.8cqw; animation-delay: -8s; }
.s3 { left: 8cqw;  top: 20.5cqw; --r: 3deg;  --tx: 51.75cqw; --ty: 1cqw;  animation-delay: -6s; }
.s4 { left: 23cqw; top: 24cqw;   --r: -4deg; --tx: 36.75cqw; --ty: 2.7cqw; animation-delay: -4s; }
.s5 { left: 4cqw;  top: 35cqw;   --r: -2deg; --tx: 55.75cqw; --ty: -3.1cqw; animation-delay: -2s; }
.s6 { left: 19cqw; top: 38.5cqw; --r: 6deg;  --tx: 40.75cqw; --ty: -1.4cqw;  animation-delay: 0s; }
@keyframes file {
  0%   { opacity: 0; transform: rotate(var(--r)) scale(.6); }
  5%   { opacity: 1; transform: rotate(var(--r)) scale(1.04); }
  8%   { transform: rotate(var(--r)) scale(1); }
  52%  { opacity: 1; transform: rotate(var(--r)) scale(1); }
  58%  { opacity: 1; transform: translate(0, -1.2cqw) rotate(0deg) scale(1.08); }
  70%  { opacity: 0; transform: translate(var(--tx), var(--ty)) rotate(0deg) scale(.18); }
  100% { opacity: 0; transform: translate(var(--tx), var(--ty)) rotate(0deg) scale(.18); }
}

.prompt-pop {
  position: absolute; z-index: 2; left: 33cqw; top: 41cqw; width: 23cqw; padding: 1.3cqw 1.4cqw;
  border-radius: 1.4cqw; color: #1b1a2b;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 2cqw 4cqw -1cqw rgba(15, 8, 50, .55);
  animation: float 6s ease-in-out infinite;
}
.pp-title { font-size: 1.45cqw; font-weight: 650; margin-bottom: .9cqw; }
.pp-field { display: flex; align-items: center; gap: .7cqw; padding: .6cqw .8cqw; border-radius: .7cqw; background: #fff; box-shadow: 0 0 0 .25cqw rgba(91, 76, 240, .35); font-size: 1.3cqw; }
.pp-label { color: #6b6a80; }
.pp-type { font-weight: 600; }
.pp-hint { margin-top: .8cqw; font-size: 1.05cqw; color: #5f5e74; }
.caret { display: inline-block; width: 1.5px; height: 1.1em; margin-left: -1px; background: #5b4cf0; animation: blink 1.1s steps(1) infinite; vertical-align: middle; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes float { 50% { transform: translateY(-.6cqw); } }

.lib {
  position: absolute; z-index: 1; right: 3.5cqw; top: 6.5cqw; width: 34cqw; height: 46cqw;
  border-radius: 1.3cqw; overflow: hidden; color: #1b1a2b;
  background: rgba(246, 245, 252, .86);
  -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .4), 0 3cqw 6cqw -2cqw rgba(15, 8, 50, .6);
}
.win-bar { display: flex; align-items: center; gap: .7cqw; height: 3.4cqw; padding: 0 1.2cqw; border-bottom: 1px solid rgba(0, 0, 0, .06); font-size: 1.2cqw; font-weight: 600; color: #4a4960; }
.win-bar i { width: 1.05cqw; height: 1.05cqw; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .15); }
.win-bar i:nth-child(2) { background: #febc2e; }
.win-bar i:nth-child(3) { background: #28c840; }
.win-bar span { margin-left: auto; margin-right: auto; padding-right: 3cqw; }
.lib-search { display: flex; align-items: center; gap: .7cqw; margin: 1.1cqw 1.2cqw .6cqw; padding: .55cqw .9cqw; border-radius: .7cqw; font-size: 1.2cqw; color: #77768c; background: rgba(0, 0, 0, .05); }
.lib-search svg { width: 1.2cqw; height: 1.2cqw; color: #77768c; }
.lib-folders { list-style: none; margin: 0; padding: 0 .8cqw; }
.lib-folders li {
  display: flex; align-items: center; gap: 1cqw; height: 5.2cqw; padding: 0 1cqw; border-radius: .8cqw;
  font-size: 1.45cqw; font-weight: 550;
  animation: land 12s ease infinite;
}
.lib-folders svg { width: 3cqw; height: 2.4cqw; flex: none; }
.lib-folders em { margin-left: auto; font-style: normal; font-size: 1.15cqw; color: #77768c; padding: .1cqw .7cqw; border-radius: 999px; background: rgba(0, 0, 0, .05); }
.f1 { animation-delay: -10s !important; }
.f2 { animation-delay: -8s !important; }
.f3 { animation-delay: -6s !important; }
.f4 { animation-delay: -4s !important; }
.f5 { animation-delay: -2s !important; }
.f6 { animation-delay: 0s !important; }
@keyframes land {
  0%, 64%, 82%, 100% { background: transparent; transform: none; }
  69% { background: rgba(91, 76, 240, .16); transform: scale(1.03); }
  74% { background: rgba(91, 76, 240, .12); transform: none; }
}

@container (max-width: 560px) {
  .shot span, .mbar-l span { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section-alt { background: var(--bg-alt); }
.kicker { font-size: 14px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 14px; }
.sub { margin-top: 18px; max-width: 560px; font-size: 19px; color: var(--muted); text-wrap: pretty; }

/* How it works */
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { position: relative; padding: 18px 18px 28px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--line); }
.step h3 { margin-top: 8px; font-size: 22px; }
.step p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.step-n { display: inline-grid; place-items: center; margin-top: 22px; width: 28px; height: 28px; border-radius: 9px; font-size: 14px; font-weight: 700; color: #fff; background: linear-gradient(140deg, #7c6ff7, #3b82f6); }
.step h3, .step p, .step-n { margin-left: 8px; margin-right: 8px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; max-width: 520px; } }

.mock {
  position: relative; height: 264px; border-radius: 16px; overflow: hidden;
  display: grid; place-items: center;
  background:
    radial-gradient(80% 90% at 20% 0%, rgba(124, 111, 247, .35), transparent 60%),
    radial-gradient(70% 80% at 100% 100%, rgba(59, 130, 246, .3), transparent 60%),
    #1a1640;
}
.mock-capture .keys { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; gap: 8px; }
.mock-capture kbd {
  display: grid; place-items: center; min-width: 48px; height: 48px; padding: 0 10px; border-radius: 11px;
  font-size: 20px; color: #fff; border: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 0 0 1px rgba(255, 255, 255, .14), 0 6px 0 -1px rgba(0, 0, 0, .35);
  animation: press 3.2s ease-in-out infinite;
}
.mock-capture kbd:nth-child(2) { animation-delay: .08s; }
.mock-capture kbd:nth-child(3) { animation-delay: .16s; }
@keyframes press { 0%, 30%, 100% { transform: none; } 36%, 46% { transform: translateY(4px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 0 0 1px rgba(255, 255, 255, .14), 0 2px 0 -1px rgba(0, 0, 0, .35); } }
.crop {
  position: absolute; left: 22%; top: 16%; width: 56%; height: 40%;
  border: 1.5px dashed rgba(255, 255, 255, .85); border-radius: 4px;
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 0 0 999px rgba(0, 0, 0, .25);
  animation: crop 3.2s ease-in-out infinite; transform-origin: top left;
}
.crop-dim { position: absolute; right: -2px; bottom: -26px; font-size: 11px; color: #fff; padding: 2px 6px; border-radius: 5px; background: rgba(0, 0, 0, .5); }
@keyframes crop { 0% { transform: scale(.3); opacity: 0; } 15% { opacity: 1; } 40%, 85% { transform: none; opacity: 1; } 100% { opacity: 0; } }

.panel {
  width: min(86%, 300px); padding: 14px; border-radius: 16px; color: #1b1a2b; font-size: 14px;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .6), 0 20px 40px -12px rgba(0, 0, 0, .6);
}
.panel-h { display: flex; align-items: center; gap: 10px; font-weight: 650; margin-bottom: 10px; }
.mini { width: 36px; height: 26px; flex: none; }
.input { display: flex; align-items: center; padding: 7px 10px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 3px rgba(91, 76, 240, .3), inset 0 0 0 1px rgba(91, 76, 240, .6); }
.typed { font-weight: 550; }
.ac { list-style: none; margin: 6px 0 0; padding: 4px; border-radius: 9px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 8px 18px -8px rgba(0, 0, 0, .3); }
.ac li { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 6px; color: #3c3b52; }
.ac li.on { color: #fff; background: #5b4cf0; }
.ac svg { width: 18px; height: 14px; }
.panel-f { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12.5px; color: #6b6a80; }
.panel-f .k { padding: 1px 6px; border-radius: 5px; background: rgba(0, 0, 0, .06); font-weight: 600; }
.btn-mini { margin-left: auto; padding: 5px 11px; border-radius: 7px; color: #fff; font-weight: 600; background: #5b4cf0; }

.mock-search { align-content: center; gap: 12px; }
.sfield {
  display: flex; align-items: center; gap: 8px; width: min(86%, 300px); padding: 9px 12px; border-radius: 10px;
  font-size: 14px; font-weight: 550; color: #1b1a2b; background: rgba(255, 255, 255, .92);
  box-shadow: 0 0 0 3px rgba(91, 76, 240, .35);
}
.sfield svg { width: 15px; height: 15px; color: #77768c; flex: none; }
.hit { display: flex; gap: 12px; align-items: center; width: min(86%, 300px); padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.hit-img { flex: none; width: 128px; padding: 10px; border-radius: 7px; background: #fff; display: grid; gap: 6px; }
.ln { display: block; height: 5px; border-radius: 3px; background: #d4d4e2; }
.ln.w50 { height: auto; background: none; font-size: 10.5px; font-weight: 700; line-height: 1; }
.w60 { width: 60%; } .w80 { width: 80%; } .w90 { width: 90%; }
mark { color: #1b1a2b; background: #fde047; border-radius: 3px; padding: 1px 3px; box-shadow: 0 0 0 2px rgba(253, 224, 71, .45); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px rgba(253, 224, 71, .15); } }
.hit-meta { display: grid; font-size: 13px; color: rgba(255, 255, 255, .7); }
.hit-meta b { color: #fff; font-weight: 650; }

/* Features */
.grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { padding: 28px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; }
.feat:hover { transform: translateY(-3px); }
.feat h3 { margin-top: 20px; }
.feat p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; color: #fff; background: var(--c); }
.ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ico-a { --c: linear-gradient(140deg, #f59e0b, #f97316); }
.ico-b { --c: linear-gradient(140deg, #7c6ff7, #5b4cf0); }
.ico-c { --c: linear-gradient(140deg, #38bdf8, #2563eb); }
.ico-d { --c: linear-gradient(140deg, #60a5fa, #3b82f6); }
.ico-e { --c: linear-gradient(140deg, #34d399, #059669); }
.ico-f { --c: linear-gradient(140deg, #f472b6, #a855f7); }
.ico { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 8px 18px -8px rgba(60, 40, 160, .6); }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }

/* Before / after */
.ba { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ba-card { margin: 0; }
.ba-card figcaption { margin-top: 16px; font-size: 16px; color: var(--muted); }
.tag { display: inline-block; margin-right: 6px; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 650; }
.tag-bad { color: #9f1239; background: #ffe4ea; }
.tag-good { color: #065f46; background: #d1fae5; }
@media (prefers-color-scheme: dark) {
  .tag-bad { color: #fecdd3; background: rgba(244, 63, 94, .2); }
  .tag-good { color: #a7f3d0; background: rgba(16, 185, 129, .2); }
}
.ba-view { position: relative; height: 340px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.ba-before { background: linear-gradient(160deg, #3a3f55, #2a2d3e 60%, #4a3a52); }
.dfile { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 5px; width: 96px; font-size: 10.5px; line-height: 1.25; text-align: center; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.dfile .t { width: 60px; height: 42px; border: 2px solid #fff; border-radius: 3px; box-shadow: 0 4px 10px rgba(0, 0, 0, .4); }
.d1 { left: 6%; top: 7%; transform: rotate(-4deg); }
.d2 { left: 30%; top: 12%; }
.d3 { left: 56%; top: 5%; transform: rotate(5deg); }
.d4 { left: 72%; top: 34%; transform: rotate(-3deg); }
.d5 { left: 14%; top: 40%; transform: rotate(3deg); }
.d6 { left: 42%; top: 46%; transform: rotate(-6deg); }
.d7 { left: 8%; top: 70%; }
.d8 { left: 60%; top: 68%; transform: rotate(4deg); }

.ba-after { background: linear-gradient(160deg, #e8e5ff, #dbe8ff); display: flex; flex-direction: column; padding: 18px; }
.ba-after .win-bar, .ba-lib { background: rgba(255, 255, 255, .9); color: #1b1a2b; }
.ba-after .win-bar { height: 34px; gap: 7px; padding: 0 12px; font-size: 12.5px; border-radius: 12px 12px 0 0; }
.ba-after .win-bar i { width: 11px; height: 11px; }
.ba-after .win-bar span { padding-right: 30px; }
.ba-lib { flex: 1; display: flex; min-height: 0; border-radius: 0 0 12px 12px; box-shadow: 0 20px 40px -20px rgba(30, 20, 90, .5); }
.side { list-style: none; margin: 0; padding: 10px 8px; width: 34%; border-right: 1px solid rgba(0, 0, 0, .06); background: rgba(245, 244, 252, .9); font-size: 13px; border-radius: 0 0 0 12px; }
.side li { display: flex; align-items: center; gap: 7px; padding: 6px 8px; border-radius: 7px; color: #3c3b52; white-space: nowrap; overflow: hidden; }
.side li.on { color: #fff; background: #5b4cf0; }
.side svg { width: 18px; height: 14px; flex: none; }
.thumbs { flex: 1; padding: 10px; min-width: 0; }
.sfield.sm { width: 100%; padding: 6px 10px; font-size: 12.5px; font-weight: 500; color: #77768c; box-shadow: none; background: rgba(0, 0, 0, .05); }
.tg { margin-top: 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 8px; }
.tg span { display: grid; gap: 4px; font-size: 10.5px; color: #3c3b52; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg .t { width: 100%; aspect-ratio: 4 / 3; }
@media (max-width: 800px) { .ba { grid-template-columns: 1fr; } }
@media (max-width: 420px) {
  .dfile { width: 78px; font-size: 9.5px; }
  .dfile .t { width: 48px; height: 34px; }
  .side { width: 38%; font-size: 12px; }
}

/* Privacy band */
.privacy {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(80px, 11vw, 130px) 0; color: var(--night-text); text-align: center;
  background:
    radial-gradient(50% 80% at 50% 0%, rgba(99, 72, 255, .45), transparent 70%),
    radial-gradient(40% 60% at 100% 100%, rgba(16, 185, 129, .22), transparent 70%),
    var(--night);
}
.privacy-in { display: flex; flex-direction: column; align-items: center; }
.privacy h2 { max-width: 16ch; font-size: clamp(34px, 5.6vw, 64px); }
.privacy p { margin-top: 20px; max-width: 620px; font-size: 19px; color: var(--night-muted); text-wrap: pretty; }
.lock { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 26px; border-radius: 20px; background: linear-gradient(140deg, #34d399, #059669); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 0 60px -6px rgba(52, 211, 153, .6); }
.lock svg { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; }
.link-arrow { margin-top: 26px; color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .35); padding-bottom: 2px; }
.link-arrow span { display: inline-block; transition: transform .2s; }
.link-arrow:hover span { transform: translateX(4px); }

/* Pricing */
.price {
  margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; max-width: 880px;
  border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden;
}
.tier { padding: 36px; display: flex; flex-direction: column; }
.tier h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; }
.amount { margin-top: 14px; font-size: 64px; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.amount span { font-size: 17px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.tier-note { margin-top: 8px; color: var(--muted); }
.ticks { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; gap: 12px; flex: 1; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg { width: 20px; height: 20px; flex: none; margin-top: 3px; padding: 3px; border-radius: 50%; color: var(--accent-text); background: rgba(91, 76, 240, .12); }
.tier-full {
  position: relative; color: var(--night-text);
  background: radial-gradient(90% 70% at 100% 0%, rgba(124, 111, 247, .55), transparent 70%), linear-gradient(160deg, #16123d, #0b0a22);
}
.tier-full .amount span, .tier-full .tier-note { color: var(--night-muted); }
.tier-full .ticks svg { color: #fff; background: rgba(255, 255, 255, .16); }
.badge { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 650; letter-spacing: 0; color: #fff; background: linear-gradient(90deg, #6d5cff, #3b82f6); }
@media (max-width: 760px) { .price { grid-template-columns: 1fr; } .tier { padding: 28px 22px; } }

/* FAQ */
.faq { margin-top: 44px; display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; border-radius: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-top: -4px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

/* Final CTA */
.final { position: relative; overflow: hidden; isolation: isolate; padding: clamp(90px, 12vw, 150px) 0; background: var(--night); color: var(--night-text); text-align: center; }
.final .glow { inset: auto -20% -50%; height: 700px; }
.final-in { display: flex; flex-direction: column; align-items: center; }
.final-icon { display: grid; place-items: center; width: 84px; height: 84px; margin-bottom: 30px; border-radius: 24px; color: #fff; background: linear-gradient(140deg, #8b7fff, #3b82f6); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 20px 60px -10px rgba(110, 90, 255, .8); }
.final-icon svg { width: 46px; height: 46px; }
.final h2 { max-width: 14ch; font-size: clamp(38px, 6.4vw, 76px); }
.final p { margin: 18px 0 36px; font-size: 20px; color: var(--night-muted); }

/* Footer */
.site-footer { padding: 34px 0; background: var(--night); color: var(--night-muted); border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.foot { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot a { color: var(--night-muted); text-decoration: none; }
.foot a:hover { color: #fff; }
.brand-sm { color: var(--night-text); font-size: 16px; }
.brand-sm .brand-icon { width: 26px; height: 26px; }
.brand-sm .brand-icon svg { width: 15px; height: 15px; }

/* Scroll reveal: CSS scroll-driven animation where supported, otherwise simply visible. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
    @keyframes reveal { from { opacity: 0; transform: translateY(36px) scale(.98); } }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .pile .shot { opacity: 1; }
}

/* ---------- Privacy policy page ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: 140px 0 64px; background: var(--night); color: var(--night-text); }
.page-hero .glow { height: 600px; }
.page-hero h1 { font-size: clamp(44px, 7vw, 76px); font-weight: 800; letter-spacing: -.045em; }
.page-hero p { margin-top: 14px; font-size: 19px; color: var(--night-muted); max-width: 640px; }
.prose { padding: 64px 24px 110px; max-width: 760px; }
.prose h2 { margin: 44px 0 14px; font-size: 28px; max-width: none; letter-spacing: -.025em; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 1.2em; margin: 12px 0 0; display: grid; gap: 10px; }
.prose strong { color: var(--text); }
.prose code { font: .88em ui-monospace, SFMono-Regular, Menlo, monospace; padding: .15em .4em; border-radius: 6px; background: var(--bg-alt); border: 1px solid var(--line); word-break: break-word; }
.summary-card { padding: 22px 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--text) !important; font-size: 18px; }
@media (max-width: 600px) { .prose { padding: 48px 16px 80px; } }
.on-dark { color: #b4a9ff; }
@media (max-width: 700px) { .br-l { display: none; } }
.center { text-align: center; }
.center h2, .center .sub, .center .price { margin-left: auto; margin-right: auto; }
.center .tier { text-align: left; }
.d9 { left: 33%; top: 26%; transform: rotate(-8deg); }
.d10 { left: 78%; top: 62%; transform: rotate(7deg); }
.d11 { left: 27%; top: 74%; transform: rotate(-3deg); }
