/* site.css — спільний стиль 4 сторінок voicedruk.com (мінімальний сайт, §0/§2 SITE-MINIMAL-SPEC.md)
   Токени :root — ДОСЛІВНО з licensing-worker/src/promo-page.js (:root блок promoPageShell()),
   та сама кремова «друкарська» система V2, що на /promo. Один світлий режим (як /promo,
   color-scheme: light) — повний light+dark режим лишається за редизайном V2
   (claude-design-upload-7/PROMPT.md), тут його свідомо нема.
   Жодних зовнішніх ресурсів (шрифтів/CDN) — лише системні font-стеки. */

:root{
  --paper:#F6F2EA; --card:#FFFDF8; --ink:#1C1B17; --muted:#6B675C; --line:#E5DFD2;
  --control-line:#8F856F;
  --accent:#0F8A5C; --accent-ink:#0B6B47; --accent-soft:rgba(15,138,92,.08); --accent-line:rgba(15,138,92,.28);
  --btn:#0B6B47; --btn-fg:#FFFDF8; --btn-hover:#084F35;
  --err:#A83446; --err-soft:rgba(199,74,91,.07); --err-line:rgba(199,74,91,.30); --err-mark:#C74A5B;
  --sunk:#F0EBE0;
  --shadow:0 1px 2px rgba(28,27,23,.05), 0 12px 32px -12px rgba(28,27,23,.14);
  --sans:-apple-system,BlinkMacSystemFont,"SF Pro Display",Inter,system-ui,sans-serif;
  --serif:ui-serif,"New York",Georgia,serif;
  --mono:ui-monospace,"SF Mono",Menlo,monospace;
  --grain:radial-gradient(circle at 1px 1px, rgba(28,27,23,.028) 1px, transparent 0);
  --wrap:1040px;
  color-scheme: light;
}

/* ────────────────────────────  RESET  ──────────────────────────── */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);background-image:var(--grain);background-size:3px 3px;
  color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased;
  overflow-x:hidden}
img{max-width:100%;display:block}
[hidden]{display:none!important}
h1,h2,h3,p,ul,ol,figure{margin:0}
ul{padding:0;list-style:none}
a{color:var(--accent-ink);text-decoration:none}
a:hover{color:var(--btn-hover)}
/* лінк усередині абзацу відрізняється лише кольором — підкреслення для WCAG 1.4.1 */
p a,.lead a,li a{text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:1px}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
section{scroll-margin-top:88px}

.wrap{max-width:var(--wrap);margin:0 auto;padding:0 20px}
@media (min-width:640px){.wrap{padding:0 32px}}

/* ─────────────────────────  TYPOGRAPHY  ────────────────────────── */
.eyebrow{display:inline-flex;align-items:center;gap:9px;font:600 10.5px var(--mono);letter-spacing:2px;
  text-transform:uppercase;color:var(--accent-ink);margin:0 0 14px}
.eyebrow::before{content:"";width:14px;height:1px;background:var(--accent)}
@media (min-width:640px){.eyebrow{gap:10px;font-size:11px}.eyebrow::before{width:18px}}

.serif{font-family:var(--serif);font-style:italic;font-weight:400;color:var(--accent-ink)}

h1,h2,h3{font-weight:600;letter-spacing:-.02em;line-height:1.15;text-wrap:balance;color:var(--ink)}
h1{font-size:clamp(30px,5.4vw,52px);line-height:1.1}
h2{font-size:clamp(24px,3.4vw,34px)}
h3{font-size:18px;letter-spacing:-.01em}
.lead{font-size:15.5px;line-height:1.6;color:var(--muted);text-wrap:pretty}
.micro{font:500 12px var(--mono);color:var(--muted);letter-spacing:.3px}

/* друкарські тіки-роздільники (як на /promo) */
.ticks{display:flex;align-items:flex-end;height:12px;opacity:.55;margin:0 auto;max-width:var(--wrap);padding:0 20px}
.ticks span:nth-child(1),.ticks span:nth-child(7){flex:1;height:1px;background:var(--line)}
.ticks span:nth-child(2),.ticks span:nth-child(6){width:1px;height:6px;background:var(--line)}
.ticks span:nth-child(3),.ticks span:nth-child(5){width:48px;height:1px;background:var(--line)}
.ticks span:nth-child(4){width:1px;height:10px;background:var(--accent)}

