:root {
  --ground: #0B0C0F;
  --card: #14161A;
  --card-line: #23262D;
  --panel: #17181C;
  --control: #2A2C32;
  --line: #383B43;
  --text: #ECEDEF;
  --soft: #B4B7BF;
  --muted: #8A8E98;
  --accent: #A78BFA;
  --on-accent: #0B0C0F;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--text); font-family: Geist, system-ui, sans-serif; line-height: 1.5; }
a { color: #C4B5FD; }
a:hover { color: #E4DCFF; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }

.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 18px; }
.brand svg { color: var(--accent); }
.nav nav { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; font-size: 14px; }
.nav nav a { color: var(--soft); text-decoration: none; }
.nav nav a:hover { color: var(--text); }
.langs { display: flex; gap: 4px; padding: 3px; border: 1px solid var(--card-line); border-radius: 999px; }
.langs a { padding: 4px 10px; border-radius: 999px; font-size: 12px; }
.langs a.active { background: var(--control); color: var(--text); }

.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-block: 56px 96px; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-demo { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; }
.pill { align-self: flex-start; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--card-line); font-size: 13px; color: var(--soft); }
h1 { margin: 0; font-size: clamp(40px, 6vw, 68px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 700; }
h2 { margin: 0; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.02em; }
h3 { margin: 0; font-size: 20px; }
.lead { margin: 0; font-size: 18px; color: var(--soft); max-width: 640px; }
.fine { font-size: 13px; color: var(--muted); margin: 0; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 14px; text-decoration: none; font-weight: 600; }
.btn.primary { background: var(--text); color: var(--ground); }
.btn.ghost { color: var(--text); }

.panel { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 16px; padding: 20px; background: var(--panel); border: 1px solid #2A2C32; border-radius: 22px; box-shadow: 0 40px 120px rgba(167, 139, 250, 0.14); }
.row { display: flex; align-items: center; }
.between { justify-content: space-between; }
.gap12 { gap: 12px; }
.icon { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--control); color: #9A9DA6; }
.panel.on .icon { background: var(--accent); color: var(--on-accent); }
.title { font-size: 15px; font-weight: 600; }
.sub { font-size: 12px; color: #9A9DA6; }
.switch { width: 52px; height: 32px; border-radius: 16px; border: none; padding: 3px; display: flex; background: #3A3D45; justify-content: flex-start; }
.switch span { width: 26px; height: 26px; border-radius: 13px; background: #fff; }
.panel.on .switch { background: var(--accent); justify-content: flex-end; }
.temp { transition: opacity .15s; }
.panel:not(.on) .temp { opacity: .35; }
.round { width: 48px; height: 48px; border-radius: 24px; border: 1px solid var(--line); background: var(--control); color: var(--text); font-size: 20px; }
.reading { display: flex; flex-direction: column; align-items: center; }
.big { font-family: 'Geist Mono', monospace; font-weight: 300; font-size: 60px; line-height: 1; }
.tv { padding: 12px; border-radius: 14px; background: #202227; border: 1px solid #2E3037; font-size: 13px; }
.hint { font-size: 11px; color: #6F7380; text-align: center; }

.section { padding-block: 72px; display: flex; flex-direction: column; gap: 24px; }
.section.center { align-items: center; text-align: center; }
.eyebrow { font-size: 13px; color: var(--accent); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 8px 0 0; padding: 0; list-style: none; }
.card { padding: 28px; border-radius: 20px; background: var(--card); border: 1px solid var(--card-line); display: flex; flex-direction: column; gap: 12px; }
.card svg { color: var(--accent); }
.card p { margin: 0; color: var(--soft); }
.steps .num { font-family: 'Geist Mono', monospace; font-size: 28px; color: var(--accent); }
.steps span:not(.num) { color: var(--soft); }

.chips { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.chip { padding: 14px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--card-line); display: flex; flex-direction: column; gap: 4px; }
.chip span { font-size: 13px; color: #9A9DA6; }
.chip.soon { background: transparent; border-style: dashed; border-color: var(--line); }

.privacy { flex-direction: row; flex-wrap: wrap; gap: 32px; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: 28px; }
.privacy > div { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; color: #D5D7DC; text-align: left; }
.checks li::before { content: "✓"; color: var(--accent); margin-right: 10px; }
.privacy .checks { flex: 1 1 300px; }

.plans { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; width: 100%; }
.plan { flex: 1 1 300px; max-width: 380px; text-align: left; }
.plan.pro { border-color: var(--accent); }
.plan-name { font-weight: 600; }
.price { font-family: 'Geist Mono', monospace; font-size: 40px; }

.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 40px 56px; border-top: 1px solid #1C1E24; font-size: 13px; color: #6F7380; }
.footer a { color: var(--muted); text-decoration: none; }

.doc { max-width: 760px; padding-block: 24px 80px; }
.doc h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 24px; }
.doc h2 { font-size: 22px; margin-top: 32px; }
.doc p, .doc li { color: var(--soft); }

/* Animated logo: the mixer knobs slide like someone is setting the levels. */
.logo .logo-wave { stroke: #5A5E68; stroke-width: 2; }
.logo .logo-body { fill: var(--accent); animation: slide 2.4s ease-in-out infinite alternate; }
.logo .k2 { animation-delay: -.8s; }
.logo .k3 { animation-delay: -1.6s; }
@keyframes slide { from { transform: translateY(-3px); } to { transform: translateY(4px); } }
@keyframes rise { from { opacity: 0; transform: translateY(8px) scale(.96); } }
@media (prefers-reduced-motion: reduce) { .logo .logo-body, .hero-mark img { animation: none; } }

.hero-mark { display: flex; align-items: center; gap: 14px; }
.hero-mark img { border-radius: 16px; animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }

/* Demo panel: a working copy of the menu bar panel. */
.panel { gap: 12px; }
.eyebrow-sm { font-size: 11px; letter-spacing: .05em; color: #9A9DA6; }
.title-lg { font-size: 17px; font-weight: 600; }
.gap6 { gap: 6px; }
.gap10 { gap: 10px; }
.dot { width: 8px; height: 8px; border-radius: 4px; background: #3DDC97; }
.dot.off { background: var(--line); }
.label { font-size: 12px; color: #9A9DA6; margin-top: 4px; }
.card-sm { padding: 12px; border-radius: 14px; background: #202227; border: 1px solid #2E3037; display: flex; flex-direction: column; gap: 10px; }
.master { padding: 16px; border-radius: 18px; gap: 14px; }
.icon.on { background: var(--accent); color: var(--on-accent); }
.master .big { font-size: 44px; }
.chipbtn { flex: 0 0 auto; width: 40px; height: 30px; border-radius: 10px; border: 1px solid var(--line); background: var(--control); color: var(--text); display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.chipbtn.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.chipbtn svg { width: 15px; height: 15px; }
.app-row .name { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-row .state { font-size: 11px; color: #9A9DA6; }
.app-row .state.ok { color: #3DDC97; }
.app-row .pct { font-family: 'Geist Mono', monospace; font-size: 13px; color: #9A9DA6; min-width: 44px; text-align: right; }
.app-row .pct.boost { color: var(--accent); }
.app-icon { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #fff; }
.grow { flex: 1; min-width: 0; }
.app-row.muted input[type=range] { opacity: .4; }
#apps, #tabs { display: flex; flex-direction: column; gap: 6px; }

input[type=range] { flex: 1; min-width: 0; height: 22px; accent-color: var(--accent); -webkit-appearance: none; appearance: none; background: transparent; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--fill, var(--accent)) var(--p, 50%), #3A3D45 var(--p, 50%)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -7px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.4); }
input[type=range]::-moz-range-track { height: 6px; border-radius: 3px; background: #3A3D45; }
input[type=range]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--fill, var(--accent)); }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border: none; border-radius: 50%; background: #fff; }

.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 8px; }
.narrow { max-width: 620px; }

/* Widget gallery: static recreations of the macOS widgets. */
.gallery { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; margin-top: 8px; }
.w { margin: 0; background: var(--panel); border: 1px solid #2A2C32; border-radius: 22px; padding: 16px; color: var(--text); box-shadow: 0 20px 60px rgba(0,0,0,.35); box-sizing: border-box; }
.w-small { width: 170px; height: 170px; display: flex; flex-direction: column; justify-content: space-between; }
.w-medium { width: min(364px, 100%); height: 170px; display: flex; gap: 14px; }
.w-top { display: flex; align-items: center; justify-content: space-between; }
.w-col { width: 120px; flex-shrink: 0; display: flex; flex-direction: column; justify-content: space-between; }
.w-icon { width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--control); color: #9A9DA6; }
.w-icon.on { background: var(--accent); color: var(--on-accent); font-weight: 700; }
.w-big { font-family: 'Geist Mono', monospace; font-weight: 300; font-size: 38px; line-height: 1; }
.w-big small { font-size: 13px; color: #9A9DA6; margin-left: 2px; }
.w-muted { font-size: 11px; color: #9A9DA6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-row2, .w-row3 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.w-row3 { grid-template-columns: repeat(3, 1fr); }
.w-btn { height: 32px; border-radius: 12px; border: 1px solid var(--line); background: var(--control); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.w-btn.sm { width: 34px; height: 26px; border-radius: 9px; flex-shrink: 0; }
.w-btn.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.w-btn svg { width: 14px; height: 14px; }
.w-list { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.w-line { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 10px; background: #202227; }
.w-line > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.w-line b { font-size: 12px; }
.w-line i { font-style: normal; font-family: 'Geist Mono', monospace; font-size: 10px; color: #9A9DA6; }
.w-line i.ok { color: #3DDC97; }
.w-app { width: 22px; height: 22px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #fff; flex-shrink: 0; }

@media (max-width: 480px) {
  .wrap { padding-inline: 16px; }
  .nav nav { gap: 12px; }
  .panel { padding: 16px; }
}

/* Pricing: buy button and thank-you page */
button.btn { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
button.btn:disabled { opacity: 0.6; cursor: progress; }
.plan .btn { margin-top: 16px; width: 100%; justify-content: center; }
.buy-error { color: #FF8A7A; margin-top: 10px; }
.license-key { font-family: 'Geist Mono', monospace; font-size: 22px; letter-spacing: 0.04em; padding: 16px 20px; border: 1px solid var(--card-line); border-radius: 14px; background: var(--card); user-select: all; overflow-wrap: anywhere; }
.thanks { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.thanks .ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* My licenses */
.account { gap: 18px; }
.licenses { display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 640px; }
.license { display: flex; flex-direction: column; gap: 14px; }
.license-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.license .ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.buy-account { margin-top: 10px; text-align: center; }

/* Demo panel inside the OneMenu main card: rows use the card's subtle fill, not their own frame. */
.onemenu .card-sm { background: rgba(255, 255, 255, .06); border-color: transparent; }
.onemenu .chipbtn { background: rgba(255, 255, 255, .1); border-color: transparent; }
.onemenu .label { margin-top: 0; }
.om-login { display: flex; align-items: center; gap: 10px; }
