/* Палитра бренда PrimeDay (логотип «Грань»): ink-фон, бирюзовый — техника, фиолетовый — кристалл. */
:root{--bg:#0B0F1E;--bg2:#10162A;--card:#141B30;--line:#26304A;--text:#F3F1EC;--muted:#9AA3BD;--accent:#36D7C2;--accent2:#A994FF;--warn:#36D7C2;--r:12px}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth;scroll-padding-top:105px}
body{margin:0;background:var(--bg);color:var(--text);font:16px/1.75 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
::selection{background:var(--accent2);color:var(--bg)}
a{color:var(--accent2);text-decoration:none}
a:hover{text-decoration:underline;text-underline-offset:4px}
button,input{font:inherit}
:focus-visible{outline:2px solid var(--accent2);outline-offset:5px}
.wrap{max-width:1180px;margin:0 auto;padding:0 24px}
.narrow{max-width:800px}
.muted,.section-intro{color:var(--muted)}
.small{font-size:.875rem}
code{background:#0A0E1C;padding:3px 7px;border-radius:5px;color:#D4C9FF;font-size:.875em;overflow-wrap:anywhere}
.skip-link{position:fixed;left:12px;top:-80px;padding:10px 16px;background:var(--accent2);color:var(--bg);z-index:30}
.skip-link:focus{top:10px}
/* Шапка: лаконичная навигация и логотип PrimeDay (assets/brand). */
.site-header{position:sticky;top:0;z-index:10;background:#0B0F1Ef2;backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.bar{display:flex;align-items:center;gap:24px;height:80px}
.logo{display:inline-flex;align-items:center;gap:10px;font-weight:750;font-size:1.4rem;color:var(--text);white-space:nowrap;line-height:1.2;letter-spacing:-.5px}
.logo:hover{text-decoration:none}
.logo-img{display:block;height:40px;width:auto}
.footer-logo{display:block;height:34px;width:auto;margin-bottom:6px}
.logo small{font-size:11px;font-weight:500;color:var(--muted);letter-spacing:1px;margin-left:4px}
.nav{display:flex;gap:4px;margin-left:auto;align-items:center}
.nav a{color:var(--muted);padding:8px 10px;border-radius:6px;font-size:14px;white-space:nowrap}
.nav a:hover,.nav a.active{background:#1C2540;color:var(--text);text-decoration:none}
.nav-start{display:none}
.burger{display:none;background:none;border:1px solid var(--line);color:var(--text);border-radius:7px;font-size:20px;padding:3px 10px;cursor:pointer;flex-shrink:0}
/* Медный акцент — только у основных действий. */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:25px;background:var(--accent);color:#0B0F1E;font-size:14px;font-weight:650;line-height:1.5;padding:14px 23px;border:1px solid var(--accent);border-radius:8px;cursor:pointer;transition:background .15s,transform .15s}
.btn:hover{background:#6FE6D6;text-decoration:none;transform:translateY(-1px)}
.btn>span{font-size:20px;line-height:1}
.btn-sm{padding:9px 15px;font-size:13px;white-space:nowrap}
.btn-ghost{background:transparent;border-color:#4A5577;color:var(--text)}
.btn-ghost:hover{background:#1C2540}
.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
/* Главная: атмосферная иллюстрация, но компактнее прежнего первого экрана. */
.hero{padding:55px 0 40px;background:radial-gradient(ellipse at 80% 20%,#5B3FD926,transparent 65%)}
.hero-grid{display:grid;grid-template-columns:1fr 1.08fr;gap:52px;align-items:center}
.hero h1{font-size:clamp(42px,5.2vw,68px);line-height:1.12;letter-spacing:-2.5px;font-weight:650;margin:23px 0}
.hero h1>span{color:var(--accent2)}
.hero-copy .lead{font-size:16px;line-height:1.85;max-width:460px;margin:0;color:var(--muted)}
.eyebrow{font-size:11px;letter-spacing:1.6px;text-transform:uppercase;font-weight:600;color:var(--accent);margin:0 0 12px}
.hero .eyebrow{display:flex;gap:12px;align-items:center;letter-spacing:1.2px}
.eyebrow-line{width:25px;height:1px;background:var(--accent);flex-shrink:0}
.hero-development{font-size:12px;color:var(--muted);margin:22px 0 0;display:flex;align-items:center;gap:8px}
.hero-figure{margin:0;border:1px solid #3A456866;border-radius:16px;overflow:hidden;background:#10162A;box-shadow:0 20px 60px #0003}
.hero-figure img{display:block;width:100%;height:auto;aspect-ratio:1.2;object-fit:cover;object-position:65% center}
.hero-figure figcaption{display:flex;justify-content:space-between;gap:18px;padding:13px 18px;font-size:10px;color:#A9B1C9;letter-spacing:.4px;border-top:1px solid var(--line)}
.hero-figure figcaption span:last-child{color:#8C95B0}
.project-status{padding-top:0;padding-bottom:0}
.project-status dl{display:grid;grid-template-columns:repeat(4,1fr);border-block:1px solid var(--line);margin:0;padding:23px 0}
.project-status dl>div{padding:0 23px;border-left:1px solid var(--line)}
.project-status dl>div:first-child{padding-left:0;border-left:0}
.project-status dt{font-size:11px;letter-spacing:.5px;color:var(--muted);margin-bottom:4px}
.project-status dd{font-size:14px;margin:0;color:#DDE1EE;font-weight:550}
.dot{display:inline-block;width:6px;height:6px;background:var(--accent);border-radius:50%;flex-shrink:0}
.dot.on{background:var(--accent2)}
.dot.off{background:#e09080}
.project-status .dot{margin-right:7px}
/* Простая сетка и читабельность пользовательского варианта. */
.section{padding:65px 0}
.section.alt{background:var(--bg2);border-block:1px solid #26304A80}
.page-head{padding:50px 0 29px;border-bottom:1px solid var(--line);background:radial-gradient(ellipse at top right,#5B3FD917,transparent)}
.page-head h1{font-size:clamp(30px,3.5vw,43px);line-height:1.25;letter-spacing:-1.1px;font-weight:600;margin:0 0 16px}
.page-head h1:before{content:'';display:block;width:32px;height:2px;background:var(--accent);margin-bottom:22px}
.page-head .lead{max-width:700px;margin:0;font-size:16px;color:var(--muted)}
h2{font-size:30px;font-weight:550;line-height:1.35;letter-spacing:-.7px;margin:1.4em 0 .6em}
h3{font-size:19px;line-height:1.5;font-weight:600}
.section>.wrap>h2:first-child{margin-top:0}
.section .eyebrow+h2{margin-top:0}
.section-intro{max-width:650px;margin:0}
.row-head{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-bottom:22px}
.row-head h2{margin:0}
.row-head>a{font-size:13px;white-space:nowrap}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;margin-top:25px}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:26px}
.card h3{margin:0 0 10px}
.card h2{font-size:22px;margin:0 0 15px}
.card p{margin:0;color:var(--muted);font-size:15px}
.card.link{color:var(--text);transition:transform .15s,border-color .15s}
.card.link:hover{transform:translateY(-3px);border-color:#7F8BD0;text-decoration:none}
.feature-card{position:relative;padding:27px 26px;display:flex;flex-direction:column}
.feature-card h3{font-size:25px;letter-spacing:-.5px;margin:12px 0 2px;font-weight:550}
.feature-icon{font-size:38px;line-height:1.3;color:var(--accent2);height:50px}
.feature-number{position:absolute;right:25px;top:30px;font-size:11px;letter-spacing:1px;color:#8590AD}
.feature-card .feature-label{font-size:12px;color:var(--accent);margin-bottom:20px}
.feature-card p{font-size:14px}
.feature-card>a{font-size:12px;display:flex;justify-content:space-between;gap:20px;padding-top:27px;margin-top:auto;color:var(--accent2)}
.feature-card>a span{font-size:17px}
.news>.eyebrow{font-size:10px;color:var(--accent);margin-bottom:14px}
.news h3{font-size:24px;letter-spacing:-.5px}
/* Статус и инструкции без недоступных игровых действий. */
.steps{list-style:none;padding:0;margin:25px 0;counter-reset:step;display:grid;gap:12px}
.steps li{counter-increment:step;background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:20px 23px 20px 68px;position:relative;display:grid;gap:4px}
.steps li:before{content:'0' counter(step);position:absolute;left:23px;top:20px;font-size:13px;color:var(--accent);font-weight:600}
.steps li strong{font-size:16px;font-weight:600}
.steps li span{color:var(--muted);font-size:14px}
.home-steps{grid-template-columns:repeat(3,1fr);gap:18px}
.home-steps li{padding:57px 24px 25px}
.home-steps li:before{top:20px;left:24px}
.home-steps li strong{font-size:18px;margin-bottom:6px}
.params{width:100%;border-collapse:collapse;background:var(--card);border-radius:var(--r);overflow:hidden}
.params th,.params td{text-align:left;padding:15px 20px;border-bottom:1px solid var(--line)}
.params th{width:36%;font-weight:500;color:var(--muted)}
.notice{border:1px solid #36D7C255;border-left:3px solid var(--accent);background:#36D7C209;border-radius:8px;padding:18px 22px;margin-bottom:28px;color:#D4D9E6;font-size:14px;line-height:1.9}
.notice strong{font-weight:600}
/* Гайды: спокойный ритм, доступные поиск и копирование. */
.guide-nav{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:30px}
.guide-nav a{font-size:13px;padding:7px 13px;border:1px solid var(--line);border-radius:6px;background:var(--card)}
.narrow article{padding-bottom:18px;border-bottom:1px solid var(--line);margin-bottom:25px}
.narrow article p,.narrow article li{line-height:1.95}
.narrow article li{margin-bottom:12px}
.command-tools label{display:block;font-size:13px;color:var(--muted);margin:22px 0 8px}
.command-tools input{width:100%;padding:12px 15px;background:#0A0E1C;color:var(--text);border:1px solid #3E4A6B;border-radius:7px;display:block}
.command-filters{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.command-filters button{font-size:13px;padding:7px 14px;border:1px solid var(--line);border-radius:6px;background:var(--bg2);color:var(--muted);cursor:pointer}
.command-filters button[aria-pressed=true]{background:#2A2560;border-color:#8B6CFF;color:var(--text)}
.command-row{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:17px 0;border-bottom:1px solid var(--line)}
.command-row>span{font-size:14px;color:var(--muted)}
.command-row button{display:flex;align-items:center;justify-content:space-between;gap:16px;white-space:nowrap;border:1px solid var(--line);background:#10172C;padding:10px 12px;border-radius:6px;color:var(--accent2);cursor:pointer}
.command-row button:hover{border-color:var(--accent2)}
.command-row code{font-size:13px;padding:0;background:none;color:#E0E4F0}
.copy-status{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);padding:10px 16px;border:1px solid #5E6A92;border-radius:8px;background:var(--card);color:var(--text);box-shadow:0 8px 32px #0005;opacity:0;pointer-events:none;z-index:30;max-width:90%;text-align:center;font-size:14px}
.copy-status.visible{opacity:1}
/* Подвал без лишних обещаний и декоративного шума. */
.site-footer{padding:45px 0 24px;border-top:1px solid var(--line);background:#0A0E1A;margin-top:0}
.foot{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.2fr;gap:30px}
.foot p{font-size:12px;line-height:1.9}
.foot h4{font-size:13px;font-weight:600;margin:0 0 13px;color:#E4E7F0}
.foot a{display:block;font-size:13px;color:var(--muted);padding:3px 0}
.copy{font-size:10px;margin-top:30px;padding-top:22px;border-top:1px solid var(--line)}
@media(max-width:1080px){.bar{gap:15px}.nav a{font-size:13px;padding:8px}.logo-img{height:36px}.logo small{display:none}.hero-grid{gap:35px}.hero h1{font-size:58px}.hero-copy .lead{font-size:15px}.hero-figure img{aspect-ratio:1.05}.hero-figure figcaption{font-size:9px;padding:12px;gap:8px}}
@media(max-width:800px){
 .wrap{padding-inline:22px}.narrow{max-width:760px}
 .bar{height:auto;min-height:72px;flex-wrap:wrap;gap:12px}.logo{margin-right:auto}.logo-img{height:34px}
 .btn-sm{font-size:12px;padding:8px 12px}
 .nav{display:flex;position:static;flex-basis:100%;margin-left:0;padding:8px 0 15px;flex-wrap:wrap}
 .nav a{font-size:14px}.nav-start{display:block}
 .js .bar{height:72px;flex-wrap:nowrap}.js .burger{display:block}
 .js .nav{display:none;position:absolute;top:72px;left:0;right:0;flex-direction:column;align-items:stretch;padding:15px 22px;background:var(--bg);border-bottom:1px solid var(--line)}
 .js .nav.open{display:flex}
 .hero{padding:40px 0 28px}.hero-grid{grid-template-columns:1fr 1fr;gap:25px}.hero h1{font-size:48px;letter-spacing:-1.8px}.hero .eyebrow{font-size:9px;letter-spacing:.8px;gap:8px}.eyebrow-line{width:18px}.hero-copy .lead{font-size:13px}.hero-figure img{aspect-ratio:.85}.hero-figure figcaption{flex-direction:column;gap:4px}.hero .btn{padding:12px 15px;font-size:12px;gap:16px}.hero .actions{gap:8px}.hero-development{font-size:10px}
 .project-status dl>div{padding-inline:16px}.project-status dt{font-size:10px}.project-status dd{font-size:12px}
 .section{padding:48px 0}.feature-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.feature-card{padding:22px 18px}.feature-card h3{font-size:22px}.feature-card p{font-size:12px}.feature-card .feature-label{font-size:10px}.feature-card>a{font-size:11px;gap:10px}.feature-number{right:18px;top:24px}
 .home-steps{gap:12px}.home-steps li{padding:52px 18px 22px}.home-steps li:before{left:18px}.home-steps li strong{font-size:16px}.home-steps li span{font-size:12px}.foot{grid-template-columns:1fr 1fr;gap:30px}.page-head{padding:38px 0 25px}
 .command-row{flex-direction:column;align-items:flex-start;gap:10px}.command-row button{width:100%;white-space:normal;text-align:left}.command-row code{overflow-wrap:anywhere}
}
@media(max-width:600px){
 .hero-grid{grid-template-columns:1fr;gap:30px}.hero h1{font-size:55px}.hero-copy .lead{font-size:15px;max-width:440px}.hero .eyebrow{font-size:10px}.hero .btn{padding:13px 20px;font-size:13px}.hero-development{font-size:11px}.hero-figure img{aspect-ratio:1.45;object-position:70% center}.hero-figure figcaption{flex-direction:row;font-size:9px;gap:12px;padding:12px 15px}
 .project-status dl{grid-template-columns:1fr 1fr;gap:20px 0;padding:22px 0}.project-status dl>div{padding-left:20px}.project-status dl>div:nth-child(odd){padding-left:0;border-left:0}.project-status dd{font-size:13px}
 h2{font-size:27px}.section-intro{font-size:14px}.feature-grid{grid-template-columns:1fr}.feature-card{padding:25px}.feature-icon{height:auto;font-size:35px}.feature-card h3{font-size:25px;margin-top:12px}.feature-card p{font-size:14px}.feature-card .feature-label{font-size:12px;margin-bottom:15px}.feature-card>a{font-size:12px;padding-top:24px}.feature-number{right:25px;top:27px}.home-steps{grid-template-columns:1fr}.home-steps li{padding:20px 23px 20px 64px}.home-steps li:before{left:23px;top:20px}.home-steps li strong{font-size:16px;margin-bottom:0}.home-steps li span{font-size:14px}
 .row-head{align-items:flex-start;flex-direction:column;gap:12px}.row-head>a{font-size:12px}.grid{grid-template-columns:1fr}.card{padding:23px}.card p{font-size:14px}.page-head .lead{font-size:15px}.params th,.params td{padding:13px 14px;font-size:13px;overflow-wrap:anywhere}.params th{width:35%}.notice{padding:17px 18px;font-size:13px}
}
@media(max-width:380px){.wrap{padding-inline:18px}.bar{gap:8px}.logo{gap:6px}.logo-img{height:28px}.btn-sm{font-size:11px;padding:8px 10px}.burger{padding:3px 8px}.hero h1{font-size:49px}.hero .eyebrow{font-size:9px}.hero-figure figcaption{font-size:8px;gap:8px}.foot{grid-template-columns:1fr}.page-head h1{font-size:29px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}
