/* Leeway landing — light grey + amber. Структура зеркалит lidless-сайт,
   но палитра своя: светло-серый фон, белые карточки, тёмный мокап меню
   как контрастная витрина (фидбэк владельца 11.07 — «не как Lidless»). */
:root {
  --bg: #eef0f3;
  --panel: #ffffff;
  --panel-2: #f6f7f9;
  --line: #dcdfe4;
  --text: #16181d;
  --dim: #555a64;
  --faint: #878c96;
  --amber: #f5a93d;
  --amber-text: #b97a10;
  --claude: #cc7050;
  --codex: #9094a0;
  --green: #4fc46f;
  --yellow: #e8b93c;
  --red: #e05d4f;
  /* тёмный мокап меню — фиксированные цвета, не зависят от светлой темы */
  --m-bg: #17171f;
  --m-bar: #1c1c24;
  --m-line: #26262f;
  --m-text: #e9e7e3;
  --m-dim: #9a97a3;
  --m-faint: #6b6875;
  --radius: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 "Inter", -apple-system, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
main { max-width: 980px; margin: 0 auto; padding: 0 20px; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; }
em { font-family: "Instrument Serif", serif; font-style: italic; font-weight: 400; }

/* nav */
.nav {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 980px; margin: 0 auto; padding: 18px 20px;
}
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand-mark { width: 20px; height: 20px; color: var(--text); }
.brand-mark .bars-low { fill: var(--amber); }
.brand-text { font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.brand-accent { color: var(--amber-text); }
.nav-buy {
  font-size: 14px; font-weight: 600; color: var(--dim);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px;
  background: var(--panel);
  transition: color .15s, border-color .15s;
}
.nav-buy:hover { color: var(--text); border-color: var(--faint); }

/* hero */
.hero { text-align: center; padding: 64px 0 40px; position: relative; }
.glow {
  position: absolute; inset: -80px 0 auto; height: 340px; pointer-events: none;
  background: radial-gradient(420px 220px at 50% 30%, rgba(245, 169, 61, 0.16), transparent 70%);
}
.hero-icon { width: 160px; height: 160px; border-radius: 36px; box-shadow: 0 18px 50px rgba(22, 26, 34, 0.28); }
.hero h1 { font-size: clamp(38px, 6vw, 58px); line-height: 1.08; margin: 26px 0 18px; }
.hero h1 em { color: var(--amber-text); }
.lede { max-width: 640px; margin: 0 auto; color: var(--dim); font-size: 17.5px; }
.cta-row { margin-top: 28px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 12px; padding: 13px 26px; font-weight: 600; font-size: 15.5px;
  transition: transform .12s, background .15s, border-color .15s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--amber); color: #1a1206; }
.btn-primary:hover { background: #ffbe5c; }
.btn-ghost { border: 1px solid var(--line); color: var(--dim); background: var(--panel); }
.btn-ghost:hover { color: var(--text); border-color: var(--faint); }
.trust { color: var(--faint); font-size: 13.5px; }

/* showcase: реальный вид приложения — полоса менюбара, растворяющаяся по краям
   (mask-фейд, паттерн Lidless), и меню, плавающее под ней прямо на фоне
   страницы. Светлая тема macOS — в тон светлому лендингу. */
.showcase { padding: 12px 0 40px; text-align: center; }
.screen { position: relative; max-width: 760px; height: 330px; margin: 0 auto; text-align: left; }
.menubar {
  position: absolute; top: 0; left: 0; right: 0; height: 30px;
  display: flex; align-items: center; justify-content: flex-end; gap: 15px;
  padding: 0 28px; color: #3d3f46;
  background: rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(20, 24, 32, 0.10);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 15%, #000 97%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 15%, #000 97%, transparent 100%);
}
.mb-glyph { width: 20px; height: 13px; fill: currentColor; opacity: .8; }
.mb-highlight {
  display: inline-grid; place-items: center; width: 30px; height: 22px; border-radius: 6px;
  background: rgba(20, 24, 32, 0.14);
}
.mb-bars { width: 16px; height: 16px; color: #23252b; }
.mb-bars .bars-low { fill: var(--amber-text); }
.mb-clock { font-size: 12.5px; color: #3d3f46; font-variant-numeric: tabular-nums; }
.menu {
  position: absolute; top: 38px; right: 92px; width: 372px;
  background: rgba(248, 248, 251, 0.88);
  -webkit-backdrop-filter: blur(26px) saturate(160%); backdrop-filter: blur(26px) saturate(160%);
  border: 1px solid rgba(20, 24, 32, 0.10); border-radius: 14px;
  padding: 6px; box-shadow: 0 24px 56px rgba(22, 26, 34, 0.28);
}
.acct {
  display: flex; align-items: center; gap: 0;
  padding: 4px 10px; border-radius: 7px; height: 30px;
}
.acct:hover { background: #2e6be6; }
.acct:hover .acct-name, .acct:hover .acct-svc, .acct:hover .cap { color: #fff; }
.acct-id { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.1; }
.acct-name { font-size: 13px; font-weight: 600; color: #1c1e24; }
.acct-svc { font-size: 10px; font-weight: 500; color: #7a7d86; }

/* CSS ring gauges: conic fill + inner cutout; подпись одной строкой «5h · 19:04» */
.gauge { display: inline-flex; align-items: center; gap: 6px; width: 102px; flex: none; }
.ring {
  --v: 0; --c: var(--green);
  width: 20px; height: 20px; border-radius: 50%; flex: none;
  background:
    radial-gradient(closest-side, #f4f4f7 74%, transparent 75% 100%),
    conic-gradient(var(--c) calc(var(--v) * 1%), rgba(20, 24, 32, 0.12) 0);
  display: grid; place-items: center;
}
.ring span { font-size: 8px; font-weight: 600; color: #1c1e24; font-variant-numeric: tabular-nums; }
.ring.warn { --c: var(--yellow); }
.ring.hot { --c: var(--red); }
.cap { font-size: 11px; color: #6e717a; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cap b { font-weight: 600; color: #94969e; font-size: 10px; }
.cap.hot { color: var(--red); font-weight: 600; }
.cap.warn { color: #c47f14; font-weight: 500; }

.mi { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 7px; font-size: 13px; color: #1c1e24; }
.mi:hover { background: #2e6be6; color: #fff; }
.mi:hover .mi-kbd { color: rgba(255,255,255,0.75); }
.mi-dim { color: #9a9da6; }
.mi-dim:hover { background: none; color: #9a9da6; }
.mi-kbd { margin-left: auto; color: #9a9da6; font-size: 12px; }
.mi-sep { height: 1px; background: rgba(20, 24, 32, 0.08); margin: 5px 10px; }
.showcase-cap { color: var(--faint); font-size: 14px; margin-top: 6px; max-width: 600px; margin-inline: auto; text-align: center; }
.showcase-cap em { color: var(--red); font-style: normal; font-weight: 600; }
.showcase-cap em.fc { color: #c47f14; }

/* bites */
.bites { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 56px 0 8px; }
.bite {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.bite .emoji { font-size: 26px; display: block; margin-bottom: 10px; }
.bite h3 { font-size: 17px; margin-bottom: 8px; }
.bite p { color: var(--dim); font-size: 14.5px; }

/* how */
.how { padding: 64px 0 12px; }
.how h2 { text-align: center; font-size: 30px; margin-bottom: 30px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.num {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(245, 169, 61, 0.18); color: var(--amber-text); font-weight: 700; font-size: 14px;
}
.steps h4 { font-size: 15.5px; margin-bottom: 5px; }
.steps p { color: var(--dim); font-size: 14px; }

/* get: две карточки — бесплатная прямая раздача и платная MAS-сборка */
.buy {
  padding: 64px 0 12px; display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; max-width: 800px; margin: 0 auto;
}
.price-card {
  text-align: center; background: var(--panel); border: 1px solid var(--line);
  border-radius: 18px; padding: 32px 30px; display: flex; flex-direction: column;
}
.price-badge {
  align-self: center; font-size: 12px; font-weight: 700; letter-spacing: .02em;
  color: var(--amber-text); background: rgba(245, 169, 61, 0.16);
  border-radius: 999px; padding: 3px 12px; margin-bottom: 12px;
}
.price { font-size: 36px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 12px; }
.price-mark { width: 28px; height: 28px; color: var(--text); }
.price-mark .bars-low { fill: var(--amber); }
.price-sub { color: var(--dim); margin: 4px 0 18px; font-size: 15px; }
.price-card .btn-primary { width: 100%; justify-content: center; }
.price-meta { color: var(--faint); font-size: 13px; margin: 12px 0 16px; }
.btn-gh { width: 100%; justify-content: center; }
.gh-mark { width: 16px; height: 16px; }
.btn-soon {
  width: 100%; justify-content: center; cursor: default;
  border: 1px dashed var(--line); color: var(--faint); background: var(--panel-2);
}
.price-card .spacer { flex: 1; }

/* faq */
.faq { padding: 64px 0 12px; max-width: 720px; margin: 0 auto; }
.faq h2 { text-align: center; font-size: 30px; margin-bottom: 26px; }
.faq details {
  border: 1px solid var(--line); border-radius: 12px; background: var(--panel);
  padding: 16px 20px; margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 600; font-size: 15.5px; list-style: none; position: relative; padding-right: 26px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: -2px; color: var(--faint); font-size: 20px; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--dim); font-size: 14.5px; margin-top: 10px; }

/* tip */
.tipbar {
  margin: 64px 0; padding: 26px 30px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.tip-pitch { color: var(--dim); font-size: 14.5px; max-width: 520px; }

/* footer */
.footer {
  max-width: 980px; margin: 0 auto; padding: 26px 20px 44px;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line);
}
.brand-sm .brand-text { font-size: 15px; }
.footer-links { display: flex; gap: 18px; color: var(--faint); font-size: 13.5px; }
.footer-links a:hover { color: var(--text); }

@media (max-width: 760px) {
  .bites, .steps, .buy { grid-template-columns: 1fr; }
  .tipbar { flex-direction: column; text-align: center; }
  .hero { padding-top: 40px; }
  .hero-icon { width: 120px; height: 120px; border-radius: 27px; }
  .gauge { width: 96px; }
}
