/* Shared styles for every openkring-website page. Extracted 2026-08-08 from five
   byte-identical inline <style> blocks (C6 W10/W11). oekosystem's .brand-tile rule
   is merged in — it is harmless everywhere else. */
:root {
  --c-bg: #F3F6FA;
  --c-bg-soft: #E8EEF6;
  --c-bg-card: #FFFFFF;
  --c-bg-dark: #0F1A2A;
  --c-border: #E5E3DA;
  --c-border-strong: #C9C5B7;
  --c-text: #1A1815;
  --c-text-soft: #5F5E5A;
  --c-text-muted: #8E8C86;
  --c-accent: #185FA5;
  --c-accent-soft: #E7EEF6;
  --c-accent-border: #BFD0E4;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --max-w: 880px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0;
  background-color: var(--c-bg);
  background-image:
    radial-gradient(circle, rgba(24, 95, 165, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, #DCE6F3 0%, rgba(220, 230, 243, 0) 600px);
  background-repeat: repeat, no-repeat;
  background-size: 22px 22px, 100% 600px;
  color: var(--c-text);
  font-family: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

a { color: inherit; }

h1, h2, h3 { font-weight: 500; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(28px, 4vw, 34px); line-height: 1.15; }
h2 { font-size: 22px; line-height: 1.25; }
h3 { font-size: 16px; line-height: 1.4; }

p { margin: 0; }

ul { margin: 0.5rem 0 0; padding-left: 1.1rem; }
li { font-size: 14px; line-height: 1.6; color: var(--c-text-soft); margin-bottom: 4px; }

.eyebrow {
  font-size: 11px;
  color: var(--c-text-soft);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}

.lede {
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text-soft);
  max-width: 600px;
}

button, a.btn {
  font: inherit;
  display: inline-block;
  border: 0.5px solid var(--c-border-strong);
  background: var(--c-bg-card);
  color: var(--c-text);
  text-decoration: none;
  padding: 10px 18px;
  font-size: 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.15s ease;
}
button:hover, a.btn:hover { background: var(--c-bg-soft); }

button.primary, a.btn.primary {
  background: var(--c-text);
  color: var(--c-bg-card);
  border-color: var(--c-text);
}
button.primary:hover, a.btn.primary:hover { background: #2F2C28; }

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 0.5px solid var(--c-border);
  gap: 1rem;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.brand-logo { height: 34px; width: auto; display: block; }
.nav { display: flex; gap: 1.25rem; font-size: 13px; color: var(--c-text-soft); flex-wrap: wrap; }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--c-text); }

.hero { margin: 0 0 3rem; }
.hero h1 { margin: 0 0 1.25rem; max-width: 600px; }
.hero .lede { margin-bottom: 1.5rem; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; }

.section { margin: 0 0 1.5rem; background: var(--c-bg-soft); border-radius: var(--radius-lg); padding: 1.75rem 1.5rem; }
.section-title { margin: 0 0 1.5rem; }
.section-intro { font-size: 14px; color: var(--c-text-soft); margin: 0 0 1.5rem; max-width: 600px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid.compact { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }

.card {
  background: var(--c-bg-card);
  border: 0.5px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  position: relative;
}
.card.link { text-decoration: none; color: inherit; display: block; }
.card.link:hover { border-color: var(--c-border-strong); }
.card.soft { background: var(--c-bg-soft); border: none; }
.card .icon {
  width: 22px;
  height: 22px;
  color: var(--c-accent);
  margin-bottom: 10px;
  display: block;
  stroke-width: 1.5;
}
.card .brand-tile {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  display: block;
}
.card-title { font-size: 15px; font-weight: 500; margin: 0 0 6px; }
.card-text { font-size: 13px; line-height: 1.6; color: var(--c-text-soft); margin: 0; }
.card-mono { font-size: 12px; color: var(--c-text-muted); margin: 0 0 8px; font-family: 'JetBrains Mono', ui-monospace, monospace; }
.card-cta { font-size: 12px; color: var(--c-accent); margin: 10px 0 0; }
.card-cta svg { width: 13px; height: 13px; vertical-align: -2px; }

.feature-mini { padding: 0.5rem 0; }
.feature-mini .icon {
  width: 20px;
  height: 20px;
  color: var(--c-text-soft);
  margin-bottom: 6px;
  display: block;
  stroke-width: 1.5;
}
.feature-mini h3 { font-size: 14px; margin: 0 0 2px; }
.feature-mini p { font-size: 12px; color: var(--c-text-soft); }

.info-block {
  background: var(--c-bg-card);
  border: 0.5px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.info-block:last-child { margin-bottom: 0; }
.info-block .icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--c-accent);
  stroke-width: 1.5;
}
.info-block.lg .icon { width: 28px; height: 28px; }
.info-block h3 { font-size: 15px; margin: 0 0 4px; }
.info-block p { font-size: 13px; line-height: 1.7; color: var(--c-text-soft); }
.info-block p + p { margin-top: 8px; }

.step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--c-bg-card);
  border: 0.5px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.4rem;
  margin-bottom: 10px;
}
.step-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--c-accent-soft);
  color: var(--c-accent);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 { font-size: 15px; margin: 0 0 3px; }
.step p { font-size: 13px; line-height: 1.6; color: var(--c-text-soft); margin: 0; }

pre {
  background: var(--c-bg-dark);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  overflow-x: auto;
  margin: 0;
}
pre code {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12.5px;
  line-height: 1.85;
  color: #C9D5E5;
}
pre .c { color: #6F95C0; }
code {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.86em;
  background: var(--c-bg-card);
  border: 0.5px solid var(--c-border);
  padding: 1px 5px;
  border-radius: 4px;
}
pre code { background: none; border: none; padding: 0; }

.lic {
  white-space: pre-wrap;
  word-break: break-word;
}
.lic code { font-size: 12px; line-height: 1.7; }

.cta-box {
  text-align: center;
  padding: 2.5rem 1rem;
  background: var(--c-bg-soft);
  border-radius: var(--radius-lg);
  margin: 0 0 2rem;
}
.cta-box h2 { font-size: 20px; margin: 0 0 0.5rem; }
.cta-box p { font-size: 13px; color: var(--c-text-soft); margin: 0 0 1.25rem; }
.cta-buttons { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 0.5px solid var(--c-border);
  flex-wrap: wrap;
}
.cobrand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--c-text-muted);
}
.cobrand-item { display: inline-flex; align-items: center; gap: 5px; }
.cobrand-item svg { width: 16px; height: 16px; display: block; }
.cobrand-item strong { color: var(--c-text); font-weight: 500; }
.cobrand-sep { color: var(--c-text-muted); }
.ok-open { color: #6F95C0; }
footer .swiss-made { flex-shrink: 0; display: inline-block; }
footer .swiss-made img { height: 24px; width: auto; display: block; }
