/* ELU — стиль у дусі сторінок продуктів Apple: системний шрифт, нейтральні площини, один синій акцент. */
:root {
  --bg: #ffffff;
  --band: #f5f5f7;
  --card: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;        /* 4.6:1 на білому, 4.3:1 на #f5f5f7 — лише для другорядного тексту від 14px */
  --line: #d2d2d7;
  --accent: #0066cc;       /* 5.6:1 на білому */
  --accent-hover: #0077ed;
  --on-accent: #ffffff;
  --ok: #1d7a3a;           /* 5.3:1 */
  --ok-bg: #e8f5ec;
  --chip: #f0f0f3;
  --nav: rgba(251, 251, 253, .8);
  --shadow: 0 2px 10px rgba(0, 0, 0, .04), 0 12px 32px rgba(0, 0, 0, .06);
  --radius: 22px;
  --radius-sm: 12px;
  /* Кольори типів сертифікатів — пари для світлої теми (≥4.5:1 на білому) */
  --c-dv: #0066cc; --c-wildcard: #00787a; --c-multi-domain: #5e4fd8; --c-ov: #b45309; --c-ev: #1d7a3a;
  --glow-1: rgba(10, 132, 255, .14); --glow-2: rgba(52, 199, 123, .12);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  --ease: cubic-bezier(.25, .1, .25, 1);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b0f;
    --band: #15151b;
    --card: #1e1e25;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --line: #38383c;
    --accent: #2997ff;
    --accent-hover: #47a6ff;
    --on-accent: #000000;
    --ok: #4ad66d;
    --ok-bg: rgba(74, 214, 109, .12);
    --chip: #2c2c2e;
    --nav: rgba(18, 18, 24, .78);
    --c-dv: #4aa3ff; --c-wildcard: #40d6cf; --c-multi-domain: #a29bff; --c-ov: #ffa53d; --c-ev: #4ad66d;
    --glow-1: rgba(10, 132, 255, .22); --glow-2: rgba(52, 199, 123, .16);
    --shadow: 0 0 0 1px #2c2c2e;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.53 var(--font); letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; }
.i { display: inline-block; vertical-align: -.15em; flex: none; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .15em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.022em; line-height: 1.1; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.43; }
.center { text-align: center; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }

/* ---------- навігація ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--nav); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.nav-in { max-width: 1080px; margin: 0 auto; padding: 0 22px; height: 52px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--text); font-weight: 650; font-size: 21px; letter-spacing: -.03em; min-height: 44px; }
.logo:hover { text-decoration: none; }
.logo .mark { border-radius: 9px; box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.logo-word { font-weight: 700; font-size: 19px; letter-spacing: .06em; display: inline-flex; align-items: baseline; gap: 6px; }
.logo-sub { font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--muted); }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a { color: var(--text); opacity: .85; font-size: 14px; padding: 12px 12px; border-radius: 8px; min-height: 44px; display: inline-flex; align-items: center; }
.nav-menu a:hover { opacity: 1; text-decoration: none; }
.nav-menu a[aria-current="page"] { opacity: 1; font-weight: 600; }
.nav-menu .lang { border: 1px solid var(--line); padding: 4px 10px; min-height: 30px; margin-left: 8px; font-weight: 600; font-size: 12px; border-radius: 999px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; margin-right: -10px; cursor: pointer; color: var(--text); }
.bars, .bars::before, .bars::after { display: block; width: 18px; height: 1.5px; background: currentColor; border-radius: 2px; margin: auto; position: relative; transition: transform .25s var(--ease); }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; } .bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-menu { display: none; position: absolute; top: 52px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--bg); padding: 8px 22px 22px; border-bottom: 1px solid var(--line); }
  .nav-menu.open { display: flex; }
  .nav-menu a { font-size: 19px; padding: 12px 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-menu .lang { align-self: flex-start; margin: 16px 0 0; border-bottom: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; }
}
.stage-bar { background: #ffcc00; color: #000; text-align: center; font: 600 12px/24px var(--font); letter-spacing: .08em; }

.crumbs { padding-top: 18px; font-size: 13px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--muted); }
#main:focus { outline: none; }

/* ---------- типографіка блоків ---------- */
.kicker { color: var(--muted); font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.display { font-size: clamp(40px, 7vw, 80px); line-height: 1.05; letter-spacing: -.035em; font-weight: 700; }
.display-sm { font-size: clamp(36px, 5.5vw, 56px); line-height: 1.07; letter-spacing: -.03em; font-weight: 700; }
.h1 { font-size: clamp(32px, 4.5vw, 48px); line-height: 1.08; letter-spacing: -.03em; }
.h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; margin-bottom: 12px; }
.h3 { font-size: 21px; line-height: 1.2; margin-bottom: 12px; }
.lead { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.35; color: var(--muted); margin-top: 16px; letter-spacing: -.015em; }
.sub { font-size: 19px; color: var(--muted); max-width: 640px; margin: 0 auto 40px; }
.prose p { margin-bottom: 1em; max-width: 68ch; }
.prose h2 { margin-top: 1.6em; }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 11px 22px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 17px; font-weight: 500; border: 0; cursor: pointer; transition: background-color .2s var(--ease), transform .15s var(--ease); touch-action: manipulation; }
.btn:hover { background: var(--accent-hover); text-decoration: none; }
.btn:active { transform: scale(.97); }
.btn-block { width: 100%; }
.btn-quiet { background: var(--chip); color: var(--text); }
.btn-quiet:hover { background: var(--line); }
.link { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-size: 17px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; margin-top: 28px; }
.feature-card .actions, .product .actions { justify-content: flex-start; }

