/* ИС — Петиции: редакционный дизайн v2, 8.11.26.
   Источник визуального стандарта: основной сайт Идеальные Системы, без замены логотипа.
   Тексты и правовые статусы генерируются отдельно; CSS не переписывает содержание. */
:root{
  color-scheme:dark;
  --pet-bg:#09090f;--pet-panel:#17151c;--pet-deep:#111117;--pet-ink:#f7f2e9;
  --pet-muted:#c4bdc3;--pet-soft:#99949e;--pet-gold:#efd09a;--pet-gold-strong:#f3d8a8;
  --pet-outline:rgba(239,208,154,.24);--pet-line:rgba(255,255,255,.12);
  --pet-shadow:0 22px 65px rgba(0,0,0,.26)
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;min-width:280px;padding-bottom:0;color:var(--pet-ink);
  background:
    radial-gradient(ellipse 42rem 28rem at 95% -3%,rgba(117,79,50,.23),transparent 76%),
    radial-gradient(ellipse 35rem 34rem at -15% 33%,rgba(60,46,88,.20),transparent 74%),
    var(--pet-bg);
  font:16px/1.65 Onest,system-ui,-apple-system,"Segoe UI",sans-serif
}
a{color:var(--pet-gold);text-decoration-thickness:1px;text-underline-offset:.2em}
a:hover{color:#fff}
a:focus-visible,button:focus-visible{outline:3px solid var(--pet-gold-strong);outline-offset:3px}
.is-top{position:sticky;top:0;z-index:40}
.shell{max-width:1100px;margin-inline:auto;padding-inline:22px}
.pet-main{padding-top:28px;padding-bottom:88px}
.crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:9px;max-width:100%;margin:0 0 24px;
  font-size:13px;line-height:1.5;color:var(--pet-soft);overflow-wrap:anywhere}
.crumbs a{color:var(--pet-muted);text-decoration:none}.crumbs a:hover{color:var(--pet-gold)}
.pet-hero{position:relative;isolation:isolate;overflow:hidden;
  padding:clamp(25px,5vw,61px);margin:0 0 28px;border-radius:30px;
  border:1px solid var(--pet-outline);
  background:linear-gradient(126deg,rgba(35,30,39,.98) 0%,rgba(21,20,28,.98) 65%,rgba(30,26,35,.96) 100%);
  box-shadow:var(--pet-shadow)}
.pet-hero:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(ellipse 26rem 21rem at 102% 0%,rgba(223,170,99,.15),transparent 78%);
}
.pet-hero:after{content:"";position:absolute;width:380px;height:380px;top:-200px;right:-160px;
  border:1px solid rgba(239,208,154,.16);border-radius:50%;box-shadow:0 0 0 60px rgba(239,208,154,.025),0 0 0 123px rgba(239,208,154,.012);
  pointer-events:none;z-index:-1}
.eyebrow{margin:0 0 14px;letter-spacing:.16em;text-transform:uppercase;
  font-size:12px;font-weight:760;color:var(--pet-gold);line-height:1.4}
.pet-hero h1{font-size:clamp(34px,6vw,68px);font-weight:810;line-height:1.075;letter-spacing:-.045em;
  max-width:17ch;margin:0 0 23px;text-wrap:balance;overflow-wrap:anywhere}
