  @font-face { font-family: Raleway; font-weight: 400; font-display: swap; src: url(fonts/raleway-400.woff2) format("woff2"); }
  @font-face { font-family: Raleway; font-weight: 600; font-display: swap; src: url(fonts/raleway-600.woff2) format("woff2"); }
  @font-face { font-family: Raleway; font-weight: 700; font-display: swap; src: url(fonts/raleway-700.woff2) format("woff2"); }
  @font-face { font-family: Raleway; font-weight: 800; font-display: swap; src: url(fonts/raleway-800.woff2) format("woff2"); }

  /* ── the only place to change the look of the site ── */
  :root {
    --navy: #0d2044;
    --ink: #171e31;
    --text: #475771;
    --muted: #737680;
    --green: #05aa54;
    --green-dark: #048a44;
    --mint: #e7f6ee;
    --soft: #f4f6f9;
    --line: #dfe3ea;
    --white: #ffffff;
    --radius: 14px;
    --wrap: 1120px;
    --font: Raleway, "Segoe UI", Helvetica, Arial, sans-serif;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 76px; }
  body { margin: 0; font: 400 17px/1.65 var(--font); color: var(--text); background: var(--white); }
  h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
  h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
  h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; }
  h3 { font-size: 1.1rem; font-weight: 700; }
  p { margin: 0 0 1em; }
  a { color: var(--green-dark); }
  img { max-width: 100%; height: auto; display: block; }
  .wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
  section { padding: 88px 0; }
  .soft { background: var(--soft); }
  .navy { background: var(--navy); color: #c9d2e3; }
  .navy h2, .navy h3 { color: var(--white); }
  .eyebrow { color: var(--green); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; margin-bottom: .6em; }
  .lead { font-size: 1.15rem; max-width: 46em; }
  .center { text-align: center; }
  .center .lead { margin-left: auto; margin-right: auto; }
  .skip { position: absolute; left: -999px; }
  .skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--white); padding: 8px 12px; }

  .btn { display: inline-block; padding: .8em 1.5em; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid var(--green); background: var(--green); color: var(--white); cursor: pointer; font: inherit; font-weight: 700; }
  .btn:hover { background: var(--green-dark); border-color: var(--green-dark); }
  .btn.ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
  .btn.ghost:hover { background: var(--navy); color: var(--white); }

  /* header */
  header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
  header.scrolled { border-bottom-color: var(--line); }
  .bar { display: flex; align-items: center; justify-content: space-between; height: 68px; }
  .bar img { height: 30px; width: auto; }
  nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; align-items: center; }
  nav a { color: var(--navy); text-decoration: none; font-weight: 600; }
  nav a:hover, nav a.on { color: var(--green); }
  nav .btn { color: var(--white); padding: .55em 1.2em; }
  .menu { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
  .menu span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; }
  @media (max-width: 820px) {
    .menu { display: block; }
    nav ul { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; align-items: stretch; }
    nav.open ul { display: flex; }
    nav li a { display: block; padding: 12px 0; }
    nav .btn { text-align: center; margin-top: 8px; }
  }

  /* hero */
  .hero { padding: 64px 0 88px; background: linear-gradient(180deg, var(--white), var(--mint)); }
  .hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
  .hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
  @media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; } .hero img { max-width: 340px; margin: 0 auto; } }

  /* cards */
  .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
  @media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
  .card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
  .card p { margin: 0; font-size: .97rem; }
  .navy .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
  .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--mint); color: var(--green); display: grid; place-items: center; margin-bottom: 16px; }
  .navy .icon { background: rgba(5,170,84,.18); }
  .icon svg { width: 24px; height: 24px; }

  .split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  @media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
  .checks { list-style: none; padding: 0; margin: 0 0 1em; }
  .checks li { padding-left: 30px; position: relative; margin-bottom: .5em; }
  .checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }

  /* services */
  .service h3 { display: flex; align-items: center; gap: 12px; }
  .service ul { margin: 12px 0 0; padding-left: 1.1em; }
  .steps { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
  @media (max-width: 700px) { .steps { grid-template-columns: 1fr; } }
  .step { border-left: 4px solid var(--green); background: var(--white); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; }
  .step strong { color: var(--navy); display: block; margin-bottom: 4px; }

  /* partners */
  .partners { display: flex; flex-wrap: wrap; gap: 48px; justify-content: center; align-items: center; margin-top: 32px; }
  .partners img { height: 52px; width: auto; filter: grayscale(1); opacity: .75; transition: .2s; }
  .partners a:hover img { filter: none; opacity: 1; }

  /* forms */
  form { display: grid; gap: 14px; }
  .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  @media (max-width: 600px) { .row2 { grid-template-columns: 1fr; } }
  label { font-weight: 600; color: var(--navy); font-size: .92rem; display: grid; gap: 6px; }
  .navy label { color: var(--white); }
  input, textarea { font: inherit; padding: .75em .9em; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink); width: 100%; }
  input:focus, textarea:focus { outline: 2px solid var(--green); border-color: var(--green); }
  textarea { min-height: 130px; resize: vertical; }
  .hp { position: absolute; left: -9999px; }
  .consent { font-weight: 400; font-size: .88rem; display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
  .consent input { width: auto; margin-top: .3em; }
  .msg { padding: 14px 18px; border-radius: 10px; display: none; }
  .msg.ok { display: block; background: var(--mint); color: var(--navy); }
  .msg.err { display: block; background: #fdecec; color: #8a1c1c; }
  .news { display: flex; gap: 10px; max-width: 520px; margin: 24px auto 8px; }
  .news input { flex: 1; }
  @media (max-width: 520px) { .news { flex-direction: column; } }
  .small { font-size: .85rem; color: var(--muted); }
  .navy .small { color: #9aa6bd; }
  .navy .small a, .navy a { color: #9fe3bf; }

  .contact-side p { margin-bottom: .6em; }
  .contact-side a { font-weight: 600; }

  footer { background: var(--ink); color: #9aa6bd; padding: 48px 0 32px; font-size: .9rem; }
  footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
  @media (max-width: 700px) { footer .wrap { grid-template-columns: 1fr; } }
  footer a { color: #c9d2e3; text-decoration: none; }
  footer a:hover { color: var(--white); }
  footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
  footer h3 { color: var(--white); font-size: .95rem; }
  footer .logo { height: 26px; width: auto; filter: brightness(0) invert(1); margin-bottom: 14px; }
  .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; margin-top: 8px; }

  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .6s; }
  .reveal.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }

  /* language switch */
  .langs { display: flex; gap: 4px; }
  .langs a { font-size: .8rem; font-weight: 700; padding: 4px 7px; border-radius: 6px; color: var(--muted); }
  .langs a[aria-current] { color: var(--navy); background: var(--soft); }
  @media (max-width: 820px) { .langs { padding: 12px 0 4px; } }

  /* cookie banner */
  .cookies { position: fixed; z-index: 50; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin-left: auto;
             background: var(--white); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius);
             box-shadow: 0 12px 40px rgba(13, 32, 68, .18); padding: 20px 22px; display: none; font-size: .93rem; }
  .cookies.show { display: block; }
  .cookies p { margin: 0 0 14px; }
  .cookies .row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
  .cookies .btn { padding: .55em 1.2em; }
  .cookies a { margin-left: auto; font-size: .85rem; }
  .linkbtn { background: none; border: 0; padding: 0; font: inherit; color: #c9d2e3; cursor: pointer; }
  .linkbtn:hover { color: var(--white); }

  /* text pages (privacy) */
  .doc { max-width: 760px; padding-top: 48px; padding-bottom: 72px; }
  .doc h2 { font-size: 1.35rem; margin-top: 1.8em; }
  .doc table { border-collapse: collapse; width: 100%; font-size: .9rem; margin: 0 0 1em; }
  .doc th, .doc td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
  .doc th { background: var(--soft); color: var(--navy); }
  @media (max-width: 700px) { .doc table { display: block; overflow-x: auto; } }

  /* builder blocks */
  .mint { background: linear-gradient(180deg, var(--white), var(--mint)); }
  .grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
  @media (max-width: 900px) { .grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 600px) { .grid.cols-2, .grid.cols-4 { grid-template-columns: 1fr; } }
  .card ul { margin: 12px 0 0; padding-left: 1.1em; }
  .split.rev > :first-child { order: 2; }
  @media (max-width: 820px) { .split.rev > :first-child { order: 0; } }
  .narrow { max-width: 760px; }
  .rich img { border-radius: var(--radius); }
  .rich p:last-child { margin-bottom: 0; }
  .ql-align-center { text-align: center; } .ql-align-right { text-align: right; } .ql-align-justify { text-align: justify; }
  .ql-size-small { font-size: .85em; } .ql-size-large { font-size: 1.3em; } .ql-size-huge { font-size: 1.8em; }
  html[data-preview] .reveal { opacity: 1; transform: none; }
  html[data-preview] .cookies { display: none !important; }

  /* documentation sites (a knowledge space) */
  .docs-bar { display: flex; align-items: center; gap: 16px; height: 64px; }
  .docs-bar .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); font-weight: 700; }
  .docs-bar .brand img { height: 28px; width: auto; }
  .docs-bar .brand span { padding-left: 12px; border-left: 1px solid var(--line); }
  .docs-search { margin-left: auto; position: relative; width: min(360px, 45vw); }
  .docs-search input { width: 100%; padding: .55em .9em; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: .9rem; }
  .docs-results { position: absolute; top: 110%; left: 0; right: 0; background: var(--white); border: 1px solid var(--line); border-radius: 10px;
                  box-shadow: 0 12px 30px rgba(13, 32, 68, .14); max-height: 60vh; overflow: auto; display: none; z-index: 20; }
  .docs-results.show { display: block; }
  .docs-results a { display: block; padding: 10px 14px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); font-size: .9rem; }
  .docs-results a:hover, .docs-results a.on { background: var(--soft); }
  .docs-results small { display: block; color: var(--muted); }
  .docs-results mark { background: var(--mint); color: inherit; }
  .docs { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 48px; padding-top: 24px; padding-bottom: 72px; }
  .docs-nav { position: sticky; top: 88px; align-self: start; max-height: calc(100vh - 110px); overflow: auto; font-size: .92rem; }
  .docs-nav a { display: block; padding: 5px 10px; border-radius: 8px; text-decoration: none; color: var(--text); }
  .docs-nav a:hover { background: var(--soft); color: var(--navy); }
  .docs-nav a.on { background: var(--mint); color: var(--navy); font-weight: 700; }
  .docs-nav .d1 { padding-left: 24px; } .docs-nav .d2 { padding-left: 38px; } .docs-nav .d3 { padding-left: 52px; } .docs-nav .d4 { padding-left: 66px; }
  .docs-nav .home { font-weight: 700; color: var(--navy); margin-bottom: 6px; }
  .docs-menu { display: none; }
  .docs-article { min-width: 0; max-width: 800px; }
  .docs-crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
  .docs-crumbs a { color: var(--muted); }
  .docs-article h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
  .docs-body { line-height: 1.7; }
  .docs-body img { border-radius: 10px; margin: 12px 0; }
  .docs-body pre { background: var(--ink); color: #e6e9ef; padding: 14px 16px; border-radius: 10px; overflow: auto; font-size: .88rem; }
  .docs-body blockquote { border-left: 4px solid var(--green); margin: 0 0 1em; padding: 4px 16px; background: var(--soft); border-radius: 0 10px 10px 0; }
  .docs-body li[data-list="checked"], .docs-body li[data-list="unchecked"] { list-style: none; }
  .docs-body li[data-list="checked"]::before { content: "☑ "; } .docs-body li[data-list="unchecked"]::before { content: "☐ "; }
  .docs-body ol li[data-list="bullet"] { list-style-type: disc; }
  .docs-files { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); }
  .docs-files a { display: block; padding: 4px 0; }
  .docs-pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; }
  .docs-pager a { flex: 1; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--navy); }
  .docs-pager a small { display: block; color: var(--muted); }
  .docs-pager .next { text-align: right; }
  .docs-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 24px; }
  .docs-cards a { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--navy); font-weight: 700; }
  .docs-cards a:hover { border-color: var(--green); }
  .docs-cards span { display: block; font-size: 1.6rem; margin-bottom: 6px; }
  .docs-foot { border-top: 1px solid var(--line); padding: 24px 0; font-size: .85rem; color: var(--muted); }
  .docs-foot a { color: var(--muted); }
  .docs-foot .linkbtn { color: var(--muted); }
  @media (max-width: 860px) {
    .docs { grid-template-columns: 1fr; gap: 16px; }
    .docs-menu { display: inline-block; }
    .docs-nav { position: static; max-height: none; display: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; }
    .docs-nav.open { display: block; }
    .docs-bar .brand span { display: none; }
  }
  /* the block editor's to-dos and toggles in documentation pages */
  .docs-body ul[data-type="taskList"] { list-style: none; padding-left: 0; }
  .docs-body ul[data-type="taskList"] li { display: flex; gap: 8px; align-items: flex-start; }
  .docs-body ul[data-type="taskList"] li > label { margin-top: 4px; }
  .docs-body ul[data-type="taskList"] li[data-checked="true"] > div { color: var(--muted); text-decoration: line-through; }
  .docs-body details { margin: 0 0 1em; }
  .docs-body details > summary { cursor: pointer; font-weight: 600; }
  .docs-body details > div { padding-left: 1.2em; }
  .docs-body li > p { margin: 0 0 .3em; }
  .docs-body table { border-collapse: collapse; width: 100%; margin: 0 0 1em; }
  .docs-body td, .docs-body th { border: 1px solid var(--line); padding: 6px 10px; text-align: left; vertical-align: top; }
  .docs-body mark { background: var(--mint); }
  /* the block editor's columns and panels in documentation pages */
  .docs-body .bn-cols { display: flex; gap: 28px; margin: 0 0 1em; }
  .docs-body .bn-col { min-width: 0; }
  @media (max-width: 760px) { .docs-body .bn-cols { flex-direction: column; gap: 0; } }
  .docs-body .bn-callout { position: relative; padding: 10px 14px 10px 42px; margin: 0 0 1em; border-radius: 10px; border-left: 4px solid; }
  .docs-body .bn-callout > :last-child { margin-bottom: 0; }
  .docs-body .bn-callout::before { position: absolute; left: 13px; top: 10px; }
  .docs-body .bn-callout[data-kind="info"] { background: #eef4ff; border-color: #2f6fde; } .docs-body .bn-callout[data-kind="info"]::before { content: "ℹ️"; }
  .docs-body .bn-callout[data-kind="tip"] { background: #e9f8f1; border-color: #0f9d63; } .docs-body .bn-callout[data-kind="tip"]::before { content: "💡"; }
  .docs-body .bn-callout[data-kind="warning"] { background: #fff6e6; border-color: #c77700; } .docs-body .bn-callout[data-kind="warning"]::before { content: "⚠️"; }
  .docs-body .bn-callout[data-kind="decision"] { background: #f3eefe; border-color: #7b4fd6; } .docs-body .bn-callout[data-kind="decision"]::before { content: "⚖️"; }
  /* a diagram from the knowledge (its .drawio.svg) with its title */
  .docs-body figure.bn-diagram { margin: 1.4em 0; text-align: center; }
  .docs-body figure.bn-diagram img { max-width: 100%; height: auto; background: #fff; border: 1px solid #e3e6ea; border-radius: 8px; padding: 8px; }
  .docs-body figure.bn-diagram figcaption { margin-top: 6px; font-size: .85em; color: #6b7280; }
  .docs-body figure.bn-diagram figcaption:empty { display: none; }
