/* liberanto.com = the Office app's design D "clean iOS" (Tigran 28.11.2026): the system grey ground, white cards,
   SF Pro, one action colour — blue capsules; violet is everything the AI does on its own, and nothing else is violet.
   Glass only on the bar. Dark follows the phone (true black ground). The values are the Office app's
   (liberanto-office/frontend/src/app.css); the logo and the icons are the brand book's of 28.11 (HQ brand/brand-book). */
:root {
  color-scheme: light dark;
  --bg: #f2f2f7;
  --card: #ffffff;
  --fill: rgba(120, 120, 128, 0.12);
  --fg: #1c1c1e;
  --fg-muted: #636366;
  --fg-faint: #8e8e93;
  --line: #e5e5ea;
  --line-strong: #c7c7cc;
  --primary: #0071e3;
  --primary-hover: #0066cc;
  --tint: #e3effc;
  --link: #0066cc;
  --well: #f2f2f7;
  --ai: #6a3fd0;
  --ai-bg: #f3eefe;
  --ai-border: #dccffa;
  --ok: #34c759;
  --danger: #d70015;
  --glass: rgba(249, 249, 251, 0.72);
  --card-r: 18px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 10px 30px rgba(0, 0, 0, 0.06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --card: #1c1c1e;
    --fill: rgba(118, 118, 128, 0.24);
    --fg: #ffffff;
    --fg-muted: #a1a1a6;
    --fg-faint: #6e6e73;
    --line: #38383a;
    --line-strong: #5a5a5e;
    --primary-hover: #0077ed;
    --tint: #12335c;
    --link: #4da3ff;
    --well: #2c2c2e;
    --ai: #b9a2ff;
    --ai-bg: #221a3d;
    --ai-border: #3a2c66;
    --ok: #30d158;
    --danger: #ff453a;
    --glass: rgba(28, 28, 30, 0.72);
    --shadow: none;
  }
}
@media (max-width: 767px) { :root { --card-r: 22px; } }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Helvetica Neue", "Segoe UI", Roboto, sans-serif;
  font-size: 17px; line-height: 1.5; color: var(--fg); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .display { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, "Helvetica Neue", "Segoe UI", Roboto, sans-serif; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
::selection { background: var(--tint); }
.ai-mark { color: var(--ai); }

/* the logo: the dark word on the light ground, the white word on the dark one (brand book 28.11) */
.logo { display: inline-flex; align-items: center; }
.logo img { display: block; height: 28px; width: auto; }
.logo .on-dark { display: none; }
@media (prefers-color-scheme: dark) { .logo .on-light { display: none; } .logo .on-dark { display: block; } }

/* the bar: light glass, as the app's top bar */
.bar {
  position: sticky; top: 0; z-index: 50;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid var(--line-strong);
}
.bar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.bar-links { display: flex; align-items: center; gap: 24px; }
.bar-links a:not(.btn) { color: var(--fg); font-size: 15px; font-weight: 500; }
.bar-links a:not(.btn):hover { color: var(--link); text-decoration: none; }

/* buttons — capsules: the filled one acts, the light one is the second (design D) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px;
  font: inherit; font-size: 17px; font-weight: 600; cursor: pointer;
  background: var(--primary); color: #ffffff;
  transition: background-color .15s, transform .1s;
}
.btn:hover { background: var(--primary-hover); text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn.small { min-height: 36px; padding: 0 16px; font-size: 15px; }
.btn.big { min-height: 52px; padding: 0 28px; }
.btn.light { background: var(--tint); color: var(--link); }
.btn.light:hover { filter: brightness(0.96); }

.card { background: var(--card); border-radius: var(--card-r); }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 10px; }

.foot { padding: 36px 0 44px; color: var(--fg-muted); font-size: 14px; }
.foot-in { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.foot .logo img { height: 20px; }
.foot a { color: var(--fg-muted); }
.foot a:hover { color: var(--link); }
