/* the inner pages of the site: the landing's tokens, the bar (its menu is in menu2.css), then a plain reading layout.
   Monochrome: black, white and greys. */
@font-face { font-family: "Roboto Flex"; src: url("/fonts/roboto-flex-cyrillic.woff2") format("woff2"); font-weight: 100 1000; font-stretch: 25% 151%; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Roboto Flex"; src: url("/fonts/roboto-flex-latin.woff2") format("woff2"); font-weight: 100 1000; font-stretch: 25% 151%; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto Flex"; src: url("/fonts/roboto-flex-rub.woff2") format("woff2"); font-weight: 100 1000; font-stretch: 25% 151%; font-style: normal; font-display: swap; unicode-range: U+20BD; }
:root { color-scheme: dark; --bg: #000; --ink: #f4f4f4; --soft: #dcdcdc; --dim: #a3a3a3; --card: #050505; --paper: #fff; --on-paper: #000; --line: rgb(255 255 255 / .2); --line-2: rgb(255 255 255 / .42); --type: "Roboto Flex", "Helvetica Neue", "Arial Nova", Arial, sans-serif; --gutter: clamp(18px, 4vw, 56px); --wide: 1280px; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--type); font-size: 16px; font-weight: 350; line-height: 1.5; overflow-x: clip; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
.ic { width: 1.5em; height: 1.5em; flex: none; display: inline-block; vertical-align: -.36em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.micro { margin: 0; font-stretch: 78%; font-weight: 500; font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; color: var(--dim); }

/* bar */
.bar { position: fixed; left: 0; right: 0; top: 0; z-index: 8; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: calc(env(safe-area-inset-top, 0px) + 16px) var(--gutter) 14px; }
.bar::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 0; bottom: -26px; background: linear-gradient(to bottom, #000 0, rgb(0 0 0 / .88) 60%, rgb(0 0 0 / 0)); pointer-events: none; }
.bar-side { display: flex; align-items: center; gap: clamp(10px, 2vw, 22px); }
.login { display: inline-flex; align-items: center; gap: .45em; font-stretch: 86%; font-weight: 500; font-size: .95rem; letter-spacing: .02em; text-decoration: none; padding: .5em .2em; color: var(--ink); }
.login .ic { width: 1.25em; height: 1.25em; }
.burger { display: none; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line-2); border-radius: 2px; background: rgb(0 0 0 / .35); color: #fff; cursor: pointer; }
.burger .ic { width: 22px; height: 22px; vertical-align: 0; }
.burger .i-close, .menu-open .burger .i-open { display: none; }
.menu-open .burger .i-close { display: block; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; padding: .82em 1.5em; border: 1px solid var(--paper); border-radius: 2px; background: var(--paper); color: var(--on-paper); text-decoration: none; cursor: pointer; font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: transparent; color: #fff; }
.btn.ghost { background: transparent; color: #fff; border-color: var(--line-2); }
.btn.ghost:hover { background: var(--paper); color: var(--on-paper); border-color: var(--paper); }
.btn.small { padding: .5em 1em; font-size: .92rem; font-stretch: 86%; font-weight: 550; white-space: nowrap; }

/* page */
.page { max-width: var(--wide); margin: 0 auto; padding: calc(env(safe-area-inset-top, 0px) + 96px) var(--gutter) 8vh; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .2rem .55rem; margin: 0 0 2.2rem; padding: 0; list-style: none; font-size: .9rem; color: var(--dim); }
.crumbs li + li::before { content: "/"; margin-right: .55rem; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: .25em; }
.crumbs [aria-current] { color: var(--soft); }
.page-head { max-width: 52rem; margin: 0 0 1.6rem; }
.page > .crumbs:first-child { padding-top: calc(env(safe-area-inset-top, 0px) + 104px); }
.page > .page-head:first-child { padding-top: calc(env(safe-area-inset-top, 0px) + 104px); }
.page-head .micro { margin: 0 0 .9rem; }
h1 { margin: 0; font-stretch: 128%; font-weight: 320; font-size: clamp(2rem, 1.1rem + 3vw, 3.7rem); line-height: 1.04; letter-spacing: -.02em; text-wrap: balance; overflow-wrap: anywhere; }
h2 { margin: 0 0 1rem; font-stretch: 118%; font-weight: 370; font-size: clamp(1.45rem, .85rem + 1.4vw, 2.05rem); line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }
.stub-note { max-width: 36rem; margin: 0 0 2.4rem; padding: 1rem 1.2rem; border: 1px dashed var(--line-2); border-radius: 2px; color: var(--soft); }

/* first screen: the picture fills the width under the bar, the copy sits on its dark left part, pinned to the top so the crumbs
   are at the same height on every page; the screen is no taller than the picture's 16:9 plus the bar, and when the window is wider
   than that the picture keeps its top and loses only its faded bottom */
.page { padding-top: 0; }
.hero { position: relative; z-index: 0; display: flex; align-items: flex-start; margin: 0 calc(50% - 50vw); padding: calc(env(safe-area-inset-top, 0px) + 112px) var(--gutter) clamp(48px, 8vh, 96px); }
.hero.has-bg { min-height: min(calc(100svh - 10px), calc(56.25vw + 64px)); }
.hero-bg { position: absolute; inset: 0; top: calc(env(safe-area-inset-top, 0px) + 64px); z-index: -1; margin: 0; overflow: hidden; background: #000; }
.hero-bg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 72% 0%; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgb(0 0 0 / .82) 0%, rgb(0 0 0 / .6) 32%, rgb(0 0 0 / .1) 58%, rgb(0 0 0 / 0) 75%), linear-gradient(to bottom, rgb(0 0 0 / .2) 0%, rgb(0 0 0 / 0) 12%, rgb(0 0 0 / 0) 78%, #000 100%); }
.hero-text { width: 100%; margin: 0; }   /* starts at the gutter, on the same line as the logo in the bar (as on the landing and the download page) */
.hero-text > * { max-width: 38rem; }
.hero .crumbs ol { margin-bottom: 1.4rem; }
.hero .micro { margin: 0 0 1rem; }
.hero h1 { margin: 0 0 1.1rem; max-width: 40rem; font-size: clamp(2rem, 1.1rem + 2.7vw, 3.4rem); overflow-wrap: break-word; text-shadow: 0 2px 24px rgb(0 0 0 / .8); }
.hero .lead { max-width: 34rem; margin: 0 0 1.3rem; font-size: clamp(1.06rem, .5vw + .9rem, 1.28rem); line-height: 1.5; font-weight: 340; color: var(--ink); text-shadow: 0 1px 16px rgb(0 0 0 / .9); }
.hero .lead a { text-underline-offset: .22em; text-decoration-color: var(--line-2); }
.checks { display: grid; gap: .55rem; margin: 0 0 1.6rem; padding: 0; list-style: none; text-shadow: 0 1px 12px rgb(0 0 0 / .9); }
.checks li { display: flex; gap: .6rem; align-items: flex-start; color: var(--soft); line-height: 1.4; }
.checks .ic { width: 1.3em; height: 1.3em; margin-top: .05em; color: #fff; }
.checks a { text-decoration: none; }
.checks a:hover { color: #fff; text-decoration: underline; text-underline-offset: .25em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 1rem; }
.hero-note { margin: 0; max-width: 32rem; font-size: .86rem; line-height: 1.45; color: var(--dim); text-shadow: 0 1px 12px rgb(0 0 0 / .9); }
/* hero_style: dots — only the name of the page, centred, on black with a soft glow and a fine dotted grid (no picture, no lead, no buttons) */
.hero.hero-dots { display: flex; flex-direction: column; align-items: stretch; min-height: clamp(400px, 66svh, 680px); padding: calc(env(safe-area-inset-top, 0px) + 112px) var(--gutter) clamp(48px, 9vh, 96px); overflow: clip; }
.hero-dots .dots-bg { position: absolute; inset: -4%; z-index: -1; pointer-events: none; background: radial-gradient(55% 62% at 50% 50%, rgb(255 255 255 / .14), transparent 70%), radial-gradient(45% 40% at 50% 100%, rgb(255 255 255 / .07), transparent 70%); }
.hero-dots .dots-bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgb(255 255 255 / .26) 1px, transparent 1.5px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(62% 78% at 50% 50%, #000, transparent 78%); mask-image: radial-gradient(62% 78% at 50% 50%, #000, transparent 78%); }
.hero-dots .hero-text { flex: 1; display: flex; flex-direction: column; }
.hero-dots .hero-text > * { max-width: none; }
.hero-dots .crumbs ol { margin-bottom: 0; }
.hero.hero-dots h1 { margin: auto; padding-top: 1.5rem; max-width: none; text-align: center; font-size: clamp(1.55rem, 8.2vw, 5rem); overflow-wrap: normal; text-shadow: none; }

/* section headings as a sticky strip under the bar */
.toc { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 64px); z-index: 7; margin: 0 calc(-1 * var(--gutter)) clamp(16px, 3vh, 32px); padding: 0 var(--gutter); background: #000; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.toc-in { display: flex; gap: clamp(20px, 3vw, 44px); overflow-x: auto; scrollbar-width: none; padding: .95rem 0; -webkit-overflow-scrolling: touch; }
.toc-in::-webkit-scrollbar { display: none; }
.toc a:first-child { margin-left: auto; }   /* the links sit in the middle of the strip; when they overflow on a narrow screen the auto margins vanish and the strip scrolls from its start */
.toc a:last-child { margin-right: auto; }
.toc a { flex: none; font-stretch: 84%; font-weight: 500; font-size: .76rem; letter-spacing: .09em; text-transform: uppercase; text-decoration: none; color: var(--dim); white-space: nowrap; }
.toc a:hover, .toc a.on { color: #fff; }
/* the live strip: the current section is underlined and kept in the middle; arrows appear at the edge that hides more links */
.toc-live { position: sticky; }
.toc-live .toc-in { scroll-behavior: smooth; }
.toc-live a { position: relative; padding: .2em 0; }
.toc-live a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.95rem; height: 2px; background: #fff; transform: scaleX(0); transition: transform .3s; }
.toc-live a.on::after { transform: scaleX(1); }
.toc-arrow { position: absolute; top: 1px; bottom: 1px; z-index: 2; display: grid; place-items: center; width: 56px; padding: 0; border: 0; background: linear-gradient(to right, #000 55%, rgb(0 0 0 / 0)); color: #fff; cursor: pointer; }
.toc-arrow .ic { width: 20px; height: 20px; vertical-align: 0; stroke-width: 1.8; }
.toc-prev { left: 0; }
.toc-next { right: 0; background: linear-gradient(to left, #000 55%, rgb(0 0 0 / 0)); }
.toc-arrow[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .toc-live .toc-in { scroll-behavior: auto; } .toc-live a::after { transition: none; } }

/* the text: sections with a picture beside, alternating sides */
.content { max-width: 1120px; margin: 0 auto; }
.prose { color: var(--soft); font-size: 1.04rem; line-height: 1.62; }
.intro { max-width: 46rem; margin: 0 auto; padding: .5rem 0 1rem; text-align: center; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center; padding: clamp(30px, 5vh, 60px) 0; }
.row.solo { grid-template-columns: minmax(0, 1fr); max-width: 46rem; margin: 0 auto; }
.row.flip .row-art { order: -1; }
.row-art { margin: 0; }
.row-art img { display: block; width: 100%; max-width: 400px; height: auto; margin: 0 auto; }
.row.short .row-art img { max-width: 300px; }
.row-text > :first-child { margin-top: 0; }
.row-text > :last-child { margin-bottom: 0; }
.row-text h2 { margin: 0 0 1rem; color: var(--ink); }
.sec { max-width: 46rem; margin: 0 auto; padding: clamp(30px, 5vh, 60px) 0; }
.sec > h2 { margin: 0 0 1.4rem; text-align: center; color: var(--ink); }   /* a heading that stands alone above its block sits in the middle, at every width */
.sec > :last-child { margin-bottom: 0; }
.sec-cards, .sec-wide { max-width: none; }
.sec-doc { padding: clamp(18px, 3vh, 36px) 0; }   /* the policies: one reading column, headings on the left */
.sec-doc > h2 { text-align: left; }
.sec-doc h3 { margin-top: 1.3rem; }
.intro-doc { text-align: left; }
.cta-mid { margin: 0; padding: .4rem 0 1.2rem; text-align: center; }
.prose p, .prose ul, .prose ol, .prose table, .prose figure, .prose details, .prose .callout, .prose dl { margin: 0 0 1.15rem; }
.prose .lead { font-size: 1.22rem; line-height: 1.5; color: var(--ink); font-weight: 300; }
.prose h3 { margin: 1.7rem 0 .55rem; font-stretch: 112%; font-weight: 420; font-size: 1.14rem; line-height: 1.25; color: var(--ink); }
.prose a { text-underline-offset: .22em; text-decoration-color: var(--line-2); }
.prose a:hover { color: #fff; text-decoration-color: #fff; }
.prose strong { font-weight: 600; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin: .35rem 0; padding-left: .2rem; }
.prose li::marker { color: var(--dim); }
.prose ol.steps { list-style: none; counter-reset: step; padding: 0; border-top: 1px solid var(--line-2); }
.prose ol.steps li { counter-increment: step; position: relative; margin: 0; padding: .95rem 0 .95rem 3rem; border-bottom: 1px solid var(--line); }
.prose ol.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 1rem; font-stretch: 78%; font-weight: 500; font-size: .86rem; letter-spacing: .08em; color: var(--dim); }
.prose .callout { padding: 1rem 1.2rem; border-left: 2px solid var(--paper); background: rgb(255 255 255 / .05); color: var(--ink); }
.prose .callout > :last-child { margin-bottom: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .96rem; display: block; overflow-x: auto; }
.prose th, .prose td { padding: .65rem .8rem .65rem 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose th { font-stretch: 86%; font-weight: 500; color: var(--ink); border-bottom-color: var(--line-2); }
.prose details { border-bottom: 1px solid var(--line); }
.prose details:first-of-type { border-top: 1px solid var(--line-2); }
.prose summary { cursor: pointer; padding: .95rem 1.6rem .95rem 0; font-weight: 450; color: var(--ink); list-style: none; position: relative; }
.prose summary::-webkit-details-marker { display: none; }
.prose summary::after { content: "+"; position: absolute; right: .2rem; top: .8rem; font-size: 1.3rem; font-weight: 200; color: var(--dim); }
.prose details[open] summary::after { content: "–"; }
.prose details > div { padding: 0 0 1rem; }
.prose details > div > :last-child { margin-bottom: 0; }
.prose .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1px; margin: 0 0 1.4rem; border: 1px solid var(--line); background: var(--line); }
.prose .card { padding: 1.3rem 1.3rem 1.4rem; background: var(--bg); }
.prose .card h3 { margin: 0 0 .5rem; font-size: 1.05rem; }
.prose .card p { margin: 0; font-size: .96rem; }
.prose figure { margin-left: 0; margin-right: 0; }
.prose figure:not(.row-art) img { display: block; width: 100%; height: auto; border: 1px solid var(--line); }
.prose figcaption { margin-top: .5rem; font-size: .86rem; color: var(--dim); }
.todo { display: inline-block; margin: 0 .15em; padding: .05em .55em; border: 1px dashed var(--line-2); border-radius: 2px; font-size: .88em; font-style: normal; color: var(--dim); background: repeating-linear-gradient(135deg, transparent 0 6px, rgb(255 255 255 / .05) 6px 12px); }
.todo::before { content: "доработать: "; font-stretch: 78%; letter-spacing: .06em; text-transform: uppercase; font-size: .86em; color: var(--ink); }
.block { max-width: 1120px; margin: 2.6rem auto 0; }
.block > h2 { text-align: center; }
.links { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 0 clamp(20px, 3vw, 48px); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-2); }
.links li { border-bottom: 1px solid var(--line); }
.links a { display: block; padding: .8rem 0; text-decoration: none; overflow-wrap: anywhere; }
.links a:hover { color: #fff; text-decoration: underline; text-underline-offset: .25em; }
.links li[hidden] { display: none; }
.filter { display: block; max-width: 28rem; margin: 0 auto 1.2rem; }
.filter span { display: block; margin: 0 0 .4rem; font-size: .88rem; color: var(--dim); }
.filter input { width: 100%; padding: .7em .9em; border: 1px solid var(--line-2); border-radius: 2px; background: transparent; color: var(--ink); font: inherit; }
.cta { max-width: 1120px; margin: 3.6rem auto 0; padding: clamp(36px, 6vh, 64px) var(--gutter); text-align: center; border: 1px solid var(--line-2); border-radius: 2px; }
.cta .micro { margin: 0 0 .9rem; }
.cta-h { margin: 0 auto .6rem; max-width: 28rem; font-stretch: 122%; font-weight: 280; font-size: clamp(1.5rem, 1rem + 1.6vw, 2.3rem); line-height: 1.1; text-wrap: balance; }
.cta-p { margin: 0 auto 1.6rem; max-width: 32rem; color: var(--soft); }
.cta div { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.site-foot { padding: 0 var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 36px); }

@media (max-width: 1199px) { .burger { display: grid; } }
@media (max-width: 860px) {
  .hero { display: flex; flex-direction: column; align-items: stretch; padding-top: calc(env(safe-area-inset-top, 0px) + 92px); padding-bottom: 0; }
  .hero.has-bg { min-height: 0; }
  .hero .crumbs ol { margin-bottom: 1.2rem; }
  .hero h1 { max-width: none; }
  .hero-bg { position: relative; inset: auto; z-index: 0; order: 2; margin: 1.4rem calc(-1 * var(--gutter)) 0; }   /* on phones the picture is a band under the copy */
  .hero-bg img { height: auto; aspect-ratio: 4 / 3; object-position: 68% 50%; }
  .hero-bg::after { background: linear-gradient(to bottom, #000 0%, rgb(0 0 0 / 0) 22%, rgb(0 0 0 / 0) 80%, #000 100%); }
  .row { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 26px 0; }
  .row .row-art, .row.flip .row-art { order: -1; }
  .row-art img, .row.short .row-art img { max-width: 220px; }
}
@media (max-width: 760px) {
  .bar-side .login { display: none; }
  .burger { width: 36px; height: 36px; }
  .bar .btn.small { font-size: .86rem; padding: .48em .8em; }
  .links { grid-template-columns: 1fr; }
}
@media (max-width: 350px) { .bar { gap: 8px; } .bar-side { gap: 6px; } .bar .btn.small { font-size: .82rem; padding: .48em .6em; } }

/* Animations. They are switched on and off in /admin/ (data/animations.json -> assets/fx.json) and wired by fx.js, which sets html[data-fx]
   to the list of the effects that are on, only when the setting is on, the page is in its scope and the visitor has not asked for less motion.
   Every rule hangs on html[data-fx~="name"]; without it (or without JS) the page is complete and still. */
html[data-fx] { --fx-ease: cubic-bezier(.2, .7, .2, 1); }

/* reveal: blocks rise into place as they come into view (fx-pre is held only by blocks that start below the first screen) */
html[data-fx~="reveal"] [data-rv] { transition: opacity .8s var(--fx-ease) calc(var(--i, 0) * 90ms), transform .8s var(--fx-ease) calc(var(--i, 0) * 90ms); }
html[data-fx~="reveal"] .fx-pre [data-rv], html[data-fx~="reveal"] [data-rv].fx-pre { opacity: 0; transform: translate3d(0, 18px, 0); }
html[data-fx~="reveal"] .fx-pre .row-art[data-rv] { transform: translate3d(40px, 0, 0) scale(.96); }
html[data-fx~="reveal"] .fx-pre.flip .row-art[data-rv] { transform: translate3d(-40px, 0, 0) scale(.96); }
@media (max-width: 860px) { html[data-fx~="reveal"] .fx-pre .row-art[data-rv], html[data-fx~="reveal"] .fx-pre.flip .row-art[data-rv] { transform: translate3d(0, 24px, 0) scale(.96); } }

/* headings: a hairline grows under every section heading */
html[data-fx~="headings"] .row-text h2::after, html[data-fx~="headings"] .sec > h2::after { content: ""; display: block; width: 72px; height: 1px; margin-top: .9rem; background: #fff; transition: width 1s var(--fx-ease) .35s; }
html[data-fx~="headings"] .sec > h2::after { margin-inline: auto; }
html[data-fx~="headings"] .sec-doc > h2::after { margin-inline: 0; }
html[data-fx~="headings"] .fx-pre h2::after { width: 0; }

/* scramble: a word of the main heading resolves out of random characters (the width is held while it runs) */
.fx-scr { display: inline-block; white-space: nowrap; }

/* hero: the picture of the first screen drifts and slowly zooms while it is in view */
html[data-fx~="hero"] .hero-bg img { transform-origin: 72% 0; animation: fx-kb 26s ease-in-out infinite alternate; animation-play-state: paused; will-change: transform; }
html[data-fx~="hero"] .hero-bg.fx-live img { animation-play-state: running; }
html[data-fx~="hero"] .hero-dots .dots-bg { animation: fx-kb 26s ease-in-out infinite alternate; animation-play-state: paused; will-change: transform; }
html[data-fx~="hero"] .hero-dots .dots-bg.fx-live { animation-play-state: running; }
@keyframes fx-kb { from { transform: scale(1); } to { transform: scale(1.07) translate3d(-1.2%, -.8%, 0); } }

/* checks: the ticks of the first screen are drawn one after another */
html[data-fx~="checks"] .checks .ic path { stroke-dasharray: 1; animation: fx-draw .55s ease both; animation-delay: calc(var(--i, 0) * 120ms + .5s); }
@keyframes fx-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* steps: a step lights up when the reader reaches it, and a line runs under it */
html[data-fx~="steps"] .prose ol.steps li { transition: opacity .5s; }
html[data-fx~="steps"] .prose ol.steps li:not(.on) { opacity: .4; }
html[data-fx~="steps"] .prose ol.steps li::before { transition: color .4s; }
html[data-fx~="steps"] .prose ol.steps li.on::before { color: #fff; }
html[data-fx~="steps"] .prose ol.steps li::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: #fff; transform: scaleX(0); transform-origin: 0 50%; transition: transform .8s var(--fx-ease); }
html[data-fx~="steps"] .prose ol.steps li.on::after { transform: scaleX(1); }

/* art: the pictures float while they are in view; the shield and the tunnel send rings, the rocket has an exhaust */
html[data-fx~="art"] .row-art { position: relative; --art: 400px; }
html[data-fx~="art"] .row.short .row-art { --art: 300px; }
@media (max-width: 860px) { html[data-fx~="art"] .row .row-art { --art: 220px; } }
html[data-fx~="art"] .row-art img { animation: fx-float 6s ease-in-out infinite; animation-play-state: paused; }
html[data-fx~="art"] .row-art.fx-live img { animation-play-state: running; }
@keyframes fx-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
html[data-fx~="art"] .row-art[data-spot="shield"]::before, html[data-fx~="art"] .row-art[data-spot="shield"]::after,
html[data-fx~="art"] .row-art[data-spot="tunnel"]::before, html[data-fx~="art"] .row-art[data-spot="tunnel"]::after {
  content: ""; position: absolute; left: 50%; top: 47.5%; width: calc(min(var(--art), 100%) * .5); aspect-ratio: 1; translate: -50% -50%; border: 1px solid rgb(255 255 255 / .4); border-radius: 50%;
  opacity: 0; pointer-events: none; animation: fx-ring 3.6s cubic-bezier(.2, .6, .3, 1) infinite; animation-play-state: paused; }
html[data-fx~="art"] .row-art[data-spot="shield"]::after, html[data-fx~="art"] .row-art[data-spot="tunnel"]::after { animation-delay: 1.8s; }
html[data-fx~="art"] .row-art[data-spot="tunnel"]::before, html[data-fx~="art"] .row-art[data-spot="tunnel"]::after { animation-name: fx-rush; }
html[data-fx~="art"] .row-art.fx-live[data-spot="shield"]::before, html[data-fx~="art"] .row-art.fx-live[data-spot="shield"]::after,
html[data-fx~="art"] .row-art.fx-live[data-spot="tunnel"]::before, html[data-fx~="art"] .row-art.fx-live[data-spot="tunnel"]::after { animation-play-state: running; }
@keyframes fx-ring { 0% { transform: scale(.8); opacity: 0; } 15% { opacity: .5; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes fx-rush { 0% { transform: scale(1.8); opacity: 0; } 20% { opacity: .5; } 100% { transform: scale(.25); opacity: 0; } }
html[data-fx~="art"] .row-art[data-spot="start"]::after { content: ""; position: absolute; left: 50%; top: 36%; width: calc(min(var(--art), 100%) * .3); aspect-ratio: 1; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 255 255 / .55), rgb(255 255 255 / 0)); pointer-events: none;
  animation: fx-float 6s ease-in-out infinite, fx-glow 1.4s ease-in-out infinite alternate; animation-play-state: paused; }
html[data-fx~="art"] .row-art.fx-live[data-spot="start"]::after { animation-play-state: running; }
@keyframes fx-glow { from { opacity: .15; } to { opacity: .7; } }

/* marker: key phrases are underlined with a marker stroke as they scroll past the middle of the screen */
.fx-mk { color: #fff; padding: 0 .14em; margin: 0 -.14em; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size .9s var(--fx-ease) .15s;
  background: linear-gradient(rgb(255 255 255 / .22), rgb(255 255 255 / .22)) 0 88% / 0% .62em no-repeat; }
.fx-mk.fx-in { background-size: 100% .62em; }

/* links: the underline of a link in the text is drawn from the left on hover */
html[data-fx~="links"] .prose a:not(.btn), html[data-fx~="links"] .hero .lead a {
  text-decoration: none; padding-bottom: 1px; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size .4s var(--fx-ease), color .2s;
  background: linear-gradient(#fff, #fff) 0 100% / 0% 1px no-repeat, linear-gradient(var(--line-2), var(--line-2)) 0 100% / 100% 1px no-repeat; }
html[data-fx~="links"] .prose a:not(.btn):hover, html[data-fx~="links"] .hero .lead a:hover { background-size: 100% 1.5px, 100% 1px; }

/* buttons: the ghost button is filled from the left, every button gives a little under the finger */
html[data-fx~="buttons"] .btn { transition: background .2s, color .2s, border-color .2s, scale .15s; }
html[data-fx~="buttons"] .btn:active { scale: .97; }
html[data-fx~="buttons"] .btn.ghost { position: relative; overflow: hidden; isolation: isolate; transition: color .35s, border-color .35s, scale .15s; }
html[data-fx~="buttons"] .btn.ghost::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--fx-ease); }
html[data-fx~="buttons"] .btn.ghost:hover { background: transparent; color: var(--on-paper); border-color: var(--paper); }
html[data-fx~="buttons"] .btn.ghost:hover::before { transform: scaleX(1); }

/* faq: answers slide open (fx.js animates the height), the plus turns into a cross */
html[data-fx~="faq"] .prose summary::after { content: "+"; transition: transform .4s var(--fx-ease); }
html[data-fx~="faq"] .prose details[open] summary::after { content: "+"; transform: rotate(45deg); }
html[data-fx~="faq"] .prose details[open].fx-closing summary::after { transform: none; }

/* toc: one bar slides under the current section of the strip; the page scrolls smoothly to a section */
html[data-fx~="toc"] { scroll-behavior: smooth; }
html[data-fx~="toc"] .toc-live a::after { display: none; }
html[data-fx~="toc"] .toc-in { position: relative; }
html[data-fx~="toc"] .toc a:first-of-type { margin-left: auto; }   /* the bar is the last child of the strip, so :first/:last-child of the links move to -of-type */
html[data-fx~="toc"] .toc a:last-of-type { margin-right: auto; }
.fx-ind { position: absolute; left: 0; bottom: 0; width: 100px; height: 2px; background: #fff; transform-origin: 0 0; opacity: 0; pointer-events: none; transition: transform .4s var(--fx-ease), opacity .2s; }

/* header: the bar gets a blurred backing and a hairline once the page is scrolled */
html[data-fx~="header"] .bar::after { content: ""; position: absolute; z-index: -1; inset: 0; background: rgb(0 0 0 / .6); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); opacity: 0; transition: opacity .3s; pointer-events: none; }
html[data-fx~="header"] .bar.fx-scrolled::after { opacity: 1; }

/* cta: orbits behind the closing block, a light running around its main button (both only while the block is in view) */
html[data-fx~="cta"] .cta { position: relative; overflow: hidden; isolation: isolate; }
.fx-orbits { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.fx-orbits .orb { fill: none; stroke: #fff; stroke-opacity: .16; stroke-width: 1; }
@property --fx-ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
html[data-fx~="cta"] .cta .btn:not(.ghost) { position: relative; isolation: isolate; }
html[data-fx~="cta"] .cta .btn:not(.ghost)::before { content: ""; position: absolute; inset: -3px; z-index: -1; border-radius: 4px; background: conic-gradient(from var(--fx-ang), transparent 0 58%, rgb(255 255 255 / .95) 84%, transparent 100%); filter: blur(7px); opacity: 0; transition: opacity .2s; }
html[data-fx~="cta"] .cta.fx-live .btn:not(.ghost)::before { opacity: .85; animation: fx-ang 3.6s linear infinite; }
html[data-fx~="cta"] .cta.fx-live .btn:not(.ghost):hover::before { opacity: 0; }
@keyframes fx-ang { to { --fx-ang: 360deg; } }

/* the second header: the menu sits in the middle of the bar, each section opens a panel with tabs (like the big product sites).
   Needs the tokens, .bar, .bar-side, .btn, .login and .burger of the page it is on. */
/* the logo: "OrbitVPN" in the site's type with the satellite pictogram as the dot of the i (brand/orbit-mark.svg). One rule set for every page. */
.wordmark { display: inline-flex; align-items: center; justify-self: start; font-stretch: 118%; font-weight: 780; font-size: 1.25rem; letter-spacing: -.01em; line-height: 1; text-decoration: none; color: var(--ink); white-space: nowrap; }
.wm { display: inline-block; padding-top: .2em; }   /* room for the satellite above the ascenders, so the whole mark centres in the bar */
.wm-i { position: relative; display: inline-block; margin: 0 .03em; }
.wm-sat { position: absolute; left: 50%; bottom: .64em; width: .95em; height: .57em; transform: translateX(-50%); fill: currentColor; }
.bar2 { display: block; padding-top: calc(env(safe-area-inset-top, 0px) + 14px); padding-bottom: 12px; }
.bar2 .bar-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.bar2 .bar-side { justify-self: end; }
.nav2 { justify-self: center; }
.nav2-list { position: relative; display: flex; align-items: center; gap: clamp(2px, .6vw, 10px); margin: 0; padding: 0; list-style: none; }
.nav2-item { position: static; }
.nav2-link { position: relative; display: inline-flex; align-items: center; gap: .25em; padding: .55em .8em; border-radius: 3px; font-stretch: 86%; font-weight: 500; font-size: .95rem; letter-spacing: .02em; line-height: 1.2; text-decoration: none; white-space: nowrap; color: #d2d2d2; transition: color .2s, background-color .2s; }
.nav2-link .ic { width: 1.05em; height: 1.05em; margin-right: -.25em; opacity: .7; transition: transform .25s, opacity .2s; }
.nav2-link:hover, .nav2-item.is-open > .nav2-link, .nav2-link[aria-current] { color: #fff; }
.nav2-item.is-open > .nav2-link { background: rgb(255 255 255 / .07); }
.nav2-item.is-open > .nav2-link .ic { transform: rotate(180deg); opacity: 1; }
.nav2-link::after { content: ""; position: absolute; left: .8em; right: .8em; bottom: .3em; height: 1px; background: var(--paper); transform: scaleX(0); transform-origin: 0 50%; transition: transform .25s; }
.nav2-link[aria-current]::after { transform: scaleX(1); }
/* the strip between the menu and the panel keeps the hover alive while the pointer travels down */
.dd::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 14px; }

/* the panel: centred under the menu, fades and slides in */
.dd { position: absolute; left: 50%; top: calc(100% + 12px); z-index: 9; width: min(800px, calc(100vw - 2 * var(--gutter))); transform: translate(-50%, -10px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .24s ease, transform .24s ease, visibility 0s linear .24s; }
.nav2-item.is-open > .dd { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition-delay: 0s, 0s, 0s; }
.dd-in { display: grid; grid-template-columns: 17rem minmax(0, 1fr); gap: 10px; padding: 12px; border: 1px solid rgb(255 255 255 / .16); border-radius: 8px; background: rgb(6 6 6 / .92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 30px 80px rgb(0 0 0 / .65), 0 0 0 1px rgb(0 0 0 / .6); }
.dd-tabs { display: grid; align-content: start; gap: 2px; padding: 4px; border-right: 1px solid rgb(255 255 255 / .1); }
.dd-tab { display: flex; justify-content: space-between; align-items: center; gap: .8rem; width: 100%; padding: .85rem 1rem; border: 0; border-radius: 5px; background: transparent; color: #d2d2d2; font: inherit; font-weight: 500; font-size: .98rem; line-height: 1.25; text-align: left; cursor: pointer; transition: background-color .2s, color .2s; }
.dd-tab .ic { width: 1.1em; height: 1.1em; opacity: .45; transition: transform .25s, opacity .2s; }
.dd-tab:hover, .dd-tab.is-on { background: rgb(255 255 255 / .08); color: #fff; }
.dd-tab.is-on .ic { opacity: 1; transform: translateX(2px); }
.dd-panes { padding: 6px 10px 6px 14px; }
.dd-pane { display: none; }
.dd-pane.is-on { display: block; animation: dd-pane .28s ease both; }
@keyframes dd-pane { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
.dd-h { display: none; }
.dd-pane ul { margin: 0; padding: 0; list-style: none; }
.dd-pane li + li { border-top: 1px solid rgb(255 255 255 / .08); }
.dd-pane a { display: flex; align-items: center; padding: .62rem .3rem; font-size: .95rem; text-decoration: none; color: #d2d2d2; transition: color .2s, padding-left .2s; }
.dd-pane a:hover { color: #fff; padding-left: .7rem; }
.dd-note { display: grid; gap: .5rem; margin: 12px 0 4px; padding: .9rem 1rem; border: 1px solid rgb(255 255 255 / .14); border-radius: 5px; background: rgb(255 255 255 / .04); font-size: .9rem; color: var(--soft); }
.dd-note p { margin: 0; }
.dd-note a { display: inline-flex; align-items: center; gap: .3em; font-weight: 550; color: #fff; text-decoration: none; }
.dd-note a .ic { width: 1.1em; height: 1.1em; transition: transform .2s; }
.dd-note a:hover .ic { transform: translateX(3px); }
.nav2 .login.in-menu { display: none; }
@media (prefers-reduced-motion: reduce) { .dd, .nav2-link .ic, .dd-tab .ic, .dd-pane a { transition: none; } .dd-pane.is-on { animation: none; } }

/* narrow screens: the menu folds into a panel under the burger; the sections open like an accordion with all their groups */
@media (max-width: 1199px) {
  .bar2 .bar-in { grid-template-columns: auto 1fr; }
  .bar2 .burger { display: grid; }
  .nav2 { position: absolute; right: var(--gutter); top: calc(100% - 2px); width: min(24rem, calc(100vw - 2 * var(--gutter))); max-height: calc(100vh - 100px); overflow-y: auto; display: none; margin: 0; padding: .3rem 1.1rem .6rem; border: 1px solid var(--line-2); border-radius: 2px; background: #050505; }
  .menu-open .nav2 { display: block; }
  .nav2-list { display: block; }
  .nav2-item { border-bottom: 1px solid var(--line); }
  .nav2-link { display: flex; justify-content: space-between; width: 100%; padding: .85em 0; border-radius: 0; font-size: 1.05rem; }
  .nav2-link::after, .dd::before { display: none; }
  .nav2-item.is-open > .nav2-link { background: none; }
  .dd { position: static; width: auto; transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition: none; display: none; }
  .nav2-item.is-open > .dd { display: block; transform: none; }
  .dd-in { display: block; padding: 0 0 .6rem; border: 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; }
  .dd-tabs { display: none; }
  .dd-panes { padding: 0; }
  .dd-pane, .dd-pane.is-on { display: block; animation: none; }
  .dd-h { display: block; margin: .6rem 0 .1rem; font-stretch: 78%; font-weight: 500; font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; color: var(--dim); }
  .dd-pane li + li { border-top: 0; }
  .dd-pane a { padding: .4rem 0 .4rem .6rem; }
  .dd-pane a:hover { padding-left: .6rem; }
  .dd-note { margin: .8rem 0 .2rem; }
  .nav2 .login.in-menu { display: inline-flex; padding: .85em 0; }
}
@media (max-width: 760px) {
  .bar2 .bar-side .login { display: none; }
}

/* cookie consent: the strip at the bottom on the first visit and the preferences dialog. Self-contained (own buttons), monochrome. */
.ck-strip { position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom, 0px)); z-index: 60; display: flex; align-items: center; gap: 16px 28px; width: min(62rem, calc(100vw - 32px)); padding: 16px 20px; border: 1px solid rgb(255 255 255 / .18); border-radius: 8px; background: rgb(6 6 6 / .92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 30px 80px rgb(0 0 0 / .65); transform: translate(-50%, 16px); opacity: 0; transition: opacity .3s ease, transform .3s ease; font-family: "Roboto Flex", "Helvetica Neue", Arial, sans-serif; color: #f4f4f4; }
.ck-strip.is-on { opacity: 1; transform: translate(-50%, 0); }
.ck-strip-text { flex: 1 1 24rem; margin: 0; font-size: .92rem; line-height: 1.45; color: #dcdcdc; }
.ck-strip-text a, .ck-intro a { color: #fff; text-underline-offset: .22em; }
.ck-strip-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.ck-btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; padding: .82em 1.5em; border: 1px solid #fff; border-radius: 2px; background: #fff; color: #000; text-decoration: none; cursor: pointer; font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.ck-btn:hover { background: transparent; color: #fff; }
.ck-btn.ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / .42); }
.ck-btn.ghost:hover { background: #fff; color: #000; border-color: #fff; }
.ck-btn.small { padding: .5em 1em; font-size: .92rem; font-stretch: 86%; font-weight: 550; }
.ck-link { padding: .4em .2em; border: 0; background: none; color: #d2d2d2; font: inherit; font-size: .92rem; font-stretch: 86%; font-weight: 500; letter-spacing: .02em; text-decoration: underline; text-underline-offset: .25em; cursor: pointer; }
.ck-link:hover { color: #fff; }

.ck-dialog { position: fixed; inset: 0; z-index: 61; display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .22s ease; font-family: "Roboto Flex", "Helvetica Neue", Arial, sans-serif; color: #f4f4f4; }
.ck-dialog.is-on { opacity: 1; }
.ck-dialog[hidden] { display: none; }
.ck-back { position: absolute; inset: 0; background: rgb(0 0 0 / .72); }
.ck-box { position: relative; width: min(36rem, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 28px 28px 24px; border: 1px solid rgb(255 255 255 / .18); border-radius: 8px; background: rgb(6 6 6 / .96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 30px 80px rgb(0 0 0 / .7); transform: translateY(10px); transition: transform .22s ease; outline: none; }
.ck-dialog.is-on .ck-box { transform: none; }
.ck-x { position: absolute; right: 12px; top: 12px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid rgb(255 255 255 / .2); border-radius: 2px; background: none; color: #d2d2d2; cursor: pointer; }
.ck-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.ck-x:hover { color: #fff; border-color: #fff; }
.ck-micro { margin: 0 0 .7rem; font-stretch: 78%; font-weight: 500; font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; color: #a3a3a3; }
.ck-title { margin: 0 0 .7rem; font-stretch: 118%; font-weight: 370; font-size: 1.6rem; line-height: 1.12; letter-spacing: -.01em; }
.ck-intro { margin: 0 0 1.2rem; font-size: .95rem; line-height: 1.5; color: #dcdcdc; }
.ck-rows { border-top: 1px solid rgb(255 255 255 / .2); }
.ck-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid rgb(255 255 255 / .12); }
.ck-row-h { margin: 0 0 .25rem; font-weight: 550; font-size: 1rem; }
.ck-always { margin-left: .5em; font-stretch: 78%; font-weight: 500; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: #a3a3a3; }
.ck-row-p { margin: 0; font-size: .88rem; line-height: 1.45; color: #a3a3a3; }
.ck-switch { position: relative; flex: none; width: 44px; height: 26px; margin-top: 2px; cursor: pointer; }
.ck-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: inherit; }
.ck-knob { pointer-events: none; position: absolute; inset: 0; border: 1px solid rgb(255 255 255 / .42); border-radius: 13px; background: transparent; transition: background .2s, border-color .2s; }
.ck-knob::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #a3a3a3; transition: transform .2s, background .2s; }
.ck-switch input:checked + .ck-knob { background: #fff; border-color: #fff; }
.ck-switch input:checked + .ck-knob::after { background: #000; transform: translateX(18px); }
.ck-switch input:focus-visible + .ck-knob { outline: 2px solid #fff; outline-offset: 3px; }
.ck-switch.is-fixed { cursor: default; opacity: .7; }
.ck-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 20px; }
.ck-open { overflow: hidden; }
@media (max-width: 640px) {
  .ck-strip { flex-direction: column; align-items: stretch; width: calc(100vw - 24px); padding: 14px 16px; bottom: max(12px, env(safe-area-inset-bottom, 0px)); }
  .ck-strip-btns .ck-btn { flex: 1 1 auto; }
  .ck-box { padding: 22px 18px 18px; }
  .ck-btns .ck-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .ck-strip, .ck-dialog, .ck-box, .ck-knob, .ck-knob::after { transition: none; } }

/* the site directory: eight columns of links, the same on every page */
.dir { max-width: var(--wide, 1280px); margin: 0 auto; padding: 2.4rem 0 1.2rem; border-top: 1px solid var(--line, rgb(255 255 255 / .2)); color: var(--dim, #a3a3a3); font-size: .92rem; }
.dir-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem clamp(20px, 3vw, 48px); }
.dir-h { margin: 0 0 .8rem; font-stretch: 78%; font-weight: 500; font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; color: var(--dim, #a3a3a3); }
.dir ul { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.dir a { color: #cfcfcf; text-decoration: none; }
.dir a:hover { color: #fff; text-decoration: underline; text-underline-offset: .25em; }
/* the legal line, the same on every page: the documents in the middle, the company below */
.dir-legal { display: grid; justify-items: center; gap: 14px; max-width: 1280px; margin: 2.2rem auto 0; padding-top: 1.4rem; border-top: 1px solid var(--line, rgb(255 255 255 / .2)); text-align: center; }
.dir-legal ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin: 0; padding: 0; list-style: none; }
.dir-legal ul a { font-size: .9rem; color: #d2d2d2; text-decoration: none; }
.dir-legal ul a:hover { color: #fff; text-decoration: underline; text-underline-offset: .25em; }
.dir-legal p { margin: 0; font-size: .82rem; color: var(--dim, #a3a3a3); }
@media (max-width: 980px) { .dir-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .dir-grid { grid-template-columns: 1fr; } }