/* ─────────────────────────  BANNER (Ф1)  ───────────────────────── */
.banner{background:var(--accent-soft);border-bottom:1px solid var(--accent-line);color:var(--accent-ink)}
.banner-in{max-width:var(--wrap);margin:0 auto;padding:9px 20px;font:600 12.5px/1.5 var(--sans);text-align:center;text-wrap:pretty}
@media (min-width:640px){.banner-in{padding:10px 32px;font-size:13px}}

/* ─────────────────────────  HEADER  ─────────────────────────────── */
.site-header{border-bottom:1px solid var(--line)}
.header-in{display:flex;align-items:center;gap:16px;padding:16px 20px;flex-wrap:wrap}
@media (min-width:640px){.header-in{padding:20px 32px;flex-wrap:nowrap}}
.brand{display:flex;align-items:center;color:var(--ink)}
.brand svg{display:block;width:118px;height:25.6px}
@media (min-width:640px){.brand svg{width:136px;height:29.4px}}

.site-nav{display:flex;align-items:center;gap:18px;margin-left:auto;flex-wrap:wrap}
.site-nav a{font:500 13.5px var(--sans);color:var(--muted)}
.site-nav a:hover{color:var(--ink)}
.site-nav a.is-current{color:var(--accent-ink)}

.lang{display:flex;border:1px solid var(--line);border-radius:9px;overflow:hidden;flex:none}
.lang button{font:600 11px var(--mono);letter-spacing:.5px;background:transparent;color:var(--muted);
  border:0;padding:7px 11px;cursor:pointer}
.lang button[aria-pressed="true"]{background:var(--sunk);color:var(--accent-ink)}
.lang button:hover{color:var(--ink)}

/* ─────────────────────────  BUTTONS  ────────────────────────────── */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;font:600 15px/1 var(--sans);
  padding:14px 22px;border-radius:11px;cursor:pointer;border:1px solid transparent;white-space:nowrap;
  background:var(--btn);color:var(--btn-fg);transition:background .15s ease,border-color .15s ease,opacity .15s ease}
.btn:hover{background:var(--btn-hover);color:var(--btn-fg)}
.btn-ghost{background:transparent;color:var(--ink);border-color:var(--control-line)}
.btn-ghost:hover{border-color:var(--muted);color:var(--ink);background:transparent}
.btn-sm{padding:9px 15px;font-size:13px;border-radius:9px}
button.btn{font-family:var(--sans)}
.btn[disabled],.btn:disabled{opacity:.45;cursor:not-allowed;pointer-events:none}
.btn[disabled]:hover,.btn:disabled:hover{background:var(--btn)}

/* ─────────────────────────  CARDS  ──────────────────────────────── */
.card{background:var(--card);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}

/* fact grid — «Що це». Іконки — власний inline-SVG сет, один акцентний колір
   (design brief §3: заборонена мішанина кольорів/веселка) — НЕ card-*.png
   (ті асети зі старого темного V1-S, конфліктують з кремовою системою). */
.fact-grid{display:grid;grid-template-columns:1fr;gap:16px}
@media (min-width:640px){.fact-grid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:960px){.fact-grid{grid-template-columns:repeat(4,1fr)}}
.fact-card{padding:20px 20px 22px}
.fact-card .iconbox{display:flex;align-items:center;justify-content:center;width:44px;height:44px;
  border-radius:12px;background:var(--sunk);border:1px solid var(--line);margin-bottom:16px}
.fact-card .iconbox svg{width:21px;height:21px;stroke:var(--accent-ink);fill:none;stroke-width:1.5;
  stroke-linecap:round;stroke-linejoin:round}
.fact-card h3{font-size:15.5px;margin-bottom:6px}
.fact-card p{font-size:13.5px;line-height:1.55;color:var(--muted)}

