/* shkolio.ru: the public site of the program. No external fonts, scripts or trackers. */
:root { --green: #08796b; --ink: #173e37; --muted: #677c76; --line: #e3e8dd; --soft: #edf3ea; --paper: #fcfcf8; --code: #f3f5ef; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Segoe UI', system-ui, -apple-system, Arial, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 15px; }
a { color: var(--green); }
a:focus-visible, button:focus-visible { outline: 3px solid #74cbb8; outline-offset: 4px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 12px; background: white; padding: 8px 12px; z-index: 2; }

header.site { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 24px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 750; letter-spacing: -1px; color: var(--ink); text-decoration: none; }
.mark { display: grid; place-items: center; width: 36px; height: 36px; background: var(--green); color: white; border-radius: 10px; font-size: 29px; line-height: 1; padding-bottom: 5px; }
header.site nav { display: flex; gap: 24px; flex-wrap: wrap; font-size: 14px; }
header.site nav a { color: var(--muted); text-decoration: none; } header.site nav a:hover, header.site nav a[aria-current] { color: var(--green); }

.button { display: inline-flex; align-items: center; gap: 12px; padding: 13px 22px; border-radius: 10px; font-weight: 650; font-size: 14px; text-decoration: none; min-height: 48px; }
.button.primary { background: var(--green); color: white; } .button.primary:hover { background: #066b62; }
.button.secondary { border: 1px solid #cfdac9; color: var(--ink); background: white; } .button.secondary:hover { border-color: var(--green); }

.eyebrow { font-size: 11px; font-weight: 750; letter-spacing: 1.6px; color: var(--green); text-transform: uppercase; margin: 0 0 18px; }
.hero { padding-block: 56px 72px; max-width: 760px; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.12; letter-spacing: -2px; margin: 0 0 22px; font-weight: 650; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 620px; margin: 0 0 30px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }
.note { color: var(--muted); font-size: 13px; margin-top: 18px; }

section.block { padding-block: 56px; border-top: 1px solid var(--line); }
section.block h2 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -1.2px; line-height: 1.2; margin: 0 0 14px; font-weight: 650; }
section.block > .wrap > p.intro { color: var(--muted); max-width: 680px; margin: 0 0 34px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { background: white; border: 1px solid #e5eadf; border-radius: 14px; padding: 24px; }
.card h3 { font-size: 17px; margin: 0 0 10px; letter-spacing: -.3px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.tint { background: var(--soft); border-top: 0; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: white; color: var(--green); font-weight: 700; margin-bottom: 14px; }
.steps h3 { margin: 0 0 8px; font-size: 17px; } .steps p { margin: 0; color: var(--muted); font-size: 14px; }
.cta { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; background: #153f36; color: white; border-radius: 18px; padding: 40px; margin-block: 56px; }
.cta h2 { margin: 0 0 8px; font-size: 28px; font-weight: 600; letter-spacing: -.8px; } .cta p { margin: 0; color: #b0c8bc; }
.cta .button.primary { background: #e9eee0; color: #234b3d; }

footer.site { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; padding-block: 28px 40px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
footer.site span:first-child { margin-right: auto; }

/* Documents: the download page and the installation guide. */
.doc { max-width: 860px; padding-block: 24px 56px; }
.doc h1 { font-size: clamp(30px, 4vw, 42px); letter-spacing: -1.4px; line-height: 1.15; margin: 10px 0 18px; }
.doc h2 { font-size: 22px; margin: 38px 0 12px; letter-spacing: -.4px; }
.doc p, .doc li { overflow-wrap: anywhere; }
.doc code { background: var(--code); border-radius: 5px; padding: 1px 5px; font-size: 13px; }
.doc pre { background: #153f36; color: #e6efe9; border-radius: 10px; padding: 16px 18px; overflow-x: auto; font-size: 13px; line-height: 1.55; }
.doc pre code { background: none; padding: 0; color: inherit; }
.doc table { border-collapse: collapse; width: 100%; font-size: 14px; display: block; overflow-x: auto; }
.doc th, .doc td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.release { background: white; border: 1px solid #e5eadf; border-radius: 14px; padding: 22px 24px; margin-bottom: 16px; }
.release h2 { margin: 0 0 4px; font-size: 20px; } .release .meta { color: var(--muted); font-size: 13px; margin: 0 0 14px; }
.release ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.release li { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; }
.release li small { color: var(--muted); font-size: 12px; }
.release .hash { font-family: Consolas, monospace; font-size: 11px; color: var(--muted); overflow-wrap: anywhere; width: 100%; }
.badge { display: inline-block; font-size: 11px; font-weight: 700; color: var(--green); background: #e6f2ec; border-radius: 5px; padding: 2px 8px; margin-left: 8px; vertical-align: middle; }

@media (max-width: 860px) {
  .grid, .steps { grid-template-columns: 1fr; }
  .cta { padding: 28px; }
  header.site nav { gap: 16px; }
}
