242 lines
16 KiB
CSS
242 lines
16 KiB
CSS
/* Автономная презентация: системные шрифты, локальные иллюстрации, без внешних зависимостей. */
|
|
:root {
|
|
color-scheme: light;
|
|
--ink: #122c47;
|
|
--muted: #556679;
|
|
--blue: #256cc6;
|
|
--line: #dce4eb;
|
|
--paper: #f8fafc;
|
|
--lime: #d4f58b;
|
|
}
|
|
* { box-sizing: border-box; }
|
|
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
|
|
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
|
|
a { color: inherit; text-decoration: none; }
|
|
button { font: inherit; cursor: pointer; }
|
|
button, a { -webkit-tap-highlight-color: transparent; }
|
|
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
|
|
img { display: block; max-width: 100%; height: auto; }
|
|
figure, p, h1, h2, h3 { margin: 0; }
|
|
[hidden] { display: none !important; }
|
|
::selection { color: var(--ink); background: var(--lime); }
|
|
.container { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
|
|
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
|
|
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
|
|
.skip-link { position: fixed; left: 20px; top: -80px; z-index: 10; padding: 14px 22px; background: white; }
|
|
.skip-link:focus { top: 12px; }
|
|
.header { position: sticky; top: 0; z-index: 5; background: #f8fafcf5; border-bottom: 1px solid var(--line); }
|
|
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
|
|
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 750; letter-spacing: -1px; }
|
|
.brand img { flex-shrink: 0; }
|
|
.brand-dot { color: var(--blue); }
|
|
nav { display: flex; align-items: center; gap: 35px; font-size: 14px; font-weight: 600; }
|
|
nav a { padding-block: 14px; }
|
|
nav a:hover, .back-top:hover { color: var(--blue); }
|
|
nav a:last-child { padding: 12px 18px; border: 1px solid #cbd6e1; border-radius: 6px; }
|
|
nav a span { padding-left: 12px; }
|
|
.hero { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 52px; padding-block: 76px 62px; }
|
|
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 11px; line-height: 1.7; font-weight: 700; text-transform: uppercase; letter-spacing: 1.7px; }
|
|
.little-dot { display: inline-block; flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
|
|
h1 { margin-block: 24px; font-size: clamp(48px, 5.5vw, 76px); line-height: 1.06; font-weight: 750; letter-spacing: -3.7px; }
|
|
h1 span { color: var(--blue); }
|
|
.hero-description { max-width: 500px; color: var(--muted); font-size: 18px; line-height: 1.7; }
|
|
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 54px; padding: 15px 22px; border-radius: 6px; font-size: 14px; font-weight: 600; }
|
|
.button-dark { margin-top: 30px; background: var(--ink); color: white; transition: background .2s, transform .2s; }
|
|
.button-dark:hover { background: #21496e; transform: translateY(-2px); }
|
|
.button:focus-visible { outline-offset: 5px; }
|
|
.hero-note { margin-top: 18px; color: var(--muted); font-size: 12px; line-height: 1.6; }
|
|
.network-art { overflow: hidden; padding: 26px 26px 0; border-radius: 18px; background: var(--ink); color: #e4edf7; }
|
|
.art-heading { display: flex; align-items: center; gap: 9px; font-size: 12px; }
|
|
.art-heading .little-dot { background: var(--lime); }
|
|
.art-label { margin-left: auto; padding: 4px 7px; border: 1px solid #496077; border-radius: 4px; color: var(--lime); font-size: 10px; letter-spacing: 1px; }
|
|
.network-drawing { display: block; width: 100%; height: auto; overflow: visible; margin-block: 7px; }
|
|
.orbit { fill: none; stroke: #2c4761; stroke-dasharray: 3 8; }
|
|
.orbit-inner { stroke: #243e59; stroke-dasharray: none; }
|
|
.network-lines { fill: none; stroke: #517494; stroke-width: 1.3; }
|
|
.node circle { fill: #1d3c59; stroke: #7d99b3; stroke-width: 1.3; }
|
|
.node rect, .node path { fill: none; stroke: #e4edf7; stroke-width: 2; stroke-linecap: round; }
|
|
.node text { fill: #d6e3f0; stroke: none; text-anchor: middle; font-size: 13px; }
|
|
.node-you circle { fill: var(--lime); stroke: var(--lime); }
|
|
.node-you rect, .node-you path { stroke: var(--ink); }
|
|
.node-you text { fill: var(--lime); font-size: 14px; font-weight: 700; }
|
|
.node-server circle { fill: #284e70; }
|
|
.network-art figcaption { display: flex; justify-content: space-between; gap: 16px; padding: 19px 0; border-top: 1px solid #3a5269; font-size: 12px; color: #b6c9db; }
|
|
.network-art figcaption > span:last-child { color: var(--lime); }
|
|
.principles { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 30px; border-block: 1px solid var(--line); }
|
|
.principles > div { display: flex; align-items: baseline; gap: 20px; padding-inline: 30px; border-left: 1px solid var(--line); }
|
|
.principles > div:first-child { padding-left: 0; border-left: 0; }
|
|
.principles > div:last-child { padding-right: 0; }
|
|
.principle-number { font-size: 11px; font-weight: 600; color: var(--blue); }
|
|
.principles strong { display: block; font-size: 16px; font-weight: 650; }
|
|
.principles p > span { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.5; }
|
|
.section { padding-block: 90px; }
|
|
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 46px; }
|
|
.section-heading .eyebrow, .platforms .eyebrow { color: var(--blue); }
|
|
h2 { margin-top: 18px; font-size: clamp(32px, 3.3vw, 45px); line-height: 1.12; font-weight: 650; letter-spacing: -1.6px; }
|
|
.section-intro { padding-bottom: 3px; font-size: 15px; line-height: 1.8; color: var(--muted); }
|
|
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 44px; }
|
|
.feature { padding-block: 30px 32px; border-top: 1px solid var(--line); }
|
|
.feature-icon { width: 28px; height: 28px; color: var(--blue); margin-bottom: 22px; }
|
|
.feature h3 { margin-bottom: 12px; font-size: 18px; font-weight: 650; letter-spacing: -.35px; }
|
|
.feature p { color: var(--muted); font-size: 14px; line-height: 1.8; }
|
|
.architecture { background: #eaf0f6; border-block: 1px solid var(--line); }
|
|
.diagram-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 24px; padding: 6px; background: #dce5ee; border-radius: 9px; }
|
|
.diagram-tabs button { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 16px 12px; border: 0; border-radius: 5px; background: transparent; color: #445d76; font-size: 14px; font-weight: 600; }
|
|
.diagram-tabs button span { font-size: 10px; opacity: .75; }
|
|
.diagram-tabs button:hover { background: #edf3f8; }
|
|
.diagram-tabs button[aria-selected="true"] { background: var(--ink); color: white; }
|
|
.diagram-tabs button[aria-selected="true"] span { color: var(--lime); opacity: 1; }
|
|
.diagram-panel { padding: 30px; border: 1px solid #d4dfe9; border-radius: 12px; background: white; }
|
|
.diagram-panel + .diagram-panel { margin-top: 24px; }
|
|
.tabs-ready .diagram-panel { margin-top: 0; }
|
|
.diagram-copy { display: grid; grid-template-columns: 1fr 1.35fr; align-items: center; gap: 40px; margin-bottom: 24px; }
|
|
.diagram-copy h3 { font-size: 22px; line-height: 1.35; letter-spacing: -.5px; }
|
|
.diagram-copy p { color: var(--muted); font-size: 14px; line-height: 1.75; }
|
|
.diagram-link { position: relative; display: block; border: 1px solid #e6ebf0; border-radius: 6px; overflow: hidden; cursor: zoom-in; }
|
|
.diagram-link img { width: 100%; }
|
|
.zoom-label { position: absolute; right: 10px; bottom: 10px; display: flex; gap: 16px; padding: 9px 12px; border: 1px solid #cbd6e1; border-radius: 5px; background: #fff; font-size: 11px; color: var(--muted); }
|
|
.diagram-link:hover .zoom-label { color: var(--blue); border-color: var(--blue); }
|
|
.diagram-panel figcaption { margin-top: 16px; color: var(--muted); font-size: 12px; line-height: 1.6; }
|
|
.platforms { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 90px; }
|
|
.platform-copy > p:not(.eyebrow) { margin-top: 24px; color: var(--muted); font-size: 15px; line-height: 1.8; }
|
|
.platform-list { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 24px 0 0; }
|
|
.platform-list li { padding: 10px 17px; border: 1px solid #ccd8e3; border-radius: 5px; font-size: 13px; font-weight: 600; }
|
|
.project-note { padding: 38px; border-radius: 12px; background: var(--ink); color: white; }
|
|
.project-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; color: var(--lime); }
|
|
.project-badge .little-dot { background: currentColor; width: 6px; height: 6px; }
|
|
.project-note h3 { margin-block: 26px 18px; font-size: 28px; font-weight: 550; line-height: 1.25; letter-spacing: -.6px; }
|
|
.project-note p { color: #becfdf; font-size: 14px; line-height: 1.8; }
|
|
.project-note > a { display: flex; justify-content: space-between; gap: 16px; padding-top: 23px; margin-top: 28px; border-top: 1px solid #3a5269; color: var(--lime); font-size: 13px; line-height: 1.5; }
|
|
.project-note > a:hover { color: white; }
|
|
.opensource { background: #eef4e9; border-top: 1px solid #d7e1d0; }
|
|
.opensource .feature { border-color: #d0dcc8; }
|
|
.contribution-number { display: block; margin-bottom: 22px; color: var(--blue); font-size: 12px; font-weight: 600; }
|
|
.source-link { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 16px; }
|
|
.source-link p { color: var(--muted); font-size: 14px; }
|
|
.source-link .button { margin-top: 0; }
|
|
.footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 112px; border-top: 1px solid var(--line); }
|
|
.footer .brand { font-size: 21px; }
|
|
.footer p, .back-top { font-size: 12px; color: var(--muted); }
|
|
.back-top span { padding-left: 12px; }
|
|
.image-dialog { width: min(1700px, calc(100% - 40px)); max-width: none; max-height: calc(100dvh - 40px); padding: 20px; border: 0; border-radius: 12px; color: var(--ink); }
|
|
.image-dialog::backdrop { background: #071728d9; }
|
|
.dialog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; font-size: 13px; }
|
|
.dialog-close { display: flex; align-items: center; gap: 18px; min-height: 44px; padding: 8px 16px; background: var(--ink); color: white; border: 0; border-radius: 5px; }
|
|
.dialog-close span { font-size: 23px; }
|
|
.dialog-image-wrap { overflow: auto; }
|
|
.dialog-image { width: 100%; min-width: 900px; }
|
|
.dialog-hint { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.5; }
|
|
body:has(.image-dialog[open]) { overflow: hidden; }
|
|
|
|
@media (min-width: 1600px) {
|
|
.hero { padding-block: 90px 76px; }
|
|
}
|
|
@media (max-width: 1100px) {
|
|
.container { width: calc(100% - 64px); }
|
|
.hero { gap: 28px; padding-block: 56px; }
|
|
h1 { letter-spacing: -2.8px; }
|
|
.hero-description { font-size: 16px; }
|
|
.network-art { padding: 20px 20px 0; }
|
|
.principles > div { padding-inline: 20px; gap: 12px; }
|
|
.principles strong { font-size: 14px; }
|
|
.feature-grid { column-gap: 28px; }
|
|
.diagram-tabs button { gap: 8px; font-size: 12px; }
|
|
.platforms { gap: 45px; }
|
|
.project-note { padding: 30px; }
|
|
}
|
|
@media (max-width: 800px) {
|
|
html { scroll-padding-top: 96px; }
|
|
.container { width: calc(100% - 40px); }
|
|
.header-inner { min-height: 76px; gap: 18px; }
|
|
.brand { gap: 6px; font-size: 23px; }
|
|
.brand img { width: 36px; }
|
|
nav { gap: 16px; font-size: 12px; }
|
|
nav a:last-child { padding: 10px; }
|
|
nav a span { display: none; }
|
|
.hero { grid-template-columns: 1fr; gap: 38px; padding-block: 44px; }
|
|
h1 { font-size: clamp(54px, 10vw, 72px); }
|
|
.hero-description { max-width: 560px; font-size: 17px; }
|
|
.network-art { width: 100%; max-width: 560px; justify-self: center; }
|
|
.principles { gap: 14px; }
|
|
.principles > div { display: block; padding-inline: 14px; }
|
|
.principle-number { display: block; margin-bottom: 10px; }
|
|
.principles strong { line-height: 1.4; }
|
|
.section { padding-block: 64px; }
|
|
.section-heading { align-items: start; flex-direction: column; gap: 22px; margin-bottom: 32px; }
|
|
.feature-grid { grid-template-columns: repeat(2, 1fr); }
|
|
.contribution-grid { grid-template-columns: 1fr; }
|
|
.diagram-tabs { gap: 4px; }
|
|
.diagram-tabs button { flex-direction: column; gap: 8px; padding: 12px 8px; line-height: 1.5; }
|
|
.diagram-panel { padding: 22px; }
|
|
.diagram-copy { grid-template-columns: 1fr; gap: 14px; }
|
|
.diagram-copy h3 { font-size: 21px; }
|
|
.platforms { grid-template-columns: 1fr; gap: 32px; }
|
|
.platform-copy { max-width: 550px; }
|
|
.project-note h3 br { display: none; }
|
|
}
|
|
@media (max-width: 650px) {
|
|
html { scroll-padding-top: 160px; }
|
|
.header-inner { flex-wrap: wrap; gap: 0; padding-block: 8px; }
|
|
nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 0 16px; margin-top: 3px; }
|
|
nav a, nav a:last-child { padding: 9px 0; border: 0; }
|
|
.source-link { align-items: flex-start; flex-direction: column; gap: 18px; }
|
|
}
|
|
@media (max-width: 480px) {
|
|
.header .brand { font-size: 21px; }
|
|
.header .brand img { width: 30px; }
|
|
nav { gap: 0 8px; }
|
|
.eyebrow { font-size: 9px; letter-spacing: 1.35px; }
|
|
h1 { font-size: clamp(45px, 12.7vw, 61px); letter-spacing: -2.5px; margin-block: 20px; }
|
|
.hero { padding-top: 34px; }
|
|
.hero-description { font-size: 16px; }
|
|
.button { width: 100%; gap: 12px; font-size: 13px; }
|
|
.hero-note { font-size: 11px; }
|
|
.network-art { padding: 18px 15px 0; border-radius: 12px; }
|
|
.art-heading, .network-art figcaption { font-size: 10px; }
|
|
.network-art figcaption { padding-block: 15px; }
|
|
.principles { grid-template-columns: 1fr; padding-block: 6px; gap: 0; }
|
|
.principles > div, .principles > div:first-child { display: flex; align-items: baseline; gap: 18px; padding: 18px 0; border: 0; }
|
|
.principles > div + div { border-top: 1px solid var(--line); }
|
|
.principle-number { margin: 0; }
|
|
.principles strong { font-size: 15px; }
|
|
.principles p > span { margin-top: 4px; }
|
|
.section { padding-block: 52px; }
|
|
h2 { font-size: 32px; letter-spacing: -1px; }
|
|
.section-intro { font-size: 14px; }
|
|
.desktop-break { display: none; }
|
|
.feature-grid { grid-template-columns: 1fr; }
|
|
.feature { padding-block: 25px; }
|
|
.feature-icon { float: left; width: 25px; height: 25px; margin: 0 15px 0 0; }
|
|
.feature h3 { min-height: 25px; font-size: 17px; padding-top: 2px; }
|
|
.feature p { clear: both; }
|
|
.diagram-tabs { padding: 4px; }
|
|
.diagram-tabs button { padding: 10px 5px; font-size: 11px; }
|
|
.diagram-panel { padding: 16px; }
|
|
.diagram-copy h3 { font-size: 20px; }
|
|
.diagram-copy p { font-size: 13px; }
|
|
.zoom-label { position: static; justify-content: center; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
|
|
.project-note { padding: 26px; }
|
|
.project-note h3 { font-size: 25px; }
|
|
.footer { flex-wrap: wrap; gap: 16px; padding-block: 26px; }
|
|
.footer p { order: 3; width: 100%; }
|
|
.image-dialog { width: calc(100% - 16px); padding: 12px; }
|
|
.dialog-toolbar { font-size: 11px; gap: 12px; }
|
|
.dialog-close { gap: 8px; padding-inline: 12px; }
|
|
}
|
|
@media (prefers-reduced-motion: reduce) {
|
|
html { scroll-behavior: auto; }
|
|
*, *::before, *::after { transition: none !important; }
|
|
}
|
|
@media print {
|
|
body { background: white; }
|
|
.header { position: static; background: white; }
|
|
.container { width: 100%; }
|
|
nav, .button, .diagram-tabs, .zoom-label, .back-top, .image-dialog { display: none !important; }
|
|
.hero, .section { padding-block: 24px; }
|
|
.network-art, .project-note { print-color-adjust: exact; }
|
|
.diagram-panel[hidden] { display: block !important; }
|
|
.diagram-panel { margin-block: 20px !important; break-inside: avoid; }
|
|
.architecture { background: white; }
|
|
.feature { break-inside: avoid; }
|
|
}
|