/* holcommOn — canon harness/conventions/design.md: borderless (depth by
   background and shadow), cards 16px, buttons 20px, hover lift, mobile first,
   light and dark. Lato is served from here: nothing comes from elsewhere. */
@font-face { font-family: Lato; font-weight: 300; font-display: swap; src: url(/fonts/Lato-Light.woff2) format("woff2"); }
@font-face { font-family: Lato; font-weight: 400; font-display: swap; src: url(/fonts/Lato-Regular.woff2) format("woff2"); }
@font-face { font-family: Lato; font-weight: 700; font-display: swap; src: url(/fonts/Lato-Bold.woff2) format("woff2"); }
@font-face { font-family: Lato; font-weight: 900; font-display: swap; src: url(/fonts/Lato-Black.woff2) format("woff2"); }
:root {
  --bg: #f4f8f6; --surface: #ffffff; --ink: #1d2b27; --muted: #5b6b66; --accent: #27856a; --tint: #e6f1ec;
  --shadow: 0 1px 2px rgba(29, 43, 39, .06), 0 8px 24px rgba(29, 43, 39, .08);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #121a17; --surface: #1a2521; --ink: #e6efeb; --muted: #9db0a9; --accent: #5fc49f; --tint: #1f302a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35); }
}
* { box-sizing: border-box; }
html { color-scheme: light dark; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 clamp(1rem, .95rem + .25vw, 1.0625rem)/1.6 Lato, "Segoe UI", system-ui, sans-serif; }
a { color: var(--accent); text-underline-offset: .2em; }
.top, main, footer { width: min(100% - 2.5rem, 64rem); margin-inline: auto; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: clamp(1rem, 3vw, 2rem) 0; }
.brand img { display: block; width: clamp(9.5rem, 30vw, 14.5rem); height: auto; transition: transform .12s ease; }
.brand:hover img { transform: rotate(-2deg) scale(1.03); }
nav a { display: inline-block; padding: .55rem 1.1rem; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow);
  color: var(--ink); font-weight: 700; text-decoration: none; transition: transform .1s ease; min-height: 2.25rem; }
nav a:hover { transform: translateY(-1px); } nav a:active { transform: translateY(0); }
nav a[aria-current] { background: var(--accent); color: #fff; }
.hero { padding: clamp(1.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 4vw, 3rem); max-width: 46rem; }
.hero.small { padding-top: clamp(.5rem, 3vw, 2rem); }
.kicker { margin: 0 0 .5rem; color: var(--accent); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .8rem; }
h1 { margin: 0 0 1rem; font-weight: 900; font-size: clamp(1.9rem, 1.3rem + 3vw, 3.2rem); line-height: 1.12; letter-spacing: -.01em; }
.lead { margin: 0; color: var(--muted); font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); font-weight: 300; }
.lead a { font-weight: 700; }
.cards { display: grid; gap: clamp(.9rem, 2vw, 1.4rem); grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.card { display: block; padding: 1.5rem; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); color: inherit; text-decoration: none; }
a.card { transition: transform .12s ease; } a.card:hover { transform: translateY(-3px); } a.card:active { transform: translateY(0); }
.card h2 { margin: 0 0 .5rem; font-size: 1.2rem; font-weight: 900; }
.card p { margin: 0; color: var(--muted); }
.card .more { display: inline-block; margin-top: 1rem; color: var(--accent); font-weight: 700; }
.card .more::after { content: " →"; }
.card.soon { background: var(--tint); box-shadow: none; }
.carte, .prose { padding: clamp(1.25rem, 4vw, 2.25rem); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); margin-bottom: 2.5rem; }
.carte h2 { margin: 0 0 1rem; font-size: 1.2rem; font-weight: 900; }
dl { display: grid; grid-template-columns: max-content 1fr; gap: .45rem 1.5rem; margin: 0; }
dt { color: var(--muted); } dd { margin: 0; font-weight: 700; }
@media (max-width: 480px) { dl { grid-template-columns: 1fr; gap: .1rem; } dd { margin-bottom: .6rem; } }
.prose { max-width: 46rem; }
.prose h1 { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.3rem); }
.prose h2 { margin: 1.6rem 0 .4rem; font-size: 1.1rem; font-weight: 900; color: var(--accent); }
.prose ol { padding-left: 1.3rem; } .prose li { margin-bottom: .6rem; }
.links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.links a { display: inline-block; padding: .55rem 1.1rem; border-radius: 20px; background: var(--tint); font-weight: 700; text-decoration: none; }
.crumbs { margin: 0 0 .5rem; color: var(--muted); font-size: .9rem; }
footer { padding: 2rem 0 3rem; color: var(--muted); font-size: .88rem; }
footer p { margin: .2rem 0; }
