/* Monni Advisers house style, differentiated from the product sites without leaving the
   family: same system typography and calm blue accent, but a warm paper background, square
   corners, left-set headings, a utility top rule, and the facts/ledger patterns give it an
   engineering-report tone. The shared layer (shared/shared.css) provides structure + i18n; this
   file is linked by every page of the site after it. */
:root, [data-profile="calm"] {
  --accent: #0071e3;
  --accent-dark: #0066cc;
  --bg: #f7f6f2;
  --surface: #edebe4;
  --surface-2: #e3e0d7;
  --ink: #1c2733;
  --muted: #55626d;
  --border: #d6d2c8;
  --dark: #121d2a;
}
body { border-top: 6px solid var(--accent); background: var(--bg); }
section > .wrap > h2 { text-align: left; margin-left: 0; max-width: 30ch; }
/* Eyebrows wear the shared SUBHEADER text style (sentence case, never capitals, decided
   2026-09-26); the company site keeps only its accent colour on them. */
.eyebrow { color: var(--accent); }
.site-header { background: rgba(247, 246, 242, 0.85); }
/* The wordmark is text, like MonniHub's, at MonniHub's size and weight (its site.css lays the
   same two values over the shared .brand), the second word in the accent and no rule under it. */
.brand { font-weight: var(--fw-bold); font-size: 1.2rem; }
.brand .accent { color: var(--accent); }
/* The hero picture: one photograph in the shared media box (source and crop in assets/IMAGES.md). */
.hero-media img { display: block; width: 100%; height: auto; border-radius: var(--radius-media); }
/* The open source page's two tables: the components behind the site and the photo credits. */
.tbl { width: 100%; border-collapse: collapse; margin-top: var(--sp-lg); font-size: 0.95rem; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 10px 16px 10px 0; border-bottom: 1px solid var(--border); }
.tbl th { font-size: var(--subheader-size); font-weight: var(--subheader-weight); color: var(--subheader-color); }
.tbl .note { color: var(--muted); }
.prose-block { max-width: 72ch; margin-top: 16px; }
/* facts boxes are the shared .card component; only the number/label typography is ours */
.facts { grid-template-columns: repeat(4, 1fr); margin-top: 0; }
.facts .n { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; color: var(--accent); }
.facts .l { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }
.ledger { border-left: 3px solid var(--accent); padding: 4px 0 4px 22px; margin: 18px 0; }
.ledger h3 { margin: 0 0 4px; font-size: 1.1rem; }
.ledger p { margin: 0; color: var(--muted); }
/* contact section: Finland map + enquiry form */
.contact-grid { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: 48px; align-items: start; }
.fi-map path { fill: var(--surface-2); stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; }
.fi-map .pin circle { fill: var(--accent); }
.fi-map .pin text { font: 600 22px system-ui, -apple-system, sans-serif; fill: var(--ink); }
.cform { display: grid; gap: 14px; text-align: left; }
.cform label { font-size: 0.9rem; font-weight: 600; color: var(--ink); display: grid; gap: 6px; }
.cform input, .cform textarea {
  font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 12px; width: 100%;
}
.cform textarea { min-height: 140px; resize: vertical; }
.cform input:focus, .cform textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.cform .hp { position: absolute; left: -9999px; top: -9999px; height: 1px; width: 1px; overflow: hidden; }
.cform .status { min-height: 1.4em; font-size: 0.95rem; }
.cform .status.ok { color: #1a7f37; }
.cform .status.err { color: #b42318; }
@media (max-width: 720px) { .facts { grid-template-columns: repeat(2, 1fr); } .contact-grid { grid-template-columns: 1fr; } }
/* ai-coaching.html: the coach's band is the dark band, so its eyebrow, numbers and prose take the on-dark roles */
.trust .eyebrow, .trust .facts .n { color: var(--on-dark-link); }
.trust .facts .l { color: var(--on-dark-muted); }
.trust .intro-text { color: var(--on-dark); }
/* ai-coaching.html: the pirta card is shown to the Finnish reader alone (its story is a Finnish
   idiom), so it stays hidden until the language store marks the document Finnish; without
   scripts the page is English and the card never shows. Its frame is a woven band, the ryijy's
   eight pointed stars at the corners and a diamond chain along the edges, drawn once in
   assets/pirta-border.svg and laid as a border image; the card's paper shows through the band. */
html:not([lang="fi"]) [data-lang-only="fi"] { display: none; }
.pirta { max-width: 720px; margin: 40px auto 0; background: var(--bg); border: 24px solid transparent; border-image: url("assets/pirta-border.svg") 24 round; padding: 10px 20px 12px; }
.pirta h3 { margin: 0 0 12px; font-size: var(--fs-h3); }
.pirta p, .pirta li { color: var(--ink); font-size: 1rem; line-height: var(--lh-body); }
.pirta p { margin: 0 0 12px; }
.pirta p:last-child { margin-bottom: 0; }
.pirta ul { margin: 0 0 12px; padding-left: 22px; }
.pirta li { margin-bottom: 6px; }
