/* The website (dendax.com/cz, /eu): one sheet, no script, nothing loaded
   from elsewhere — the service's policy (security-headers.ts) admits only
   its own files, and no style attribute either. */

:root {
  --navy: #214b7c;
  --sky: #4eace0;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --text: #13243a;
  --muted: #55657a;
  --line: #dfe6ef;
  --accent: var(--navy);
  --accent-text: #ffffff;
  --glow: rgba(78, 172, 224, 0.18);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1522;
    --surface: #132033;
    --text: #e8eef6;
    --muted: #9fb0c4;
    --line: #22344c;
    --accent: var(--sky);
    --accent-text: #0c1522;
    --glow: rgba(78, 172, 224, 0.14);
    color-scheme: dark;
  }
  .logo-cloud { fill: #132033; }
  .logo-ink { fill: #e8eef6; }
  .logo-doc { fill: #132033; stroke: #e8eef6; }
}

* { 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;
}

a { color: var(--accent); }

.wrap { max-width: 1040px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }

/* --- the line along the top ------------------------------------------- */
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 22px; padding-bottom: 22px;
}
.brand { display: inline-flex; color: var(--navy); }
.brand svg { height: 34px; width: auto; display: block; }
.langs { display: flex; gap: 6px; font-size: 14px; }
.langs a, .langs span {
  padding: 4px 10px; border-radius: 999px; text-decoration: none;
  border: 1px solid var(--line); color: var(--muted);
}
.langs span { background: var(--surface); color: var(--text); font-weight: 600; }

/* --- the first screen --------------------------------------------------- */
.hero {
  position: relative; text-align: center;
  padding: 72px 0 64px;
}
.hero::before {
  content: ""; position: absolute; inset: -40px 0 auto; height: 420px; z-index: -1;
  background: radial-gradient(closest-side, var(--glow), transparent);
}
.badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--sky); color: var(--accent);
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
h1 {
  margin: 22px auto 18px; max-width: 14ch;
  font-size: clamp(38px, 7vw, 68px); line-height: 1.05; letter-spacing: -0.02em;
}
h1 em { font-style: normal; color: var(--sky); }
.lead { margin: 0 auto; max-width: 40em; color: var(--muted); font-size: 19px; }
.cta {
  display: inline-block; margin-top: 32px; padding: 14px 26px; border-radius: 10px;
  background: var(--accent); color: var(--accent-text); font-weight: 700; text-decoration: none;
}

/* --- the sections -------------------------------------------------------- */
section { padding: 56px 0; }
h2 { margin: 0 0 8px; font-size: clamp(26px, 4vw, 34px); letter-spacing: -0.01em; }
.sub { margin: 0 0 32px; color: var(--muted); max-width: 44em; }

.duties {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.duties li {
  position: relative; padding: 16px 18px 16px 50px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
}
.duties li::before {
  content: "✓"; position: absolute; left: 16px; top: 15px;
  display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--glow); color: var(--accent); font-weight: 700; font-size: 14px;
}

.aside {
  margin-top: 16px; padding: 20px 22px;
  border: 1px solid var(--line); border-left: 4px solid var(--sky); border-radius: 12px;
  background: var(--surface);
}
.aside h3 { margin: 0 0 6px; font-size: 18px; }
.aside p { margin: 0; color: var(--muted); font-size: 15.5px; }
.aside p + p { margin-top: 6px; }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tier {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px;
}
.kicker {
  color: var(--sky); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.tier h3 { margin: 6px 0 6px; font-size: 19px; }
.tier p { margin: 0; color: var(--muted); font-size: 15.5px; }
.note { margin: 20px 0 0; color: var(--muted); font-size: 15px; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { padding: 4px 4px 4px 0; }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--sky); color: var(--accent); font-weight: 700;
}
.step h3 { margin: 12px 0 4px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* --- the form ------------------------------------------------------------ */
.join {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 40px; text-align: center;
}
.join .sub { margin-left: auto; margin-right: auto; }
.fields { display: flex; gap: 10px; max-width: 520px; margin: 0 auto; }
.fields input[type="email"] {
  flex: 1; min-width: 0; padding: 14px 16px; font: inherit; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
}
.fields input[type="email"]:focus { outline: 2px solid var(--sky); outline-offset: 1px; }
button {
  padding: 14px 22px; font: inherit; font-weight: 700; cursor: pointer;
  background: var(--accent); color: var(--accent-text); border: 0; border-radius: 10px;
}
.consent {
  display: flex; gap: 10px; align-items: flex-start; justify-content: center;
  max-width: 520px; margin: 16px auto 0; text-align: left; color: var(--muted); font-size: 14px;
}
.consent input { margin-top: 4px; }
.privacy { max-width: 520px; margin: 10px auto 0; color: var(--muted); font-size: 13px; }
/* for whatever fills every field, people never see it */
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.done { padding: 96px 0; text-align: center; }
.done h1 { max-width: none; font-size: clamp(32px, 6vw, 52px); }

footer {
  padding: 36px 0 48px; color: var(--muted); font-size: 14px;
  border-top: 1px solid var(--line);
}
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.operator { flex-basis: 100%; margin: 0 0 4px; font-size: 13px; }

@media (max-width: 820px) {
  .duties, .tiers, .steps { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 40px; }
  .join { padding: 28px 18px; }
  .fields { flex-direction: column; }
}
