:root {
  --bg: #141312;
  --bg-2: #1f1e1d;
  --text: #e8e4dc;
  --dim: #a8a49b;
  --mute: #6f6c66;
  --accent: #b3241f;
  --logo: #b3241f;
  --teal: #10a37f;
  --blue: #4e8cff;
  --violet: #9d6bf5;
  --border: rgba(255, 255, 255, 0.12);
  --radius: 14px;
  --mono: "Cascadia Code", "JetBrains Mono", Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

#gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; }
.grain { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; padding: 14px 28px; backdrop-filter: blur(14px); background: rgba(20, 19, 18, 0.55); border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 18px; }
.brand svg { width: 22px; height: 22px; }
.brand b { color: var(--logo); font-weight: 700; }
nav { display: flex; gap: 22px; align-items: center; font-size: 14px; color: var(--dim); }
nav a:hover { color: var(--text); }
nav .cta { color: var(--text); border: 1px solid var(--border); padding: 6px 14px; border-radius: 999px; }
nav .cta:hover { border-color: var(--accent); }

main { position: relative; z-index: 2; }
section { padding: 96px 28px; max-width: 1180px; margin: 0 auto; }

.hero { text-align: center; padding-top: 110px; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); margin: 0 0 18px; }
h1 { font-size: clamp(38px, 6.4vw, 78px); line-height: 1.02; letter-spacing: -0.02em; margin: 0 0 22px; font-weight: 700; }
h1 .line { display: block; }
h1 .accent { background: linear-gradient(92deg, var(--accent), #ffb28a 40%, var(--accent) 60%, var(--violet)); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 7s linear infinite; }
@keyframes shimmer { to { background-position: 300% 0; } }
.lede { max-width: 760px; margin: 0 auto 30px; font-size: clamp(16px, 1.6vw, 20px); color: var(--dim); }
.lede em { font-style: normal; color: var(--text); border-bottom: 2px solid rgba(179, 36, 31, 0.55); }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 46px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.04); color: var(--text); font-weight: 600; transition: transform 0.2s, border-color 0.2s, background 0.2s; }
.btn:hover { transform: translateY(-1px); border-color: rgba(255, 255, 255, 0.3); }
.btn.primary { background: var(--accent); border-color: transparent; color: #f3ece6; box-shadow: 0 10px 30px rgba(179, 36, 31, 0.3); }
.btn.primary:hover { background: #c93a33; }
.btn.ghost { background: transparent; }
.btn small { font-weight: 400; color: inherit; opacity: 0.75; font-size: 12px; }

.hero-shot, .shot { margin: 0 auto; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); background: var(--bg-2); }
.hero-shot { max-width: 1040px; }
.shot figcaption { padding: 10px 14px; font-size: 13px; color: var(--dim); border-top: 1px solid var(--border); }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 0; margin: 28px 0 0; }
.pills li { font-size: 13px; color: var(--dim); border: 1px solid var(--border); padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.03); }

h2 { font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -0.02em; margin: 0 0 26px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-bottom: 40px; }
.card { padding: 22px 22px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(31, 30, 29, 0.6); backdrop-filter: blur(10px); transition: border-color 0.25s; }
.card:hover { border-color: rgba(179, 36, 31, 0.55); }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--dim); font-size: 15px; }
.card b { color: #ffd275; }

.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; align-items: center; }
.split.flip { grid-template-columns: 1.2fr 1fr; }
.split p { color: var(--dim); }
.checks { list-style: none; padding: 0; margin: 18px 0; display: flex; flex-direction: column; gap: 8px; }
.checks li { padding-left: 26px; position: relative; color: var(--dim); }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.checks b { color: var(--text); }
.numbers { display: flex; gap: 28px; margin-top: 26px; }
.numbers div { display: flex; flex-direction: column; }
.numbers b { font-size: 40px; line-height: 1; color: var(--accent); font-weight: 700; }
.numbers span { font-size: 13px; color: var(--mute); }
.muted { color: var(--dim); }
.small { font-size: 13px; }

