@font-face {
  font-family: "Quicksand";
  src: url("quicksand.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
:root {
  --brand: #00b4be;
  --brand-ink: #007f86;
  --on-brand: #0f2a2c;
  --text: #1f2426;
  --muted: #5d6468;
  --bg: #ffffff;
  --surface: #f2f6f7;
  --line: #e0e7e9;
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand: #00d6e1;
    --brand-ink: #00d6e1;
    --text: #f2f4f5;
    --muted: #b4bcc0;
    --bg: #2b2b2b;
    --surface: #363636;
    --line: #474747;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
h1, h2, h3 { font-family: "Quicksand", system-ui, sans-serif; font-weight: 700; line-height: 1.2; margin: 0; }
h2 { font-size: clamp(26px, 4vw, 34px); }
.lead { color: var(--muted); max-width: 60ch; margin: 10px 0 0; }

.btn {
  display: inline-block; background: var(--brand); color: var(--on-brand); text-decoration: none;
  font-weight: 600; padding: 14px 26px; border-radius: 12px; border: 0;
}
.btn:hover { filter: brightness(1.06); }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  min-height: min(92vh, 760px); display: flex; flex-direction: column;
  /* Fallback, gdy brak hero.jpg: ciemne tło z „poświatą" LED */
  background:
    radial-gradient(60% 50% at 75% 70%, rgba(0,214,225,.35), transparent 70%),
    radial-gradient(40% 35% at 20% 90%, rgba(0,180,190,.25), transparent 70%),
    #1c2224;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15,20,22,.85) 0%, rgba(15,20,22,.55) 55%, rgba(15,20,22,.15) 100%);
}
.hero > * { position: relative; z-index: 1; }
.hero > .wrap { width: 100%; }
.topbar { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; padding-bottom: 24px; }
.topbar img { height: 40px; width: auto; }
.langs { display: flex; gap: 4px; }
.lang { color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; opacity: .7; padding: 4px 8px; border-radius: 8px; }
.lang:hover { opacity: 1; }
.lang.active { opacity: 1; background: rgba(255,255,255,.12); }
.hero-content { margin-top: auto; margin-bottom: auto; padding-top: 40px; padding-bottom: 72px; }
.badge {
  display: inline-block; font-size: 14px; font-weight: 600; color: #00d6e1;
  border: 1.5px solid #00d6e1; border-radius: 999px; padding: 4px 14px; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(32px, 6vw, 58px); max-width: 18ch; overflow-wrap: break-word; hyphens: auto; }
.hero p { font-size: clamp(17px, 2.2vw, 20px); color: rgba(255,255,255,.85); max-width: 50ch; margin: 20px 0 32px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn { background: #00d6e1; color: var(--on-brand); }
.hero .btn-ghost { background: transparent; color: #fff; }
.cert { margin-top: 32px; width: 200px; height: auto; border-radius: 10px; }

/* ---------- Fordeler ---------- */
section { padding-top: 72px; padding-bottom: 8px; }
.features { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.feature { flex: 1 1 220px; background: var(--surface); border-radius: 18px; padding: 26px; }
.icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--brand) 16%, transparent); color: var(--brand-ink); margin-bottom: 18px;
}
.icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 20px; margin-bottom: 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- Produkter ---------- */
.tiles { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.tile {
  flex: 1 1 230px; background: var(--surface); border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column;
}
.tile-img {
  aspect-ratio: 4 / 3; display: grid; place-items: center; position: relative;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 14%, var(--surface)), var(--surface));
  color: var(--brand-ink);
}
.tile-img svg { width: 56px; height: 56px; opacity: .7; }
.tile-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile-body { padding: 20px 22px 24px; }
.tile h3 { font-size: 19px; margin-bottom: 6px; }
.tile p { margin: 0; color: var(--muted); font-size: 15px; }
.tag { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--brand-ink); }

/* ---------- Integrasjon ---------- */
.integration {
  display: flex; flex-wrap: wrap; gap: 28px; align-items: center;
  border: 1.5px solid var(--line); border-radius: 22px; padding: 36px 32px; margin-top: 72px;
}
.integration > div { flex: 1 1 380px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { font-size: 14px; padding: 6px 12px; border-radius: 999px; background: var(--surface); color: var(--text); }

/* ---------- Påmelding ---------- */
/* Karta zgłoszeń zawsze ciemna (jak baner), w obu trybach – pasuje do ciemnego motywu formularza Tally. */
.signup {
  background:
    radial-gradient(70% 90% at 90% 100%, rgba(0,214,225,.22), transparent 70%),
    #1c2224;
  color: #f2f4f5; border-radius: 22px; padding: 40px 32px; margin-top: 72px;
}
.signup .lead { color: rgba(255,255,255,.75); }
.signup .btn { margin-top: 24px; background: #00d6e1; }
.signup small { display: block; color: rgba(255,255,255,.6); margin-top: 16px; font-size: 14px; }
.signup iframe { margin-top: 12px; }

footer.wrap { border-top: 1px solid var(--line); margin-top: 72px; padding-top: 28px; padding-bottom: 40px; color: var(--muted); font-size: 15px; }
footer a { color: inherit; }

@media (max-width: 560px) {
  .integration, .signup { padding: 28px 22px; }
}
