@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Serif:wght@400;500;600&display=swap');

/* Bidsona design tokens — one place for the whole site.
   Ink navy for text, cobalt for actions, highlighter yellow for the things
   Bidsona marks in a tender (requirements, gaps). */
:root {
  --bg: #F6F7F9;
  --surface: #FFFFFF;
  --ink: #172036;
  --muted: #5C6579;
  --border: #DCE0E8;
  --accent: #2D46C7;
  --accent-dark: #22379F;
  --gold: #2D46C7;
  --tint: #E9ECFB;
  --mark: #FFE36E;
  --mark-ink: #4A3B00;
  --alert: #B5452B;
  --alert-tint: #FBEAE6;
}
body { font-family: 'IBM Plex Sans', system-ui, sans-serif; background: var(--bg); color: var(--ink); }
h1, h2, h3, .logo { font-family: 'IBM Plex Serif', Georgia, serif; letter-spacing: -0.015em; }
h1, h2 { font-weight: 500; }
.btn { font-family: 'IBM Plex Sans', system-ui, sans-serif; border-radius: 6px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* Small labels above headings are not used in this design. */
.section-label { display: none; }
/* Highlighter: what Bidsona marks in a tender. */
mark, .mark { background: linear-gradient(transparent 12%, var(--mark) 12%, var(--mark) 88%, transparent 88%); color: inherit; padding: 0 2px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Shared fixes loaded after each page's own styles. */

/* Nav "Start free trial" button: the nav link colour was overriding the
   button's white text, leaving green text on a green button. */
.nav-links a.btn-primary,
.nav-links a.btn-primary:hover { color: #fff; }

/* Headings were capped narrow enough to wrap awkwardly ("...don't / have."). */
.section h2, .page-hero h1 { max-width: 22em; }

/* The 5-step strip on the home page drew short connector lines that read as
   a dash in front of each number ("—03"). */
.step-item:not(:last-child)::after { display: none; }

/* Menu button, only shown on small screens (inserted by site.js). */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 7px 10px;
  font: 600 13px 'IBM Plex Sans', sans-serif;
  color: var(--ink);
  cursor: pointer;
}

.cookie-note {
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 760px) {
  .nav-inner { padding: 14px 16px; gap: 12px; flex-wrap: wrap; }
  .container { padding: 0 16px; }

  .nav-toggle { display: inline-block; margin-left: auto; }

  /* Text links collapse into the menu; the trial button stays visible. */
  .nav-links { display: contents; }
  .nav-links a:not(.btn) { display: none; }
  .nav-links a.btn { order: 2; padding: 8px 14px; font-size: 13px; }
  nav.open .nav-links a:not(.btn) {
    display: block;
    order: 3;
    flex-basis: 100%;
    padding: 10px 0;
    border-top: 1px solid var(--border);
    font-size: 15px;
  }

  .hero h1 { font-size: 36px; }
  .page-hero h1, .contact-copy h1 { font-size: 32px; }

  .footer-inner { flex-direction: column; gap: 14px; }
  .footer-links { flex-wrap: wrap; gap: 10px 18px; }

  .hero-ctas { flex-wrap: wrap; }
}

/* Language picker (added to every page by the build in i18n/). */
.lang-select {
  font: 500 13px 'IBM Plex Sans', sans-serif;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 8px;
  cursor: pointer;
  margin-left: 24px;
}
.lang-select:hover, .lang-select:focus { color: var(--ink); outline: none; border-color: var(--muted); }
.lang-links { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; }
.lang-links a { text-decoration: none; color: var(--muted); }
.lang-links a[aria-current] { color: var(--ink); font-weight: 600; }

@media (max-width: 760px) {
  .lang-select { margin-left: 0; order: 1; padding: 6px 6px; }
}
@media (max-width: 760px) {
  nav:not(.open) .lang-select { display: none; }
  nav.open .lang-select { order: 4; margin: 8px 0 4px; }
}

/* Footer: the eight language links get their own row, so long words in
   Czech, German or French never squeeze the page links. */
.footer-inner { flex-wrap: wrap; row-gap: 14px; }
.footer-links { flex-wrap: wrap; row-gap: 8px; }
.lang-links { flex-basis: 100%; padding-top: 12px; border-top: 1px solid var(--border); }
