/* Probistica draft website: one shared stylesheet.
   No web fonts and no external files. The accent is Office blue #0F6CBD. */

:root {
  --blue: #0F6CBD;
  --blue-dark: #0B5394;
  --blue-darker: #083F70;
  --blue-tint: #EBF3FC;
  --blue-tint-2: #D6E7F8;
  --ink: #1B1B1B;
  --ink-2: #424242;
  --muted: #5C5C5C;
  --line: #DADCE0;
  --bg: #FFFFFF;
  --bg-alt: #F6F7F9;
  --warn-bg: #FFF4CE;
  --warn-ink: #5C4400;
  --warn-line: #E8C34A;
  --ok: #107C10;
  --radius: 8px;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.06);
  --max: 1160px;
  --font: "Segoe UI", "Segoe UI Variable", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: Consolas, "Cascadia Mono", "Courier New", monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; }
a { color: var(--blue-dark); text-underline-offset: 2px; }
a:hover { color: var(--blue-darker); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 2px; }
code, kbd, pre { font-family: var(--mono); font-size: .92em; }
code { background: var(--bg-alt); border: 1px solid #E6E8EB; border-radius: 4px; padding: 0 .3em; }
pre { background: #F3F4F6; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; overflow-x: auto; line-height: 1.45; }
pre code { background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { line-height: 1.25; margin: 1.6em 0 .5em; color: var(--ink); }
h1 { font-size: 2.25rem; margin-top: .2em; letter-spacing: -.01em; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.02rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.4em; margin: 0 0 1em; }
li { margin: .25em 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }

.skip-link { position: absolute; left: -9999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }

/* Draft banner */
.draft-banner {
  background: var(--warn-bg);
  color: var(--warn-ink);
  border-bottom: 1px solid var(--warn-line);
  font-size: .85rem;
  text-align: center;
  padding: 4px 12px;
  font-weight: 600;
}

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { max-width: var(--max); margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 24px; min-height: 64px; }
/* The lockup (mark and name) is one image. The padding keeps the clear space of brand/README.md. */
.brand { display: flex; align-items: center; flex: none; padding: 8px 0; text-decoration: none; }
.brand img { display: block; width: auto; height: 32px; max-width: none; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.main-nav li { margin: 0; }
.main-nav a { display: block; padding: 8px 12px; border-radius: 6px; text-decoration: none; color: var(--ink-2); font-weight: 500; }
.main-nav a:hover { background: var(--bg-alt); color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--blue-dark); background: var(--blue-tint); }
.main-nav .nav-cta a { background: var(--blue); color: #fff; margin-left: 8px; }
.main-nav .nav-cta a:hover { background: var(--blue-dark); color: #fff; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 6px; padding: 6px 10px; font: inherit; color: var(--ink); cursor: pointer; }

/* Layout */
main { display: block; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.section { padding: 56px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid #EEF0F2; border-bottom: 1px solid #EEF0F2; }
.section h2:first-child { margin-top: 0; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 760px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--blue-dark); margin-bottom: .4em; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; }

/* Page head */
.page-head { background: linear-gradient(180deg, var(--blue-tint) 0%, #fff 100%); border-bottom: 1px solid #E3EBF5; padding: 40px 0 32px; }
.page-head h1 { margin-bottom: .3em; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.breadcrumb a { color: var(--muted); }

/* Hero */
.hero { background: linear-gradient(160deg, #F2F7FD 0%, #FFFFFF 55%); border-bottom: 1px solid #E3EBF5; padding: 64px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 2.7rem; margin: 0 0 .4em; }
.hero .lead { margin-bottom: 1.4em; }
.hero-note { font-size: .9rem; color: var(--muted); margin-top: 1em; }
.hero-shot { position: relative; }
.hero-shot img { border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); background: #fff; }
.hero-shot .shot-b { position: absolute; width: 46%; right: -12px; bottom: -28px; }

/* Buttons */
.btn { display: inline-block; padding: 11px 20px; border-radius: 6px; font-weight: 600; text-decoration: none; border: 1px solid transparent; line-height: 1.2; font-size: 1rem; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-secondary { background: #fff; color: var(--blue-dark); border-color: var(--blue); }
.btn-secondary:hover { background: var(--blue-tint); color: var(--blue-darker); }
.btn-disabled, .btn[aria-disabled="true"] { background: #E9EBEE; color: #5f6368; border-color: #D0D4D9; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Cards and grids */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px; }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card-link { text-decoration: none; color: inherit; display: block; transition: border-color .15s, box-shadow .15s; }
.card-link:hover { border-color: var(--blue); box-shadow: var(--shadow); color: inherit; }
.card-link .more { color: var(--blue-dark); font-weight: 600; font-size: .92rem; }
.icon { width: 36px; height: 36px; border-radius: 8px; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; margin-bottom: 12px; }
.audience { border-top: 4px solid var(--blue); }

/* Split rows: text and screenshot */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; margin: 48px 0; }
.split.reverse > :first-child { order: 2; }
.split h2, .split h3 { margin-top: 0; }

/* Screenshots */
figure.shot { margin: 0; }
figure.shot a { display: block; }
figure.shot img { display: block; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
figure.shot figcaption { font-size: .86rem; color: var(--muted); margin-top: 8px; }
.shot-narrow img { max-width: min(420px, 100%); margin: 0 auto; }
.doc-body p, .doc-body li, .doc-body td { overflow-wrap: anywhere; }
.shots-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.placeholder-shot { border: 2px dashed #B9C3CF; border-radius: var(--radius); background: repeating-linear-gradient(45deg, #F7F9FB, #F7F9FB 12px, #EEF2F6 12px, #EEF2F6 24px); min-height: 220px; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--ink-2); font-weight: 600; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 0; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; margin-bottom: 10px; }
.steps h3 { margin: 0 0 .3em; font-size: 1.08rem; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.price-card.featured { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.price-card h3 { margin: 0 0 .2em; font-size: 1.35rem; }
.price-card .who { color: var(--muted); margin-bottom: 1em; }
.price { font-size: 2rem; font-weight: 700; color: var(--ink); margin: .2em 0 0; }
.price-unit { color: var(--muted); font-size: .92rem; margin-bottom: 1.2em; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 1.4em; }
.price-card li { padding-left: 1.6em; position: relative; }
.price-card li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.price-card .btn { margin-top: auto; text-align: center; }
.price-card .btn-row { margin-top: auto; }
.price-card .btn-row .btn { margin-top: 0; flex: 1 1 auto; }
.badge { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--blue-tint); color: var(--blue-dark); border-radius: 999px; padding: 2px 10px; margin-bottom: 10px; }

/* Corporate price calculator */
.calc-section { margin: 2em 0 1em; }
.price-anchors { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; font-size: .95rem; }
.seat-calc { margin: 0 0 14px; }
.calc-controls label { display: block; font-weight: 600; margin: 0 0 8px; }
.calc-inputs { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 16px; }
.calc-inputs input[type="number"] { width: 110px; font: inherit; font-weight: 600; padding: 8px 10px; border: 1px solid #B8BEC6; border-radius: 6px; background: #fff; color: var(--ink); }
.calc-inputs input[type="range"] { flex: 1 1 220px; accent-color: var(--blue); }
.calc-output { margin: 0 0 10px; }
.calc-output .price { margin: 0 4px 0 0; }
.calc-unit { color: var(--muted); font-size: .95rem; }
.calc-actions { margin-top: 14px; }
.calc-rates { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 12px; }
.calc-rates summary { cursor: pointer; padding: 12px 16px; font-weight: 600; list-style-position: inside; }
.calc-rates[open] summary { border-bottom: 1px solid #ECEEF1; }
.calc-rates > div { padding: 12px 16px 4px; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; background: #fff; }
th, td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid #ECEEF1; }
thead th { background: var(--bg-alt); font-weight: 600; border-bottom: 1px solid var(--line); }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tr.group th { background: var(--blue-tint); color: var(--blue-darker); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
td.yes { color: var(--ok); font-weight: 600; }

/* Notes and placeholders */
.note { border-left: 4px solid var(--blue); background: var(--blue-tint); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; margin: 0 0 1.4em; }
.note p:last-child { margin-bottom: 0; }
.warn { border-left: 4px solid var(--warn-line); background: var(--warn-bg); color: var(--warn-ink); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; margin: 0 0 1.4em; }
.warn p:last-child { margin-bottom: 0; }
.ph { background: #FFF1B8; color: #5C4400; border-radius: 3px; padding: 0 .25em; font-weight: 600; white-space: normal; }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 600; list-style-position: inside; }
.faq details[open] summary { border-bottom: 1px solid #ECEEF1; }
.faq details > div { padding: 14px 18px 4px; }

/* Docs */
.doc-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; padding: 40px 0 64px; }
.doc-nav { position: sticky; top: 84px; align-self: start; font-size: .92rem; }
.doc-nav h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 1.4em 0 .4em; }
.doc-nav h2:first-child { margin-top: 0; }
.doc-nav ul { list-style: none; padding: 0; margin: 0; }
.doc-nav a { display: block; padding: 4px 10px; border-radius: 5px; text-decoration: none; color: var(--ink-2); }
.doc-nav a:hover { background: var(--bg-alt); }
.doc-nav a[aria-current="page"] { background: var(--blue-tint); color: var(--blue-dark); font-weight: 600; }
.doc-body { min-width: 0; }
.doc-body h1 { font-size: 2rem; }
.doc-body h2 { font-size: 1.4rem; border-bottom: 1px solid #ECEEF1; padding-bottom: .25em; }

/* Forms (placeholders; no form is sent) */
.form-mock { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.form-mock label { display: block; font-weight: 600; margin: 0 0 4px; }
.form-mock input, .form-mock select, .form-mock textarea { width: 100%; font: inherit; padding: 9px 11px; border: 1px solid #B8BEC6; border-radius: 6px; margin-bottom: 14px; background: #FAFBFC; color: var(--ink); }
.form-mock .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Function reference filter */
.fn-filter-box { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin: 0 0 1.2em; }
.fn-filter-box label { display: block; font-weight: 600; margin-bottom: 6px; }
.fn-filter-box input { width: 100%; font: inherit; padding: 9px 12px; border: 1px solid #B8BEC6; border-radius: 6px; background: #fff; color: var(--ink); }
.fn-filter-box p { margin: 8px 0 0; }

/* Footer */
.site-footer { background: #1F2A37; color: #D5DCE4; margin-top: 0; padding: 48px 0 28px; font-size: .92rem; }
.site-footer a { color: #E6ECF2; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
.site-footer h2 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 .8em; }
.site-footer .footer-brand { margin: 0 0 14px; line-height: 0; }
.footer-brand img { display: block; width: auto; height: 28px; max-width: none; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 .45em; }
.footer-bottom { border-top: 1px solid #3A4757; margin-top: 32px; padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: #AEB8C4; font-size: .84rem; }

/* Grid items may shrink below their content width; long code wraps. */
.grid > *, .split > *, .hero-grid > *, .doc-layout > *, .price-grid > *, .shots-3 > *, .footer-grid > * { min-width: 0; }
code { overflow-wrap: anywhere; }
pre code { overflow-wrap: normal; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .hero-shot .shot-b { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .price-grid, .shots-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .doc-layout { grid-template-columns: minmax(0, 1fr); }
  .doc-nav { position: static; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .main-nav { display: none; width: 100%; margin: 0; }
  .main-nav.open { display: block; }
  .header-inner { flex-wrap: wrap; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 8px 0 14px; }
  .main-nav .nav-cta a { margin: 6px 0 0; text-align: center; }
  .no-js .main-nav { display: block; }
}
@media (max-width: 640px) {
  h1, .hero h1 { font-size: 1.9rem; }
  .grid-2, .grid-3, .grid-4, .price-grid, .shots-3, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-mock .row { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
}
@media print {
  .site-header, .site-footer, .draft-banner, .nav-toggle, .calc-controls, .calc-actions { display: none; }
}
