:root {
  --ground: #0B0C0F;
  --card: #14161A;
  --card-line: #23262D;
  --panel: #17181C;
  --control: #2A2C32;
  --line: #383B43;
  --text: #ECEDEF;
  --soft: #B4B7BF;
  --muted: #8A8E98;
  --accent: #4FB3FF;
  --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: #7CC4FF; }
a:hover { color: #B5DDFF; }
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(79, 179, 255, 0.12); }
.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 house draws itself, then the air waves keep flowing. */
.logo .logo-house { stroke: var(--accent); stroke-width: 4; stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw 1.4s cubic-bezier(.6,0,.2,1) forwards; }
.logo .logo-wave { stroke: var(--text); stroke-width: 4; stroke-dasharray: 8 6; animation: flow 1.6s linear infinite, fade-in .6s 1.1s both; }
.logo .w2 { opacity: .55; animation-duration: 2.2s, .6s; animation-delay: 0s, 1.3s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes flow { to { stroke-dashoffset: -28; } }
@keyframes fade-in { from { opacity: 0; } }
.brand:hover .logo .logo-house { filter: drop-shadow(0 0 6px rgba(79,179,255,.6)); }
@media (prefers-reduced-motion: reduce) {
  .logo .logo-house, .logo .logo-wave { animation: none; stroke-dashoffset: 0; }
  .logo .logo-wave { stroke-dasharray: 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; }
@keyframes rise { from { opacity: 0; transform: translateY(8px) scale(.96); } }
@media (prefers-reduced-motion: reduce) { .hero-mark img { animation: none; } }

/* 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); }
.w-small { width: 170px; height: 170px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: space-between; }
.w-medium { width: min(364px, 100%); height: 170px; box-sizing: border-box; display: flex; gap: 16px; }
.w-large { width: min(364px, 100%); box-sizing: border-box; display: flex; flex-direction: column; gap: 14px; }
.w-top { display: flex; align-items: center; justify-content: space-between; }
.w-col { flex: 1; 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); }
.w-big { font-family: 'Geist Mono', monospace; font-weight: 300; font-size: 46px; line-height: 1; }
.w-speaker { font-size: 16px; color: #9A9DA6; margin-right: 6px; vertical-align: middle; }
.w-name { font-size: 13px; font-weight: 600; }
.w-muted { font-size: 11px; color: #9A9DA6; }
.w-controls { width: 148px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; align-content: center; }
.w-controls.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.w-btn { height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--control); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.w-btn.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 13px; }
.w-btn.wide { grid-column: 1 / -1; }
.w-power { width: 40px; height: 40px; border-radius: 20px; background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; }
.w-dialrow { display: flex; gap: 16px; align-items: center; }
.w-dial { position: relative; width: 120px; height: 120px; flex-shrink: 0; }
.w-dial svg { width: 120px; height: 120px; transform: rotate(135deg); }
.w-dial circle { fill: none; stroke-width: 10; stroke-linecap: round; }
.w-dial .track { stroke: var(--control); stroke-dasharray: 264 352; }
.w-dial .value { stroke: var(--accent); stroke-dasharray: 110 352; }
.w-dial-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.w-dial-text .w-big { font-size: 34px; }
.w-stats { flex: 1; display: flex; flex-direction: column; gap: 10px; font-size: 12px; }
.w-stats > div:first-child { display: flex; justify-content: space-between; color: #9A9DA6; }
.w-stats .w-controls { width: 100%; }
.w-chips { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 6px; }
.w-chips span { height: 36px; border-radius: 12px; border: 1px solid var(--line); background: var(--control); color: #C9CBD1; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.w-chips span.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
/* 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; }
.narrow { max-width: 620px; }
/* 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: one subtle-fill card per device. */
.dev { padding: 12px; display: flex; flex-direction: column; gap: 12px; }
.dev.row { flex-direction: row; align-items: center; }
.dev .icon { background: rgba(255, 255, 255, .1); }
.dev.on .icon { background: var(--accent); color: var(--on-accent); }
.dev.on .switch { background: var(--accent); justify-content: flex-end; }
.dev:not(.on) .temp { opacity: .35; }
.onemenu .round { background: rgba(255, 255, 255, .1); border-color: transparent; }
.grow { flex: 1; min-width: 0; }