.pet-hero--detail h1{font-size:clamp(29px,4.7vw,51px);max-width:24ch}
.lead{font-size:clamp(16px,2vw,19px);line-height:1.68;max-width:68ch;color:#e5dfe3;margin:0 0 24px}
.pet-hero .status,.pet-hero .note{max-width:72ch;margin:20px 0 0;
  border:1px solid rgba(239,208,154,.26);border-radius:16px;padding:14px 18px;background:rgba(239,208,154,.07);
  color:#e8dcc6;line-height:1.55}
.pet-hero .status:before{content:"";display:inline-block;vertical-align:middle;
  width:8px;height:8px;background:var(--pet-gold);border-radius:50%;margin-right:10px}
.pet-hero .note{border-color:var(--pet-line);background:rgba(255,255,255,.045);color:#ddd4df}
.pet-grid{counter-reset:pet-card;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;margin:28px 0 22px}
.pet-card{counter-increment:pet-card;position:relative;overflow:hidden;display:flex;flex-direction:column;
  align-items:stretch;min-height:350px;padding:31px 31px 28px;background:linear-gradient(143deg,#211e27,#15141b 78%);
  border:1px solid rgba(239,208,154,.20);border-radius:24px;
  box-shadow:0 10px 36px rgba(0,0,0,.19);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.pet-card:hover{transform:translateY(-3px);border-color:rgba(239,208,154,.52);box-shadow:0 22px 52px rgba(0,0,0,.33)}
.pet-card:before{content:counter(pet-card);position:absolute;top:24px;right:26px;font-size:62px;line-height:1;
  font-weight:800;letter-spacing:-.08em;color:rgba(239,208,154,.075);pointer-events:none}
.pet-card:first-child{grid-column:1 / -1;min-height:330px;
  background:radial-gradient(ellipse 40% 100% at 100% 55%,rgba(196,137,83,.18),transparent 90%),linear-gradient(135deg,#27212b,#15141b 83%);border-color:rgba(239,208,154,.33)}
.pet-card:first-child:after{content:"";position:absolute;right:-90px;bottom:-200px;width:350px;height:350px;
  border:1px solid rgba(239,208,154,.17);border-radius:50%;box-shadow:0 0 0 52px rgba(239,208,154,.025),0 0 0 105px rgba(239,208,154,.014);pointer-events:none}
.pet-meta{display:flex;align-items:center;flex-wrap:wrap;gap:9px 14px;padding-right:50px;
  font-size:12px;font-weight:600;color:var(--pet-soft);letter-spacing:.02em;line-height:1.45}
.pill{display:inline-block;max-width:100%;padding:5px 11px;border-radius:999px;background:rgba(239,208,154,.065);
  border:1px solid rgba(239,208,154,.22);font-size:11px;line-height:1.4;color:#e8d7ba;font-weight:720;white-space:normal}
.pet-card h2{margin:33px 0 15px;font-size:clamp(23px,2.7vw,30px);line-height:1.22;letter-spacing:-.02em;
  font-weight:760;max-width:30ch;overflow-wrap:anywhere}
.pet-card:first-child h2{max-width:22ch;font-size:clamp(27px,4vw,39px)}
.pet-card h2 a{color:var(--pet-ink);text-decoration:none}.pet-card h2 a:hover{color:var(--pet-gold)}
.pet-card > p{margin:0 0 15px;color:#dad2d9;line-height:1.7;max-width:59ch}
.pet-card > .dim{margin-top:auto;font-size:12px;color:var(--pet-soft)}
.btn{align-self:flex-start;display:inline-flex;align-items:center;justify-content:center;gap:13px;
  min-height:45px;margin-top:15px;padding:11px 17px;border:1px solid var(--pet-gold);
  border-radius:999px;background:var(--pet-gold);color:#251a13;text-decoration:none;
  font-size:14px;line-height:1.3;font-weight:800;transition:background .18s ease,transform .18s ease}
.btn:after{content:"→";font-size:18px;line-height:1}
.btn:hover{background:#ffe0ab;color:#19120d;transform:translateX(2px)}
.dim{font-size:14px;line-height:1.65;color:var(--pet-muted);overflow-wrap:anywhere}
.pet-main > .dim{margin:24px 0 0;padding:17px 20px;background:rgba(255,255,255,.033);
  border-left:2px solid var(--pet-outline);border-radius:0 12px 12px 0;max-width:85ch}
.pet-hero--detail .dim{margin:20px 0 0;color:var(--pet-muted);font-size:13px;max-width:82ch}
.meta-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;
  margin:23px 0 0;padding:23px 0 0;border-top:1px solid rgba(239,208,154,.22)}
.meta-row > div{min-width:0;color:var(--pet-ink);overflow-wrap:anywhere}
.meta-row .label{display:block;margin-bottom:7px;color:var(--pet-soft);font-size:11px;
  line-height:1.45;text-transform:uppercase;letter-spacing:.12em;font-weight:760}
.pet-main > section{margin:18px 0 0;padding:clamp(22px,4vw,42px);background:rgba(26,24,32,.82);
  border:1px solid var(--pet-line);border-radius:22px;scroll-margin-top:100px}
.pet-main > section h2{font-size:clamp(21px,3.4vw,29px);line-height:1.25;
  max-width:37ch;color:var(--pet-gold);letter-spacing:-.02em;margin:0 0 20px}
.pet-main > section p{font-size:16px;line-height:1.82;color:#e5dfe5;max-width:78ch;margin:0 0 16px;overflow-wrap:anywhere}
.pet-main > section p:last-child{margin-bottom:0}
.pet-main > section a{font-weight:650;overflow-wrap:anywhere}
.pet-main > section .dim{font-size:14px;color:var(--pet-muted)}
.pet-foot{border-top:1px solid rgba(239,208,154,.14);padding:28px 0 44px;color:var(--pet-soft);
  background:rgba(8,8,13,.45);font-size:13px}
.pet-foot p{margin:5px 0}.pet-foot a{color:var(--pet-gold)}
@media(max-width:790px){.pet-hero h1{max-width:none}.pet-grid{grid-template-columns:1fr}.pet-card:first-child{grid-column:auto}}
@media(max-width:720px){.shell{padding-inline:16px}.pet-main{padding-top:18px;padding-bottom:56px}
  .crumbs{margin-bottom:15px}.pet-hero{padding:25px 21px;border-radius:23px;margin-bottom:19px}
  .pet-hero:after{width:230px;height:230px;top:-125px;right:-145px}
  .pet-hero h1{font-size:clamp(30px,8vw,46px);margin-bottom:14px;letter-spacing:-.035em}
  .pet-hero--detail h1{font-size:clamp(27px,7vw,38px)}
  .lead{font-size:16px}.pet-grid{gap:12px;margin-top:17px}.pet-card,.pet-card:first-child{min-height:0;padding:23px;border-radius:20px}
  .pet-card h2{margin-top:25px;font-size:25px}.pet-card:first-child h2{font-size:28px}
  .pet-card:before{top:18px;right:20px;font-size:52px}
  .meta-row{grid-template-columns:1fr;gap:12px}.meta-row>div{padding:0 0 11px;border-bottom:1px solid var(--pet-line)}.meta-row>div:last-child{border-bottom:0;padding:0}
  .pet-main>section{padding:21px;border-radius:18px}.pet-main>section p{line-height:1.72}
}
@media(max-width:520px){
  .is-top .in{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center;padding:9px 12px}
  .is-top .is-brand{grid-column:1;grid-row:1;min-width:0;max-width:none;overflow:visible}
  .is-top .is-brand span{font-size:13px;white-space:normal;overflow:visible;text-overflow:clip;max-width:none;line-height:1.14}
  .is-top .in>.sm-lang{grid-column:2;grid-row:1}
  .is-top .is-toggle{grid-column:3;grid-row:1}
  .is-top .is-support{grid-column:1 / -1;grid-row:2;justify-self:stretch;text-align:center;display:block;
    padding:9px 13px;font-size:13px;white-space:normal}
}
@media(max-width:350px){.is-top .in{gap:5px;padding:8px}.is-top .is-brand{gap:6px}
  .is-top .is-brand img{width:33px;height:33px}.is-top .is-brand span{font-size:12px}
  .pet-hero{padding:21px 17px}.pet-card{padding:19px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.pet-card,.btn{transition:none}.pet-card:hover,.btn:hover{transform:none}}
