/* Qorvyn website: dark navy, cyan → blue → violet, taken from the Q mark. No frameworks. */
:root {
  --bg: #05060f;
  --bg-2: #0a0d1f;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #eef1ff;
  --text-2: #b6bdd8;
  --muted: #7f87a8;
  --cyan: #22d3ee;
  --blue: #3b6cff;
  --violet: #8b5cf6;
  --good: #34d399;
  --grad: linear-gradient(120deg, #22d3ee 0%, #3b6cff 45%, #8b5cf6 100%);
  --radius: 16px;
  --max: 1160px;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(var(--max), 100% - 40px); margin: 0 auto; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* background glow */
.glow { position: fixed; inset: -20vh -10vw auto; height: 90vh; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 50% at 30% 20%, rgba(34, 211, 238, 0.14), transparent 70%), radial-gradient(40% 50% at 75% 15%, rgba(139, 92, 246, 0.16), transparent 70%); }
.grid-bg { position: fixed; inset: 0; z-index: -2; pointer-events: none; opacity: 0.35;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 65%); }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(1.4) blur(14px); background: rgba(5, 6, 15, 0.62); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: 0.01em; }
.logo img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; gap: 24px; margin-left: 8px; }
.nav-links a { color: var(--text-2); font-size: 15px; transition: color 0.15s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); color: var(--text); border-radius: 10px; width: 42px; height: 42px; cursor: pointer; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 12px; font-weight: 600; font-size: 15px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text); cursor: pointer; transition: transform 0.12s, background 0.2s, border-color 0.2s, box-shadow 0.2s; }
.btn:hover { background: var(--panel-2); border-color: rgba(255, 255, 255, 0.28); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn.primary { border: 0; background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(59, 108, 255, 0.7); }
.btn.primary:hover { box-shadow: 0 14px 38px -10px rgba(139, 92, 246, 0.8); filter: brightness(1.06); }
.btn[aria-current="page"] { border-color: var(--violet); background: var(--panel-2); }
.btn.small { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn svg { width: 18px; height: 18px; }

/* hero */
.hero { padding: 72px 0 40px; text-align: center; position: relative; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text-2); font-size: 13.5px; }
.badge b { background: var(--grad); color: #fff; border-radius: 999px; padding: 2px 8px; font-size: 12px; }
.hero-mark { width: 148px; height: 148px; margin: 26px auto 10px; filter: drop-shadow(0 0 40px rgba(59, 108, 255, 0.55)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
h1 { font-size: clamp(38px, 6.2vw, 68px); line-height: 1.05; letter-spacing: -0.035em; margin: 10px auto 18px; max-width: 900px; font-weight: 800; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--text-2); max-width: 720px; margin: 0 auto 30px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.install { margin: 28px auto 0; display: inline-flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, 0.35); font: 14px var(--mono); color: var(--text-2); max-width: 100%; }
.install code { white-space: nowrap; overflow-x: auto; }
.install .prompt { color: var(--cyan); }
.copy { background: var(--panel-2); border: 1px solid var(--line); color: var(--text-2); border-radius: 8px; height: 32px; padding: 0 10px; cursor: pointer; font: 600 12.5px system-ui; flex: none; }
.copy:hover { color: var(--text); }
.copy.done { color: var(--good); border-color: rgba(52, 211, 153, 0.4); }
.trust { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 30px; color: var(--muted); font-size: 14px; }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 16px; height: 16px; color: var(--good); }

/* product mock */
.mock { margin: 60px auto 0; max-width: 1040px; border-radius: 18px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(20, 24, 52, 0.85), rgba(8, 10, 24, 0.95)); box-shadow: 0 40px 120px -40px rgba(59, 108, 255, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.02) inset; overflow: hidden; text-align: left; }
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a2f4a; }
.mock-bar span { margin-left: 10px; font: 12.5px var(--mono); color: var(--muted); }
.mock-body { display: grid; grid-template-columns: 200px 1fr; min-height: 380px; }
.mock-side { border-right: 1px solid var(--line); padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; }
.mock-side .it { padding: 8px 10px; border-radius: 8px; color: var(--text-2); font-size: 13.5px; }
.mock-side .it.on { background: rgba(59, 108, 255, 0.16); color: var(--text); }
.mock-main { padding: 22px; display: grid; gap: 16px; }
.mock-goal { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--panel); }
.mock-goal small { color: var(--muted); display: block; margin-bottom: 4px; }
.steps { display: flex; gap: 10px; flex-wrap: wrap; }
.step { flex: 1 1 150px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: rgba(255, 255, 255, 0.02); position: relative; overflow: hidden; }
.step b { display: block; font-size: 14px; }
.step small { color: var(--muted); font-size: 12.5px; }
.step.done { border-color: rgba(52, 211, 153, 0.45); }
.step.run { border-color: rgba(59, 108, 255, 0.7); box-shadow: 0 0 0 1px rgba(59, 108, 255, 0.25), 0 0 24px -6px rgba(59, 108, 255, 0.8); }
.step.run::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 40%; background: var(--grad); animation: scan 1.6s ease-in-out infinite; }
@keyframes scan { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
.step .tag { position: absolute; top: 10px; right: 10px; font-size: 11px; padding: 2px 7px; border-radius: 999px; }
.step.done .tag { color: var(--good); background: rgba(52, 211, 153, 0.12); }
.step.run .tag { color: #93b4ff; background: rgba(59, 108, 255, 0.16); }
.step.wait .tag { color: #fcd34d; background: rgba(250, 204, 21, 0.1); }
.feed { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font: 12.5px/1.9 var(--mono); color: var(--text-2); background: rgba(0, 0, 0, 0.25); }
.feed .now { color: var(--text); }
.feed .now::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); margin-right: 8px; box-shadow: 0 0 0 0 rgba(59, 108, 255, 0.6); animation: pulse 1.6s infinite; vertical-align: 1px; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(59, 108, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(59, 108, 255, 0); } }

/* sections */
section { padding: 96px 0; }
.eyebrow { color: var(--cyan); font-weight: 600; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.12; letter-spacing: -0.025em; margin: 10px 0 14px; font-weight: 800; }
.sub { color: var(--text-2); font-size: 18px; max-width: 680px; }
.center { text-align: center; }
.center .sub { margin: 0 auto; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.card { border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); padding: 26px; transition: transform 0.2s, border-color 0.2s, background 0.2s; position: relative; overflow: hidden; }
.card:hover { transform: translateY(-3px); border-color: var(--line-2); background: var(--panel-2); }
.card .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(139, 92, 246, 0.22)); border: 1px solid rgba(139, 92, 246, 0.3); margin-bottom: 16px; }
.card .ic svg { width: 22px; height: 22px; color: #c7d2fe; }
.card h3 { margin: 0 0 8px; font-size: 18.5px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--text-2); font-size: 15px; }