/* ─────────────────────────  HERO  ───────────────────────────────── */
.hero{padding:44px 0 56px}
@media (min-width:640px){.hero{padding:64px 0 76px}}
.hero-in{display:grid;grid-template-columns:1fr;gap:36px;align-items:center}
@media (min-width:960px){.hero-in{grid-template-columns:1.08fr .92fr;gap:52px}}
.hero h1{margin-bottom:16px}
.hero .lead{font-size:clamp(15px,1.6vw,17px);margin-bottom:24px;max-width:52ch}
.hero-cta{display:flex;flex-wrap:wrap;align-items:center;gap:16px}
.hero-shot .frame{overflow:hidden;border-radius:14px}
.frame{background:var(--card);border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:var(--shadow)}
.frame-bar{display:flex;align-items:center;gap:6px;height:32px;padding:0 13px;background:var(--sunk);border-bottom:1px solid var(--line)}
.frame-bar i{width:10px;height:10px;border-radius:50%;background:var(--line);display:block}
.frame img{width:100%;height:auto;display:block}

/* ─────────────────────────  PRICE BLOCK  ────────────────────────── */
.price-card{padding:28px 22px;max-width:520px;margin:0 auto}
@media (min-width:640px){.price-card{padding:38px 40px}}
.price-card .eyebrow{margin-bottom:12px}
.price-card h2{margin-bottom:10px}
.price-card .price-desc{margin-bottom:20px}
.price-row{display:flex;align-items:baseline;gap:10px;margin-bottom:6px;flex-wrap:wrap}
.price-big{font-size:clamp(34px,6vw,44px);font-weight:600;letter-spacing:-.02em;color:var(--ink)}
.price-usd{font:500 14.5px var(--sans);color:var(--muted)}
.price-per{display:block;font:500 12px var(--mono);letter-spacing:.3px;color:var(--muted);margin-bottom:20px}
.price-list{display:flex;flex-direction:column;gap:9px;margin-bottom:24px}
.price-list li{display:flex;gap:10px;align-items:baseline;font-size:14.5px;color:var(--muted)}
.price-list li::before{content:"✓";color:var(--accent-ink);font-weight:700;font-size:13px}
.price-card .btn{width:100%}
.buy-soon-note{margin-top:12px;font-size:12.5px;line-height:1.6;color:var(--muted);text-wrap:pretty}
.guarantee-line{margin-top:18px;padding-top:18px;border-top:1px solid var(--line);font-size:13px;line-height:1.6;color:var(--muted);text-wrap:pretty}

/* ─────────────────────────  CONTACTS  ───────────────────────────── */
.contact-list{display:flex;flex-direction:column;gap:10px}
@media (min-width:640px){.contact-list{flex-direction:row;flex-wrap:wrap;gap:28px}}
.contact-list dt{font:600 10.5px var(--mono);letter-spacing:1.3px;text-transform:uppercase;color:var(--muted);margin-bottom:3px}
.contact-list dd{margin:0;font-size:14.5px}
.contact-list dd a{color:var(--accent-ink);font-weight:500}

/* ─────────────────────────  SECTIONS  ───────────────────────────── */
.section{padding:52px 0}
@media (min-width:640px){.section{padding:72px 0}}
.section-head{margin-bottom:28px}
@media (min-width:640px){.section-head{margin-bottom:36px}}
.section-alt{background:var(--sunk)}

/* ─────────────────────────  FOOTER  ─────────────────────────────── */
.site-footer{border-top:1px solid var(--line);padding:40px 0 34px}
.footer-brand{margin-bottom:22px}
.footer-brand svg{width:110px;height:23.8px;display:block;color:var(--ink)}
.footer-nav{display:flex;flex-wrap:wrap;gap:16px 24px;margin-bottom:22px}
.footer-nav a{font:500 13px var(--sans);color:var(--muted)}
.footer-nav a:hover{color:var(--ink)}
.seller-block{border-top:1px solid var(--line);padding-top:20px;margin-bottom:16px}
.seller-block dt{font:600 10px var(--mono);letter-spacing:1.2px;text-transform:uppercase;color:var(--muted);margin:10px 0 2px}
.seller-block dt:first-child{margin-top:0}
.seller-block dd{margin:0;font-size:13px;color:var(--muted)}
.footer-meta{font:500 12px var(--mono);color:var(--muted);letter-spacing:.3px}

