:root {
  --bg: #ffffff;
  --bg-alt: #f3f5f7;
  --ink: #16202a;
  --muted: #55606c;
  --line: #dde2e7;
  --brand: #0f5f6e;
  --brand-ink: #ffffff;
  --accent: #c27b1d;
  --notice: #fff7e8;
  --radius: 10px;
  --wrap: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11171d;
    --bg-alt: #182129;
    --ink: #e8edf1;
    --muted: #a3afba;
    --line: #2a3640;
    --brand: #4fb3c4;
    --brand-ink: #0b1418;
    --accent: #e3a650;
    --notice: #2a2417;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--bg); padding: 6px 10px; z-index: 10; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 1.1rem; margin-right: auto; }
.brand strong { color: var(--brand); }
.nav, .langs { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a, .langs a {
  color: var(--muted); text-decoration: none; padding: 6px 10px; border-radius: 6px; font-weight: 500;
}
.nav a:hover, .langs a:hover { color: var(--ink); background: var(--bg-alt); }
.nav a[aria-current="page"] { color: var(--brand); }
.langs { border-left: 1px solid var(--line); padding-left: 12px; }
.langs a { font-size: .85rem; letter-spacing: .04em; }
.langs a[aria-current="true"] { color: var(--brand-ink); background: var(--brand); }

/* Sections */
.hero { padding: 64px 0 40px; background: linear-gradient(180deg, var(--bg-alt), var(--bg)); }
.hero-inner { max-width: 820px; margin-left: max(16px, calc((100% - var(--wrap)) / 2 + 16px)); padding: 0 16px 0 0; }
.kicker { color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.lead { font-size: 1.15rem; color: var(--muted); }
.section { padding: 48px 0; }
.section.alt { background: var(--bg-alt); }

.grid { display: grid; gap: 20px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--bg); }
.card p:last-child { margin-bottom: 0; }

.badge {
  display: inline-block; font-size: .85rem; font-weight: 600; color: var(--accent);
  border: 1px solid currentColor; border-radius: 999px; padding: 3px 12px;
}
.notice { background: var(--notice); border-left: 4px solid var(--accent); padding: 18px 22px; border-radius: 6px; }
.notice p:last-child { margin: 0; }

.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: 6px 0 6px 28px; border-bottom: 1px solid var(--line); }
.ticks li::before {
  content: ""; position: absolute; left: 4px; top: 15px; width: 10px; height: 10px;
  border-radius: 2px; background: var(--brand); transform: rotate(45deg);
}

.product-teaser { display: grid; grid-template-columns: 3fr 2fr; gap: 40px; align-items: center; }

.roadmap { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.roadmap li { display: flex; gap: 16px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.roadmap p { margin: 0; }
.ver { flex: 0 0 auto; font-weight: 700; color: var(--brand-ink); background: var(--brand); border-radius: 6px; padding: 2px 10px; }

.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }

.cta { text-align: center; max-width: 720px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.cta .actions, .cta p { justify-content: center; }
.btn {
  display: inline-block; padding: 10px 20px; border-radius: 8px; text-decoration: none; font-weight: 600;
  border: 1px solid var(--brand); color: var(--brand);
}
.btn.primary { background: var(--brand); color: var(--brand-ink); }
.btn:hover { filter: brightness(1.08); }
.big-link { font-size: 1.25rem; font-weight: 600; word-break: break-all; }

/* Illustrations and icons */
.hero-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-art { width: 100%; max-width: 520px; justify-self: end; }
.center { text-align: center; }

.icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 14px;
  background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand);
}
.icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon.sm { width: 32px; height: 32px; border-radius: 8px; margin: 0 12px 0 0; flex: 0 0 auto; }
.icon.sm svg { width: 18px; height: 18px; }
.icon.inline { vertical-align: middle; margin-bottom: 4px; }
.card-icon { display: flex; gap: 16px; align-items: flex-start; }
.card-icon .icon { flex: 0 0 auto; margin: 0; }

.icon-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.icon-list li { display: flex; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; font-weight: 500; }

.flow { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: none; }
.flow li { position: relative; text-align: center; padding: 0 8px; }
.flow li:not(:last-child)::after {
  content: ""; position: absolute; top: 36px; left: calc(50% + 48px); right: calc(-50% + 48px);
  border-top: 2px dashed var(--accent); opacity: .7;
}
.flow-icon {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 72px; height: 72px; border-radius: 50%; margin-bottom: 14px;
  background: var(--brand); color: var(--brand-ink);
}
.flow-icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.flow-n {
  position: absolute; top: -4px; right: -4px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: .8rem; font-weight: 700; line-height: 24px;
}
.flow p { color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); font-size: .92rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-name { color: var(--ink); font-weight: 600; }
.site-footer p { margin: 0 0 .3em; }

@media (max-width: 860px) {
  .grid.three, .grid.two, .product-teaser, .hero-split { grid-template-columns: 1fr; }
  .hero-art { justify-self: center; max-width: 360px; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow li::after { display: none; }
  .hero { padding: 40px 0 28px; }
  .header-inner { padding-top: 8px; padding-bottom: 8px; gap: 8px; }
  .brand { width: 100%; }
  .langs { border-left: 0; padding-left: 0; }
  .facts { grid-template-columns: 1fr; }
  .facts dd { margin-bottom: 8px; }
}
