/* KOMVOS: one stylesheet, light and dark by the device's setting, system fonts (nothing loaded from other sites). */
:root {
  --bg: #ffffff;
  --bg-soft: #f3f6f8;
  --text: #1c2730;
  --muted: #5b6b77;
  --line: #dde4ea;
  --brand: #0f3d5c;
  --accent: #127a6e;
  --accent-text: #ffffff;
  --live: #1d7f45;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11181e;
    --bg-soft: #18232b;
    --text: #e6edf2;
    --muted: #9aabb7;
    --line: #2a3843;
    --brand: #7fd1c7;
    --accent: #5cc3b6;
    --accent-text: #0b1a17;
    --live: #5fd08f;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  display: flex; flex-direction: column; min-height: 100vh;
}
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }
.wrap { width: 100%; max-width: 980px; margin: 0 auto; padding: 0 20px; }
main.wrap { flex: 1; padding-top: 40px; padding-bottom: 56px; }

h1 { font-size: 2.1rem; line-height: 1.2; margin: 0 0 18px; color: var(--brand); letter-spacing: -0.01em; }
h2 { font-size: 1.35rem; margin: 36px 0 10px; color: var(--brand); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; }

/* The header */
.top { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 1; }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand);
         font-weight: 700; font-size: 1.2rem; letter-spacing: 0.08em; }
.menu { display: flex; gap: 20px; flex: 1; flex-wrap: wrap; }
.menu a, .languages a { color: var(--text); text-decoration: none; }
.menu a:hover, .menu a[aria-current] { color: var(--accent); }
.menu a[aria-current] { font-weight: 600; }
.languages { display: flex; gap: 4px; font-size: 0.85rem; }
.languages a { padding: 2px 7px; border-radius: 6px; color: var(--muted); }
.languages a[aria-current] { background: var(--bg-soft); color: var(--text); font-weight: 600; }

/* Buttons */
.button { display: inline-block; padding: 10px 20px; border-radius: 8px; background: var(--accent);
          color: var(--accent-text); text-decoration: none; font-weight: 600; margin: 4px 8px 4px 0;
          border: 2px solid var(--accent); }
.button:hover { filter: brightness(1.08); }
.button.ghost { background: transparent; color: var(--accent); }

/* The home page */
.hero { padding: 24px 0 16px; }
.hero h1 { font-size: 2.6rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 32px; }
.card { display: block; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft);
        color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s; }
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card h2 { margin: 0 0 8px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); }

/* Lists */
ul.checks { padding-left: 0; list-style: none; max-width: 760px; }
ul.checks li { position: relative; padding-left: 28px; margin: 10px 0; }
ul.checks li::before { content: ""; position: absolute; left: 4px; top: 0.55em; width: 10px; height: 10px;
                       border-radius: 50%; background: var(--accent); }

/* Products */
.product { border: 1px solid var(--line); border-radius: 12px; padding: 4px 26px 18px; margin: 26px 0;
           max-width: 820px; }
.product h2 { margin-top: 22px; margin-bottom: 4px; }
.status { display: inline-block; margin: 0 0 6px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
          letter-spacing: 0.06em; color: var(--muted); }
.status.live { color: var(--live); }

/* Contact and legal */
.contact-email { font-size: 1.4rem; font-weight: 600; }
.identification { background: var(--bg-soft); border-radius: 10px; padding: 14px 18px; display: inline-block; }
.page-legal main p { max-width: 760px; }

/* The footer */
.bottom { border-top: 1px solid var(--line); background: var(--bg-soft); color: var(--muted); font-size: 0.85rem; }
.bottom .wrap { padding-top: 18px; padding-bottom: 18px; }
.bottom p { margin: 4px 0; }
.bottom a { color: var(--muted); }

@media (max-width: 640px) {
  body { font-size: 16px; }
  h1, .hero h1 { font-size: 1.75rem; }
  .top .wrap { gap: 8px 16px; padding-top: 10px; padding-bottom: 10px; }
  .menu { order: 3; flex-basis: 100%; gap: 14px; }
  .languages { margin-left: auto; }
  .product { padding: 4px 18px 14px; }
}