/* ─────────────────────────  PAGE HERO (install/faq/policies)  ──────── */
.page-hero{padding:44px 0 36px;text-align:center}
@media (min-width:640px){.page-hero{padding:56px 0 44px}}
.page-hero .wrap{max-width:720px}
.page-hero .eyebrow{justify-content:center}
.page-hero h1{margin:14px 0 12px}
.page-hero .lead{max-width:56ch;margin:0 auto}
.page-hero .micro{display:block;margin-top:18px}

/* ─────────────────────────  KBD / CHIP  ─────────────────────────── */
.kbd-inline{display:inline-flex;align-items:center;justify-content:center;min-width:1.5em;height:1.5em;padding:0 .3em;
  font:600 .8em/1 var(--sans);background:var(--sunk);border:1px solid var(--control-line);border-radius:.3em;
  color:var(--ink);vertical-align:-.2em}
.factchip{display:inline-block;font:600 11.5px var(--mono);letter-spacing:.3px;color:var(--accent-ink);
  background:var(--accent-soft);border:1px solid var(--accent-line);border-radius:99px;padding:5px 12px}

/* ─────────────────────────  STEPS (install)  ────────────────────── */
.steps-list{max-width:820px;margin:0 auto;display:flex;flex-direction:column;gap:16px}
.step{padding:24px 22px}
@media (min-width:640px){.step{padding:30px 32px;display:flex;gap:22px}}
.step-num{flex:none;width:36px;height:36px;border-radius:10px;background:var(--sunk);border:1px solid var(--line);
  color:var(--accent-ink);font:700 15px var(--mono);display:flex;align-items:center;justify-content:center;margin-bottom:14px}
@media (min-width:640px){.step-num{margin-bottom:0}}
.step-body{flex:1;min-width:0}
.step h2{font-size:18px;margin-bottom:8px}
.step p{color:var(--muted);font-size:14.5px;line-height:1.7}
.step p+p{margin-top:8px}
.step .figure{margin-top:16px;max-width:380px}
.step .figure figcaption{margin-top:8px;font:500 11px var(--mono);color:var(--muted)}
.osbranch{margin-top:12px;border-top:1px solid var(--line);padding-top:12px;display:flex;flex-direction:column;gap:8px}
.osbranch .oslabel{font:600 11px var(--mono);letter-spacing:.8px;text-transform:uppercase;color:var(--accent-ink)}
.perm-list{margin-top:12px;display:flex;flex-direction:column;gap:12px}
.perm-item{display:flex;gap:12px;align-items:flex-start}
.perm-ico{flex:none;width:28px;height:28px;border-radius:8px;background:var(--sunk);border:1px solid var(--line);
  display:flex;align-items:center;justify-content:center;font:700 12px var(--mono);color:var(--accent-ink)}
.perm-item b{color:var(--ink);font-weight:600;font-size:14.5px;display:block}
.perm-item p{margin-top:2px}
.step .facts{margin-top:12px;display:flex;flex-wrap:wrap;gap:8px}

/* troubleshooting card */
.trouble-card{max-width:820px;margin:0 auto;padding:24px 22px}
@media (min-width:640px){.trouble-card{padding:30px 32px}}
.trouble-card h2{font-size:17px;margin-bottom:14px}
.trouble-list{display:flex;flex-direction:column;gap:12px}
.trouble-item{display:flex;gap:10px}
.trouble-item .q{flex:none;color:var(--accent-ink);font:700 13px var(--mono)}
.trouble-item p{color:var(--muted);font-size:13.5px;line-height:1.65}
.trouble-item b{color:var(--ink);font-weight:600}

/* telegram CTA card */
.tg-card{max-width:640px;margin:0 auto;text-align:center;padding:36px 26px;display:flex;flex-direction:column;
  align-items:center;gap:12px}
.tg-ico{width:46px;height:46px;border-radius:14px;background:var(--sunk);border:1px solid var(--line);
  display:flex;align-items:center;justify-content:center;margin-bottom:4px}
