/* Imaginator AI — единый site chrome (header + footer + buttons), общий для всех
   публичных/flow-страниц. Дизайн-референс: design_handoff_imaginator_app/chrome.css.
   Self-contained: токены объявлены на .site-* scope (не на :root), поэтому chrome
   одинаков на любой странице и не зависит от/не конфликтует с site.css-токенами.
   Класс-имена .site-* / .sbtn* уникальны и не пересекаются со стилями страниц. */
.site-header, .site-footer{
  --acc-1:#f7d27a; --acc-2:#dca642; --acc-3:#b9821f; --ink:#191205; --bg:#100c07;
  --text:#f7f1e6; --muted:#b3a78f; --faint:#7c7361;
  --line:rgba(240,205,110,.12); --line-2:rgba(240,205,110,.22); --surface:#1b160f;
  --glow:rgba(232,184,75,.26); --ease:cubic-bezier(.2,.7,.2,1);
}

/* ---------- shared wrap ---------- */
.wrapx{ width:100%; max-width:1240px; margin:0 auto; padding:0 24px; }

/* ---------- unified buttons ---------- */
.sbtn{ display:inline-flex; align-items:center; justify-content:center; gap:9px; font-family:inherit;
  font-size:15px; font-weight:700; line-height:1; padding:12px 22px; border-radius:999px; border:none;
  cursor:pointer; white-space:nowrap; text-decoration:none; color:var(--text);
  transition:transform .18s var(--ease), box-shadow .18s, background .18s, border-color .18s; }
.sbtn-primary{ background:linear-gradient(110deg,var(--acc-1),var(--acc-2)); color:var(--ink); box-shadow:0 10px 30px var(--glow); }
.sbtn-primary:hover{ transform:translateY(-1px); box-shadow:0 16px 40px var(--glow); }
.sbtn-ghost{ background:rgba(255,255,255,.05); border:1px solid var(--line-2); }
.sbtn-ghost:hover{ background:rgba(255,255,255,.09); transform:translateY(-1px); }

/* ---------- header ---------- */
/* `background:transparent; border:none` override the legacy .site-header rule in
   site.css (chrome.css is loaded after it) so only the .site-nav pill shows. */
.site-header{ position:sticky; top:0; z-index:50; background:transparent; border-bottom:none; }
.site-nav{ display:flex; align-items:center; justify-content:space-between; gap:18px; height:66px;
  margin-top:14px; padding:0 14px 0 20px; border:1px solid var(--line); border-radius:999px;
  background:rgba(18,14,8,.66); backdrop-filter:blur(18px) saturate(1.2); -webkit-backdrop-filter:blur(18px) saturate(1.2); }
.site-brand{ display:flex; align-items:center; gap:12px; font-weight:700; font-size:19px; letter-spacing:-.01em; color:var(--text); text-decoration:none; flex:0 0 auto; }
.site-swirl{ width:34px; height:34px; border-radius:50%; position:relative; flex:0 0 auto;
  background:conic-gradient(from 210deg,var(--acc-3),var(--acc-1),#fff6dd,var(--acc-2),var(--acc-3));
  box-shadow:inset 0 0 0 1.5px rgba(0,0,0,.25), 0 0 20px var(--glow); }
.site-swirl::after{ content:""; position:absolute; inset:33%; border-radius:50%; background:var(--bg); }
.site-nav-links{ display:flex; gap:30px; font-size:15.5px; }
.site-nav-links a{ color:var(--muted); text-decoration:none; transition:color .2s; }
.site-nav-links a:hover,.site-nav-links a.active{ color:var(--text); }
.site-cta{ display:flex; align-items:center; gap:12px; flex:0 0 auto; }
.site-aside{ font-size:14.5px; color:var(--faint); }

/* ---------- footer ---------- */
.site-footer{ border-top:1px solid var(--line); padding:54px 0 38px; color:var(--muted); font-size:15px; margin-top:40px; background:transparent; }
.site-foot-top{ display:flex; justify-content:space-between; gap:48px; flex-wrap:wrap; margin-bottom:34px; }
.site-foot-brand{ max-width:320px; }
.site-foot-brand .site-brand{ margin-bottom:16px; }
.site-foot-brand p{ margin:0 0 18px; line-height:1.55; color:var(--muted); }
.site-foot-cols{ display:flex; gap:56px; flex-wrap:wrap; }
.site-foot-col h5{ font-size:13px; text-transform:uppercase; letter-spacing:.1em; color:var(--faint); margin:0 0 15px; font-weight:600; }
.site-foot-col a{ display:block; margin-bottom:10px; color:var(--muted); text-decoration:none; transition:color .2s; }
.site-foot-col a:hover{ color:var(--text); }
.site-foot-legal{ font-size:13px; color:var(--faint); line-height:1.6; border-top:1px solid var(--line); padding-top:22px; }
.site-foot-legal a{ color:var(--faint); text-decoration:none; } .site-foot-legal a:hover{ color:var(--text); }

/* ---------- responsive ---------- */
@media (max-width:820px){
  .site-nav-links{ display:none; }
  .site-foot-cols{ gap:36px; }
}
@media (max-width:560px){
  .site-cta .sbtn-ghost{ display:none; }
  .site-aside{ display:none; }
  .site-nav{ height:60px; }
}