/* ---------- секції ---------- */
.section { padding: 88px 0; }
.section.tight { padding: 32px 0 88px; }
.band { background: var(--band); padding: 88px 0; }
.page-head { padding: 32px 0 8px; }
@media (max-width: 720px) { .section, .band { padding: 60px 0; } }

.hero { padding: 36px 0 0; overflow: hidden; background: radial-gradient(60% 55% at 22% 8%, var(--glow-1), transparent 70%), radial-gradient(50% 50% at 82% 30%, var(--glow-2), transparent 70%); }
@media (max-width: 720px) { .hero { padding-top: 24px; } }
.hero-sm { padding: 32px 0 56px; }
.hero-price { margin-top: 18px; font-size: 19px; }
.hero-art { display: flex; justify-content: center; padding: 40px 22px 0; }
.lock-tile { width: min(560px, 100%); aspect-ratio: 16 / 9; border-radius: 28px 28px 0 0; background: linear-gradient(180deg, var(--band), var(--bg)); border: 1px solid var(--line); border-bottom: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; }
.lock-tile svg { animation: rise .7s var(--ease) both; }
.url-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 15px; color: var(--muted); box-shadow: var(--shadow); }
.url-pill { line-height: 1.2; }
.url-pill .i { color: var(--ok); display: block; }
.url-pill span { color: var(--text); }
@keyframes rise { from { transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- плитки типів ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.tile a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 26px 20px; border-radius: var(--radius); background: var(--card); color: var(--text); box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.tile a:hover { text-decoration: none; transform: translateY(-3px); }
.tile-icon { color: var(--accent); margin-bottom: 10px; }
.tile-name { font-size: 21px; hyphens: auto; overflow-wrap: break-word; font-weight: 650; letter-spacing: -.02em; }
.tile-short { color: var(--muted); font-size: 15px; flex: 1; }
.tile-price { margin-top: 14px; font-size: 15px; }
.tile-count { font-size: 13px; }

/* ---------- «правда» ---------- */
.truth { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; margin-top: 8px; }
.truth-n { display: block; font-size: 15px; font-weight: 600; color: var(--accent); margin-bottom: 10px; }
.truth h3 { font-size: 24px; margin-bottom: 8px; }
.truth p { color: var(--muted); }

/* ---------- вибране ---------- */
.feature { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .feature { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .feature { grid-template-columns: repeat(4, 1fr); } }
.feature-card { background: var(--card); border-radius: var(--radius); padding: 32px 26px 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.feature-card h3 { font-size: 22px; line-height: 1.2; margin: 6px 0 8px; }
.feature-card .actions { flex-direction: column; align-items: flex-start; gap: 12px; }
.feature-card .btn { white-space: nowrap; padding-inline: 18px; font-size: 15px; }
.feature-price { margin: auto 0 22px; padding-top: 20px; font-size: 19px; }
.feature-price strong { font-size: 32px; letter-spacing: -.02em; }

/* ---------- бренди ---------- */
.brands { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-top: 32px; }
.brands a { display: flex; flex-direction: column; gap: 2px; padding: 20px; border-radius: var(--radius-sm); border: 1px solid var(--line); color: var(--text); min-height: 44px; transition: border-color .2s var(--ease); }
.brands a:hover { border-color: var(--accent); text-decoration: none; }
.brand-name { font-weight: 650; font-size: 19px; letter-spacing: -.02em; }
.brands .muted { font-size: 13px; }

/* ---------- кроки ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 32px; counter-reset: s; }
.steps li { background: var(--card); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); }
.step-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 16px; margin-bottom: 18px; flex: none; }
.steps h3 { font-size: 21px; margin-bottom: 8px; }
.steps p { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { margin-top: 24px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 36px 22px 0; font-size: 19px; font-weight: 600; letter-spacing: -.015em; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-weight: 300; font-size: 28px; color: var(--muted); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 66ch; }

/* ---------- фільтри й сітка ---------- */
.filters { display: grid; gap: 14px; margin-bottom: 28px; }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filter-label { width: 64px; font-size: 14px; color: var(--muted); }
@media (max-width: 720px) { .filter-label { width: 100%; } }
.pill { min-height: 36px; padding: 6px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: 500 14px var(--font); cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); position: relative; }
.pill::after { content: ""; position: absolute; inset: -4px; } /* зона натиску ≥44px */
.pill:hover { border-color: var(--text); }
.pill[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.filter-meta { justify-content: space-between; }
.sort { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.sort select { min-height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: 15px var(--font); padding: 4px 10px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.card-link { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 22px; background: var(--card); color: var(--text); border-radius: 18px; border: 1px solid var(--line); transition: border-color .2s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.band .card-link { border-color: transparent; box-shadow: var(--shadow); }
.card-link:hover { text-decoration: none; border-color: var(--accent); transform: translateY(-2px); }
.card-brand { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
a.card-brand:hover { color: var(--accent); }
.card-name { font-size: 19px; font-weight: 600; line-height: 1.22; letter-spacing: -.018em; }
.card-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: auto; padding-top: 8px; font-size: 15px; }
.card-price strong { font-size: 21px; letter-spacing: -.02em; }
.card-more { font-size: 14px; color: var(--accent); display: inline-flex; align-items: center; gap: 2px; }
.empty { text-align: center; padding: 48px 0; display: grid; gap: 16px; justify-items: center; color: var(--muted); }
.empty[hidden], .filters[hidden] { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 2px; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--chip); color: var(--text); }
.chip-ov, .chip-ev { background: color-mix(in srgb, var(--accent) 12%, var(--card)); color: var(--accent); }
.chip-link { font-size: 14px; padding: 8px 14px; min-height: 36px; }
.chip-link:hover { text-decoration: none; background: var(--line); }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--chip); color: var(--muted); }
.badge-ok { background: var(--ok-bg); color: var(--ok); }

/* ---------- товар ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; padding-top: 28px; padding-bottom: 72px; align-items: start; }
.product .h1 { margin: 6px 0 16px; }
.product .chips { margin-bottom: 28px; }
.buy { position: sticky; top: 72px; }
.buy-in { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 12px; box-shadow: var(--shadow); }
.buy-price { font-size: 19px; }
.buy-price strong { font-size: 36px; letter-spacing: -.025em; }
.buy-in .badge { justify-self: start; }
.buy-facts { display: grid; gap: 10px; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.buy-facts li { display: flex; gap: 8px; }
.buy-facts .i { color: var(--ok); margin-top: 2px; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; gap: 28px; } .buy { position: static; } }

.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--line); border-radius: var(--radius-sm); overflow: hidden; margin: 24px 0 0; border: 1px solid var(--line); }
.specs > div { background: var(--card); padding: 20px 22px; }
.specs dt { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.specs dd { margin: 0; font-weight: 500; display: flex; gap: 6px; align-items: flex-start; }
.specs dd .i { color: var(--ok); margin-top: 3px; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; gap: 32px; } }
.cards-col { display: grid; gap: 16px; }
.panel { background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.ticks { display: grid; gap: 12px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .i { color: var(--ok); margin-top: 3px; }
.ticks-no .i { color: var(--muted); }
.ticks.big li { font-size: 19px; }
.how { counter-reset: h; display: grid; gap: 16px; margin-top: 20px; }
.how li { counter-increment: h; display: grid; grid-template-columns: 36px 1fr; gap: 16px; align-items: start; }
.how li::before { content: counter(h); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-variant-numeric: tabular-nums; }

.subnav { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; padding-top: 24px; }
.subnav a { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; min-width: 92px; padding: 10px 8px; border-radius: 12px; color: var(--text); font-size: 13px; font-weight: 500; }
.subnav a:hover { text-decoration: none; background: var(--band); }
.subnav a[aria-current="page"] { color: var(--accent); }
.subnav-icon { color: var(--muted); }
.subnav a[aria-current="page"] .subnav-icon { color: var(--accent); }

.qa { display: grid; gap: 20px; }
.qa li { display: grid; grid-template-columns: 36px 1fr; gap: 20px; background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.qa p { color: var(--muted); }
.qa .chips { margin-top: 14px; }

/* ---------- футер ---------- */
.foot { background: var(--band); border-top: 1px solid var(--line); padding: 48px 0 32px; font-size: 13px; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }
.foot h2 { font-size: 13px; color: var(--text); margin-bottom: 10px; letter-spacing: 0; }
.foot ul { display: grid; gap: 2px; }
.foot a:not(.logo) { color: var(--muted); display: inline-block; padding: 4px 0; }
.foot a:hover { color: var(--text); }
.foot .logo { font-size: 18px; margin-bottom: 8px; }
.foot-about p { max-width: 40ch; }
.foot-note { margin-top: 32px; }
.foot-note p { max-width: 760px; }
.foot-dev a { color: var(--text); font-weight: 600; letter-spacing: .06em; }
.foot-legal { margin-top: 16px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; }
.foot-legal a:not(.logo) { padding: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- кольори типів ---------- */
.t-dv { --t: var(--c-dv); } .t-wildcard { --t: var(--c-wildcard); } .t-multi-domain { --t: var(--c-multi-domain); }
.t-ov { --t: var(--c-ov); } .t-ev { --t: var(--c-ev); }
.tile-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: var(--t, var(--accent)); background: color-mix(in srgb, var(--t, var(--accent)) 13%, transparent); }
.tile-dv a:hover, .tile-wildcard a:hover, .tile-multi-domain a:hover, .tile-ov a:hover, .tile-ev a:hover { box-shadow: var(--shadow), 0 0 0 1.5px var(--tc); }
.tile-dv { --tc: var(--c-dv); } .tile-wildcard { --tc: var(--c-wildcard); } .tile-multi-domain { --tc: var(--c-multi-domain); } .tile-ov { --tc: var(--c-ov); } .tile-ev { --tc: var(--c-ev); }
.subnav-icon.t-dv, .subnav-icon.t-wildcard, .subnav-icon.t-multi-domain, .subnav-icon.t-ov, .subnav-icon.t-ev { color: var(--t); }
.chip-dv { background: color-mix(in srgb, var(--c-dv) 13%, var(--card)); color: var(--c-dv); }
.chip-wildcard { background: color-mix(in srgb, var(--c-wildcard) 13%, var(--card)); color: var(--c-wildcard); }
.chip-multi-domain { background: color-mix(in srgb, var(--c-multi-domain) 13%, var(--card)); color: var(--c-multi-domain); }
.chip-ov { background: color-mix(in srgb, var(--c-ov) 13%, var(--card)); color: var(--c-ov); }
.chip-ev { background: color-mix(in srgb, var(--c-ev) 13%, var(--card)); color: var(--c-ev); }
.truth-n { background: linear-gradient(90deg, #0a84ff, #34c77b); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 17px; }
.step-n { background: linear-gradient(135deg, #0a84ff, #2fb8c9 60%, #34c77b); color: #fff; }
.feature-card { position: relative; overflow: hidden; }
.feature-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--t, var(--accent)), #34c77b); }
.hero-dv, .hero-wildcard, .hero-multi-domain, .hero-ov, .hero-ev { background: radial-gradient(55% 70% at 50% 0%, color-mix(in srgb, var(--t) 16%, transparent), transparent 70%); }
.hero-dv { --t: var(--c-dv); } .hero-wildcard { --t: var(--c-wildcard); } .hero-multi-domain { --t: var(--c-multi-domain); } .hero-ov { --t: var(--c-ov); } .hero-ev { --t: var(--c-ev); }

/* ---------- віяло сертифікатів у герої ---------- */
.stack { position: relative; width: min(560px, 100%); height: 290px; }
.cert { position: absolute; left: 50%; bottom: 0; width: min(380px, 84%); height: 230px; margin-left: calc(min(380px, 84%) / -2); border-radius: 22px 22px 0 0; padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; color: #fff; box-shadow: 0 -10px 40px rgba(0,0,0,.12); transform-origin: 50% 100%; animation: rise .7s var(--ease) both; }
.cert-ev { background: linear-gradient(150deg, #34c77b, #1d7a3a); translate: -34% 0; rotate: -9deg; scale: .9; animation-delay: .1s; }
.cert-ov { background: linear-gradient(150deg, #ffb340, #c2410c); translate: 34% 0; rotate: 9deg; scale: .9; animation-delay: .05s; }
.cert-dv { background: linear-gradient(150deg, #4aa3ff, #0057b8); z-index: 2; }
.cert-top { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; letter-spacing: .08em; }
.cert-dot { width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.25); }
.cert-name { font-size: 22px; font-weight: 650; letter-spacing: -.02em; }
.cert-lines { display: grid; gap: 7px; margin-top: 4px; }
.cert-lines i { display: block; height: 7px; border-radius: 4px; background: rgba(255,255,255,.35); }
.cert-lines i:nth-child(1) { width: 78%; } .cert-lines i:nth-child(2) { width: 56%; } .cert-lines i:nth-child(3) { width: 66%; }
.cert .url-pill { margin-top: auto; align-self: flex-start; color: #6e6e73; background: #fff; border-color: transparent; }
.cert .url-pill span { color: #1d1d1f; }
.cert .url-pill .i { color: #1d7a3a; }
.cert-ov .url-pill, .cert-ev .url-pill { visibility: hidden; }
@media (max-width: 560px) { .stack { height: 240px; } .cert { height: 190px; padding: 18px; } .cert-name { font-size: 18px; } }

/* ---------- центри сертифікації ---------- */
.cas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px; }
@media (max-width: 960px) { .cas { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cas { grid-template-columns: 1fr; } }
.ca { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.ca-logo { display: grid; place-items: center; height: 92px; border-radius: 14px; background: #fff; border: 1px solid #e8e8ed; padding: 18px 22px; transition: border-color .2s var(--ease); }
.ca-logo:hover { border-color: var(--accent); }
.ca-logo img { max-width: 100%; max-height: 40px; width: auto; height: auto; }
.ca-logo img[src*="certum"], .brand-plate img[src*="certum"] { max-height: 64px; }
.brand-chip img[src*="certum"] { height: 24px; margin: -4px 0; }
.ca-note { font-size: 13px; }
.ca-brands { display: grid; gap: 0; align-content: start; flex: 1; }
.ca-brands a { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding: 0 4px; border-bottom: 1px solid var(--line); color: var(--text); font-weight: 600; }
.ca-brands li:last-child a { border-bottom: 0; }
.ca-brands a:hover { color: var(--accent); text-decoration: none; }
.ca-total { font-size: 13px; }
.brand-plate { display: inline-grid; place-items: center; background: #fff; border: 1px solid #e8e8ed; border-radius: 16px; padding: 16px 28px; margin: 4px 0 18px; }
.brand-plate img { max-height: 48px; width: auto; max-width: 220px; height: auto; }
.brand-line { display: inline-flex; align-items: center; gap: 10px; }
.brand-chip { display: inline-grid; place-items: center; background: #fff; border: 1px solid #e8e8ed; border-radius: 8px; padding: 5px 9px; }
.brand-chip img { height: 16px; width: auto; max-width: 90px; }

/* Футер притиснутий донизу на коротких сторінках */
body { display: flex; flex-direction: column; min-height: 100dvh; }
main { flex: 1 0 auto; }
@media (max-width: 600px) {
  .cert-ev { translate: -24% 0; rotate: -7deg; scale: .84; }
  .cert-ov { translate: 24% 0; rotate: 7deg; scale: .84; }
}
