/* Relocate to Georgia: modern design layer.  Same palette (ink / blue / brass), new typography and structure.
   Scoped with body.md so it can sit on top of the older page stylesheets without fighting them. */

/* ---------- fonts (self-hosted) ---------- */
@font-face{font-family:"Source Serif 4 Variable";font-style:normal;font-weight:200 900;font-display:swap;src:url(/assets/fonts/serif-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Source Serif 4 Variable";font-style:normal;font-weight:200 900;font-display:swap;src:url(/assets/fonts/serif-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Source Serif 4 Variable";font-style:normal;font-weight:200 900;font-display:swap;src:url(/assets/fonts/serif-cyrillic.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Onest Variable";font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/fonts/onest-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Onest Variable";font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/fonts/onest-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Onest Variable";font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/fonts/onest-cyrillic.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}

/* ---------- tokens ---------- */
:root{
  --ink:#0f172a; --ink-2:#1e293b; --blue:#2563eb; --blue-d:#1d4ed8; --brass:#bf9456; --brass-d:#8f6a2c;
  --paper:#f8fafc; --mist:#e2e8f0; --slate:#334155; --muted:#64748b; --white:#fff;
  --serif:"Source Serif 4 Variable","Source Serif 4",Georgia,"Times New Roman",serif;
  --sans:"Onest Variable","Onest",system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --wrap:1240px; --gutter:28px;
}

/* ---------- base ---------- */
body.md{margin:0;font-family:var(--sans);font-size:17px;line-height:1.6;color:var(--slate);background:#fff;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body.md *,body.md *::before,body.md *::after{box-sizing:border-box}
body.md [id]{scroll-margin-top:96px}
body.md .skip{position:absolute;left:12px;top:-60px;z-index:2000;background:var(--ink);color:#fff;padding:10px 16px;border-radius:8px;text-decoration:none;transition:top .15s}
body.md .skip:focus{top:12px}
body.md :focus-visible{outline:3px solid var(--blue);outline-offset:3px;border-radius:4px}
body.md .wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--gutter)}

body.md :is(h1,h2,h3,h4){text-wrap:balance}
body.md :is(p,li,figcaption){text-wrap:pretty}

/* headings on every page use the serif; sizes stay with each page's own stylesheet */
body.md main :is(h1,h2,h3,h4){font-family:var(--serif);font-weight:600;letter-spacing:-.012em}

/* ---------- buttons ---------- */
body.md .bt{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 24px;border-radius:10px;border:1.5px solid transparent;font:600 .98rem/1.2 var(--sans);text-decoration:none;cursor:pointer;transition:background .15s,border-color .15s,color .15s,transform .15s}
body.md .bt:active{transform:translateY(1px)}
body.md .bt-primary{background:var(--blue);color:#fff}
body.md .bt-primary:hover{background:var(--blue-d)}
body.md .bt-line{background:transparent;color:var(--ink);border-color:var(--ink)}
body.md .bt-line:hover{background:var(--ink);color:#fff}
body.md .bt-brass{background:var(--brass);color:var(--ink)}
body.md .bt-brass:hover{background:#cfa66a}
body.md .bt-light{background:#fff;color:var(--ink)}
body.md .bt-light:hover{background:var(--paper)}
body.md .bt-ghost-light{background:transparent;color:#fff;border-color:rgba(255,255,255,.4)}
body.md .bt-ghost-light:hover{border-color:#fff}
body.md .bt-sm{padding:10px 16px;font-size:.9rem;border-radius:8px}
/* older button classes on inner pages: same palette, one radius, no off-brand yellow */
body.md a.btn-primary,body.md button.btn-primary{background:var(--blue);color:#fff;border-radius:10px;font-family:var(--sans);font-weight:600}
body.md a.btn-primary:hover{background:var(--blue-d)}
body.md .gold-premium-cta,body.md .fast-track-btn{background:var(--brass)!important;border-color:var(--brass)!important;color:var(--ink)!important}
body.md .btn-secondary{border-radius:10px;font-family:var(--sans);font-weight:600}

/* ---------- header ---------- */
body.md .hd{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.92);-webkit-backdrop-filter:saturate(1.4) blur(12px);backdrop-filter:saturate(1.4) blur(12px);border-bottom:1px solid var(--mist)}
body.md .hd-in{max-width:var(--wrap);margin:0 auto;height:76px;padding:0 var(--gutter);display:flex;align-items:center;gap:32px}
body.md .hd-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);flex:none}
body.md .hd-brand img{height:38px;width:auto;display:block}
body.md .hd-name{font-family:var(--serif);font-weight:650;font-size:1.12rem;line-height:1.08;letter-spacing:-.01em}
body.md .hd-nav{margin-left:auto;display:flex;align-items:center;gap:30px}
body.md .hd-links{display:flex;gap:28px;list-style:none;margin:0;padding:0}
body.md .hd-links>li>a{display:block;padding:6px 0;font-size:.95rem;font-weight:500;color:var(--slate);text-decoration:none;border-bottom:2px solid transparent;transition:color .15s,border-color .15s}
body.md .hd-links>li>a:hover{color:var(--ink)}
body.md .hd-links>li>a.active{color:var(--ink);border-bottom-color:var(--brass)}
body.md .hd-tools{display:flex;align-items:center;gap:12px}
body.md .hd-lang{position:relative}
body.md .hd-lang-btn{min-height:40px;display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--mist);border-radius:8px;padding:8px 10px;font:600 .85rem/1 var(--sans);color:var(--ink);cursor:pointer}
body.md .hd-lang-btn img,body.md .hd-lang-menu img{width:20px;height:auto;display:block;border-radius:2px}
body.md .hd-lang-btn .fa-chevron-down{font-size:.65rem;color:var(--muted)}
body.md .hd-lang-menu{position:absolute;right:0;top:calc(100% + 8px);min-width:150px;margin:0;padding:6px;list-style:none;background:#fff;border:1px solid var(--mist);border-radius:12px;box-shadow:0 18px 40px -12px rgba(15,23,42,.22);opacity:0;visibility:hidden;transform:translateY(-4px);transition:opacity .15s,transform .15s,visibility .15s}
body.md .hd-lang:hover .hd-lang-menu,body.md .hd-lang.open .hd-lang-menu{opacity:1;visibility:visible;transform:none}
body.md .hd-lang-menu a{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:8px;color:var(--slate);text-decoration:none;font-size:.9rem}
body.md .hd-lang-menu a:hover{background:var(--paper)}
body.md .hd-lang-menu a.active{color:var(--blue);font-weight:600}
body.md .hd-toggle{display:none;margin-left:auto;width:44px;height:44px;align-items:center;justify-content:center;background:none;border:1px solid var(--mist);border-radius:10px;color:var(--ink);font-size:1.15rem;cursor:pointer}
@media (max-width:1100px){
  body.md .hd-in{height:68px}
  body.md .hd-toggle{display:flex}
  body.md .hd-nav{position:absolute;top:100%;left:0;right:0;margin:0;flex-direction:column;align-items:stretch;gap:0;padding:6px var(--gutter) 22px;background:#fff;border-bottom:1px solid var(--mist);box-shadow:0 24px 40px -20px rgba(15,23,42,.25);opacity:0;visibility:hidden;transform:translateY(-8px);transition:opacity .18s,transform .18s,visibility .18s}
  body.md .hd-nav.active{opacity:1;visibility:visible;transform:none}
  body.md .hd-links{flex-direction:column;gap:0}
  body.md .hd-links>li>a{padding:16px 0;font-size:1.05rem;border-bottom:1px solid var(--mist)}
  body.md .hd-links>li>a.active{border-bottom-color:var(--mist);color:var(--blue)}
  body.md .hd-tools{margin-top:18px;justify-content:space-between}
  body.md .hd-cta{flex:1;justify-content:center;min-height:44px}
  body.md .hd-lang-menu{right:auto;left:0}
}

/* ---------- home: hero ("your Georgia file") ---------- */
body.md .h-hero{background:var(--paper);border-bottom:1px solid var(--mist)}
body.md .h-hero .wrap{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:72px;align-items:center;padding-top:76px;padding-bottom:88px}
body.md .h-hero h1{margin:0 0 24px;font-family:var(--serif);font-weight:600;font-size:clamp(2.1rem,4.1vw,3.4rem);line-height:1.07;letter-spacing:-.022em;color:var(--ink);max-width:19ch}
body.md .h-hero-p{margin:0;font-size:1.18rem;line-height:1.55;color:var(--slate);max-width:33rem}
body.md .h-actions{display:flex;flex-wrap:wrap;gap:12px;margin:34px 0 34px}
body.md .h-file{background:var(--ink);color:#e2e8f0;border-radius:18px;padding:30px 30px 26px;box-shadow:0 40px 70px -28px rgba(15,23,42,.55)}
body.md .h-file-head{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding-bottom:18px;border-bottom:1px solid rgba(255,255,255,.14)}
body.md .h-file-head h2{margin:0;font-family:var(--serif);font-size:1.4rem;font-weight:600;letter-spacing:-.01em;color:#fff}
body.md .h-file-head span{font-size:.85rem;color:#94a3b8;white-space:nowrap;flex:none}
body.md .h-file ol{list-style:none;margin:0;padding:0}
body.md .h-file li{--d:calc(.55s + var(--i) * .42s);display:grid;grid-template-columns:24px 1fr auto;gap:16px;align-items:center;padding:16px 0;border-bottom:1px solid rgba(255,255,255,.08)}
body.md .h-file li:last-child{border-bottom:0}
body.md .h-tick{width:22px;height:22px;border-radius:50%;border:1.5px solid #475569;position:relative;animation:tickOn .35s var(--d) forwards}
body.md .h-tick::after{content:"";position:absolute;left:5px;top:5px;width:9px;height:5px;border-left:2px solid var(--ink);border-bottom:2px solid var(--ink);transform:rotate(-45deg);opacity:0;animation:tickMark .25s calc(var(--d) + .1s) forwards}
body.md .h-lbl{font-weight:500;font-size:1rem;line-height:1.35;color:#fff;opacity:.38;animation:lblOn .4s var(--d) forwards}
body.md .h-time{font-size:.86rem;color:#cbd5e1;text-align:right;line-height:1.35;max-width:9.5rem;opacity:.38;animation:lblOn .4s var(--d) forwards}
body.md .h-file-note{margin:16px 0 0;font-size:.82rem;line-height:1.5;color:#94a3b8}
@keyframes tickOn{to{background:var(--brass);border-color:var(--brass)}}
@keyframes tickMark{to{opacity:1}}
@keyframes lblOn{to{opacity:1}}
@media (prefers-reduced-motion:reduce){
  body.md .h-tick{background:var(--brass);border-color:var(--brass);animation:none}
  body.md .h-tick::after{opacity:1;animation:none}
  body.md .h-lbl,body.md .h-time{opacity:1;animation:none}
}

/* ---------- home: sections ---------- */
body.md .h-sec{padding:104px 0}
body.md .h-sec.alt{background:var(--paper);border-top:1px solid var(--mist);border-bottom:1px solid var(--mist)}
body.md .h-h2{margin:0 0 16px;font-family:var(--serif);font-weight:600;font-size:clamp(1.85rem,3.1vw,2.7rem);line-height:1.1;letter-spacing:-.02em;color:var(--ink);max-width:21ch}
body.md .h-lead{margin:0;max-width:36rem;font-size:1.1rem;color:var(--slate)}
body.md .h-head{margin-bottom:52px}

/* rules of Georgia */
body.md .h-rules{display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);gap:80px;align-items:stretch}
body.md .h-photo{position:relative;border-radius:18px;overflow:hidden;min-height:440px;background:var(--ink)}
body.md .h-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
body.md .h-facts{list-style:none;margin:36px 0 0;padding:0;border-top:1px solid var(--brass)}
body.md .h-facts li{display:grid;grid-template-columns:172px minmax(0,1fr);gap:28px;align-items:baseline;padding:26px 0;border-bottom:1px solid var(--mist)}
body.md .h-fact-v{font-family:var(--serif);font-weight:600;font-size:clamp(1.9rem,3vw,2.6rem);line-height:1;letter-spacing:-.025em;color:var(--ink);white-space:nowrap}
body.md .h-fact-t{color:var(--slate);font-size:1.02rem;max-width:34rem}

/* services: a ruled price index, not cards */
body.md .h-index{list-style:none;margin:0;padding:0;border-top:2px solid var(--ink)}
body.md .h-index a{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.5fr) 132px;gap:36px;align-items:baseline;padding:28px 10px;border-bottom:1px solid var(--mist);color:inherit;text-decoration:none;transition:background .15s}
body.md .h-index a:hover{background:var(--paper)}
body.md .h-index a:hover .h-ix-name{color:var(--blue)}
body.md .h-ix-name{font-family:var(--serif);font-size:1.5rem;font-weight:600;line-height:1.2;letter-spacing:-.012em;color:var(--ink);transition:color .15s}
body.md .h-ix-desc{font-size:1.02rem;color:var(--slate)}
body.md .h-ix-price{text-align:right;font-family:var(--serif);font-size:1.35rem;font-weight:600;color:var(--ink);white-space:nowrap}
body.md .h-ix-price small{display:block;font-family:var(--sans);font-size:.78rem;font-weight:500;color:var(--muted);margin-bottom:2px}

/* packages: three unequal panels */
body.md .h-plans{display:grid;grid-template-columns:1fr 1fr 1.08fr;gap:22px;align-items:stretch}
body.md .h-plan{display:flex;flex-direction:column;padding:34px 32px 32px;background:#fff;border:1px solid var(--mist);border-radius:16px}
body.md .h-plan-for{margin:0 0 6px;font-size:.92rem;color:var(--muted)}
body.md .h-plan h3{margin:0 0 22px;font-family:var(--serif);font-size:1.6rem;font-weight:600;line-height:1.15;letter-spacing:-.015em;color:var(--ink)}
body.md .h-price{font-family:var(--serif);font-weight:600;font-size:3.1rem;line-height:1;letter-spacing:-.03em;color:var(--ink)}
body.md .h-price small{margin-left:8px;font-family:var(--sans);font-size:.9rem;font-weight:500;letter-spacing:0;color:var(--muted)}
body.md .h-plan ul{list-style:none;margin:26px 0 30px;padding:0;display:grid;gap:13px;flex:1}
body.md .h-plan li{position:relative;padding-left:28px;font-size:.98rem;line-height:1.45;color:var(--slate)}
body.md .h-plan li::before{content:"";position:absolute;left:1px;top:.32em;width:12px;height:6px;border-left:2px solid var(--brass);border-bottom:2px solid var(--brass);transform:rotate(-45deg)}
body.md .h-plan li.inc{color:var(--ink);font-weight:600}
body.md .h-plan .bt{width:100%}
body.md .h-plan.fast{background:var(--ink);border-color:var(--ink);border-top:4px solid var(--brass);color:#cbd5e1}
body.md .h-plan.fast .h-plan-for{color:#94a3b8}
body.md .h-plan.fast h3{color:#fff}
body.md .h-plan.fast li{color:#cbd5e1}
body.md .h-plan.fast li.inc{color:#fff}
body.md .h-plans-more{margin:28px 0 0}
body.md .h-link{color:var(--blue);font-weight:600;text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1.5px}
body.md .h-link:hover{color:var(--blue-d)}

/* FAQ */
body.md .h-faq{display:grid;grid-template-columns:minmax(0,.62fr) minmax(0,1.38fr);gap:80px;align-items:start}
body.md .h-faq-side{position:sticky;top:112px}
body.md .h-faq-side p{margin:0 0 22px;color:var(--slate);max-width:26rem}
body.md .h-q{border-top:1px solid var(--mist)}
body.md .h-q:last-child{border-bottom:1px solid var(--mist)}
body.md .h-q summary{display:flex;justify-content:space-between;align-items:baseline;gap:28px;padding:24px 0;list-style:none;cursor:pointer;font-family:var(--serif);font-size:1.22rem;font-weight:600;line-height:1.3;letter-spacing:-.01em;color:var(--ink)}
body.md .h-q summary::-webkit-details-marker{display:none}
body.md .h-q summary::after{content:"+";flex:none;font-family:var(--sans);font-weight:400;font-size:1.6rem;line-height:1;color:var(--brass-d)}
body.md .h-q[open] summary::after{content:"\2212"}
body.md .h-q summary:hover{color:var(--blue)}
body.md .h-q-a{padding:0 44px 26px 0;max-width:46rem}
body.md .h-q-a p{margin:0;font-size:1rem;line-height:1.65;color:var(--slate)}
body.md .h-q-a a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}

/* closing action */
body.md .h-cta{background:var(--ink);color:#cbd5e1;padding:88px 0 80px;border-top:4px solid var(--brass)}
body.md .h-cta + .ft{border-top:1px solid #1e293b;padding-top:64px}
body.md .h-cta .wrap{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:72px;align-items:center}
body.md .h-cta h2{margin:0 0 14px;font-family:var(--serif);font-weight:600;font-size:clamp(1.9rem,3.3vw,2.9rem);line-height:1.1;letter-spacing:-.02em;color:#fff;max-width:18ch}
body.md .h-cta p{margin:0;font-size:1.1rem;max-width:30rem}
body.md .h-cta-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-end}


/* process: who does what, step by step */
body.md .h-proc{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:88px;align-items:start}
body.md .h-proc-side{position:sticky;top:112px}
body.md .h-proc-side .h-lead{margin-bottom:30px}
body.md .h-proc-list{list-style:none;margin:0;padding:0}
body.md .h-proc-list li{position:relative;display:grid;grid-template-columns:56px minmax(0,1fr);gap:0 28px;padding-bottom:46px}
body.md .h-proc-list li:last-child{padding-bottom:0}
body.md .h-proc-list li::before{content:"";position:absolute;left:27px;top:60px;bottom:4px;width:2px;background:var(--mist)}
body.md .h-proc-list li:last-child::before{display:none}
body.md .h-proc-n{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:var(--ink);color:var(--brass);font-family:var(--serif);font-weight:600;font-size:1.5rem;line-height:1}
body.md .h-proc-body h3{margin:6px 0 16px;font-family:var(--serif);font-size:1.5rem;font-weight:600;line-height:1.2;letter-spacing:-.014em;color:var(--ink)}
body.md .h-role{display:grid;grid-template-columns:52px minmax(0,1fr);gap:14px;align-items:baseline;margin:0 0 12px;font-size:1.02rem;line-height:1.55;color:var(--slate)}
body.md .h-role b{display:block;text-align:center;padding:6px 0;border-radius:6px;background:var(--paper);border:1px solid var(--mist);font:600 .8rem/1 var(--sans);color:var(--muted)}
body.md .h-role.we b{background:var(--ink);border-color:var(--ink);color:#fff}

/* Fast-Track: the shared features come first, then one price per track */
body.md .h-plan.fast .h-both{margin:0 0 -8px;font-size:.92rem;color:#94a3b8}
body.md .h-tiers{display:grid;grid-template-columns:1fr 1fr;gap:12px}
body.md .h-tier{padding:16px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.16);border-radius:12px}
body.md .h-tier span{display:block;font-size:.85rem;color:#94a3b8}
body.md .h-tier strong{display:block;margin-bottom:12px;font-family:var(--serif);font-size:1.9rem;line-height:1.15;font-weight:600;letter-spacing:-.02em;color:#fff}
body.md .h-tier .bt{width:100%}

/* Legal Insights banner (kept from the current site) */
body.md .h-banner{position:relative;background:var(--ink) url(/assets/images/bog.jpg) center top/cover;padding:30px 20px;overflow:hidden}
body.md .h-banner::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(37,99,235,.75),rgba(15,23,42,.85))}
body.md .h-banner-in{position:relative;max-width:var(--wrap);margin:0 auto;padding:0 var(--gutter);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px}
body.md .h-banner-title{font-family:var(--serif);font-weight:700;font-size:1.8rem;letter-spacing:2px;color:#fff;text-shadow:1px 1px 2px rgba(0,0,0,.2)}
body.md .h-banner-link{display:inline-flex;align-items:center;gap:8px;padding:8px 0 4px;border-bottom:1px solid rgba(255,255,255,.4);color:#fff;font-weight:600;text-decoration:none;transition:border-color .2s,opacity .2s}
body.md .h-banner-link:hover{border-color:#fff;opacity:.9}
@media (max-width:768px){body.md .h-banner-in{flex-direction:column;text-align:center;gap:15px}body.md .h-banner-title{font-size:1.3rem;letter-spacing:1px}}

/* footer brand: logo image and blue wordmark, as on the current site */
body.md .ft-logo{display:inline-block;margin-bottom:14px}
body.md .ft-logo img{display:block;height:50px;width:auto}
body.md .ft-logotext{margin:0 0 20px;font-family:var(--sans);font-weight:800;font-size:1.3rem;letter-spacing:1px;line-height:1.2;color:#004aad}

/* ---------- footer ---------- */
body.md .ft{background:var(--ink);color:#94a3b8;padding:76px 0 0;font-size:.95rem;overflow:hidden}
body.md .ft-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:56px}
body.md .ft .ft-brand{display:inline-flex;align-items:center;gap:12px;color:#fff;text-decoration:none;margin-bottom:20px}
body.md .ft p{margin:0 0 18px;max-width:26rem;line-height:1.6}
body.md .ft h3{margin:0 0 18px;font-family:var(--sans);font-size:.95rem;font-weight:600;letter-spacing:0;color:#fff}
body.md .ft ul{list-style:none;margin:0;padding:0;display:grid;gap:11px}
body.md .ft a{color:#94a3b8;text-decoration:none;transition:color .15s}
body.md .ft a:hover{color:#fff}
body.md .ft-social{display:flex;gap:10px;margin-top:6px}
body.md .ft-social a{width:38px;height:38px;border-radius:50%;border:1px solid #334155;display:grid;place-items:center;color:#cbd5e1;font-size:.95rem}
body.md .ft-social a:hover{border-color:var(--brass);color:#fff}
body.md .ft-bar{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-top:22px;padding:22px 0;border-top:1px solid #1e293b;font-size:.85rem}
body.md .ft-bar div{display:flex;gap:22px;flex-wrap:wrap}

/* ---------- inner pages: light touch, same palette ---------- */
body.md .service-detail-hero h1,body.md .pk-hero h1,body.md .hero-section h1{font-family:var(--serif);font-weight:600;letter-spacing:-.02em}
body.md .article-cta .btn-primary{background:var(--blue)}
body.md .category-badge{background:var(--paper);color:var(--brass-d);border:1px solid var(--mist);font-family:var(--sans)}
body.md .blog-post{border-radius:18px;box-shadow:none;border:1px solid var(--mist)}
body.md .post-content{font-size:1.06rem;line-height:1.75}
body.md .post-content a{color:var(--blue)}

/* service detail pages */
body.md .service-detail-hero{border-bottom:4px solid var(--brass)}
body.md .service-detail-hero h1{font-size:clamp(2rem,3.6vw,3rem);line-height:1.1}
body.md .sidebar-sticky-card{border:1px solid var(--mist);border-radius:16px;box-shadow:0 30px 50px -32px rgba(15,23,42,.4)}
body.md .price-tag{font-family:var(--serif);font-weight:600;letter-spacing:-.025em;color:var(--ink)}
body.md .cta-sidebar-btn{border-radius:10px;font-family:var(--sans);font-weight:600;box-shadow:none!important;animation:none!important}
body.md .btn-gold-glow{background:var(--brass)!important;color:var(--ink)!important}
body.md .btn-blue-glow,body.md .btn-base-blue{background:var(--blue)!important;color:#fff!important}
body.md .legal-nature-box,body.md .tax-highlight-box{border-radius:14px}
/* packages page */
body.md.pk-page{font-family:var(--sans)}
body.md .pk-hero{background:var(--paper);border-bottom:1px solid var(--mist)}
body.md .pk-card{border-radius:16px;border-color:var(--mist);box-shadow:none}
body.md .pk-card--feature{border-color:var(--brass);box-shadow:0 0 0 1px var(--brass)}
body.md .pk-price-amount{font-family:var(--serif);font-weight:600;letter-spacing:-.025em;color:var(--ink)}
body.md .pk-btn{border-radius:10px;font-family:var(--sans);font-weight:600}
body.md .pk-pill{font-family:var(--sans)}
body.md .pk-tag{font-family:var(--sans);text-transform:none;letter-spacing:0}

/* ---------- responsive ---------- */
@media (max-width:1100px){
  body.md .h-hero .wrap{gap:48px}
  body.md .h-plans{grid-template-columns:1fr 1fr}
  body.md .h-plan.fast{grid-column:1 / -1}
  body.md .h-proc{gap:56px}
  body.md .h-rules{gap:48px}
  body.md .ft-grid{grid-template-columns:1fr 1fr;gap:40px}
}
@media (max-width:860px){
  body.md .h-proc{grid-template-columns:1fr;gap:40px}
  body.md .h-proc-side{position:static}
  body.md .h-proc-list li{grid-template-columns:44px minmax(0,1fr);gap:0 18px;padding-bottom:36px}
  body.md .h-proc-list li::before{left:21px;top:50px}
  body.md .h-proc-n{width:44px;height:44px;font-size:1.2rem}
  body.md .h-proc-body h3{font-size:1.3rem;margin-top:2px}
  body.md .h-role{grid-template-columns:44px minmax(0,1fr);gap:10px}
  body.md .h-hero .wrap{grid-template-columns:1fr;padding-top:48px;padding-bottom:56px}
  body.md .h-hero h1{max-width:none}
  body.md .h-sec{padding:68px 0}
  body.md .h-rules{grid-template-columns:1fr}
  body.md .h-photo{min-height:260px;order:2}
  body.md .h-facts li{grid-template-columns:1fr;gap:6px;padding:20px 0}
  body.md .h-index a{grid-template-columns:1fr auto;gap:6px 20px;padding:22px 4px}
  body.md .h-ix-desc{grid-column:1 / -1;grid-row:2}
  body.md .h-ix-price small{display:inline;margin-right:6px}
  body.md .h-faq{grid-template-columns:1fr;gap:32px}
  body.md .h-faq-side{position:static}
  body.md .h-cta .wrap{grid-template-columns:minmax(0,1fr);gap:32px}
  body.md .h-cta h2,body.md .h-cta p{overflow-wrap:anywhere}
  body.md .h-cta-actions{justify-content:flex-start}
  body.md .ft-grid{grid-template-columns:1fr 1fr;gap:36px 28px}
  body.md .ft-grid>div:first-child{grid-column:1 / -1}
  }
@media (max-width:440px){
  body.md .h-index a{grid-template-columns:minmax(0,1fr);gap:6px}
  body.md .h-ix-desc{grid-column:auto;grid-row:auto}
  body.md .h-ix-price{text-align:left}
  body.md .h-ix-name{font-size:1.3rem;overflow-wrap:anywhere}
}
@media (max-width:600px){
  body.md .h-plans{grid-template-columns:1fr}
  body.md .ft-grid{grid-template-columns:1fr}
}
@media (max-width:520px){
  :root{--gutter:20px}
  body.md .h-file{padding:24px 20px 20px}
  body.md .h-file li{grid-template-columns:24px 1fr;gap:6px 14px}
  body.md .h-time{grid-column:2;text-align:left;max-width:none}
  body.md .h-actions .bt{width:100%}
  body.md .h-plan{padding:28px 22px}
  body.md .h-tiers{grid-template-columns:1fr}
  body.md .h-cta-actions .bt{width:100%}
}

/* larger touch areas for small text links (WCAG target size) */
body.md .ft-bar a{display:inline-block;padding:8px 0}
body.md .ft ul a{display:inline-block;padding:3px 0}

/* Packages page (old layout): larger touch areas, readable "not included" dashes */
body.md .pk-crumbs a,body.md .pk-matrix th a,body.md .pk-link{display:inline-block;padding:6px 0}
body.md .pk-no{color:#64748b}
/* Russian legal titles: the long word "конфиденциальности" must fit a phone */
@media (max-width:520px){body.md .privacy-policy h1,body.md .terms-of-service h1{font-size:clamp(1.5rem,6.8vw,2rem)}}

/* ---------- header dropdown menus (Services, Packages, Resources) ---------- */
body.md .hd-links>li{position:relative;display:flex;align-items:center}
body.md .hd-sub-btn{position:relative;flex:none;width:24px;height:30px;margin-left:1px;padding:0;background:none;border:0;border-radius:6px;color:var(--muted);cursor:pointer;transition:color .15s}
body.md .hd-sub-btn::before{content:"";position:absolute;left:50%;top:50%;width:6px;height:6px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:translate(-50%,-72%) rotate(45deg);transition:transform .2s}
body.md .hd-item:hover>.hd-sub-btn,body.md .hd-item.open>.hd-sub-btn{color:var(--ink)}
body.md .hd-item.open>.hd-sub-btn::before{transform:translate(-50%,-28%) rotate(-135deg)}
body.md .hd-sub{position:absolute;left:-18px;top:calc(100% + 12px);z-index:30;width:max-content;min-width:300px;max-width:min(380px,90vw);margin:0;padding:8px;list-style:none;background:#fff;border:1px solid var(--mist);border-radius:14px;box-shadow:0 26px 50px -20px rgba(15,23,42,.3);opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .16s ease .12s,transform .16s ease .12s,visibility 0s linear .28s}
body.md .hd-sub::before{content:"";position:absolute;left:0;right:0;top:-16px;height:16px}   /* hover bridge: no flicker while the pointer travels down */
body.md .hd-sub a{display:flex;align-items:baseline;justify-content:space-between;gap:24px;padding:11px 13px;border:0;border-radius:9px;font-size:.94rem;font-weight:500;line-height:1.35;color:var(--slate);text-decoration:none;transition:background .12s,color .12s}
body.md .hd-sub a:hover,body.md .hd-sub a:focus-visible{background:var(--paper);color:var(--ink)}
body.md .hd-sub a[aria-current="page"]{color:var(--blue);font-weight:600}
body.md .hd-sub small{flex:none;font-size:.82rem;font-weight:500;color:var(--muted);white-space:nowrap}
body.md .hd-sub a.two{display:block}
body.md .hd-sub .hd-sub-d{display:block;margin-top:2px;font-size:.84rem;font-weight:400;color:var(--muted)}
body.md .hd-sub-all a{margin-bottom:6px;padding-bottom:13px;border-bottom:1px solid var(--mist);border-radius:9px 9px 0 0;font-weight:600;color:var(--ink)}
body.md .hd-item.closed>.hd-sub{opacity:0!important;visibility:hidden!important}
@media (hover:hover) and (min-width:1101px){
  body.md .hd-item:hover>.hd-sub,body.md .hd-item:focus-within>.hd-sub{opacity:1;visibility:visible;transform:none;transition-delay:0s}
}
body.md .hd-item.open>.hd-sub{opacity:1;visibility:visible;transform:none;transition-delay:0s}
@media (max-width:1100px){
  body.md .hd-links>li{flex-wrap:wrap;align-items:stretch}
  body.md .hd-links>li>a{flex:1;min-width:0}
  body.md .hd-sub-btn{width:52px;height:auto;margin:0;border-bottom:1px solid var(--mist);border-radius:0}
  body.md .hd-sub-btn::before{width:8px;height:8px}
  body.md .hd-sub{position:static;flex-basis:100%;width:auto;min-width:0;max-width:none;padding:2px 0 10px 14px;background:transparent;border:0;border-radius:0;box-shadow:none;opacity:1;visibility:visible;transform:none;transition:none;display:none}
  body.md .hd-sub::before{display:none}
  body.md .hd-item.open>.hd-sub{display:block}
  body.md .hd-sub a{padding:13px 8px;font-size:1rem}
  body.md .hd-sub-all a{margin-bottom:0;padding-bottom:13px}
  body.md .hd-item.closed>.hd-sub{opacity:1!important;visibility:visible!important}
}
@media (prefers-reduced-motion:reduce){body.md .hd-sub,body.md .hd-sub-btn::before{transition:none}}

body.md .hd-name,body.md .hd-lang-btn{white-space:nowrap}
@media (min-width:1101px){body.md .hd-links>li>a,body.md .hd-cta{white-space:nowrap}}   /* desktop header never wraps; the phone menu may */
@media (min-width:1101px) and (max-width:1300px){body.md .hd-links{gap:20px}body.md .hd-nav{gap:20px}body.md .hd-in{gap:24px}}

/* tablets: the menu is a right-hand panel instead of a full-width sheet */
@media (min-width:641px) and (max-width:1100px){
  body.md .hd-nav{left:auto;right:var(--gutter);width:min(440px,calc(100% - 2 * var(--gutter)));border:1px solid var(--mist);border-top:0;border-radius:0 0 16px 16px;padding-left:22px;padding-right:22px}
}

@media (max-width:1100px){body.md .hd-tools{flex-wrap:wrap;row-gap:12px}body.md .hd-cta{text-align:center}}
