* { box-sizing: border-box; }
html { font-size: 17px; }
body { margin: 0; color: #242424; background: #fff; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.7; }
.page, body > main:not(.page), body > nav, body > article { width: min(960px, calc(100% - 3rem)); margin-inline: auto; }
.site-header, body > header:not(.site-header) { margin: 0 0 3rem; padding: .85rem 0; border-bottom: 1px solid #ddd; background: #f7f7f7; }
body > header:not(.site-header) { padding-inline: max(1.5rem, calc((100vw - 960px) / 2)); }
body > header:not(.site-header)::before { content: "Les Vieux Gréements — ComNum"; font-weight: 700; }
body > header:not(.site-header) > * { display: none; }
main { padding-bottom: 4rem; }
h1, h2, h3 { line-height: 1.25; }
h1 { margin: 0 0 1.5rem; font-size: 2.15rem; }
h2 { margin: 2.8rem 0 1rem; font-size: 1.55rem; }
h3 { margin: 2.2rem 0 .8rem; font-size: 1.2rem; }
p, ul, ol, pre, table, blockquote { margin-top: 0; margin-bottom: 1.35rem; }
li + li { margin-top: .4rem; }
a { color: #185fa5; text-underline-offset: .15em; }
a:hover { text-decoration-thickness: 2px; }
.lead { font-size: 1.1rem; color: #555; }
.download { display: inline-block; padding: .75rem 1.1rem; color: #fff; background: #185fa5; border-radius: .4rem; font-weight: 650; text-decoration: none; }
.download:hover { background: #124b83; }
.note { color: #666; font-size: .95rem; }
code { padding: .08em .28em; border-radius: .25rem; background: #f2f2f2; font-family: ui-monospace, "Cascadia Code", Consolas, monospace; }
pre { overflow-x: auto; padding: 1rem 1.2rem; border: 1px solid #ddd; border-radius: .4rem; background: #f7f7f7; }
pre code { padding: 0; background: transparent; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .55rem .7rem; border-bottom: 1px solid #ddd; text-align: left; vertical-align: top; }
blockquote { margin-left: 0; padding-left: 1rem; border-left: .25rem solid #ccc; color: #555; }
@media (max-width: 640px) { html { font-size: 16px; } .page, body > main:not(.page), body > nav, body > article { width: min(100% - 2rem, 960px); } .site-header { margin-bottom: 2rem; } }