.download { text-align: center; }
.dl { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 26px 0 14px; }
.dl-btn { flex-direction: column; gap: 0; line-height: 1.2; min-width: 170px; }
.dl-btn.recommended { outline: 2px solid var(--accent); outline-offset: 3px; }

footer { position: relative; z-index: 2; display: flex; gap: 22px; align-items: center; justify-content: center; padding: 30px 28px 48px; border-top: 1px solid var(--border); font-size: 14px; color: var(--dim); flex-wrap: wrap; }
footer b { color: var(--logo); }
footer a:hover { color: var(--text); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
/* tilt follows the pointer */
.tilt { transform-style: preserve-3d; will-change: transform; }

@media (max-width: 860px) {
  section { padding: 64px 18px; }
  .split, .split.flip { grid-template-columns: 1fr; }
  nav a:not(.cta) { display: none; }
  .numbers { gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  h1 .accent { animation: none; }
}

.support { text-align: center; }
.support h2 { margin-bottom: 6px; }
.donate-btn { min-width: 200px; }

/* ---- 2026-09: simpler page: showcase rows, the feature list, three small shots ---- */
.features .split { margin-bottom: 64px; }
.features .split h3 { font-size: clamp(22px, 2.4vw, 30px); margin: 0 0 10px; }
.features .split p { font-size: 17px; margin: 0; }
.flist-section h2 { text-align: center; }
.flist { list-style: none; padding: 0; margin: 0 auto 44px; max-width: 1080px; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 12px 36px; }
.flist li { position: relative; padding-left: 22px; color: var(--dim); font-size: 15.5px; }
.flist li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.flist b { color: var(--text); font-weight: 600; }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid.three .shot { margin: 0; }
@media (max-width: 860px) { .features .split, .features .split.flip { grid-template-columns: 1fr; gap: 18px; } .features .split.flip figure { order: 2; } }

/* ---- rewrite 2: dock demo, section subtitles, the comparison ---- */
.features > h2, .features .split h2 { font-size: clamp(26px, 3vw, 38px); margin: 0 0 12px; }
.features > h2 { text-align: center; }
.features .sub { text-align: center; color: var(--dim); font-size: 18px; margin: 0 0 30px; }
.features .split .checks { margin-top: 18px; }
.dockdemo { display: flex; gap: 10px; max-width: 1080px; margin: 0 auto 30px; padding: 10px; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(20, 19, 18, 0.7); height: min(62vw, 560px); }
.dock-program { flex: 1; min-width: 0; border-radius: 10px; border: 1px dashed rgba(255, 255, 255, 0.16); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; color: var(--mute); font-size: 14px; text-align: center; padding: 12px; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 34px 34px; }
.dock-cube { width: min(38%, 220px); color: rgba(232, 228, 220, 0.35); }
.dock-strip { margin: 0; height: 100%; aspect-ratio: 520 / 900; flex: none; border-radius: 10px; overflow: hidden; border: 1px solid var(--accent); box-shadow: 0 0 40px rgba(179, 36, 31, 0.25); }
.dock-strip img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.flist.three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-bottom: 0; }
.vs { max-width: 1080px; margin: 0 auto; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: rgba(31, 30, 29, 0.6); }
.vs-row { display: grid; grid-template-columns: 1fr 1.2fr 1.4fr; gap: 0; border-top: 1px solid var(--border); }
.vs-row:first-child { border-top: 0; }
.vs-row span { padding: 13px 18px; font-size: 15px; color: var(--dim); }
.vs-row span:first-child { color: var(--text); font-weight: 600; }
.vs-row span:last-child { color: var(--text); background: rgba(179, 36, 31, 0.10); }
.vs-head span { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); font-weight: 600; }
.vs-head span:last-child { color: var(--accent); }
@media (max-width: 760px) { .vs-row { grid-template-columns: 1fr; } .vs-head { display: none; } .vs-row span:nth-child(2)::before { content: "Terminal: "; color: var(--mute); } .vs-row span:last-child::before { content: "CliqueX: "; color: var(--accent); } .dockdemo { height: 420px; } .dock-program span { font-size: 12px; } }

/* a system without an installer yet */
.dl-btn.soon { opacity: 0.45; cursor: default; pointer-events: none; }
