/* Citena — страница продукта. Те же токены, что в панели: одно семейство. */
:root{
  --bg:#f3f4f6; --card:#fff; --ink:#111827; --ink-2:#374151; --mut:#6b7280;
  --line:#e5e7eb; --line-2:#f3f4f6; --dark:#0f1a14;
  --ok:#16a34a; --ok-bg:#dcfce7; --ok-ink:#15803d; --gold:#c19a3e;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#0b100d; --card:#141b17; --ink:#e8edea; --ink-2:#c3ccc7; --mut:#8b9a91;
    --line:#22302a; --line-2:#1a241f; --ok-bg:#0f2a1b;
  }
}
:root[data-theme="dark"]{
  --bg:#0b100d; --card:#141b17; --ink:#e8edea; --ink-2:#c3ccc7; --mut:#8b9a91;
  --line:#22302a; --line-2:#1a241f; --ok-bg:#0f2a1b;
}
*{box-sizing:border-box}
html,body{margin:0; padding:0}
body{background:var(--bg); color:var(--ink); line-height:1.55; font-size:16px;
  font-family:"Inter","Segoe UI",system-ui,-apple-system,"Helvetica Neue",Arial,sans-serif;
  -webkit-font-smoothing:antialiased}
.ct-wrap{max-width:1040px; margin:0 auto; padding:0 24px}

.ct-head{padding:22px 0; display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap}
.ct-logo{display:flex; align-items:center; gap:10px; font-size:20px; font-weight:600; letter-spacing:-.2px; line-height:1.2}
.ct-logo i{width:32px; height:32px; border-radius:9px; background:var(--ok); color:#fff; display:flex;
  align-items:center; justify-content:center; font-style:normal; font-size:16px; font-weight:600; line-height:1}
.ct-seg{display:flex; background:var(--line-2); border:1px solid var(--line); border-radius:9px; padding:2px}
.ct-seg button{border:0; background:none; padding:5px 11px; border-radius:7px; cursor:pointer;
  font:inherit; font-size:13px; color:var(--mut); line-height:1.4}
.ct-seg button[aria-pressed="true"]{background:var(--card); color:var(--ink); font-weight:600}

.ct-hero{padding:46px 0 40px; max-width:720px}
.ct-hero h1{font-size:38px; line-height:1.18; margin:0 0 16px; font-weight:600; letter-spacing:-.9px}
.ct-hero p{font-size:18px; color:var(--ink-2); margin:0 0 26px; line-height:1.6}
.ct-btns{display:flex; gap:11px; flex-wrap:wrap}
.ct-btn{display:inline-block; border:0; border-radius:10px; padding:12px 22px; font-size:15px;
  font-weight:500; cursor:pointer; text-decoration:none; line-height:1.4; font-family:inherit}
.ct-btn--p{background:var(--ok); color:#fff}
.ct-btn--s{background:var(--card); color:var(--ink); border:1px solid var(--line)}

.ct-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(238px,1fr)); gap:16px; padding:8px 0 44px}
.ct-c{background:var(--card); border:1px solid var(--line); border-radius:12px; padding:20px}
.ct-c b{display:block; font-size:16px; margin-bottom:7px; line-height:1.4}
.ct-c p{margin:0; font-size:14.5px; color:var(--mut); line-height:1.6}
.ct-c i{display:flex; width:36px; height:36px; border-radius:10px; background:var(--ok-bg); color:var(--ok-ink);
  align-items:center; justify-content:center; margin-bottom:13px; font-style:normal}
.ct-c svg{width:19px; height:19px}

.ct-band{background:var(--dark); color:#cfe0d6; border-radius:14px; padding:30px 32px; margin-bottom:44px}
.ct-band h2{margin:0 0 8px; font-size:22px; color:#fff; font-weight:600; line-height:1.3}
.ct-band p{margin:0 0 20px; font-size:15px; color:#9aa8a1; max-width:640px; line-height:1.6}
.ct-nums{display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:18px}
.ct-n b{display:block; font-size:26px; color:#fff; font-weight:600; line-height:1.2; letter-spacing:-.4px}
.ct-n span{font-size:13px; color:#8b9a91; line-height:1.5}

.ct-foot{border-top:1px solid var(--line); padding:24px 0 40px; color:var(--mut); font-size:13.5px; line-height:1.7}
.ct-foot a{color:var(--mut)}

@media(max-width:600px){
  .ct-hero{padding:30px 0 26px}
  .ct-hero h1{font-size:28px; letter-spacing:-.5px}
  .ct-hero p{font-size:16px}
  .ct-band{padding:24px 20px}
}

/* ---------- экран входа ---------- */
.ct-mid{min-height:100vh; display:flex; align-items:center; justify-content:center; padding:24px}
.ct-box{width:100%; max-width:390px}
.ct-box .ct-logo{justify-content:center; margin-bottom:22px; font-size:22px}
.ct-form{background:var(--card); border:1px solid var(--line); border-radius:14px; padding:26px}
.ct-form h1{font-size:19px; margin:0 0 4px; font-weight:600; line-height:1.3}
.ct-form .ct-sub{font-size:13.5px; color:var(--mut); margin:0 0 20px; line-height:1.55}
.ct-f{margin-bottom:14px}
.ct-f label{display:block; font-size:12.5px; color:var(--mut); margin-bottom:5px; line-height:1.5}
.ct-f input{width:100%; background:var(--line-2); border:1px solid var(--line); border-radius:9px;
  padding:11px 13px; font:inherit; font-size:16px; color:var(--ink); line-height:1.45}
.ct-f input:focus{outline:none; border-color:var(--ok); background:var(--card)}
.ct-form .ct-btn{width:100%; margin-top:6px}
.ct-note{margin-top:18px; padding-top:16px; border-top:1px solid var(--line);
  font-size:12.5px; color:var(--mut); line-height:1.6}
.ct-note a{color:var(--ok-ink)}
.ct-msg{margin-top:14px; background:var(--ok-bg); color:var(--ok-ink); border-radius:9px;
  padding:10px 13px; font-size:13px; line-height:1.55; display:none}
.ct-msg.on{display:block}