/* how it works */
.how { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; counter-reset: s; }
.how li { list-style: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--panel); position: relative; }
.how li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--grad); color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.how h3 { margin: 0 0 6px; font-size: 17px; }
.how p { margin: 0; color: var(--text-2); font-size: 14.5px; }
.how code, .card code, .faq code, p code, li code { font-family: var(--mono); font-size: 0.9em; background: rgba(255, 255, 255, 0.07); padding: 1px 6px; border-radius: 6px; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; color: var(--text-2); }
.checks svg { flex: none; width: 20px; height: 20px; color: var(--good); margin-top: 2px; }
.code-card { border: 1px solid var(--line-2); border-radius: var(--radius); background: rgba(0, 0, 0, 0.4); overflow: hidden; }
.code-card .head { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--muted); font: 12.5px var(--mono); }
.code-card pre { margin: 0; padding: 18px; font: 13.5px/1.8 var(--mono); color: var(--text-2); overflow-x: auto; }
.code-card .c { color: var(--muted); }
.code-card .k { color: var(--cyan); }
.code-card .s { color: #c4b5fd; }

/* editions */
.editions { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.edition { border: 1px solid var(--line-2); border-radius: 20px; padding: 32px; background: var(--panel); display: flex; flex-direction: column; }
.edition.ee { background: linear-gradient(180deg, rgba(139, 92, 246, 0.12), rgba(59, 108, 255, 0.04)); border-color: rgba(139, 92, 246, 0.45); position: relative; }
.edition.ee::before { content: ""; position: absolute; inset: -1px; border-radius: 20px; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.7; pointer-events: none; }
.edition .head { display: flex; align-items: center; gap: 12px; }
.edition .head img { width: 40px; height: 40px; border-radius: 10px; }
.pill { font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); }
.pill.ee { border-color: rgba(139, 92, 246, 0.6); color: #c4b5fd; background: rgba(139, 92, 246, 0.14); }
.edition h3 { margin: 18px 0 4px; font-size: 26px; letter-spacing: -0.02em; }
.edition .price { color: var(--text-2); margin-bottom: 18px; }
.edition .price b { color: var(--text); font-size: 20px; }
.edition ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; flex: 1; }
.edition li { display: flex; gap: 10px; color: var(--text-2); font-size: 15px; }
.edition li svg { flex: none; width: 19px; height: 19px; color: var(--good); margin-top: 2px; }
.edition.ee li svg { color: #a78bfa; }
.edition .note { color: var(--muted); font-size: 13.5px; margin-top: 12px; }

/* comparison table */
.table-wrap { margin-top: 36px; border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; background: rgba(255, 255, 255, 0.02); }
td:not(:first-child), th:not(:first-child) { text-align: center; width: 150px; }
tr:last-child td { border-bottom: 0; }
td .yes { color: var(--good); font-weight: 700; }
td .no { color: var(--muted); }
td .soon { color: #fcd34d; font-size: 13px; }
tr.group td { background: rgba(255, 255, 255, 0.025); color: var(--text); font-weight: 700; font-size: 13.5px; }

/* privacy band */
.band { border: 1px solid var(--line); border-radius: 24px; padding: 48px; background: radial-gradient(60% 120% at 0% 0%, rgba(34, 211, 238, 0.1), transparent 60%), radial-gradient(60% 120% at 100% 100%, rgba(139, 92, 246, 0.12), transparent 60%), var(--bg-2); }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 28px; }
.cols h4 { margin: 0 0 10px; font-size: 15px; color: var(--text); }
.cols ul { margin: 0; padding-left: 18px; color: var(--text-2); display: grid; gap: 6px; font-size: 15px; }

/* faq */
.faq { max-width: 820px; margin: 40px auto 0; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: 0 20px; transition: border-color 0.2s, background 0.2s; }
.faq details[open] { border-color: var(--line-2); background: var(--panel-2); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 22px; line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 18px; color: var(--text-2); }

/* cta + footer */
.cta { text-align: center; border: 1px solid var(--line-2); border-radius: 28px; padding: 64px 24px; background: radial-gradient(70% 140% at 50% 0%, rgba(59, 108, 255, 0.25), transparent 70%), var(--bg-2); }
.cta img { width: 72px; height: 72px; margin: 0 auto 16px; filter: drop-shadow(0 0 24px rgba(139, 92, 246, 0.6)); }
footer { border-top: 1px solid var(--line); padding: 44px 0 56px; margin-top: 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
footer h5 { color: var(--text); margin: 0 0 12px; font-size: 14px; }
footer a { display: block; padding: 3px 0; color: var(--muted); }
footer a:hover { color: var(--text); }
footer .legal { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line); }

/* page header (subpages) */
.page-head { padding: 72px 0 24px; }
.page-head h1 { margin-left: 0; font-size: clamp(34px, 5vw, 54px); }
.prose { max-width: 820px; }
.prose h2 { font-size: 26px; margin-top: 44px; }
.prose p, .prose li { color: var(--text-2); }
.prose table td:not(:first-child), .prose table th:not(:first-child) { text-align: left; width: auto; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }

/* responsive */
@media (max-width: 960px) {
  .cards, .how { grid-template-columns: 1fr 1fr; }
  .split, .editions, .cols { grid-template-columns: 1fr; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta .btn:not(.primary) { display: none; }
  .menu-btn { display: inline-grid; place-items: center; }
  .nav.open .nav-links { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: rgba(5, 6, 15, 0.97); padding: 16px 20px 24px; border-bottom: 1px solid var(--line); gap: 14px; }
  .cards, .how { grid-template-columns: 1fr; }
  section { padding: 72px 0; }
  .band { padding: 28px; }
  .hero { padding-top: 48px; }
}

/* The logo artwork has a black background: blend it into the page so only the glowing Q shows. */
.hero-mark, .cta img { mix-blend-mode: screen; }
.logo img, .edition .head img, footer .logo img { mix-blend-mode: screen; border-radius: 0; }
@media (max-width: 720px) {
  .nav .wrap { gap: 12px; }
  .nav-cta { margin-left: auto; }
  .menu-btn { margin-left: 0; }
  .badge { font-size: 12.5px; text-align: left; }
}
.hero-mark, .cta img { filter: none; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 52%, transparent 71%); mask-image: radial-gradient(circle at 50% 50%, #000 52%, transparent 71%); }
.hero-mark { width: 190px; height: 190px; margin: 14px auto 0; }
.logo img, .edition .head img, footer .logo img { -webkit-mask-image: radial-gradient(circle, #000 58%, transparent 74%); mask-image: radial-gradient(circle, #000 58%, transparent 74%); }
