/* Mudita Konekt website. Follows the look of mudita.com: white page, black text, Lato in regular
   weight, medium-sized headings, generous space, thin light rules. Always light: no dark variant. */
@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"); }
:root {
  color-scheme: only light;
  --paper: #ffffff; --ink: #000000; --heading: #222222; --muted: #5c5f62; --rule: #d9dbdf; --tint: #f6f6f4;
  --button: #3b3f42; --link: #40749a; --radius: 8px; --measure: 70rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 Lato, Arial, Helvetica, sans-serif; letter-spacing: 0.01em; }
a { color: var(--link); text-underline-offset: 0.2em; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { color: var(--heading); font-weight: 400; line-height: 1.2; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.125rem, 4.6vw, 3.25rem); letter-spacing: -0.005em; }
h2 { font-size: clamp(1.625rem, 3vw, 2rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; max-width: 64ch; }
.lead { font-size: 1.125rem; }
.small { font-size: 0.875rem; color: var(--muted); }

.top, main > section, footer > div { max-width: var(--measure); margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }
header.bar { border-bottom: 1px solid var(--rule); }
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 2rem; padding-top: 1.1rem; padding-bottom: 1.1rem; }
.brand { color: var(--ink); font-size: 1.25rem; text-decoration: none; letter-spacing: 0.02em; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 2rem; }
nav a { color: var(--ink); text-decoration: none; text-transform: uppercase; font-size: 0.8125rem; letter-spacing: 0.08em; }
nav a:hover { color: var(--link); }
nav a.lang { border: 1px solid var(--button); border-radius: 5px; padding: 0.45rem 1rem; letter-spacing: 0.12em; }
nav a.lang:hover { background: var(--button); color: #ffffff; }

main > section { padding-top: 5rem; padding-bottom: 1rem; }
main > section > h2, main > section > .lead { text-align: center; margin-left: auto; margin-right: auto; }
main > section > .lead { color: var(--muted); max-width: 46rem; }
section > h3 { margin: 3rem 0 1rem; }

.hero { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; padding-top: 3.5rem; }
@media (min-width: 52rem) { .hero { grid-template-columns: 1.3fr 1fr; padding-top: 5.5rem; } }
.hero h1 { margin: 1.5rem 0 1.25rem; }
.hero .lead { color: var(--ink); }
.hero p { color: var(--muted); }
.stage { display: inline-block; margin: 0; padding: 0.45rem 1rem; border: 1px solid var(--button); border-radius: 5px; color: var(--button); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.phone { width: min(100%, 16.5rem); height: auto; justify-self: center; color: var(--heading); font-family: Lato, Arial, sans-serif; }

.cards { list-style: none; margin: 2.75rem 0 0; padding: 0; display: grid; gap: 2.25rem 2.5rem; grid-template-columns: repeat(auto-fill, minmax(17.5rem, 1fr)); }
.cards li { border-top: 1px solid var(--rule); padding-top: 1.25rem; }
.cards h3 { margin-bottom: 0.6rem; }
.cards p { color: var(--muted); margin-bottom: 0; }
.note { background: var(--tint); border-radius: var(--radius); padding: 1.75rem 1.75rem 0.75rem; margin-top: 3rem; }
.note h3 { margin: 0 0 1rem; }
.plain { margin: 0 0 1rem; padding-left: 1.25rem; max-width: 68ch; }
.plain li { margin-bottom: 0.6rem; }

.scroll { overflow-x: auto; margin-top: 2.5rem; }
table { border-collapse: collapse; width: 100%; min-width: 40rem; }
th, td { text-align: left; padding: 0.85rem 1rem 0.85rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; font-weight: 400; }
thead th { border-bottom: 1px solid var(--button); text-transform: uppercase; font-size: 0.8125rem; letter-spacing: 0.08em; color: var(--heading); white-space: nowrap; }
thead th:nth-child(2), tbody td:nth-child(2) { font-weight: 700; }
td { white-space: nowrap; color: var(--muted); }
tbody td:nth-child(2) { color: var(--ink); }

.text { max-width: 46rem; }
.text h1 { font-size: clamp(1.875rem, 4vw, 2.5rem); margin-bottom: 1rem; }
.text h2 { font-size: 1.25rem; margin: 2.25rem 0 0.6rem; text-align: left; }

footer { margin-top: 6rem; background: var(--tint); font-size: 0.875rem; color: var(--muted); }
footer > div { padding-top: 2.5rem; padding-bottom: 3rem; }
footer a { color: var(--ink); }
.draft { border: 1px dashed var(--button); border-radius: var(--radius); padding: 0.75rem 1rem; color: var(--ink); }