.tg-ico svg{width:22px;height:22px;stroke:var(--accent-ink);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.tg-card h2{font-size:clamp(20px,3vw,26px)}
.tg-card p{color:var(--muted);font-size:14px;max-width:44ch}
.tg-card .altlink{font-size:12.5px;color:var(--muted)}

/* ─────────────────────────  FAQ ACCORDION  ──────────────────────── */
.faq-list{max-width:760px;margin:0 auto;display:flex;flex-direction:column}
.faq-list details{border-bottom:1px solid var(--line)}
.faq-list details:first-of-type{border-top:1px solid var(--line)}
.faq-list summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;
  gap:16px;padding:18px 4px;font-size:15.5px;font-weight:600;letter-spacing:-.1px;color:var(--ink)}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary::after{content:"+";font:300 20px var(--mono);color:var(--muted);transition:transform .2s ease;flex:none}
.faq-list details[open] summary::after{transform:rotate(45deg);color:var(--accent-ink)}
.faq-list .a{padding:0 22px 20px 4px;color:var(--muted);font-size:14px;line-height:1.7;max-width:66ch}
.faq-list .a b{color:var(--ink);font-weight:600}

/* ─────────────────────────  DRAFT BANNER (policies)  ────────────── */
.draft-banner{background:var(--err-soft);border-bottom:1px solid var(--err-line);color:var(--err-mark);
  padding:10px 20px;text-align:center;font:600 12.5px/1.5 var(--sans)}

/* ─────────────────────────  POLICY SHELL  ───────────────────────── */
.policy-head{padding:40px 0 30px;text-align:center}
.policy-head .wrap{max-width:720px}
.policy-head h1{margin:14px 0 10px}
.policy-head p{color:var(--muted);font-size:14.5px}
.policy-shell{max-width:var(--wrap);margin:0 auto;padding:0 20px 80px;display:grid;grid-template-columns:1fr;gap:28px}
@media (min-width:640px){.policy-shell{padding:0 32px 80px}}
@media (min-width:960px){.policy-shell{grid-template-columns:210px 1fr;gap:44px;align-items:start}}
.policy-side{position:static;display:flex;flex-wrap:wrap;gap:8px}
@media (min-width:960px){.policy-side{position:sticky;top:24px;flex-direction:column;gap:4px}}
.policy-side a{display:block;padding:8px 12px;border-radius:9px;font:500 13px var(--sans);color:var(--muted);border:1px solid transparent}
@media (max-width:959px){.policy-side a{background:var(--sunk);border-color:var(--line);font-size:12.5px;padding:7px 12px}}
.policy-side a:hover{color:var(--ink)}
.policy-side a.active{color:var(--accent-ink);background:var(--accent-soft);border-color:var(--accent-line)}
.policy-section{padding:40px 0;border-top:1px solid var(--line)}
.policy-section:first-child{padding-top:0;border-top:0}
.policy-section h2{margin:8px 0 4px}
.policy-section .updated{font:500 11.5px var(--mono);color:var(--muted);letter-spacing:.3px;margin-bottom:22px}

/* legal typography — тексти самі не чіпаємо, лише кольори/розмір під токени */
.legal h3{font-size:15.5px;font-weight:600;color:var(--ink);margin:22px 0 8px}
.legal h3:first-of-type{margin-top:4px}
.legal p{color:var(--muted);font-size:14px;line-height:1.72;margin:0 0 11px;text-wrap:pretty}
.legal ul{margin:0 0 12px;padding-left:19px;display:flex;flex-direction:column;gap:5px;list-style:disc}
.legal li{color:var(--muted);font-size:14px;line-height:1.65}
.legal strong,.legal b{color:var(--ink);font-weight:600}
.ph{background:var(--accent-soft);border:1px solid var(--accent-line);border-radius:5px;padding:0 5px;
  color:var(--accent-ink);font-weight:600}
.tldr{background:var(--sunk);border:1px solid var(--line);border-radius:14px;padding:18px 20px;margin-bottom:24px}
.tldr .eyebrow{display:block;margin-bottom:8px}
.tldr ul{margin:0;padding-left:18px;list-style:disc}
.tldr li{color:var(--muted);font-size:13.5px;line-height:1.65}

/* ─────────────────────────  MOTION  ──────────────────────────────── */
@media (prefers-reduced-motion: reduce){
  *{transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}
}
