:root{
  --bg:#f6f7f9;--surface:#ffffff;--surface-2:#f1f2f4;--title:#0e1115;
  --content:#323744;--muted:#606476;--faint:#84889a;--line:#e6e8ec;
  --primary:#101418;--button:#181818;--gold:#b0894a;
  --r-card:30px;--r-pill:99px;
  --font:"Manrope",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--content);font-family:var(--font);font-size:16px;line-height:1.7;font-weight:300;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4,p,ul,ol,figure,table{margin:0}
img{display:block;max-width:100%}
a{color:inherit}
:focus-visible{outline:2px solid var(--primary);outline-offset:3px;border-radius:8px}

.brandmark{display:inline-flex;align-items:center;gap:9px;background:var(--primary);border:1px solid transparent;border-radius:var(--r-pill);padding:10px 18px;color:#fff;font-weight:600;font-size:16px;letter-spacing:.06em;white-space:nowrap;text-decoration:none}
.brandmark .dot{width:8px;height:8px;border-radius:50%;background:var(--gold);display:inline-block}

.page-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:22px 24px}
.page-header__nav{display:flex;gap:6px;flex-wrap:wrap;margin-left:auto}
.page-header .lang-switch{flex:0 0 auto}
.page-header__nav a{font-size:14px;text-decoration:none;color:var(--muted);padding:9px 14px;border-radius:var(--r-pill);transition:background-color .16s ease,color .16s ease}
.page-header__nav a:hover{background:var(--surface-2);color:var(--title)}
.page-header__left{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.btn-back{display:inline-flex;align-items:center;gap:8px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-pill);padding:9px 16px;font-size:14px;color:var(--title);text-decoration:none;transition:background-color .16s ease,color .16s ease,border-color .16s ease}
.btn-back:hover{background:var(--title);color:#fff;border-color:var(--title)}
.btn-back svg{width:15px;height:15px}

.page-main{padding:20px 24px 80px}
.prose{max-width:820px;margin:0 auto}
.hero-mini{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-card);padding:clamp(28px,4vw,52px);margin-bottom:36px}
.eyebrow{display:inline-flex;align-items:center;gap:8px;background:var(--surface-2);border-radius:var(--r-pill);padding:7px 14px;font-size:13px;color:var(--muted);margin-bottom:18px}
h1{font-size:clamp(30px,4.4vw,52px);font-weight:300;line-height:1.08;letter-spacing:-.01em;color:var(--title);margin-bottom:18px}
.lead{font-size:clamp(17px,1.6vw,19px);color:var(--content);line-height:1.6;max-width:700px}
.meta{margin-top:20px;font-size:13px;color:var(--faint)}

article h2{font-size:clamp(21px,2.4vw,28px);font-weight:400;color:var(--title);line-height:1.2;margin:46px 0 14px;scroll-margin-top:24px}
article h3{font-size:18px;font-weight:600;color:var(--title);margin:30px 0 10px}
article p{margin:0 0 16px}
article ul,article ol{margin:0 0 18px;padding-left:22px}
article li{margin:0 0 8px}
article li::marker{color:var(--faint)}
article a{color:var(--title);text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--faint)}
article a:hover{text-decoration-color:var(--title)}
hr{border:0;border-top:1px solid var(--line);margin:40px 0}
strong{font-weight:600;color:var(--title)}

.callout{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:20px 22px;margin:24px 0}
.callout h3{margin-top:0}
.callout p:last-child{margin-bottom:0}

.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:28px 0}
.stat{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:18px 20px}
.stat b{display:block;font-size:26px;font-weight:400;color:var(--title);line-height:1;margin-bottom:4px}
.stat span{font-size:13px;color:var(--muted)}

.table-wrap{overflow-x:auto;margin:20px 0}
table{width:100%;min-width:560px;border-collapse:collapse;background:var(--surface);border:1px solid var(--line);border-radius:18px;overflow:hidden;font-size:14.5px}
th,td{text-align:left;padding:13px 16px;border-bottom:1px solid var(--line);vertical-align:top}
thead th{background:var(--surface-2);font-size:12px;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);font-weight:600}
tbody tr:last-child td{border-bottom:0}

.field{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.full{grid-column:1 / -1}
label{font-size:13px;color:var(--muted);font-weight:400}
input,select,textarea{font-family:inherit;font-size:15px;font-weight:300;color:var(--title);background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:12px 14px;outline:none;transition:border-color .16s ease;width:100%}
input:focus,select:focus,textarea:focus{border-color:var(--primary)}
textarea{min-height:140px;resize:vertical}
.check{display:flex;gap:10px;align-items:flex-start;font-size:14px;color:var(--content)}
.check input{width:auto;margin-top:3px}
button.btn{background:var(--button);color:#fff;border:0;border-radius:var(--r-pill);padding:13px 26px;font-size:14px;font-weight:400;font-family:inherit;cursor:pointer;transition:opacity .16s ease}
button.btn:hover{opacity:.85}
.form-note{font-size:14px;color:var(--muted);margin-top:14px;min-height:22px}
.form-note.is-error{color:#c0392b}
.form-note.is-ok{color:#2f7d55}

.site-footer{border-top:1px solid var(--line);background:var(--surface);margin-top:20px}
.site-footer__inner{max-width:1080px;margin:0 auto;padding:40px 24px 48px}
.site-footer__top{display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between}
.site-footer__tag{font-size:14px;color:var(--muted);max-width:380px}
.site-footer__links{display:flex;flex-wrap:wrap;gap:6px;margin:26px 0}
.site-footer__links a{font-size:14px;color:var(--content);text-decoration:none;padding:9px 14px;border:1px solid var(--line);border-radius:var(--r-pill);transition:background-color .16s ease,color .16s ease,border-color .16s ease}
.site-footer__links a:hover{background:var(--title);color:#fff;border-color:var(--title)}
.site-footer__copy{font-size:13px;color:var(--faint)}

@media (max-width:720px){
  .page-header,.page-main{padding-left:16px;padding-right:16px}
  .stats{grid-template-columns:1fr 1fr}
  .form-grid{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}
